2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for scrypt 1.2.1.
5 # Report bugs to <https://github.com/Tarsnap/scrypt>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://github.com/Tarsnap/scrypt about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='scrypt'
582 PACKAGE_TARNAME
='scrypt'
583 PACKAGE_VERSION
='1.2.1'
584 PACKAGE_STRING
='scrypt 1.2.1'
585 PACKAGE_BUGREPORT
='https://github.com/Tarsnap/scrypt'
586 PACKAGE_URL
='http://www.tarsnap.com/scrypt/'
588 ac_unique_file
="lib/scryptenc/scryptenc.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='am__EXEEXT_FALSE
633 MAINTAINER_MODE_FALSE
667 INSTALL_STRIP_PROGRAM
709 program_transform_name
722 enable_option_checking
724 enable_dependency_tracking
725 enable_maintainer_mode
727 enable_compiler_warnings
729 ac_precious_vars
='build_alias
740 # Initialize some variables set by options.
742 ac_init_version
=false
743 ac_unrecognized_opts
=
745 # The variables have the same names as the options, with
746 # dashes changed to underlines.
754 program_transform_name
=s
,x
,x
,
762 # Installation directory options.
763 # These are left unexpanded so users can "make install exec_prefix=/foo"
764 # and all the variables that are supposed to be based on exec_prefix
765 # by default will actually change.
766 # Use braces instead of parens because sh, perl, etc. also accept them.
767 # (The list follows the same order as the GNU Coding Standards.)
768 bindir
='${exec_prefix}/bin'
769 sbindir
='${exec_prefix}/sbin'
770 libexecdir
='${exec_prefix}/libexec'
771 datarootdir
='${prefix}/share'
772 datadir
='${datarootdir}'
773 sysconfdir
='${prefix}/etc'
774 sharedstatedir
='${prefix}/com'
775 localstatedir
='${prefix}/var'
776 includedir
='${prefix}/include'
777 oldincludedir
='/usr/include'
778 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
779 infodir
='${datarootdir}/info'
784 libdir
='${exec_prefix}/lib'
785 localedir
='${datarootdir}/locale'
786 mandir
='${datarootdir}/man'
792 # If the previous option needs an argument, assign it.
793 if test -n "$ac_prev"; then
794 eval $ac_prev=\
$ac_option
800 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
805 # Accept the important Cygnus configure options, so we can diagnose typos.
807 case $ac_dashdash$ac_option in
811 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
813 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
816 -build |
--build |
--buil |
--bui |
--bu)
817 ac_prev
=build_alias
;;
818 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
819 build_alias
=$ac_optarg ;;
821 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
822 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
823 ac_prev
=cache_file
;;
824 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
825 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
826 cache_file
=$ac_optarg ;;
829 cache_file
=config.cache
;;
831 -datadir |
--datadir |
--datadi |
--datad)
833 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
834 datadir
=$ac_optarg ;;
836 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
837 |
--dataroo |
--dataro |
--datar)
838 ac_prev
=datarootdir
;;
839 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
840 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
841 datarootdir
=$ac_optarg ;;
843 -disable-* |
--disable-*)
844 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
847 as_fn_error $?
"invalid feature name: $ac_useropt"
848 ac_useropt_orig
=$ac_useropt
849 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850 case $ac_user_opts in
854 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
855 ac_unrecognized_sep
=', ';;
857 eval enable_
$ac_useropt=no
;;
859 -docdir |
--docdir |
--docdi |
--doc |
--do)
861 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
864 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
866 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
869 -enable-* |
--enable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error $?
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=\
$ac_optarg ;;
885 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
886 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
887 |
--exec |
--exe |
--ex)
888 ac_prev
=exec_prefix
;;
889 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
890 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
891 |
--exec=* |
--exe=* |
--ex=*)
892 exec_prefix
=$ac_optarg ;;
894 -gas |
--gas |
--ga |
--g)
895 # Obsolete; use --with-gas.
898 -help |
--help |
--hel |
--he |
-h)
900 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
901 ac_init_help
=recursive
;;
902 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
903 ac_init_help
=short
;;
905 -host |
--host |
--hos |
--ho)
906 ac_prev
=host_alias
;;
907 -host=* |
--host=* |
--hos=* |
--ho=*)
908 host_alias
=$ac_optarg ;;
910 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
912 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
914 htmldir
=$ac_optarg ;;
916 -includedir |
--includedir |
--includedi |
--included |
--include \
917 |
--includ |
--inclu |
--incl |
--inc)
918 ac_prev
=includedir
;;
919 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
920 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
921 includedir
=$ac_optarg ;;
923 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
925 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
926 infodir
=$ac_optarg ;;
928 -libdir |
--libdir |
--libdi |
--libd)
930 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
933 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
934 |
--libexe |
--libex |
--libe)
935 ac_prev
=libexecdir
;;
936 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
937 |
--libexe=* |
--libex=* |
--libe=*)
938 libexecdir
=$ac_optarg ;;
940 -localedir |
--localedir |
--localedi |
--localed |
--locale)
942 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
943 localedir
=$ac_optarg ;;
945 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
946 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
947 ac_prev
=localstatedir
;;
948 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
949 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
950 localstatedir
=$ac_optarg ;;
952 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
954 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
958 # Obsolete; use --without-fp.
961 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
962 |
--no-cr |
--no-c |
-n)
965 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
966 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
969 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
970 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
971 |
--oldin |
--oldi |
--old |
--ol |
--o)
972 ac_prev
=oldincludedir
;;
973 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
974 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
975 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
976 oldincludedir
=$ac_optarg ;;
978 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
980 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
983 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
984 |
--program-pre |
--program-pr |
--program-p)
985 ac_prev
=program_prefix
;;
986 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
987 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
988 program_prefix
=$ac_optarg ;;
990 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
991 |
--program-suf |
--program-su |
--program-s)
992 ac_prev
=program_suffix
;;
993 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
994 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
995 program_suffix
=$ac_optarg ;;
997 -program-transform-name |
--program-transform-name \
998 |
--program-transform-nam |
--program-transform-na \
999 |
--program-transform-n |
--program-transform- \
1000 |
--program-transform |
--program-transfor \
1001 |
--program-transfo |
--program-transf \
1002 |
--program-trans |
--program-tran \
1003 |
--progr-tra |
--program-tr |
--program-t)
1004 ac_prev
=program_transform_name
;;
1005 -program-transform-name=* |
--program-transform-name=* \
1006 |
--program-transform-nam=* |
--program-transform-na=* \
1007 |
--program-transform-n=* |
--program-transform-=* \
1008 |
--program-transform=* |
--program-transfor=* \
1009 |
--program-transfo=* |
--program-transf=* \
1010 |
--program-trans=* |
--program-tran=* \
1011 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1012 program_transform_name
=$ac_optarg ;;
1014 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1016 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1017 pdfdir
=$ac_optarg ;;
1019 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1021 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1024 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1025 |
-silent |
--silent |
--silen |
--sile |
--sil)
1028 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1030 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1032 sbindir
=$ac_optarg ;;
1034 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1035 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1036 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1038 ac_prev
=sharedstatedir
;;
1039 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1040 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1041 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1043 sharedstatedir
=$ac_optarg ;;
1045 -site |
--site |
--sit)
1047 -site=* |
--site=* |
--sit=*)
1050 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1052 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1053 srcdir
=$ac_optarg ;;
1055 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1056 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1057 ac_prev
=sysconfdir
;;
1058 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1059 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1060 sysconfdir
=$ac_optarg ;;
1062 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1063 ac_prev
=target_alias
;;
1064 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1065 target_alias
=$ac_optarg ;;
1067 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1070 -version |
--version |
--versio |
--versi |
--vers |
-V)
1071 ac_init_version
=: ;;
1074 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1077 as_fn_error $?
"invalid package name: $ac_useropt"
1078 ac_useropt_orig
=$ac_useropt
1079 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1084 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1085 ac_unrecognized_sep
=', ';;
1087 eval with_
$ac_useropt=\
$ac_optarg ;;
1089 -without-* |
--without-*)
1090 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1093 as_fn_error $?
"invalid package name: $ac_useropt"
1094 ac_useropt_orig
=$ac_useropt
1095 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101 ac_unrecognized_sep
=', ';;
1103 eval with_
$ac_useropt=no
;;
1106 # Obsolete; use --with-x.
1109 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1110 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1111 ac_prev
=x_includes
;;
1112 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1113 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1114 x_includes
=$ac_optarg ;;
1116 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1117 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1118 ac_prev
=x_libraries
;;
1119 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1120 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1121 x_libraries
=$ac_optarg ;;
1123 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1124 Try \`$0 --help' for more information"
1128 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1129 # Reject names that are not valid shell variable names.
1130 case $ac_envvar in #(
1131 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1132 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1134 eval $ac_envvar=\
$ac_optarg
1135 export $ac_envvar ;;
1138 # FIXME: should be removed in autoconf 3.0.
1139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1148 if test -n "$ac_prev"; then
1149 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1150 as_fn_error $?
"missing argument to $ac_option"
1153 if test -n "$ac_unrecognized_opts"; then
1154 case $enable_option_checking in
1156 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1157 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161 # Check all directory arguments for consistency.
1162 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163 datadir sysconfdir sharedstatedir localstatedir includedir \
1164 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165 libdir localedir mandir
1167 eval ac_val
=\$
$ac_var
1168 # Remove trailing slashes.
1171 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172 eval $ac_var=\
$ac_val;;
1174 # Be sure to have absolute directory names.
1176 [\\/$
]* | ?
:[\\/]* ) continue;;
1177 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1179 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1182 # There might be people who depend on the old broken behavior: `$host'
1183 # used to hold the argument of --host etc.
1184 # FIXME: To remove some day.
1187 target
=$target_alias
1189 # FIXME: To remove some day.
1190 if test "x$host_alias" != x
; then
1191 if test "x$build_alias" = x
; then
1192 cross_compiling
=maybe
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1201 test "$silent" = yes && exec 6>/dev
/null
1204 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di
=`ls -di .` &&
1206 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $?
"working directory cannot be determined"
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $?
"pwd does not report name of working directory"
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted
=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir
=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted
=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1248 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1250 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 # Remove unnecessary trailing slashes from srcdir.
1259 # Double slashes in file names in object file debugging info
1260 # mess up M-x gdb in Emacs.
1262 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 for ac_var
in $ac_precious_vars; do
1265 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1266 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1267 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1268 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1272 # Report the --help message.
1274 if test "$ac_init_help" = "long"; then
1275 # Omit some internal or obsolete options to make the list less imposing.
1276 # This message is too long to be a string in the A/UX 3.1 sh.
1278 \`configure' configures scrypt 1.2.1 to adapt to many kinds of systems.
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1285 Defaults for the options are specified in brackets.
1288 -h, --help display this help and exit
1289 --help=short display options specific to this package
1290 --help=recursive display the short help of all the included packages
1291 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1293 --cache-file=FILE cache test results in FILE [disabled]
1294 -C, --config-cache alias for \`--cache-file=config.cache'
1295 -n, --no-create do not create output files
1296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1298 Installation directories:
1299 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1309 For better control, use the options below.
1311 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root [DATAROOTDIR/doc/scrypt]
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1336 --program-prefix=PREFIX prepend PREFIX to installed program names
1337 --program-suffix=SUFFIX append SUFFIX to installed program names
1338 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1342 if test -n "$ac_init_help"; then
1343 case $ac_init_help in
1344 short | recursive
) echo "Configuration of scrypt 1.2.1:";;
1349 --disable-option-checking ignore unrecognized
--enable/--with options
1350 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1351 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1352 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1353 --disable-silent-rules verbose build output
(undo
: "make V=0")
1354 --enable-dependency-tracking
1355 do not reject slow dependency extractors
1356 --disable-dependency-tracking
1357 speeds up one-time build
1358 --enable-maintainer-mode
1359 enable make rules and dependencies not useful
(and
1360 sometimes confusing
) to the casual installer
1361 --disable-largefile omit support
for large files
1362 --disable-compiler-warnings
1363 Do not request compiler warnings.
[default
=enabled
]
1365 Some influential environment variables
:
1366 CC C compiler
command
1367 CFLAGS C compiler flags
1368 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1369 nonstandard directory
<lib dir
>
1370 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1371 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1372 you have headers
in a nonstandard directory
<include dir
>
1375 Use these variables to override the choices made by
`configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1378 Report bugs to <https://github.com/Tarsnap/scrypt>.
1379 scrypt home page: <http://www.tarsnap.com/scrypt/>.
1384 if test "$ac_init_help" = "recursive"; then
1385 # If there are subdirs, report their specific --help.
1386 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387 test -d "$ac_dir" ||
1388 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1396 # A ".." for each directory in $ac_dir_suffix.
1397 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1398 case $ac_top_builddir_sub in
1399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 ac_abs_top_builddir=$ac_pwd
1404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405 # for backward compatibility:
1406 ac_top_builddir=$ac_top_build_prefix
1409 .) # We are building in place.
1411 ac_top_srcdir=$ac_top_builddir_sub
1412 ac_abs_top_srcdir=$ac_pwd ;;
1413 [\\/]* | ?:[\\/]* ) # Absolute name.
1414 ac_srcdir=$srcdir$ac_dir_suffix;
1415 ac_top_srcdir=$srcdir
1416 ac_abs_top_srcdir=$srcdir ;;
1418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1419 ac_top_srcdir=$ac_top_build_prefix$srcdir
1420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1424 cd "$ac_dir" || { ac_status=$?; continue; }
1425 # Check for guested configure.
1426 if test -f "$ac_srcdir/configure.gnu"; then
1428 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1429 elif test -f "$ac_srcdir/configure"; then
1431 $SHELL "$ac_srcdir/configure" --help=recursive
1433 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435 cd "$ac_pwd" || { ac_status=$?; break; }
1439 test -n "$ac_init_help" && exit $ac_status
1440 if $ac_init_version; then
1442 scrypt configure 1.2.1
1443 generated by GNU Autoconf 2.69
1445 Copyright (C) 2012 Free Software Foundation, Inc.
1446 This configure script is free software; the Free Software Foundation
1447 gives unlimited permission to copy, distribute and modify it.
1452 ## ------------------------ ##
1453 ## Autoconf initialization. ##
1454 ## ------------------------ ##
1456 # ac_fn_c_try_compile LINENO
1457 # --------------------------
1458 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1459 ac_fn_c_try_compile ()
1461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462 rm -f conftest.$ac_objext
1463 if { { ac_try="$ac_compile"
1465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1466 *) ac_try_echo
=$ac_try;;
1468 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469 $as_echo "$ac_try_echo"; } >&5
1470 (eval "$ac_compile") 2>conftest.err
1472 if test -s conftest.err
; then
1473 grep -v '^ *+' conftest.err
>conftest.er1
1474 cat conftest.er1
>&5
1475 mv -f conftest.er1 conftest.err
1477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1478 test $ac_status = 0; } && {
1479 test -z "$ac_c_werror_flag" ||
1480 test ! -s conftest.err
1481 } && test -s conftest.
$ac_objext; then :
1484 $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.
$ac_ext >&5
1489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1490 as_fn_set_status
$ac_retval
1492 } # ac_fn_c_try_compile
1494 # ac_fn_c_try_link LINENO
1495 # -----------------------
1496 # Try to link conftest.$ac_ext, and return whether this succeeded.
1499 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1500 rm -f conftest.
$ac_objext conftest
$ac_exeext
1501 if { { ac_try
="$ac_link"
1503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_link") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest$ac_exeext && {
1520 test "$cross_compiling" = yes ||
1521 test -x conftest$ac_exeext
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1530 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1531 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1532 # interfere with the next link command; also delete a directory that is
1533 # left behind by Apple's compiler. We do this before executing the actions.
1534 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536 as_fn_set_status $ac_retval
1538 } # ac_fn_c_try_link
1540 # ac_fn_c_check_func LINENO FUNC VAR
1541 # ----------------------------------
1542 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1543 ac_fn_c_check_func ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1547 $as_echo_n "checking for $2... " >&6; }
1548 if eval \${$3+:} false; then :
1549 $as_echo_n "(cached) " >&6
1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552 /* end confdefs.h. */
1553 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1555 #define $2 innocuous_$2
1557 /* System header to define __stub macros and hopefully few prototypes,
1558 which can conflict with char $2 (); below.
1559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1560 <limits.h> exists even on freestanding compilers. */
1563 # include <limits.h>
1565 # include <assert.h>
1570 /* Override any GCC internal prototype to avoid an error.
1571 Use char because int might match the return type of a GCC
1572 builtin and then its argument prototype would still apply. */
1577 /* The GNU C library defines this for functions which it implements
1578 to always fail with ENOSYS. Some functions are actually named
1579 something starting with __ and the normal name is an alias. */
1580 #if defined __stub_$2 || defined __stub___$2
1592 if ac_fn_c_try_link "$LINENO"; then :
1597 rm -f core conftest.err conftest.$ac_objext \
1598 conftest$ac_exeext conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1602 $as_echo "$ac_res" >&6; }
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 } # ac_fn_c_check_func
1607 # ac_fn_c_try_cpp LINENO
1608 # ----------------------
1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if { { ac_try="$ac_cpp conftest.$ac_ext"
1615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1616 *) ac_try_echo
=$ac_try;;
1618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1622 if test -s conftest.err
; then
1623 grep -v '^ *+' conftest.err
>conftest.er1
1624 cat conftest.er1
>&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } > conftest.i
&& {
1629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1630 test ! -s conftest.err
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.
$ac_ext >&5
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status
$ac_retval
1644 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1645 # -------------------------------------------------------
1646 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1647 # the include files in INCLUDES and setting the cache variable VAR
1649 ac_fn_c_check_header_mongrel
()
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 if eval \
${$3+:} false
; then :
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1654 $as_echo_n "checking for $2... " >&6; }
1655 if eval \
${$3+:} false
; then :
1656 $as_echo_n "(cached) " >&6
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1662 # Is the header compilable?
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1664 $as_echo_n "checking $2 usability... " >&6; }
1665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1670 if ac_fn_c_try_compile
"$LINENO"; then :
1671 ac_header_compiler
=yes
1673 ac_header_compiler
=no
1675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1677 $as_echo "$ac_header_compiler" >&6; }
1679 # Is the header present?
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1681 $as_echo_n "checking $2 presence... " >&6; }
1682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1686 if ac_fn_c_try_cpp
"$LINENO"; then :
1687 ac_header_preproc
=yes
1689 ac_header_preproc
=no
1691 rm -f conftest.err conftest.i conftest.
$ac_ext
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1693 $as_echo "$ac_header_preproc" >&6; }
1695 # So? What about this header?
1696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1699 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1701 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1705 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1707 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1709 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1711 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1714 ( $as_echo "## ------------------------------------------------ ##
1715 ## Report this to https://github.com/Tarsnap/scrypt ##
1716 ## ------------------------------------------------ ##"
1717 ) |
sed "s/^/$as_me: WARNING: /" >&2
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if eval \
${$3+:} false
; then :
1723 $as_echo_n "(cached) " >&6
1725 eval "$3=\$ac_header_compiler"
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 } # ac_fn_c_check_header_mongrel
1735 # ac_fn_c_try_run LINENO
1736 # ----------------------
1737 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1738 # that executables *can* be run.
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 if { { ac_try
="$ac_link"
1744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_link") 2>&5
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1753 { { case "(($ac_try" in
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_try") 2>&5
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; }; }; then :
1765 $as_echo "$as_me: program exited with status $ac_status" >&5
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.
$ac_ext >&5
1769 ac_retval
=$ac_status
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \
${$3+:} false
; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1809 # -------------------------------------------
1810 # Tests whether TYPE exists after having included INCLUDES, setting cache
1811 # variable VAR accordingly.
1812 ac_fn_c_check_type
()
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if eval \
${$3+:} false
; then :
1818 $as_echo_n "(cached) " >&6
1821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1833 if ac_fn_c_try_compile
"$LINENO"; then :
1834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1846 if ac_fn_c_try_compile
"$LINENO"; then :
1851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 } # ac_fn_c_check_type
1862 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1863 # ----------------------------------------------------
1864 # Tries to find if the field MEMBER exists in type AGGR, after including
1865 # INCLUDES, setting cache variable VAR accordingly.
1866 ac_fn_c_check_member
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1870 $as_echo_n "checking for $2.$3... " >&6; }
1871 if eval \
${$4+:} false
; then :
1872 $as_echo_n "(cached) " >&6
1874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1887 if ac_fn_c_try_compile
"$LINENO"; then :
1890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1897 if (sizeof ac_aggr.$3)
1903 if ac_fn_c_try_compile
"$LINENO"; then :
1908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_member
1918 cat >config.log
<<_ACEOF
1919 This file contains any messages produced by compilers while
1920 running configure, to aid debugging if configure makes a mistake.
1922 It was created by scrypt $as_me 1.2.1, which was
1923 generated by GNU Autoconf 2.69. Invocation command line was
1935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir
=.
1959 $as_echo "PATH: $as_dir"
1975 # Keep a trace of the command line.
1976 # Strip out --no-create and --no-recursion so they do not pile up.
1977 # Strip out --silent because we don't want to record it for future runs.
1978 # Also quote any args containing shell meta-characters.
1979 # Make two passes to allow for proper duplicate-argument suppression.
1983 ac_must_keep_next
=false
1989 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1991 |
-silent |
--silent |
--silen |
--sile |
--sil)
1994 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1999 as_fn_append ac_configure_args1
" '$ac_arg'"
2000 if test $ac_must_keep_next = true
; then
2001 ac_must_keep_next
=false
# Got value, back to normal.
2004 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2005 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2006 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2007 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2008 case "$ac_configure_args0 " in
2009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012 -* ) ac_must_keep_next
=true
;;
2015 as_fn_append ac_configure_args
" '$ac_arg'"
2020 { ac_configure_args0
=; unset ac_configure_args0
;}
2021 { ac_configure_args1
=; unset ac_configure_args1
;}
2023 # When interrupted or exit'd, cleanup temporary files, and complete
2024 # config.log. We remove comments because anyway the quotes in there
2025 # would cause problems or look ugly.
2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028 trap 'exit_status=$?
2029 # Save into config.log some information that might help in debugging.
2033 $as_echo "## ---------------- ##
2034 ## Cache variables. ##
2035 ## ---------------- ##"
2037 # The following way of writing the cache mishandles newlines in values,
2039 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2040 eval ac_val=\$$ac_var
2044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048 _ | IFS | as_nl) ;; #(
2049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2050 *) { eval $ac_var=; unset $ac_var;} ;;
2055 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2056 *${as_nl}ac_space=\ *)
2058 "s/'\''/'\''\\\\'\'''\''/g;
2059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2069 $as_echo "## ----------------- ##
2070 ## Output variables. ##
2071 ## ----------------- ##"
2073 for ac_var in $ac_subst_vars
2075 eval ac_val=\$$ac_var
2077 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2079 $as_echo "$ac_var='\''$ac_val'\''"
2083 if test -n "$ac_subst_files"; then
2084 $as_echo "## ------------------- ##
2085 ## File substitutions. ##
2086 ## ------------------- ##"
2088 for ac_var
in $ac_subst_files
2090 eval ac_val
=\$
$ac_var
2092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094 $as_echo "$ac_var='\''$ac_val'\''"
2099 if test -s confdefs.h; then
2100 $as_echo "## ----------- ##
2107 test "$ac_signal" != 0 &&
2108 $as_echo "$as_me: caught signal $ac_signal"
2109 $as_echo "$as_me: exit $exit_status"
2111 rm -f core *.core core.conftest.* &&
2112 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115 for ac_signal
in 1 2 13 15; do
2116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2121 rm -f -r conftest
* confdefs.h
2123 $as_echo "/* confdefs.h */" > confdefs.h
2125 # Predefined preprocessor variables.
2127 cat >>confdefs.h
<<_ACEOF
2128 #define PACKAGE_NAME "$PACKAGE_NAME"
2131 cat >>confdefs.h
<<_ACEOF
2132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2135 cat >>confdefs.h
<<_ACEOF
2136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 cat >>confdefs.h
<<_ACEOF
2140 #define PACKAGE_STRING "$PACKAGE_STRING"
2143 cat >>confdefs.h
<<_ACEOF
2144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 cat >>confdefs.h
<<_ACEOF
2148 #define PACKAGE_URL "$PACKAGE_URL"
2152 # Let the site file select an alternate cache file if it wants to.
2153 # Prefer an explicitly selected file to automatically selected ones.
2156 if test -n "$CONFIG_SITE"; then
2157 # We do not want a PATH search for config.site.
2158 case $CONFIG_SITE in #((
2159 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2160 */*) ac_site_file1
=$CONFIG_SITE;;
2161 *) ac_site_file1
=.
/$CONFIG_SITE;;
2163 elif test "x$prefix" != xNONE
; then
2164 ac_site_file1
=$prefix/share
/config.site
2165 ac_site_file2
=$prefix/etc
/config.site
2167 ac_site_file1
=$ac_default_prefix/share
/config.site
2168 ac_site_file2
=$ac_default_prefix/etc
/config.site
2170 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2172 test "x$ac_site_file" = xNONE
&& continue
2173 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2176 sed 's/^/| /' "$ac_site_file" >&5
2178 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 as_fn_error $?
"failed to load site script $ac_site_file
2181 See \`config.log' for more details" "$LINENO" 5; }
2185 if test -r "$cache_file"; then
2186 # Some versions of bash will fail to source /dev/null (special files
2187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2188 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2193 *) .
"./$cache_file";;
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202 # Check that the precious variables saved in the cache have kept the same
2204 ac_cache_corrupted
=false
2205 for ac_var
in $ac_precious_vars; do
2206 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2207 eval ac_new_set
=\
$ac_env_${ac_var}_set
2208 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2209 eval ac_new_val
=\
$ac_env_${ac_var}_value
2210 case $ac_old_set,$ac_new_set in
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214 ac_cache_corrupted
=: ;;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218 ac_cache_corrupted
=: ;;
2221 if test "x$ac_old_val" != "x$ac_new_val"; then
2222 # differences in whitespace do not lead to failure.
2223 ac_old_val_w
=`echo x $ac_old_val`
2224 ac_new_val_w
=`echo x $ac_new_val`
2225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228 ac_cache_corrupted
=:
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232 eval $ac_var=\
$ac_old_val
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg
=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2264 ac_cpp
='$CPP $CPPFLAGS'
2265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2272 for ac_dir
in config.aux
"$srcdir"/config.aux
; do
2273 if test -f "$ac_dir/install-sh"; then
2275 ac_install_sh
="$ac_aux_dir/install-sh -c"
2277 elif test -f "$ac_dir/install.sh"; then
2279 ac_install_sh
="$ac_aux_dir/install.sh -c"
2281 elif test -f "$ac_dir/shtool"; then
2283 ac_install_sh
="$ac_aux_dir/shtool install -c"
2287 if test -z "$ac_aux_dir"; then
2288 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config.aux \"$srcdir\"/config.aux" "$LINENO" 5
2291 # These three variables are undocumented and unsupported,
2292 # and are intended to be withdrawn in a future Autoconf release.
2293 # They can cause serious problems if a builder's source tree is in a directory
2294 # whose full name contains unusual characters.
2295 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2296 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2297 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2301 am__api_version
='1.15'
2303 # Find a good install program. We prefer a C program (faster),
2304 # so one script is as good as another. But avoid the broken or
2305 # incompatible versions:
2306 # SysV /etc/install, /usr/sbin/install
2307 # SunOS /usr/etc/install
2308 # IRIX /sbin/install
2310 # AmigaOS /C/install, which installs bootblocks on floppy discs
2311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2314 # OS/2's system install, which has a completely different semantic
2315 # ./install, which can be erroneously created by make from ./install.sh.
2316 # Reject install programs that cannot install multiple files.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2318 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2319 if test -z "$INSTALL"; then
2320 if ${ac_cv_path_install+:} false
; then :
2321 $as_echo_n "(cached) " >&6
2323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir
=.
2328 # Account for people who put trailing slashes in PATH elements.
2329 case $as_dir/ in #((
2330 .
/ | .
// |
/[cC
]/* | \
2331 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2332 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2335 # OSF1 and SCO ODT 3.0 have their own names for install.
2336 # Don't use installbsd from OSF since it installs stuff as root
2338 for ac_prog
in ginstall scoinst
install; do
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2341 if test $ac_prog = install &&
2342 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2343 # AIX install. It has an incompatible calling convention.
2345 elif test $ac_prog = install &&
2346 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2347 # program-specific install script used by HP pwplus--don't use.
2350 rm -rf conftest.one conftest.two conftest.dir
2351 echo one
> conftest.one
2352 echo two
> conftest.two
2354 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2355 test -s conftest.one
&& test -s conftest.two
&&
2356 test -s conftest.dir
/conftest.one
&&
2357 test -s conftest.dir
/conftest.two
2359 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2372 rm -rf conftest.one conftest.two conftest.dir
2375 if test "${ac_cv_path_install+set}" = set; then
2376 INSTALL
=$ac_cv_path_install
2378 # As a last resort, use the slow shell script. Don't cache a
2379 # value for INSTALL within a source directory, because that will
2380 # break other packages using the cache if that directory is
2381 # removed, or if the value is a relative name.
2382 INSTALL
=$ac_install_sh
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2386 $as_echo "$INSTALL" >&6; }
2388 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2389 # It thinks the first close brace ends the variable substitution.
2390 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2392 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2394 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2397 $as_echo_n "checking whether build environment is sane... " >&6; }
2398 # Reject unsafe characters in $srcdir or the absolute working directory
2399 # name. Accept space and tab only in the latter.
2403 *[\\\"\
#\$\&\'\`$am_lf]*)
2404 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2407 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2408 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2411 # Do 'set' in a subshell so we don't clobber the current shell's
2412 # arguments. Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2418 for am_try
in 1 2; do
2419 echo "timestamp, slept: $am_has_slept" > conftest.
file
2420 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2421 if test "$*" = "X"; then
2423 set X
`ls -t "$srcdir/configure" conftest.file`
2425 if test "$*" != "X $srcdir/configure conftest.file" \
2426 && test "$*" != "X conftest.file $srcdir/configure"; then
2428 # If neither matched, then we have a broken ls. This can happen
2429 # if, for instance, CONFIG_SHELL is bash and it inherits a
2430 # broken ls alias from the environment. This has actually
2431 # happened. Such a system could not be considered "sane".
2432 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2433 alias in your environment" "$LINENO" 5
2435 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2442 test "$2" = conftest.
file
2448 as_fn_error $?
"newly created file is older than distributed files!
2449 Check your system clock" "$LINENO" 5
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2452 $as_echo "yes" >&6; }
2453 # If we didn't sleep, we still need to ensure time stamps of config.status and
2454 # generated files are strictly newer.
2456 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2463 test "$program_prefix" != NONE
&&
2464 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2465 # Use a double $ so make ignores it.
2466 test "$program_suffix" != NONE
&&
2467 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2468 # Double any \ or $.
2469 # By default was `s,x,x', remove it if useless.
2470 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2471 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2473 # Expand $ac_aux_dir to an absolute path.
2474 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2476 if test x
"${MISSING+set}" != xset
; then
2479 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2481 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2484 # Use eval to expand $SHELL
2485 if eval "$MISSING --is-lightweight"; then
2486 am_missing_run
="$MISSING "
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2490 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2493 if test x
"${install_sh+set}" != xset
; then
2496 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2498 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2502 # Installed binaries are usually stripped using 'strip' when the user
2503 # run "make install-strip". However 'strip' might not be the right
2504 # tool to use in cross-compilation environments, therefore Automake
2505 # will honor the 'STRIP' environment variable to overrule this program.
2506 if test "$cross_compiling" != no
; then
2507 if test -n "$ac_tool_prefix"; then
2508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if ${ac_cv_prog_STRIP+:} false
; then :
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$STRIP"; then
2516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir
=.
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 STRIP
=$ac_cv_prog_STRIP
2536 if test -n "$STRIP"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2538 $as_echo "$STRIP" >&6; }
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2546 if test -z "$ac_cv_prog_STRIP"; then
2548 # Extract the first word of "strip", so it can be a program name with args.
2549 set dummy strip
; ac_word
=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$ac_ct_STRIP"; then
2556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir
=.
2563 for ac_exec_ext
in '' $ac_executable_extensions; do
2564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_ac_ct_STRIP
="strip"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2576 if test -n "$ac_ct_STRIP"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2578 $as_echo "$ac_ct_STRIP" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2584 if test "x$ac_ct_STRIP" = x
; then
2587 case $cross_compiling:$ac_tool_warned in
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned
=yes ;;
2596 STRIP
="$ac_cv_prog_STRIP"
2600 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2603 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2604 if test -z "$MKDIR_P"; then
2605 if ${ac_cv_path_mkdir+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2612 test -z "$as_dir" && as_dir
=.
2613 for ac_prog
in mkdir gmkdir
; do
2614 for ac_exec_ext
in '' $ac_executable_extensions; do
2615 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2616 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2617 'mkdir (GNU coreutils) '* | \
2618 'mkdir (coreutils) '* | \
2619 'mkdir (fileutils) '4.1*)
2620 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2630 test -d .
/--version && rmdir .
/--version
2631 if test "${ac_cv_path_mkdir+set}" = set; then
2632 MKDIR_P
="$ac_cv_path_mkdir -p"
2634 # As a last resort, use the slow shell script. Don't cache a
2635 # value for MKDIR_P within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the value is a relative name.
2638 MKDIR_P
="$ac_install_sh -d"
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2642 $as_echo "$MKDIR_P" >&6; }
2644 for ac_prog
in gawk mawk nawk
awk
2646 # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set dummy
$ac_prog; ac_word
=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_AWK+:} false
; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$AWK"; then
2654 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_AWK
="$ac_prog"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$AWK"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2676 $as_echo "$AWK" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2683 test -n "$AWK" && break
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2687 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2689 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2690 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 cat >conftest.
make <<\_ACEOF
2696 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2701 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2703 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2707 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2709 $as_echo "yes" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 SET_MAKE
="MAKE=${MAKE-make}"
2717 rm -rf .tst
2>/dev
/null
2718 mkdir .tst
2>/dev
/null
2719 if test -d .tst
; then
2724 rmdir .tst
2>/dev
/null
2726 # Check whether --enable-silent-rules was given.
2727 if test "${enable_silent_rules+set}" = set; then :
2728 enableval
=$enable_silent_rules;
2731 case $enable_silent_rules in # (((
2732 yes) AM_DEFAULT_VERBOSITY
=0;;
2733 no
) AM_DEFAULT_VERBOSITY
=1;;
2734 *) AM_DEFAULT_VERBOSITY
=1;;
2736 am_make
=${MAKE-make}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2738 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2739 if ${am_cv_make_support_nested_variables+:} false
; then :
2740 $as_echo_n "(cached) " >&6
2742 if $as_echo 'TRUE=$(BAR$(V))
2748 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2749 am_cv_make_support_nested_variables
=yes
2751 am_cv_make_support_nested_variables
=no
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2755 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2756 if test $am_cv_make_support_nested_variables = yes; then
2758 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2760 AM_V
=$AM_DEFAULT_VERBOSITY
2761 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2765 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2766 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2767 # is not polluted with repeated "-I."
2768 am__isrc
=' -I$(srcdir)'
2769 # test to see if srcdir already configured
2770 if test -f $srcdir/config.status
; then
2771 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2775 # test whether we have cygpath
2776 if test -z "$CYGPATH_W"; then
2777 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2778 CYGPATH_W
='cygpath -w'
2785 # Define the identity of the package.
2790 cat >>confdefs.h
<<_ACEOF
2791 #define PACKAGE "$PACKAGE"
2795 cat >>confdefs.h
<<_ACEOF
2796 #define VERSION "$VERSION"
2799 # Some tools Automake needs.
2801 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2804 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2807 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2810 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2813 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2815 # For better backward compatibility. To be removed once Automake 1.9.x
2816 # dies out for good. For more background, see:
2817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2818 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2819 mkdir_p
='$(MKDIR_P)'
2821 # We need awk for the "check" target (and possibly the TAP driver). The
2822 # system "awk" is bad on some platforms.
2823 # Always define AMTAR for backward compatibility. Yes, it's still used
2824 # in the wild :-( We should find a proper way to deprecate it ...
2828 # We'll loop over all known methods to create a tar archive until one works.
2829 _am_tools
='gnutar pax cpio none'
2831 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2838 # POSIX will say in a future version that running "rm -f" with no argument
2839 # is OK; and we want to be able to make that assumption in our Makefile
2840 # recipes. So use an aggressive probe to check that the usage we want is
2841 # actually supported "in the wild" to an acceptable degree.
2842 # See automake bug#10828.
2843 # To make any issue more visible, cause the running configure to be aborted
2844 # by default if the 'rm' program in use doesn't match our expectations; the
2845 # user can still override this though.
2846 if rm -f && rm -fr && rm -rf; then : OK
; else
2850 Your 'rm' program seems unable to run without file operands specified
2851 on the command line, even when the '-f' option is present. This is contrary
2852 to the behaviour of most rm programs out there, and not conforming with
2853 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2855 Please tell bug-automake@gnu.org about your system, including the value
2856 of your $PATH and any error possibly output before this message. This
2857 can help us improve future automake versions.
2860 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2861 echo 'Configuration will proceed anyway, since you have set the' >&2
2862 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2866 Aborting the configuration process, to ensure you take notice of the issue.
2868 You can download and install GNU coreutils to get an 'rm' implementation
2869 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2871 If you want to complete the configuration process using your problematic
2872 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2873 to "yes", and re-run configure.
2876 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2881 # Checks for programs.
2882 DEPDIR
="${am__leading_dot}deps"
2884 ac_config_commands
="$ac_config_commands depfiles"
2887 am_make
=${MAKE-make}
2888 cat > confinc
<< 'END'
2890 @
echo this is the am__doit target
2893 # If we don't find an include directive, just comment out the code.
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2895 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2899 # First try GNU make style include.
2900 echo "include confinc" > confmf
2901 # Ignore all kinds of additional output from 'make'.
2902 case `$am_make -s -f confmf 2> /dev/null` in #(
2903 *the\ am__doit\ target
*)
2909 # Now try BSD make style include.
2910 if test "$am__include" = "#"; then
2911 echo '.include "confinc"' > confmf
2912 case `$am_make -s -f confmf 2> /dev/null` in #(
2913 *the\ am__doit\ target
*)
2914 am__include
=.include
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2923 $as_echo "$_am_result" >&6; }
2924 rm -f confinc confmf
2926 # Check whether --enable-dependency-tracking was given.
2927 if test "${enable_dependency_tracking+set}" = set; then :
2928 enableval
=$enable_dependency_tracking;
2931 if test "x$enable_dependency_tracking" != xno
; then
2932 am_depcomp
="$ac_aux_dir/depcomp"
2936 if test "x$enable_dependency_tracking" != xno; then
2946 ac_cpp
='$CPP $CPPFLAGS'
2947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2952 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_CC+:} false
; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC
="$CC" # Let the user override the test.
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2989 if test -z "$ac_cv_prog_CC"; then
2991 # Extract the first word of "gcc", so it can be a program name with args.
2992 set dummy gcc
; ac_word
=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_CC
="gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3019 if test -n "$ac_ct_CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3021 $as_echo "$ac_ct_CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3027 if test "x$ac_ct_CC" = x
; then
3030 case $cross_compiling:$ac_tool_warned in
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034 ac_tool_warned
=yes ;;
3042 if test -z "$CC"; then
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3045 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_CC+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$CC"; then
3052 ac_cv_prog_CC
="$CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3083 if test -z "$CC"; then
3084 # Extract the first word of "cc", so it can be a program name with args.
3085 set dummy cc
; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3102 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3103 ac_prog_rejected
=yes
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test $ac_prog_rejected = yes; then
3115 # We found a bogon in the path, so make sure we never use it.
3116 set dummy
$ac_cv_prog_CC
3118 if test $# != 0; then
3119 # We chose a different compiler from the bogus one.
3120 # However, it has the same basename, so the bogon will be chosen
3121 # first if we set CC to just the basename; use the full file name.
3123 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3129 if test -n "$CC"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3131 $as_echo "$CC" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3139 if test -z "$CC"; then
3140 if test -n "$ac_tool_prefix"; then
3141 for ac_prog
in cl.exe
3143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false
; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC
="$CC" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$CC" && break
3183 if test -z "$CC"; then
3185 for ac_prog
in cl.exe
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$ac_ct_CC"; then
3195 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217 $as_echo "$ac_ct_CC" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$ac_ct_CC" && break
3227 if test "x$ac_ct_CC" = x
; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned
=yes ;;
3243 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $?
"no acceptable C compiler found in \$PATH
3246 See \`config.log' for more details" "$LINENO" 5; }
3248 # Provide some information about the compiler.
3249 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3252 for ac_option
in --version -v -V -qversion; do
3253 { { ac_try
="$ac_compiler $ac_option >&5"
3255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259 $as_echo "$ac_try_echo"; } >&5
3260 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3262 if test -s conftest.err; then
3264 ... rest of stderr output deleted ...
3265 10q' conftest.err >conftest.er1
3266 cat conftest.er1 >&5
3268 rm -f conftest.er1 conftest.err
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 ac_clean_files_save=$ac_clean_files
3285 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3286 # Try to create an executable without -o first, disregard a.out.
3287 # It will help us diagnose broken compilers, and finding out an intuition
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3290 $as_echo_n "checking whether the C compiler works... " >&6; }
3291 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3293 # The possible output files:
3294 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3297 for ac_file in $ac_files
3300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3301 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3306 if { { ac_try="$ac_link_default"
3308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3309 *) ac_try_echo
=$ac_try;;
3311 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_link_default") 2>&5
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; then :
3317 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3318 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3319 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3320 # so that the user can short-circuit this test for compilers unknown to
3322 for ac_file
in $ac_files ''
3324 test -f "$ac_file" ||
continue
3326 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3329 # We found the default executable, but exeext='' is most
3333 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3335 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3337 # We set ac_cv_exeext here because the later test for it is not
3338 # safe: cross compilers may not add the suffix if given an `-o'
3339 # argument, so we may need to know it at that point already.
3340 # Even if this section looks crufty: it has the advantage of
3347 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3352 if test -z "$ac_file"; then :
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3355 $as_echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.
$ac_ext >&5
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error
77 "C compiler cannot create executables
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3364 $as_echo "yes" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3367 $as_echo_n "checking for C compiler default output file name... " >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369 $as_echo "$ac_file" >&6; }
3370 ac_exeext
=$ac_cv_exeext
3372 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3373 ac_clean_files
=$ac_clean_files_save
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3375 $as_echo_n "checking for suffix of executables... " >&6; }
3376 if { { ac_try
="$ac_link"
3378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_link") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; then :
3387 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3388 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3389 # work properly (i.e., refer to `conftest.exe'), while it won't with
3391 for ac_file
in conftest.exe conftest conftest.
*; do
3392 test -f "$ac_file" ||
continue
3394 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3395 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3404 See \`config.log' for more details" "$LINENO" 5; }
3406 rm -f conftest conftest
$ac_cv_exeext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3408 $as_echo "$ac_cv_exeext" >&6; }
3410 rm -f conftest.
$ac_ext
3411 EXEEXT
=$ac_cv_exeext
3413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3419 FILE *f = fopen ("conftest.out", "w");
3420 return ferror (f) || fclose (f) != 0;
3426 ac_clean_files
="$ac_clean_files conftest.out"
3427 # Check that the compiler produces executables we can run. If not, either
3428 # the compiler is broken, or we cross compile.
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3430 $as_echo_n "checking whether we are cross compiling... " >&6; }
3431 if test "$cross_compiling" != yes; then
3432 { { ac_try
="$ac_link"
3434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_link") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }
3443 if { ac_try='./conftest$ac_cv_exeext'
3444 { { case "(($ac_try" in
3445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3446 *) ac_try_echo
=$ac_try;;
3448 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_try") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; }; then
3456 if test "$cross_compiling" = maybe
; then
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 as_fn_error $?
"cannot run C compiled programs.
3462 If you meant to cross compile, use \`--host'.
3463 See \`config.log' for more details" "$LINENO" 5; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3468 $as_echo "$cross_compiling" >&6; }
3470 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3471 ac_clean_files
=$ac_clean_files_save
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3473 $as_echo_n "checking for suffix of object files... " >&6; }
3474 if ${ac_cv_objext+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 rm -f conftest.o conftest.obj
3489 if { { ac_try
="$ac_compile"
3491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_compile") 2>&5
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 for ac_file in conftest.o conftest.obj conftest.*; do
3501 test -f "$ac_file" || continue;
3503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3504 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3509 $as_echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3515 See \
`config.log' for more details" "$LINENO" 5; }
3517 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3520 $as_echo "$ac_cv_objext" >&6; }
3521 OBJEXT=$ac_cv_objext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3524 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3525 if ${ac_cv_c_compiler_gnu+:} false; then :
3526 $as_echo_n "(cached) " >&6
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3542 if ac_fn_c_try_compile "$LINENO"; then :
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3552 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3553 if test $ac_compiler_gnu = yes; then
3558 ac_test_CFLAGS=${CFLAGS+set}
3559 ac_save_CFLAGS=$CFLAGS
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3561 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3562 if ${ac_cv_prog_cc_g+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 ac_save_c_werror_flag=$ac_c_werror_flag
3566 ac_c_werror_flag=yes
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_c_werror_flag=$ac_save_c_werror_flag
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 ac_c_werror_flag=$ac_save_c_werror_flag
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3622 $as_echo "$ac_cv_prog_cc_g" >&6; }
3623 if test "$ac_test_CFLAGS" = set; then
3624 CFLAGS=$ac_save_CFLAGS
3625 elif test $ac_cv_prog_cc_g = yes; then
3626 if test "$GCC" = yes; then
3632 if test "$GCC" = yes; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3639 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3640 if ${ac_cv_prog_cc_c89+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 ac_cv_prog_cc_c89=no
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3650 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3651 struct buf { int x; };
3652 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3653 static char *e (p, i)
3659 static char *f (char * (*g) (char **, int), char **p, ...)
3664 s = g (p, va_arg (v,int));
3669 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3670 function prototypes and stuff, but not '\xHH' hex character constants.
3671 These don't provoke an error unfortunately, instead are silently treated
3672 as 'x'. The following induces an error, until -std is added to get
3673 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3674 array size at least. It's necessary to write '\x00'==0 to get something
3675 that's true only with -std. */
3676 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3678 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3679 inside strings and character constants. */
3681 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3683 int test (int i, double x);
3684 struct s1 {int (*f) (int a);};
3685 struct s2 {int (*f) (double a);};
3686 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3692 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3697 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3698 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3700 CC="$ac_save_CC $ac_arg"
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702 ac_cv_prog_cc_c89=$ac_arg
3704 rm -f core conftest.err conftest.$ac_objext
3705 test "x$ac_cv_prog_cc_c89" != "xno" && break
3707 rm -f conftest.$ac_ext
3712 case "x$ac_cv_prog_cc_c89" in
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3715 $as_echo "none needed" >&6; } ;;
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3718 $as_echo "unsupported" >&6; } ;;
3720 CC="$CC $ac_cv_prog_cc_c89"
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3722 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3724 if test "x$ac_cv_prog_cc_c89" != xno; then :
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735 ac_cpp='$CPP $CPPFLAGS'
3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3740 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3741 if ${am_cv_prog_cc_c_o+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3755 # Make sure it works both with $CC and with simple cc.
3756 # Following AC_PROG_CC_C_O, we do the test twice because some
3757 # compilers refuse to overwrite an existing .o file with -o,
3758 # though they will create one.
3759 am_cv_prog_cc_c_o=yes
3761 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3762 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } \
3766 && test -f conftest2.$ac_objext; then
3769 am_cv_prog_cc_c_o=no
3773 rm -f core conftest*
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3777 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3778 if test "$am_cv_prog_cc_c_o" != yes; then
3779 # Losing compiler, so override with the script.
3780 # FIXME: It is wrong to rewrite CC.
3781 # But if we don't then we get into trouble of one sort or another.
3782 # A longer-term fix would be to have automake use am__CC in this case,
3783 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3784 CC="$am_aux_dir/compile $CC"
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 depcc="$CC" am_compiler_list=
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3796 $as_echo_n "checking dependency style of $depcc... " >&6; }
3797 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3801 # We make a subdir and do the tests there. Otherwise we can end up
3802 # making bogus files that we don't know about and never remove. For
3803 # instance it was reported that on HP-UX the gcc test will end up
3804 # making a dummy file named 'D' -- because '-MD' means "put the output
3808 # Copy depcomp to subdir because otherwise we won't find it if we're
3809 # using a relative directory.
3810 cp "$am_depcomp" conftest.dir
3812 # We will build objects and dependencies in a subdirectory because
3813 # it helps to detect inapplicable dependency modes. For instance
3814 # both Tru64's cc and ICC support -MD to output dependencies as a
3815 # side effect of compilation, but ICC will put the dependencies in
3816 # the current directory while Tru64 will put them in the object
3820 am_cv_CC_dependencies_compiler_type=none
3821 if test "$am_compiler_list" = ""; then
3822 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3825 case " $depcc " in #(
3826 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3829 for depmode in $am_compiler_list; do
3830 # Setup a source with many dependencies, because some compilers
3831 # like to wrap large dependency lists on column 80 (with \), and
3832 # we should not choose a depcomp mode which is confused by this.
3834 # We need to recreate these files for each test, as the compiler may
3835 # overwrite some of them when testing with obscure command lines.
3836 # This happens at least with the AIX C compiler.
3838 for i in 1 2 3 4 5 6; do
3839 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3840 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3841 # Solaris 10 /bin/sh.
3842 echo '/* dummy */' > sub/conftst$i.h
3844 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3846 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3847 # mode. It turns out that the SunPro C++ compiler does not properly
3848 # handle '-M -o', and we need to detect this. Also, some Intel
3849 # versions had trouble with output in subdirs.
3850 am__obj=sub/conftest.${OBJEXT-o}
3851 am__minus_obj="-o $am__obj"
3854 # This depmode causes a compiler race in universal mode.
3855 test "$am__universal" = false || continue
3858 # After this tag, mechanisms are not by side-effect, so they'll
3859 # only be used when explicitly requested.
3860 if test "x$enable_dependency_tracking" = xyes; then
3866 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3867 # This compiler won't grok '-c -o', but also, the minuso test has
3868 # not run yet. These depmodes are late enough in the game, and
3869 # so weak that their functioning should not be impacted.
3870 am__obj=conftest.${OBJEXT-o}
3875 if depmode=$depmode \
3876 source=sub/conftest.c object=$am__obj \
3877 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3878 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3879 >/dev/null 2>conftest.err &&
3880 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3882 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3883 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3884 # icc doesn't choke on unknown options, it will just issue warnings
3885 # or remarks (even with -Werror). So we grep stderr for any message
3886 # that says an option was ignored or not supported.
3887 # When given -MP, icc 7.0 and 7.1 complain thusly:
3888 # icc: Command line warning: ignoring option '-M'; no argument required
3889 # The diagnosis changed in icc 8.0:
3890 # icc: Command line remark: option '-MP' not supported
3891 if (grep 'ignoring option' conftest.err ||
3892 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3893 am_cv_CC_dependencies_compiler_type=$depmode
3902 am_cv_CC_dependencies_compiler_type=none
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3907 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3908 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3911 test "x$enable_dependency_tracking" != xno \
3912 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3914 am__fastdepCC_FALSE='#'
3916 am__fastdepCC_TRUE='#'
3917 am__fastdepCC_FALSE=
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3922 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3923 if ${ac_cv_prog_cc_c99+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 ac_cv_prog_cc_c99=no
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3931 #include <stdbool.h>
3936 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3937 #define debug(...) fprintf (stderr, __VA_ARGS__)
3938 #define showlist(...) puts (#__VA_ARGS__)
3939 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3941 test_varargs_macros (void)
3946 debug ("X = %d\n", x);
3947 showlist (The first, second, and third items.);
3948 report (x>y, "x is %d but y is %d", x, y);
3951 // Check long long types.
3952 #define BIG64 18446744073709551615ull
3953 #define BIG32 4294967295ul
3954 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3956 your preprocessor is broken;
3960 your preprocessor is broken;
3962 static long long int bignum = -9223372036854775807LL;
3963 static unsigned long long int ubignum = BIG64;
3965 struct incomplete_array
3973 const wchar_t *name;
3977 typedef const char *ccp;
3980 test_restrict (ccp restrict text)
3982 // See if C++-style comments work.
3983 // Iterate through items via the restricted pointer.
3984 // Also check for declarations in for loops.
3985 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3990 // Check varargs and va_copy.
3992 test_varargs (const char *format, ...)
3995 va_start (args, format);
3997 va_copy (args_copy, args);
4008 str = va_arg (args_copy, const char *);
4011 number = va_arg (args_copy, int);
4014 fnumber = va_arg (args_copy, double);
4029 _Bool success = false;
4032 if (test_restrict ("String literal") == 0)
4034 char *restrict newvar = "Another string";
4037 test_varargs ("s, d' f .", "string", 65, 34.234);
4038 test_varargs_macros ();
4040 // Check flexible array members.
4041 struct incomplete_array *ia =
4042 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4044 for (int i = 0; i < ia->datasize; ++i)
4045 ia->data[i] = i * 1.234;
4047 // Check named initializers.
4048 struct named_init ni = {
4050 .name = L"Test wide string",
4051 .average = 543.34343,
4056 int dynamic_array[ni.number];
4057 dynamic_array[ni.number - 1] = 543;
4059 // work around unused variable warnings
4060 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4061 || dynamic_array[ni.number - 1] != 543);
4067 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4069 CC="$ac_save_CC $ac_arg"
4070 if ac_fn_c_try_compile "$LINENO"; then :
4071 ac_cv_prog_cc_c99=$ac_arg
4073 rm -f core conftest.err conftest.$ac_objext
4074 test "x$ac_cv_prog_cc_c99" != "xno" && break
4076 rm -f conftest.$ac_ext
4081 case "x$ac_cv_prog_cc_c99" in
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4084 $as_echo "none needed" >&6; } ;;
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4087 $as_echo "unsupported" >&6; } ;;
4089 CC="$CC $ac_cv_prog_cc_c99"
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4091 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4093 if test "x$ac_cv_prog_cc_c99" != xno; then :
4098 if test -n "$ac_tool_prefix"; then
4099 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4100 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_RANLIB+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$RANLIB"; then
4107 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 RANLIB=$ac_cv_prog_RANLIB
4127 if test -n "$RANLIB"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4129 $as_echo "$RANLIB" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4137 if test -z "$ac_cv_prog_RANLIB"; then
4138 ac_ct_RANLIB=$RANLIB
4139 # Extract the first word of "ranlib", so it can be a program name with args.
4140 set dummy ranlib; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -n "$ac_ct_RANLIB"; then
4147 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_ac_ct_RANLIB="ranlib"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4167 if test -n "$ac_ct_RANLIB"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4169 $as_echo "$ac_ct_RANLIB" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4175 if test "x$ac_ct_RANLIB" = x; then
4178 case $cross_compiling:$ac_tool_warned in
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned=yes ;;
4184 RANLIB=$ac_ct_RANLIB
4187 RANLIB="$ac_cv_prog_RANLIB"
4191 if test -n "$ac_tool_prefix"; then
4192 for ac_prog in ar lib "link -lib"
4194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_AR+:} false; then :
4199 $as_echo_n "(cached) " >&6
4201 if test -n "$AR"; then
4202 ac_cv_prog_AR="$AR" # Let the user override the test.
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 if test -n "$AR"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4224 $as_echo "$AR" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4231 test -n "$AR" && break
4234 if test -z "$AR"; then
4236 for ac_prog in ar lib "link -lib"
4238 # Extract the first word of "$ac_prog", so it can be a program name with args.
4239 set dummy $ac_prog; ac_word=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -n "$ac_ct_AR"; then
4246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_ac_ct_AR="$ac_prog"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4266 if test -n "$ac_ct_AR"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4268 $as_echo "$ac_ct_AR" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4275 test -n "$ac_ct_AR" && break
4278 if test "x$ac_ct_AR" = x; then
4281 case $cross_compiling:$ac_tool_warned in
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4285 ac_tool_warned=yes ;;
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4294 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4295 if ${am_cv_ar_interface+:} false; then :
4296 $as_echo_n "(cached) " >&6
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 am_cv_ar_interface=ar
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307 int some_variable = 0;
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4311 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4312 (eval $am_ar_try) 2>&5
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4316 if test "$ac_status" -eq 0; then
4317 am_cv_ar_interface=ar
4319 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4320 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4321 (eval $am_ar_try) 2>&5
4323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4324 test $ac_status = 0; }
4325 if test "$ac_status" -eq 0; then
4326 am_cv_ar_interface=lib
4328 am_cv_ar_interface=unknown
4331 rm -f conftest.lib libconftest.a
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4343 $as_echo "$am_cv_ar_interface" >&6; }
4345 case $am_cv_ar_interface in
4349 # Microsoft lib, so override with the ar-lib wrapper script.
4350 # FIXME: It is wrong to rewrite AR.
4351 # But if we don't then we get into trouble of one sort or another.
4352 # A longer-term fix would be to have automake use am__AR in this case,
4353 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4355 AR="$am_aux_dir/ar-lib $AR"
4358 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4363 # Don't rebuild the configure script. I'm distributing a perfectly good one.
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4366 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4367 # Check whether --enable-maintainer-mode was given.
4368 if test "${enable_maintainer_mode+set}" = set; then :
4369 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4371 USE_MAINTAINER_MODE=no
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4375 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4376 if test $USE_MAINTAINER_MODE = yes; then
4377 MAINTAINER_MODE_TRUE=
4378 MAINTAINER_MODE_FALSE='#'
4380 MAINTAINER_MODE_TRUE='#'
4381 MAINTAINER_MODE_FALSE=
4384 MAINT=$MAINTAINER_MODE_TRUE
4388 # Checks for libraries.
4390 # Check for clock_gettime. On some systems, this is provided via librt.
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
4392 $as_echo_n "checking for library containing clock_gettime... " >&6; }
4393 if ${ac_cv_search_clock_gettime+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 ac_func_search_save_LIBS=$LIBS
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4400 /* Override any GCC internal prototype to avoid an error.
4401 Use char because int might match the return type of a GCC
4402 builtin and then its argument prototype would still apply. */
4406 char clock_gettime ();
4410 return clock_gettime ();
4415 for ac_lib in '' rt; do
4416 if test -z "$ac_lib"; then
4417 ac_res="none required"
4420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4422 if ac_fn_c_try_link "$LINENO"; then :
4423 ac_cv_search_clock_gettime=$ac_res
4425 rm -f core conftest.err conftest.$ac_objext \
4427 if ${ac_cv_search_clock_gettime+:} false; then :
4431 if ${ac_cv_search_clock_gettime+:} false; then :
4434 ac_cv_search_clock_gettime=no
4437 LIBS=$ac_func_search_save_LIBS
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
4440 $as_echo "$ac_cv_search_clock_gettime" >&6; }
4441 ac_res=$ac_cv_search_clock_gettime
4442 if test "$ac_res" != no; then :
4443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4447 for ac_func in clock_gettime
4449 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
4450 if test "x$ac_cv_func_clock_gettime" = xyes; then :
4451 cat >>confdefs.h <<_ACEOF
4452 #define HAVE_CLOCK_GETTIME 1
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing AES_encrypt" >&5
4460 $as_echo_n "checking for library containing AES_encrypt... " >&6; }
4461 if ${ac_cv_search_AES_encrypt+:} false; then :
4462 $as_echo_n "(cached) " >&6
4464 ac_func_search_save_LIBS=$LIBS
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4468 /* Override any GCC internal prototype to avoid an error.
4469 Use char because int might match the return type of a GCC
4470 builtin and then its argument prototype would still apply. */
4474 char AES_encrypt ();
4478 return AES_encrypt ();
4483 for ac_lib in '' crypto; do
4484 if test -z "$ac_lib"; then
4485 ac_res="none required"
4488 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4490 if ac_fn_c_try_link "$LINENO"; then :
4491 ac_cv_search_AES_encrypt=$ac_res
4493 rm -f core conftest.err conftest.$ac_objext \
4495 if ${ac_cv_search_AES_encrypt+:} false; then :
4499 if ${ac_cv_search_AES_encrypt+:} false; then :
4502 ac_cv_search_AES_encrypt=no
4505 LIBS=$ac_func_search_save_LIBS
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_AES_encrypt" >&5
4508 $as_echo "$ac_cv_search_AES_encrypt" >&6; }
4509 ac_res=$ac_cv_search_AES_encrypt
4510 if test "$ac_res" != no; then :
4511 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4514 as_fn_error $? "function AES_ENCRYPT not found" "$LINENO" 5
4518 # Check for a linuxy sysinfo syscall; and while we're doing that, check if
4519 # struct sysinfo is the old version (total RAM == totalmem) or the new
4520 # version (total RAM == totalmem * mem_unit).
4522 ac_cpp='$CPP $CPPFLAGS'
4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4527 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4528 # On Suns, sometimes $CPP names a directory.
4529 if test -n "$CPP" && test -d "$CPP"; then
4532 if test -z "$CPP"; then
4533 if ${ac_cv_prog_CPP+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 # Double quotes because CPP needs to be expanded
4537 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4540 for ac_c_preproc_warn_flag in '' yes
4542 # Use a header file that comes with gcc, so configuring glibc
4543 # with a fresh cross-compiler works.
4544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4545 # <limits.h> exists even on freestanding compilers.
4546 # On the NeXT, cc -E runs the code through the compiler's parser,
4547 # not just through cpp. "Syntax error" is here to catch this case.
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4551 # include <limits.h>
4553 # include <assert.h>
4557 if ac_fn_c_try_cpp "$LINENO"; then :
4560 # Broken: fails on valid input.
4563 rm -f conftest.err conftest.i conftest.$ac_ext
4565 # OK, works on sane cases. Now check whether nonexistent headers
4566 # can be detected and how.
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4569 #include <ac_nonexistent.h>
4571 if ac_fn_c_try_cpp "$LINENO"; then :
4572 # Broken: success on invalid input.
4575 # Passes both tests.
4579 rm -f conftest.err conftest.i conftest.$ac_ext
4582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4583 rm -f conftest.i conftest.err conftest.
$ac_ext
4584 if $ac_preproc_ok; then :
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4597 $as_echo "$CPP" >&6; }
4599 for ac_c_preproc_warn_flag
in '' yes
4601 # Use a header file that comes with gcc, so configuring glibc
4602 # with a fresh cross-compiler works.
4603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 # <limits.h> exists even on freestanding compilers.
4605 # On the NeXT, cc -E runs the code through the compiler's parser,
4606 # not just through cpp. "Syntax error" is here to catch this case.
4607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4610 # include <limits.h>
4612 # include <assert.h>
4616 if ac_fn_c_try_cpp
"$LINENO"; then :
4619 # Broken: fails on valid input.
4622 rm -f conftest.err conftest.i conftest.
$ac_ext
4624 # OK, works on sane cases. Now check whether nonexistent headers
4625 # can be detected and how.
4626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4628 #include <ac_nonexistent.h>
4630 if ac_fn_c_try_cpp
"$LINENO"; then :
4631 # Broken: success on invalid input.
4634 # Passes both tests.
4638 rm -f conftest.err conftest.i conftest.
$ac_ext
4641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4642 rm -f conftest.i conftest.err conftest.
$ac_ext
4643 if $ac_preproc_ok; then :
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4649 See \`config.log' for more details" "$LINENO" 5; }
4653 ac_cpp
='$CPP $CPPFLAGS'
4654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4660 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4661 if ${ac_cv_path_GREP+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -z "$GREP"; then
4665 ac_path_GREP_found
=false
4666 # Loop through the user's path and test for each of PROGNAME-LIST
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_prog
in grep ggrep
; do
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4675 as_fn_executable_p
"$ac_path_GREP" ||
continue
4676 # Check for GNU ac_path_GREP and select it if it is found.
4677 # Check for GNU $ac_path_GREP
4678 case `"$ac_path_GREP" --version 2>&1` in
4680 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4683 $as_echo_n 0123456789 >"conftest.in"
4686 cat "conftest.in" "conftest.in" >"conftest.tmp"
4687 mv "conftest.tmp" "conftest.in"
4688 cp "conftest.in" "conftest.nl"
4689 $as_echo 'GREP' >> "conftest.nl"
4690 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4691 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4692 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4693 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4694 # Best one so far, save it but keep looking for a better one
4695 ac_cv_path_GREP
="$ac_path_GREP"
4696 ac_path_GREP_max
=$ac_count
4698 # 10*(2^10) chars as input seems more than enough
4699 test $ac_count -gt 10 && break
4701 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4704 $ac_path_GREP_found && break 3
4709 if test -z "$ac_cv_path_GREP"; then
4710 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4713 ac_cv_path_GREP
=$GREP
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4718 $as_echo "$ac_cv_path_GREP" >&6; }
4719 GREP
="$ac_cv_path_GREP"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4723 $as_echo_n "checking for egrep... " >&6; }
4724 if ${ac_cv_path_EGREP+:} false
; then :
4725 $as_echo_n "(cached) " >&6
4727 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4728 then ac_cv_path_EGREP
="$GREP -E"
4730 if test -z "$EGREP"; then
4731 ac_path_EGREP_found
=false
4732 # Loop through the user's path and test for each of PROGNAME-LIST
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_prog
in egrep; do
4739 for ac_exec_ext
in '' $ac_executable_extensions; do
4740 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4741 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4742 # Check for GNU ac_path_EGREP and select it if it is found.
4743 # Check for GNU $ac_path_EGREP
4744 case `"$ac_path_EGREP" --version 2>&1` in
4746 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4749 $as_echo_n 0123456789 >"conftest.in"
4752 cat "conftest.in" "conftest.in" >"conftest.tmp"
4753 mv "conftest.tmp" "conftest.in"
4754 cp "conftest.in" "conftest.nl"
4755 $as_echo 'EGREP' >> "conftest.nl"
4756 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4757 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4758 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4759 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4760 # Best one so far, save it but keep looking for a better one
4761 ac_cv_path_EGREP
="$ac_path_EGREP"
4762 ac_path_EGREP_max
=$ac_count
4764 # 10*(2^10) chars as input seems more than enough
4765 test $ac_count -gt 10 && break
4767 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4770 $ac_path_EGREP_found && break 3
4775 if test -z "$ac_cv_path_EGREP"; then
4776 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4779 ac_cv_path_EGREP
=$EGREP
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4785 $as_echo "$ac_cv_path_EGREP" >&6; }
4786 EGREP
="$ac_cv_path_EGREP"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4790 $as_echo_n "checking for ANSI C header files... " >&6; }
4791 if ${ac_cv_header_stdc+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4809 if ac_fn_c_try_compile
"$LINENO"; then :
4810 ac_cv_header_stdc
=yes
4812 ac_cv_header_stdc
=no
4814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4816 if test $ac_cv_header_stdc = yes; then
4817 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4824 $EGREP "memchr" >/dev
/null
2>&1; then :
4827 ac_cv_header_stdc
=no
4833 if test $ac_cv_header_stdc = yes; then
4834 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4841 $EGREP "free" >/dev
/null
2>&1; then :
4844 ac_cv_header_stdc
=no
4850 if test $ac_cv_header_stdc = yes; then
4851 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4852 if test "$cross_compiling" = yes; then :
4855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4859 #if ((' ' & 0x0FF) == 0x020)
4860 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4861 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4863 # define ISLOWER(c) \
4864 (('a' <= (c) && (c) <= 'i') \
4865 || ('j' <= (c) && (c) <= 'r') \
4866 || ('s' <= (c) && (c) <= 'z'))
4867 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4870 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4875 for (i = 0; i < 256; i++)
4876 if (XOR (islower (i), ISLOWER (i))
4877 || toupper (i) != TOUPPER (i))
4882 if ac_fn_c_try_run
"$LINENO"; then :
4885 ac_cv_header_stdc
=no
4887 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4888 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4894 $as_echo "$ac_cv_header_stdc" >&6; }
4895 if test $ac_cv_header_stdc = yes; then
4897 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4901 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4902 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4903 inttypes.h stdint.h unistd.h
4905 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4906 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4908 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4909 cat >>confdefs.h
<<_ACEOF
4910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4918 for ac_header
in sys
/sysinfo.h
4920 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
4921 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
; then :
4922 cat >>confdefs.h
<<_ACEOF
4923 #define HAVE_SYS_SYSINFO_H 1
4930 for ac_func
in sysinfo
4932 ac_fn_c_check_func
"$LINENO" "sysinfo" "ac_cv_func_sysinfo"
4933 if test "x$ac_cv_func_sysinfo" = xyes
; then :
4934 cat >>confdefs.h
<<_ACEOF
4935 #define HAVE_SYSINFO 1
4941 ac_fn_c_check_type
"$LINENO" "struct sysinfo" "ac_cv_type_struct_sysinfo" "#include <sys/sysinfo.h>
4943 if test "x$ac_cv_type_struct_sysinfo" = xyes
; then :
4945 cat >>confdefs.h
<<_ACEOF
4946 #define HAVE_STRUCT_SYSINFO 1
4952 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#include <sys/sysinfo.h>
4954 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
; then :
4956 cat >>confdefs.h
<<_ACEOF
4957 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
4962 ac_fn_c_check_member
"$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#include <sys/sysinfo.h>
4964 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
; then :
4966 cat >>confdefs.h
<<_ACEOF
4967 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
4974 # Check if we have <sys/param.h>, since some systems require it for sysctl
4976 for ac_header
in sys
/param.h
4978 ac_fn_c_check_header_mongrel
"$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4979 if test "x$ac_cv_header_sys_param_h" = xyes
; then :
4980 cat >>confdefs.h
<<_ACEOF
4981 #define HAVE_SYS_PARAM_H 1
4989 # Check if we have <openssl/aes.h>, to fix the make failing when configure
4991 for ac_header
in openssl
/aes.h
4993 ac_fn_c_check_header_mongrel
"$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
4994 if test "x$ac_cv_header_openssl_aes_h" = xyes
; then :
4995 cat >>confdefs.h
<<_ACEOF
4996 #define HAVE_OPENSSL_AES_H 1
5000 as_fn_error $?
"Unable to find the openssl/aes.h header" "$LINENO" 5
5006 # Check for <sys/sysctl.h>. If it exists and it defines HW_USERMEM
5007 # and/or HW_MEMSIZE, we'll try using those as memory limits.
5008 for ac_header
in sys
/sysctl.h
5010 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default"
5011 if test "x$ac_cv_header_sys_sysctl_h" = xyes
; then :
5012 cat >>confdefs.h
<<_ACEOF
5013 #define HAVE_SYS_SYSCTL_H 1
5021 # Check for posix_memalign
5022 for ac_func
in posix_memalign
5024 ac_fn_c_check_func
"$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
5025 if test "x$ac_cv_func_posix_memalign" = xyes
; then :
5026 cat >>confdefs.h
<<_ACEOF
5027 #define HAVE_POSIX_MEMALIGN 1
5034 # Check for mmap so we can work around its absence on Minix
5037 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
5038 if test "x$ac_cv_func_mmap" = xyes
; then :
5039 cat >>confdefs.h
<<_ACEOF
5047 # Check whether --enable-largefile was given.
5048 if test "${enable_largefile+set}" = set; then :
5049 enableval
=$enable_largefile;
5052 if test "$enable_largefile" != no
; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5055 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5056 if ${ac_cv_sys_largefile_CC+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 ac_cv_sys_largefile_CC
=no
5060 if test "$GCC" != yes; then
5063 # IRIX 6.2 and later do not support large files by default,
5064 # so use the C compiler's -n32 option if that helps.
5065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5067 #include <sys/types.h>
5068 /* Check that off_t can represent 2**63 - 1 correctly.
5069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5070 since some C++ compilers masquerading as C compilers
5071 incorrectly reject 9223372036854775807. */
5072 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5074 && LARGE_OFF_T % 2147483647 == 1)
5084 if ac_fn_c_try_compile
"$LINENO"; then :
5087 rm -f core conftest.err conftest.
$ac_objext
5089 if ac_fn_c_try_compile
"$LINENO"; then :
5090 ac_cv_sys_largefile_CC
=' -n32'; break
5092 rm -f core conftest.err conftest.
$ac_objext
5096 rm -f conftest.
$ac_ext
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5100 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5101 if test "$ac_cv_sys_largefile_CC" != no
; then
5102 CC
=$CC$ac_cv_sys_largefile_CC
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5106 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5107 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5108 $as_echo_n "(cached) " >&6
5111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #include <sys/types.h>
5114 /* Check that off_t can represent 2**63 - 1 correctly.
5115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5116 since some C++ compilers masquerading as C compilers
5117 incorrectly reject 9223372036854775807. */
5118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5120 && LARGE_OFF_T % 2147483647 == 1)
5130 if ac_fn_c_try_compile
"$LINENO"; then :
5131 ac_cv_sys_file_offset_bits
=no
; break
5133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #define _FILE_OFFSET_BITS 64
5137 #include <sys/types.h>
5138 /* Check that off_t can represent 2**63 - 1 correctly.
5139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5140 since some C++ compilers masquerading as C compilers
5141 incorrectly reject 9223372036854775807. */
5142 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5144 && LARGE_OFF_T % 2147483647 == 1)
5154 if ac_fn_c_try_compile
"$LINENO"; then :
5155 ac_cv_sys_file_offset_bits
=64; break
5157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5158 ac_cv_sys_file_offset_bits
=unknown
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5163 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5164 case $ac_cv_sys_file_offset_bits in #(
5167 cat >>confdefs.h
<<_ACEOF
5168 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5173 if test $ac_cv_sys_file_offset_bits = unknown
; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5175 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5176 if ${ac_cv_sys_large_files+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182 #include <sys/types.h>
5183 /* Check that off_t can represent 2**63 - 1 correctly.
5184 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5185 since some C++ compilers masquerading as C compilers
5186 incorrectly reject 9223372036854775807. */
5187 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5188 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5189 && LARGE_OFF_T % 2147483647 == 1)
5199 if ac_fn_c_try_compile
"$LINENO"; then :
5200 ac_cv_sys_large_files
=no
; break
5202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #define _LARGE_FILES 1
5206 #include <sys/types.h>
5207 /* Check that off_t can represent 2**63 - 1 correctly.
5208 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5209 since some C++ compilers masquerading as C compilers
5210 incorrectly reject 9223372036854775807. */
5211 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5212 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5213 && LARGE_OFF_T % 2147483647 == 1)
5223 if ac_fn_c_try_compile
"$LINENO"; then :
5224 ac_cv_sys_large_files
=1; break
5226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5227 ac_cv_sys_large_files
=unknown
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5232 $as_echo "$ac_cv_sys_large_files" >&6; }
5233 case $ac_cv_sys_large_files in #(
5236 cat >>confdefs.h
<<_ACEOF
5237 #define _LARGE_FILES $ac_cv_sys_large_files
5248 # Check whether the user has requested to disable compiler warnings
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler_warnings" >&5
5250 $as_echo_n "checking compiler_warnings... " >&6; }
5251 # Check whether --enable-compiler_warnings was given.
5252 if test "${enable_compiler_warnings+set}" = set; then :
5253 enableval
=$enable_compiler_warnings; ac_compiler_warnings
=$enableval
5255 ac_compiler_warnings
=yes
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_compiler_warnings}" >&5
5259 $as_echo "${ac_compiler_warnings}" >&6; }
5260 if test x
${ac_compiler_warnings} = xyes
; then :
5262 ac_cpp
='$CPP $CPPFLAGS'
5263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
5268 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
5269 if ${ac_cv_cflags_warn_all+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 ac_cv_cflags_warn_all
="no, unknown"
5273 ac_save_CFLAGS
="$CFLAGS"
5274 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
5275 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5287 if ac_fn_c_try_compile
"$LINENO"; then :
5288 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
5290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5292 CFLAGS
="$ac_save_CFLAGS"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
5296 $as_echo "$ac_cv_cflags_warn_all" >&6; }
5299 case ".$ac_cv_cflags_warn_all" in
5303 if ${CFLAGS+:} false
; then :
5305 case " $CFLAGS " in #(
5306 *" $ac_cv_cflags_warn_all "*) :
5307 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
5308 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
5310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311 test $ac_status = 0; } ;; #(
5314 as_fn_append CFLAGS
" $ac_cv_cflags_warn_all"
5315 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
5316 (: CFLAGS
="$CFLAGS") 2>&5
5318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5319 test $ac_status = 0; }
5325 CFLAGS
=$ac_cv_cflags_warn_all
5326 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
5327 (: CFLAGS
="$CFLAGS") 2>&5
5329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }
5337 ac_cpp
='$CPP $CPPFLAGS'
5338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5345 ac_config_headers
="$ac_config_headers config.h"
5347 ac_config_files
="$ac_config_files Makefile"
5349 cat >confcache
<<\_ACEOF
5350 # This file is a shell script that caches the results of configure
5351 # tests run on this system so they can be shared between configure
5352 # scripts and configure runs, see configure's option --config-cache.
5353 # It is not useful on other systems. If it contains results you don't
5354 # want to keep, you may remove or edit it.
5356 # config.status only pays attention to the cache file if you give it
5357 # the --recheck option to rerun configure.
5359 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5360 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5365 # The following way of writing the cache mishandles newlines in values,
5366 # but we know of no workaround that is simple, portable, and efficient.
5367 # So, we kill variables containing newlines.
5368 # Ultrix sh set writes to stderr and can't be redirected directly,
5369 # and sets the high bit in the cache file unless we assign to the vars.
5371 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5372 eval ac_val
=\$
$ac_var
5376 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5377 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5380 _ | IFS | as_nl
) ;; #(
5381 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5382 *) { eval $ac_var=; unset $ac_var;} ;;
5388 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5389 *${as_nl}ac_space
=\
*)
5390 # `set' does not quote correctly, so add quotes: double-quote
5391 # substitution turns \\\\ into \\, and sed turns \\ into \.
5394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5397 # `set' quotes correctly as required by POSIX, so do not add quotes.
5398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5407 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5409 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5411 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5412 if test -w "$cache_file"; then
5413 if test "x$cache_file" != "x/dev/null"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5415 $as_echo "$as_me: updating cache $cache_file" >&6;}
5416 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5417 cat confcache
>"$cache_file"
5419 case $cache_file in #(
5421 mv -f confcache
"$cache_file"$$
&&
5422 mv -f "$cache_file"$$
"$cache_file" ;; #(
5424 mv -f confcache
"$cache_file" ;;
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5430 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5435 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5436 # Let make expand exec_prefix.
5437 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5439 DEFS
=-DHAVE_CONFIG_H
5444 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5445 # 1. Remove the extension, and $U if already installed.
5446 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5447 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5449 # will be set to the directory where LIBOBJS objects are built.
5450 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5451 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5455 LTLIBOBJS
=$ac_ltlibobjs
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5459 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5460 if test -n "$am_sleep_pid"; then
5461 # Hide warnings about reused PIDs.
5462 wait $am_sleep_pid 2>/dev
/null
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5465 $as_echo "done" >&6; }
5466 if test -n "$EXEEXT"; then
5468 am__EXEEXT_FALSE
='#'
5474 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5475 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5478 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5479 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5482 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5483 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5487 : "${CONFIG_STATUS=./config.status}"
5489 ac_clean_files_save
=$ac_clean_files
5490 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5492 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5494 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5496 # Generated by $as_me.
5497 # Run this file to recreate the current configuration.
5498 # Compiler output produced by configure, useful for debugging
5499 # configure, is in config.log if it exists.
5505 SHELL=\${CONFIG_SHELL-$SHELL}
5508 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5509 ## -------------------- ##
5510 ## M4sh Initialization. ##
5511 ## -------------------- ##
5513 # Be more Bourne compatible
5514 DUALCASE
=1; export DUALCASE
# for MKS sh
5515 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5518 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5519 # is contrary to our usage. Disable this feature.
5520 alias -g '${1+"$@"}'='"$@"'
5521 setopt NO_GLOB_SUBST
5523 case `(set -o) 2>/dev/null` in #(
5535 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5536 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5539 # Prefer a ksh shell builtin over an external printf program on Solaris,
5540 # but without wasting forks for bash or zsh.
5541 if test -z "$BASH_VERSION$ZSH_VERSION" \
5542 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5543 as_echo='print
-r --'
5544 as_echo_n='print
-rn --'
5545 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5546 as_echo='printf %s
\n'
5547 as_echo_n='printf %s
'
5549 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5550 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5551 as_echo_n='/usr
/ucb
/echo -n'
5553 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5554 as_echo_n_body='eval
5558 expr "X$arg" : "X\\(.*\\)$as_nl";
5559 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5561 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5563 export as_echo_n_body
5564 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5567 as_echo='sh
-c $as_echo_body as_echo
'
5570 # The user is always right.
5571 if test "${PATH_SEPARATOR+set}" != set; then
5573 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5574 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5581 # We need space, tab and new line, in precisely that order. Quoting is
5582 # there to prevent editors from complaining about space-tab.
5583 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5584 # splitting by setting IFS to empty value.)
5587 # Find who we are. Look in the path if we contain no directory separator.
5590 *[\\/]* ) as_myself=$0 ;;
5591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir=.
5596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5602 # We did not find ourselves, most probably we were run as `sh COMMAND'
5603 # in which case we are not to be found in the path.
5604 if test "x$as_myself" = x
; then
5607 if test ! -f "$as_myself"; then
5608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5612 # Unset variables that we do not need and which cause bugs (e.g. in
5613 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5614 # suppresses any "Segmentation fault" message there. '((' could
5615 # trigger a bug in pdksh 5.2.14.
5616 for as_var
in BASH_ENV ENV MAIL MAILPATH
5617 do eval test x\
${$as_var+set} = xset \
5618 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5631 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5634 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5635 # ----------------------------------------
5636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5638 # script with STATUS, using 1 if that was 0.
5641 as_status
=$1; test $as_status -eq 0 && as_status
=1
5643 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5644 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5646 $as_echo "$as_me: error: $2" >&2
5647 as_fn_exit
$as_status
5651 # as_fn_set_status STATUS
5652 # -----------------------
5653 # Set $? to STATUS, without forking.
5657 } # as_fn_set_status
5661 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5671 # Portably unset VAR.
5674 { eval $1=; unset $1;}
5676 as_unset
=as_fn_unset
5677 # as_fn_append VAR VALUE
5678 # ----------------------
5679 # Append the text in VALUE to the end of the definition contained in VAR. Take
5680 # advantage of any shell optimizations that allow amortized linear growth over
5681 # repeated appends, instead of the typical quadratic growth present in naive
5683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5684 eval 'as_fn_append ()
5695 # as_fn_arith ARG...
5696 # ------------------
5697 # Perform arithmetic evaluation on the ARGs, and store the result in the
5698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5699 # must be portable across $(()) and expr.
5700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5701 eval 'as_fn_arith ()
5708 as_val
=`expr "$@" || test $? -eq 1`
5713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5720 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5721 as_basename
=basename
5726 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5732 as_me
=`$as_basename -- "$0" ||
5733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5734 X"$0" : 'X\(//\)$' \| \
5735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5737 sed '/^.*\/\([^/][^/]*\)\/*$/{
5751 # Avoid depending upon Character Ranges.
5752 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5753 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5754 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5755 as_cr_digits
='0123456789'
5756 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5758 ECHO_C
= ECHO_N
= ECHO_T
=
5759 case `echo -n x` in #(((((
5761 case `echo 'xy\c'` in
5762 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5764 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5771 rm -f conf$$ conf$$.exe conf$$.
file
5772 if test -d conf$$.dir
; then
5773 rm -f conf$$.dir
/conf$$.
file
5776 mkdir conf$$.dir
2>/dev
/null
5778 if (echo >conf$$.
file) 2>/dev
/null
; then
5779 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5781 # ... but there are two gotchas:
5782 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5783 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5784 # In both cases, we have to default to `cp -pR'.
5785 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5787 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5795 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5796 rmdir conf$$.dir
2>/dev
/null
5801 # Create "$as_dir" as a directory, including parents if necessary.
5806 -*) as_dir
=.
/$as_dir;;
5808 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5812 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5813 *) as_qdir
=$as_dir;;
5815 as_dirs
="'$as_qdir' $as_dirs"
5816 as_dir
=`$as_dirname -- "$as_dir" ||
5817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5818 X"$as_dir" : 'X\(//\)[^/]' \| \
5819 X"$as_dir" : 'X\(//\)$' \| \
5820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5821 $as_echo X"$as_dir" |
5822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5839 test -d "$as_dir" && break
5841 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5842 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5846 if mkdir
-p .
2>/dev
/null
; then
5847 as_mkdir_p
='mkdir -p "$as_dir"'
5849 test -d .
/-p && rmdir .
/-p
5854 # as_fn_executable_p FILE
5855 # -----------------------
5856 # Test if FILE is an executable regular file.
5857 as_fn_executable_p
()
5859 test -f "$1" && test -x "$1"
5860 } # as_fn_executable_p
5862 as_executable_p
=as_fn_executable_p
5864 # Sed expression to map a string onto a valid CPP name.
5865 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5867 # Sed expression to map a string onto a valid variable name.
5868 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5872 ## ----------------------------------- ##
5873 ## Main body of $CONFIG_STATUS script. ##
5874 ## ----------------------------------- ##
5876 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5879 # Save the log message, to keep $0 and so on meaningful, and to
5880 # report actual input values of CONFIG_FILES etc. instead of their
5881 # values after options handling.
5883 This file was extended by scrypt $as_me 1.2.1, which was
5884 generated by GNU Autoconf 2.69. Invocation command line was
5886 CONFIG_FILES = $CONFIG_FILES
5887 CONFIG_HEADERS = $CONFIG_HEADERS
5888 CONFIG_LINKS = $CONFIG_LINKS
5889 CONFIG_COMMANDS = $CONFIG_COMMANDS
5892 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5897 case $ac_config_files in *"
5898 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5901 case $ac_config_headers in *"
5902 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5907 # Files that config.status was made for.
5908 config_files="$ac_config_files"
5909 config_headers="$ac_config_headers"
5910 config_commands="$ac_config_commands"
5914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5916 \`$as_me' instantiates files and other configuration actions
5917 from templates according to the current configuration. Unless the files
5918 and actions are specified as TAGs, all are instantiated by default.
5920 Usage: $0 [OPTION]... [TAG]...
5922 -h, --help print this help, then exit
5923 -V, --version print version number and configuration settings, then exit
5924 --config print configuration, then exit
5925 -q, --quiet, --silent
5926 do not print progress messages
5927 -d, --debug don't remove temporary files
5928 --recheck update $as_me by reconfiguring in the same conditions
5929 --file=FILE[:TEMPLATE]
5930 instantiate the configuration file FILE
5931 --header=FILE[:TEMPLATE]
5932 instantiate the configuration header FILE
5934 Configuration files:
5937 Configuration headers:
5940 Configuration commands:
5943 Report bugs to <https://github.com/Tarsnap/scrypt>.
5944 scrypt home page: <http://www.tarsnap.com/scrypt/>."
5947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5948 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5950 scrypt config.status 1.2.1
5951 configured by $0, generated by GNU Autoconf 2.69,
5952 with options \\"\$ac_cs_config\\"
5954 Copyright (C) 2012 Free Software Foundation, Inc.
5955 This config.status script is free software; the Free Software Foundation
5956 gives unlimited permission to copy, distribute and modify it."
5963 test -n "\$AWK" || AWK=awk
5966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5967 # The default lists apply if the user does not specify any file.
5973 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5974 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5978 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5990 # Handling of the options.
5991 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5993 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5994 $as_echo "$ac_cs_version"; exit ;;
5995 --config |
--confi |
--conf |
--con |
--co |
--c )
5996 $as_echo "$ac_cs_config"; exit ;;
5997 --debug |
--debu |
--deb |
--de |
--d |
-d )
5999 --file |
--fil |
--fi |
--f )
6002 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6003 '') as_fn_error $?
"missing file argument" ;;
6005 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6006 ac_need_defaults
=false
;;
6007 --header |
--heade |
--head |
--hea )
6010 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6012 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6013 ac_need_defaults
=false
;;
6015 # Conflict between --help and --header
6016 as_fn_error $?
"ambiguous option: \`$1'
6017 Try \`$0 --help' for more information.";;
6018 --help |
--hel |
-h )
6019 $as_echo "$ac_cs_usage"; exit ;;
6020 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6021 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6025 -*) as_fn_error $?
"unrecognized option: \`$1'
6026 Try \`$0 --help' for more information." ;;
6028 *) as_fn_append ac_config_targets
" $1"
6029 ac_need_defaults
=false
;;
6035 ac_configure_extra_args
=
6037 if $ac_cs_silent; then
6039 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6044 if \$ac_cs_recheck; then
6045 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6047 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6048 CONFIG_SHELL='$SHELL'
6054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6058 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6059 ## Running $as_me. ##
6065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6069 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6075 # Handling of arguments.
6076 for ac_config_target
in $ac_config_targets
6078 case $ac_config_target in
6079 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6080 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6081 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6083 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6088 # If the user did not use the arguments to specify the items to instantiate,
6089 # then the envvar interface is used. Set only those that are not.
6090 # We use the long form for the default assignment because of an extremely
6091 # bizarre bug on SunOS 4.1.3.
6092 if $ac_need_defaults; then
6093 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6094 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6095 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6098 # Have a temporary directory for convenience. Make it in the build tree
6099 # simply because there is no reason against having it here, and in addition,
6100 # creating and moving files from /tmp can sometimes cause problems.
6101 # Hook for its removal unless debugging.
6102 # Note that there is a small window in which the directory will not be cleaned:
6103 # after its creation but before its name has been assigned to `$tmp'.
6107 trap 'exit_status=$?
6109 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6111 trap 'as_fn_exit 1' 1 2 13 15
6113 # Create a (secure) tmp directory for tmp files.
6116 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6120 tmp
=.
/conf$$
-$RANDOM
6121 (umask 077 && mkdir
"$tmp")
6122 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6125 # Set up the scripts for CONFIG_FILES section.
6126 # No need to generate them if there are no CONFIG_FILES.
6127 # This happens for instance with `./config.status config.h'.
6128 if test -n "$CONFIG_FILES"; then
6131 ac_cr
=`echo X | tr X '\015'`
6132 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6133 # But we know of no other shell where ac_cr would be empty at this
6134 # point, so we can use a bashism as a fallback.
6135 if test "x$ac_cr" = x
; then
6136 eval ac_cr
=\$
\'\\r
\'
6138 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6139 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6145 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6150 echo "cat >conf$$subs.awk <<_ACEOF" &&
6151 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6154 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6155 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6157 for ac_last_try in false false false false false :; do
6158 . ./conf$$subs.sh ||
6159 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6161 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6162 if test $ac_delim_n = $ac_delim_num; then
6164 elif $ac_last_try; then
6165 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6167 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6173 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6177 s/^/S["/; s
/!.
*/"]=/
6187 s/\(.\{148\}\)..*/\1/
6189 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6194 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6201 s/\(.\{148\}\)..*/\1/
6203 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6207 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6212 ' <conf$$subs.awk | sed '
6217 ' >>$CONFIG_STATUS || ac_write_fail=1
6218 rm -f conf$$subs.awk
6219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6221 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6222 for (key in S) S_is_set[key] = 1
6228 nfields = split(line, field, "@
")
6230 len = length(field[1])
6231 for (i = 2; i < nfields; i++) {
6233 keylen = length(key)
6234 if (S_is_set[key]) {
6236 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6237 len += length(value) + length(field[++i])
6248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6249 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6250 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6253 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6254 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6257 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6258 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6259 # trailing colons and then remove the whole line if VPATH becomes empty
6260 # (actually we leave an empty line to preserve line numbers).
6261 if test "x
$srcdir" = x.; then
6262 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6281 fi # test -n "$CONFIG_FILES"
6283 # Set up the scripts for CONFIG_HEADERS section.
6284 # No need to generate them if there are no CONFIG_HEADERS.
6285 # This happens for instance with `./config.status Makefile'.
6286 if test -n "$CONFIG_HEADERS"; then
6287 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6291 # Transform confdefs.h into an awk script `defines.awk', embedded as
6292 # here-document in config.status, that substitutes the proper values into
6293 # config.h.in to produce config.h.
6295 # Create a delimiter string that does not exist in confdefs.h, to ease
6296 # handling of long lines.
6298 for ac_last_try in false false :; do
6299 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6300 if test -z "$ac_tt"; then
6302 elif $ac_last_try; then
6303 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6305 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6309 # For the awk script, D is an array of macro values keyed by name,
6310 # likewise P contains macro parameters if any. Preserve backslash
6311 # newline sequences.
6313 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6315 s/.\{148\}/&'"$ac_delim"'/g
6318 s/^[ ]*#[ ]*define[ ][ ]*/ /
6325 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6327 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6331 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6332 D["\
1"]=" \
3\\\\\\n
"\\/p
6334 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6339 s/.\{148\}/&'"$ac_delim"'/g
6344 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6347 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6349 ' <confdefs.h | sed '
6350 s/'"$ac_delim"'/"\\\
6351 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6354 for (key in D) D_is_set[key] = 1
6357 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6359 split(line, arg, " ")
6360 if (arg[1] == "#") {
6364 defundef
= substr
(arg
[1], 2)
6367 split(mac1
, mac2
, "(") #)
6369 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6370 if (D_is_set
[macro
]) {
6371 # Preserve the white space surrounding the "#".
6372 print prefix
"define", macro P
[macro
] D
[macro
]
6375 # Replace #undef with comments. This is necessary, for example,
6376 # in the case of _POSIX_SOURCE, which is predefined and required
6377 # on some systems where configure will not decide to define it.
6378 if (defundef
== "undef") {
6379 print
"/*", prefix defundef
, macro
, "*/"
6387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6388 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6389 fi # test -n "$CONFIG_HEADERS"
6392 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6397 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6399 case $ac_mode$ac_tag in
6401 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6402 :[FH
]-) ac_tag
=-:-;;
6403 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6420 -) ac_f
="$ac_tmp/stdin";;
6421 *) # Look for the file first in the build tree, then in the source tree
6422 # (if the path is not absolute). The absolute path cannot be DOS-style,
6423 # because $ac_f cannot contain `:'.
6427 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6429 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6431 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6432 as_fn_append ac_file_inputs
" '$ac_f'"
6435 # Let's still pretend it is `configure' which instantiates (i.e., don't
6436 # use $as_me), people would be surprised to read:
6437 # /* config.h. Generated by config.status. */
6438 configure_input
='Generated from '`
6439 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6441 if test x
"$ac_file" != x-
; then
6442 configure_input
="$ac_file. $configure_input"
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6444 $as_echo "$as_me: creating $ac_file" >&6;}
6446 # Neutralize special characters interpreted by sed in replacement strings.
6447 case $configure_input in #(
6448 *\
&* |
*\|
* |
*\\* )
6449 ac_sed_conf_input
=`$as_echo "$configure_input" |
6450 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6451 *) ac_sed_conf_input
=$configure_input;;
6455 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6456 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6461 ac_dir
=`$as_dirname -- "$ac_file" ||
6462 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6463 X"$ac_file" : 'X\(//\)[^/]' \| \
6464 X"$ac_file" : 'X\(//\)$' \| \
6465 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6466 $as_echo X"$ac_file" |
6467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6484 as_dir
="$ac_dir"; as_fn_mkdir_p
6488 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6490 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6491 # A ".." for each directory in $ac_dir_suffix.
6492 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6493 case $ac_top_builddir_sub in
6494 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6495 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6498 ac_abs_top_builddir
=$ac_pwd
6499 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6500 # for backward compatibility:
6501 ac_top_builddir
=$ac_top_build_prefix
6504 .
) # We are building in place.
6506 ac_top_srcdir
=$ac_top_builddir_sub
6507 ac_abs_top_srcdir
=$ac_pwd ;;
6508 [\\/]* | ?
:[\\/]* ) # Absolute name.
6509 ac_srcdir
=$srcdir$ac_dir_suffix;
6510 ac_top_srcdir
=$srcdir
6511 ac_abs_top_srcdir
=$srcdir ;;
6513 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6514 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6515 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6517 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6527 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6528 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6532 [\\/$
]* | ?
:[\\/]* ) ;;
6533 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6538 # If the template does not know about datarootdir, expand it.
6539 # FIXME: This hack should be removed a few years after 2.60.
6540 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6551 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6552 *datarootdir
*) ac_datarootdir_seen
=yes;;
6553 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6555 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6558 ac_datarootdir_hack='
6559 s&@datadir@&$datadir&g
6560 s&@docdir@&$docdir&g
6561 s&@infodir@&$infodir&g
6562 s&@localedir@&$localedir&g
6563 s&@mandir@&$mandir&g
6564 s&\\\${datarootdir}&$datarootdir&g' ;;
6568 # Neutralize VPATH when `$srcdir' = `.'.
6569 # Shell code in configure.ac might set extrasub.
6570 # FIXME: do we really want to maintain this feature?
6571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6572 ac_sed_extra="$ac_vpsub
6575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6577 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6578 s|@configure_input@|
$ac_sed_conf_input|
;t t
6579 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6580 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6581 s
&@srcdir@
&$ac_srcdir&;t t
6582 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6583 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6584 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6585 s
&@builddir@
&$ac_builddir&;t t
6586 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6587 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6588 s
&@INSTALL@
&$ac_INSTALL&;t t
6589 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6590 $ac_datarootdir_hack
6592 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6593 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6595 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6596 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6597 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6598 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6600 which seems to be undefined. Please make sure it is defined" >&5
6601 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6602 which seems to be undefined. Please make sure it is defined" >&2;}
6604 rm -f "$ac_tmp/stdin"
6606 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6607 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6615 if test x"$ac_file" != x-; then
6617 $as_echo "/* $configure_input */" \
6618 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6619 } >"$ac_tmp/config.h" \
6620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6621 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6623 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6626 mv "$ac_tmp/config.h" "$ac_file" \
6627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6630 $as_echo "/* $configure_input */" \
6631 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6632 || as_fn_error $? "could not create -" "$LINENO" 5
6634 # Compute "$ac_file"'s index
in $config_headers.
6637 for _am_header
in $config_headers :; do
6639 $_am_arg |
$_am_arg:* )
6642 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6645 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6646 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6647 X"$_am_arg" : 'X\(//\)[^/]' \| \
6648 X"$_am_arg" : 'X\(//\)$' \| \
6649 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6650 $as_echo X"$_am_arg" |
6651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6667 s/.*/./; q'`/stamp-h
$_am_stamp_count
6670 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6671 $as_echo "$as_me: executing $ac_file commands" >&6;}
6676 case $ac_file$ac_mode in
6677 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
6678 # Older Autoconf quotes --file arguments for eval, but not when files
6679 # are listed without --file. Let's play safe and only enable the eval
6680 # if we detect the quoting.
6681 case $CONFIG_FILES in
6682 *\'*) eval set x
"$CONFIG_FILES" ;;
6683 *) set x
$CONFIG_FILES ;;
6688 # Strip MF so we end up with the name of the file.
6689 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6690 # Check whether this is an Automake generated Makefile or not.
6691 # We used to match only the files named 'Makefile.in', but
6692 # some people rename them; so instead we look at the file content.
6693 # Grep'ing the first line is not enough: some people post-process
6694 # each Makefile.in and add a new line on top of each file to say so.
6695 # Grep'ing the whole file is not good either: AIX grep has a line
6696 # limit of 2048, but all sed's we know have understand at least 4000.
6697 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6698 dirpart
=`$as_dirname -- "$mf" ||
6699 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6700 X"$mf" : 'X\(//\)[^/]' \| \
6701 X"$mf" : 'X\(//\)$' \| \
6702 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6724 # Extract the definition of DEPDIR, am__include, and am__quote
6725 # from the Makefile without running 'make'.
6726 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6727 test -z "$DEPDIR" && continue
6728 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6729 test -z "$am__include" && continue
6730 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6731 # Find all dependency output files, they are included files with
6732 # $(DEPDIR) in their names. We invoke sed twice because it is the
6733 # simplest approach to changing $(DEPDIR) to its actual value in the
6735 for file in `sed -n "
6736 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6737 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6738 # Make sure the directory exists.
6739 test -f "$dirpart/$file" && continue
6740 fdir
=`$as_dirname -- "$file" ||
6741 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6742 X"$file" : 'X\(//\)[^/]' \| \
6743 X"$file" : 'X\(//\)$' \| \
6744 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6763 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6764 # echo "creating $dirpart/$file"
6765 echo '# dummy' > "$dirpart/$file"
6777 ac_clean_files
=$ac_clean_files_save
6779 test $ac_write_fail = 0 ||
6780 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6783 # configure is writing to config.log, and then calls config.status.
6784 # config.status does its own redirection, appending to config.log.
6785 # Unfortunately, on DOS this fails, as config.log is still kept open
6786 # by configure, so config.status won't be able to write to it; its
6787 # output is simply discarded. So we exec the FD to /dev/null,
6788 # effectively closing config.log, so it can be properly (re)opened and
6789 # appended to by config.status. When coming back to configure, we
6790 # need to make the FD available again.
6791 if test "$no_create" != yes; then
6793 ac_config_status_args
=
6794 test "$silent" = yes &&
6795 ac_config_status_args
="$ac_config_status_args --quiet"
6797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6800 # would make configure fail if this is the last instruction.
6801 $ac_cs_success || as_fn_exit
1
6803 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6805 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}