2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="buffer.c"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
677 program_transform_name
690 enable_option_checking
699 enable_bundled_libtom
710 ac_precious_vars
='build_alias
721 # Initialize some variables set by options.
723 ac_init_version
=false
724 ac_unrecognized_opts
=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
735 program_transform_name
=s
,x
,x
,
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir
='${exec_prefix}/bin'
750 sbindir
='${exec_prefix}/sbin'
751 libexecdir
='${exec_prefix}/libexec'
752 datarootdir
='${prefix}/share'
753 datadir
='${datarootdir}'
754 sysconfdir
='${prefix}/etc'
755 sharedstatedir
='${prefix}/com'
756 localstatedir
='${prefix}/var'
757 includedir
='${prefix}/include'
758 oldincludedir
='/usr/include'
759 docdir
='${datarootdir}/doc/${PACKAGE}'
760 infodir
='${datarootdir}/info'
765 libdir
='${exec_prefix}/lib'
766 localedir
='${datarootdir}/locale'
767 mandir
='${datarootdir}/man'
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\
$ac_option
781 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
794 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
797 -build |
--build |
--buil |
--bui |
--bu)
798 ac_prev
=build_alias
;;
799 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
800 build_alias
=$ac_optarg ;;
802 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
803 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
804 ac_prev
=cache_file
;;
805 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
806 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
807 cache_file
=$ac_optarg ;;
810 cache_file
=config.cache
;;
812 -datadir |
--datadir |
--datadi |
--datad)
814 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
815 datadir
=$ac_optarg ;;
817 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
818 |
--dataroo |
--dataro |
--datar)
819 ac_prev
=datarootdir
;;
820 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
821 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
822 datarootdir
=$ac_optarg ;;
824 -disable-* |
--disable-*)
825 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
828 as_fn_error $?
"invalid feature name: $ac_useropt"
829 ac_useropt_orig
=$ac_useropt
830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep
=', ';;
838 eval enable_
$ac_useropt=no
;;
840 -docdir |
--docdir |
--docdi |
--doc |
--do)
842 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
845 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
847 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
850 -enable-* |
--enable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error $?
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=\
$ac_optarg ;;
866 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
867 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
868 |
--exec |
--exe |
--ex)
869 ac_prev
=exec_prefix
;;
870 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
871 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
872 |
--exec=* |
--exe=* |
--ex=*)
873 exec_prefix
=$ac_optarg ;;
875 -gas |
--gas |
--ga |
--g)
876 # Obsolete; use --with-gas.
879 -help |
--help |
--hel |
--he |
-h)
881 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
882 ac_init_help
=recursive
;;
883 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
884 ac_init_help
=short
;;
886 -host |
--host |
--hos |
--ho)
887 ac_prev
=host_alias
;;
888 -host=* |
--host=* |
--hos=* |
--ho=*)
889 host_alias
=$ac_optarg ;;
891 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
893 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
895 htmldir
=$ac_optarg ;;
897 -includedir |
--includedir |
--includedi |
--included |
--include \
898 |
--includ |
--inclu |
--incl |
--inc)
899 ac_prev
=includedir
;;
900 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
901 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
902 includedir
=$ac_optarg ;;
904 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
906 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
907 infodir
=$ac_optarg ;;
909 -libdir |
--libdir |
--libdi |
--libd)
911 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
914 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
915 |
--libexe |
--libex |
--libe)
916 ac_prev
=libexecdir
;;
917 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
918 |
--libexe=* |
--libex=* |
--libe=*)
919 libexecdir
=$ac_optarg ;;
921 -localedir |
--localedir |
--localedi |
--localed |
--locale)
923 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
924 localedir
=$ac_optarg ;;
926 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
927 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
928 ac_prev
=localstatedir
;;
929 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
930 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
931 localstatedir
=$ac_optarg ;;
933 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
935 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
939 # Obsolete; use --without-fp.
942 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
943 |
--no-cr |
--no-c |
-n)
946 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
947 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
950 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
951 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
952 |
--oldin |
--oldi |
--old |
--ol |
--o)
953 ac_prev
=oldincludedir
;;
954 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
955 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
956 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
957 oldincludedir
=$ac_optarg ;;
959 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
961 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
964 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
965 |
--program-pre |
--program-pr |
--program-p)
966 ac_prev
=program_prefix
;;
967 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
968 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
969 program_prefix
=$ac_optarg ;;
971 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
972 |
--program-suf |
--program-su |
--program-s)
973 ac_prev
=program_suffix
;;
974 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
975 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
976 program_suffix
=$ac_optarg ;;
978 -program-transform-name |
--program-transform-name \
979 |
--program-transform-nam |
--program-transform-na \
980 |
--program-transform-n |
--program-transform- \
981 |
--program-transform |
--program-transfor \
982 |
--program-transfo |
--program-transf \
983 |
--program-trans |
--program-tran \
984 |
--progr-tra |
--program-tr |
--program-t)
985 ac_prev
=program_transform_name
;;
986 -program-transform-name=* |
--program-transform-name=* \
987 |
--program-transform-nam=* |
--program-transform-na=* \
988 |
--program-transform-n=* |
--program-transform-=* \
989 |
--program-transform=* |
--program-transfor=* \
990 |
--program-transfo=* |
--program-transf=* \
991 |
--program-trans=* |
--program-tran=* \
992 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
993 program_transform_name
=$ac_optarg ;;
995 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
997 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1000 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1002 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1005 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1006 |
-silent |
--silent |
--silen |
--sile |
--sil)
1009 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1011 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1013 sbindir
=$ac_optarg ;;
1015 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1016 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1017 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1019 ac_prev
=sharedstatedir
;;
1020 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1021 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1022 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1024 sharedstatedir
=$ac_optarg ;;
1026 -site |
--site |
--sit)
1028 -site=* |
--site=* |
--sit=*)
1031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1034 srcdir
=$ac_optarg ;;
1036 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1037 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1038 ac_prev
=sysconfdir
;;
1039 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1040 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1041 sysconfdir
=$ac_optarg ;;
1043 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1044 ac_prev
=target_alias
;;
1045 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1046 target_alias
=$ac_optarg ;;
1048 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1051 -version |
--version |
--versio |
--versi |
--vers |
-V)
1052 ac_init_version
=: ;;
1055 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error $?
"invalid package name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval with_
$ac_useropt=no
;;
1087 # Obsolete; use --with-x.
1090 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1091 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1092 ac_prev
=x_includes
;;
1093 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1094 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1095 x_includes
=$ac_optarg ;;
1097 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1098 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1099 ac_prev
=x_libraries
;;
1100 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1101 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1102 x_libraries
=$ac_optarg ;;
1104 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information"
1109 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1113 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1115 eval $ac_envvar=\
$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129 if test -n "$ac_prev"; then
1130 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error $?
"missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1137 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 # Check all directory arguments for consistency.
1143 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val
=\$
$ac_var
1149 # Remove trailing slashes.
1152 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\
$ac_val;;
1155 # Be sure to have absolute directory names.
1157 [\\/$
]* | ?
:[\\/]* ) continue;;
1158 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1160 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1168 target
=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x
; then
1172 if test "x$build_alias" = x
; then
1173 cross_compiling
=maybe
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1182 test "$silent" = yes && exec 6>/dev
/null
1185 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di
=`ls -di .` &&
1187 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $?
"working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $?
"pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted
=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir
=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted
=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1229 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var
in $ac_precious_vars; do
1246 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1248 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures this package to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1317 --build=BUILD configure
for building on BUILD
[guessed
]
1318 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1322 if test -n "$ac_init_help"; then
1327 --disable-option-checking ignore unrecognized
--enable/--with options
1328 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1329 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1330 --disable-largefile omit support
for large files
1331 --disable-zlib Don
't include zlib support
1332 --enable-pam Try to include PAM support
1333 --disable-openpty Don't use openpty
, use alternative method
1334 --disable-syslog Don
't include syslog support
1335 --disable-shadow Don't use shadow passwords
(if available
)
1336 --enable-bundled-libtom Force using bundled libtomcrypt
/libtommath even
if a system version exists.
1337 --disable-lastlog Disable use of lastlog even
if detected no
1338 --disable-utmp Disable use of utmp even
if detected no
1339 --disable-utmpx Disable use of utmpx even
if detected no
1340 --disable-wtmp Disable use of wtmp even
if detected no
1341 --disable-wtmpx Disable use of wtmpx even
if detected no
1342 --disable-loginfunc Disable use of login
() etc. no
1343 --disable-pututline Disable use of pututline
() etc.
(uwtmp
) no
1344 --disable-pututxline Disable use of pututxline
() etc.
(uwtmpx
) no
1347 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1348 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1349 --with-zlib=PATH Use zlib
in PATH
1350 --with-pam=PATH Use pam
in PATH
1351 --with-lastlog=FILE|DIR specify lastlog location common locations
1353 Some influential environment variables
:
1354 CC C compiler
command
1355 CFLAGS C compiler flags
1356 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1357 nonstandard directory
<lib dir
>
1358 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1359 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1360 you have headers
in a nonstandard directory
<include dir
>
1363 Use these variables to override the choices made by
`configure' or to help
1364 it to find libraries and programs with nonstandard names/locations.
1366 Report bugs to the package provider.
1371 if test "$ac_init_help" = "recursive"; then
1372 # If there are subdirs, report their specific --help.
1373 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1374 test -d "$ac_dir" ||
1375 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1380 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1383 # A ".." for each directory in $ac_dir_suffix.
1384 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1385 case $ac_top_builddir_sub in
1386 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390 ac_abs_top_builddir=$ac_pwd
1391 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1392 # for backward compatibility:
1393 ac_top_builddir=$ac_top_build_prefix
1396 .) # We are building in place.
1398 ac_top_srcdir=$ac_top_builddir_sub
1399 ac_abs_top_srcdir=$ac_pwd ;;
1400 [\\/]* | ?:[\\/]* ) # Absolute name.
1401 ac_srcdir=$srcdir$ac_dir_suffix;
1402 ac_top_srcdir=$srcdir
1403 ac_abs_top_srcdir=$srcdir ;;
1405 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1406 ac_top_srcdir=$ac_top_build_prefix$srcdir
1407 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1409 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1411 cd "$ac_dir" || { ac_status=$?; continue; }
1412 # Check for guested configure.
1413 if test -f "$ac_srcdir/configure.gnu"; then
1415 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1416 elif test -f "$ac_srcdir/configure"; then
1418 $SHELL "$ac_srcdir/configure" --help=recursive
1420 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1422 cd "$ac_pwd" || { ac_status=$?; break; }
1426 test -n "$ac_init_help" && exit $ac_status
1427 if $ac_init_version; then
1430 generated by GNU Autoconf 2.69
1432 Copyright (C) 2012 Free Software Foundation, Inc.
1433 This configure script is free software; the Free Software Foundation
1434 gives unlimited permission to copy, distribute and modify it.
1439 ## ------------------------ ##
1440 ## Autoconf initialization. ##
1441 ## ------------------------ ##
1443 # ac_fn_c_try_compile LINENO
1444 # --------------------------
1445 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1446 ac_fn_c_try_compile ()
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 rm -f conftest.$ac_objext
1450 if { { ac_try="$ac_compile"
1452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1453 *) ac_try_echo
=$ac_try;;
1455 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1456 $as_echo "$ac_try_echo"; } >&5
1457 (eval "$ac_compile") 2>conftest.err
1459 if test -s conftest.err
; then
1460 grep -v '^ *+' conftest.err
>conftest.er1
1461 cat conftest.er1
>&5
1462 mv -f conftest.er1 conftest.err
1464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1465 test $ac_status = 0; } && {
1466 test -z "$ac_c_werror_flag" ||
1467 test ! -s conftest.err
1468 } && test -s conftest.
$ac_objext; then :
1471 $as_echo "$as_me: failed program was:" >&5
1472 sed 's/^/| /' conftest.
$ac_ext >&5
1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1477 as_fn_set_status
$ac_retval
1479 } # ac_fn_c_try_compile
1481 # ac_fn_c_try_link LINENO
1482 # -----------------------
1483 # Try to link conftest.$ac_ext, and return whether this succeeded.
1486 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1487 rm -f conftest.
$ac_objext conftest
$ac_exeext
1488 if { { ac_try
="$ac_link"
1490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1491 *) ac_try_echo=$ac_try;;
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495 (eval "$ac_link") 2>conftest.err
1497 if test -s conftest.err; then
1498 grep -v '^ *+' conftest.err >conftest.er1
1499 cat conftest.er1 >&5
1500 mv -f conftest.er1 conftest.err
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } && {
1504 test -z "$ac_c_werror_flag" ||
1505 test ! -s conftest.err
1506 } && test -s conftest$ac_exeext && {
1507 test "$cross_compiling" = yes ||
1508 test -x conftest$ac_exeext
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1517 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1518 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1519 # interfere with the next link command; also delete a directory that is
1520 # left behind by Apple's compiler. We do this before executing the actions.
1521 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 as_fn_set_status $ac_retval
1525 } # ac_fn_c_try_link
1527 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1528 # ---------------------------------------------
1529 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1531 ac_fn_c_check_decl ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1535 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1537 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1538 if eval \${$3+:} false; then :
1539 $as_echo_n "(cached) " >&6
1541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542 /* end confdefs.h. */
1547 #ifndef $as_decl_name
1549 (void) $as_decl_use;
1551 (void) $as_decl_name;
1559 if ac_fn_c_try_compile "$LINENO"; then :
1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568 $as_echo "$ac_res" >&6; }
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 } # ac_fn_c_check_decl
1573 # ac_fn_c_try_cpp LINENO
1574 # ----------------------
1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 if { { ac_try="$ac_cpp conftest.$ac_ext"
1581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1582 *) ac_try_echo
=$ac_try;;
1584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1588 if test -s conftest.err
; then
1589 grep -v '^ *+' conftest.err
>conftest.er1
1590 cat conftest.er1
>&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } > conftest.i
&& {
1595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1600 $as_echo "$as_me: failed program was:" >&5
1601 sed 's/^/| /' conftest.
$ac_ext >&5
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status
$ac_retval
1610 # ac_fn_c_try_run LINENO
1611 # ----------------------
1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1613 # that executables *can* be run.
1616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1617 if { { ac_try
="$ac_link"
1619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_link") 2>&5
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1628 { { case "(($ac_try" in
1629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1630 *) ac_try_echo
=$ac_try;;
1632 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_try") 2>&5
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; }; }; then :
1640 $as_echo "$as_me: program exited with status $ac_status" >&5
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.
$ac_ext >&5
1644 ac_retval
=$ac_status
1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status
$ac_retval
1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1653 # -------------------------------------------------------
1654 # Tests whether HEADER exists and can be compiled using the include files in
1655 # INCLUDES, setting the cache variable VAR accordingly.
1656 ac_fn_c_check_header_compile
()
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 $as_echo_n "checking for $2... " >&6; }
1661 if eval \
${$3+:} false
; then :
1662 $as_echo_n "(cached) " >&6
1664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1665 /* end confdefs.h. */
1669 if ac_fn_c_try_compile
"$LINENO"; then :
1674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_c_check_header_compile
1683 # ac_fn_c_check_func LINENO FUNC VAR
1684 # ----------------------------------
1685 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1686 ac_fn_c_check_func
()
1688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690 $as_echo_n "checking for $2... " >&6; }
1691 if eval \
${$3+:} false
; then :
1692 $as_echo_n "(cached) " >&6
1694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1696 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1698 #define $2 innocuous_$2
1700 /* System header to define __stub macros and hopefully few prototypes,
1701 which can conflict with char $2 (); below.
1702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1703 <limits.h> exists even on freestanding compilers. */
1706 # include <limits.h>
1708 # include <assert.h>
1713 /* Override any GCC internal prototype to avoid an error.
1714 Use char because int might match the return type of a GCC
1715 builtin and then its argument prototype would still apply. */
1720 /* The GNU C library defines this for functions which it implements
1721 to always fail with ENOSYS. Some functions are actually named
1722 something starting with __ and the normal name is an alias. */
1723 #if defined __stub_$2 || defined __stub___$2
1735 if ac_fn_c_try_link
"$LINENO"; then :
1740 rm -f core conftest.err conftest.
$ac_objext \
1741 conftest
$ac_exeext conftest.
$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } # ac_fn_c_check_func
1750 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1751 # -------------------------------------------------------
1752 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1753 # the include files in INCLUDES and setting the cache variable VAR
1755 ac_fn_c_check_header_mongrel
()
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 if eval \
${$3+:} false
; then :
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \
${$3+:} false
; then :
1762 $as_echo_n "(cached) " >&6
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1768 # Is the header compilable?
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1770 $as_echo_n "checking $2 usability... " >&6; }
1771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile
"$LINENO"; then :
1777 ac_header_compiler
=yes
1779 ac_header_compiler
=no
1781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1783 $as_echo "$ac_header_compiler" >&6; }
1785 # Is the header present?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1787 $as_echo_n "checking $2 presence... " >&6; }
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1792 if ac_fn_c_try_cpp
"$LINENO"; then :
1793 ac_header_preproc
=yes
1795 ac_header_preproc
=no
1797 rm -f conftest.err conftest.i conftest.
$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1799 $as_echo "$ac_header_preproc" >&6; }
1801 # So? What about this header?
1802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1805 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1811 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1813 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1815 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1817 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \
${$3+:} false
; then :
1825 $as_echo_n "(cached) " >&6
1827 eval "$3=\$ac_header_compiler"
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_header_mongrel
1837 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1838 # -------------------------------------------
1839 # Tests whether TYPE exists after having included INCLUDES, setting cache
1840 # variable VAR accordingly.
1841 ac_fn_c_check_type
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1862 if ac_fn_c_try_compile
"$LINENO"; then :
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1875 if ac_fn_c_try_compile
"$LINENO"; then :
1880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 } # ac_fn_c_check_type
1891 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1892 # ----------------------------------------------------
1893 # Tries to find if the field MEMBER exists in type AGGR, after including
1894 # INCLUDES, setting cache variable VAR accordingly.
1895 ac_fn_c_check_member
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1899 $as_echo_n "checking for $2.$3... " >&6; }
1900 if eval \
${$4+:} false
; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1916 if ac_fn_c_try_compile
"$LINENO"; then :
1919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1926 if (sizeof ac_aggr.$3)
1932 if ac_fn_c_try_compile
"$LINENO"; then :
1937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 } # ac_fn_c_check_member
1947 cat >config.log
<<_ACEOF
1948 This file contains any messages produced by compilers while
1949 running configure, to aid debugging if configure makes a mistake.
1951 It was created by $as_me, which was
1952 generated by GNU Autoconf 2.69. Invocation command line was
1964 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1965 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1966 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1967 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1968 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1970 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1971 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1973 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1974 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1975 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1976 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1977 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1978 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1979 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir
=.
1988 $as_echo "PATH: $as_dir"
2004 # Keep a trace of the command line.
2005 # Strip out --no-create and --no-recursion so they do not pile up.
2006 # Strip out --silent because we don't want to record it for future runs.
2007 # Also quote any args containing shell meta-characters.
2008 # Make two passes to allow for proper duplicate-argument suppression.
2012 ac_must_keep_next
=false
2018 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2019 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2020 |
-silent |
--silent |
--silen |
--sile |
--sil)
2023 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2026 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2028 as_fn_append ac_configure_args1
" '$ac_arg'"
2029 if test $ac_must_keep_next = true
; then
2030 ac_must_keep_next
=false
# Got value, back to normal.
2033 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2034 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2035 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2036 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2037 case "$ac_configure_args0 " in
2038 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2041 -* ) ac_must_keep_next
=true
;;
2044 as_fn_append ac_configure_args
" '$ac_arg'"
2049 { ac_configure_args0
=; unset ac_configure_args0
;}
2050 { ac_configure_args1
=; unset ac_configure_args1
;}
2052 # When interrupted or exit'd, cleanup temporary files, and complete
2053 # config.log. We remove comments because anyway the quotes in there
2054 # would cause problems or look ugly.
2055 # WARNING: Use '\'' to represent an apostrophe within the trap.
2056 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2057 trap 'exit_status=$?
2058 # Save into config.log some information that might help in debugging.
2062 $as_echo "## ---------------- ##
2063 ## Cache variables. ##
2064 ## ---------------- ##"
2066 # The following way of writing the cache mishandles newlines in values,
2068 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2069 eval ac_val=\$$ac_var
2073 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2074 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2077 _ | IFS | as_nl) ;; #(
2078 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2079 *) { eval $ac_var=; unset $ac_var;} ;;
2084 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2085 *${as_nl}ac_space=\ *)
2087 "s/'\''/'\''\\\\'\'''\''/g;
2088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2098 $as_echo "## ----------------- ##
2099 ## Output variables. ##
2100 ## ----------------- ##"
2102 for ac_var in $ac_subst_vars
2104 eval ac_val=\$$ac_var
2106 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -n "$ac_subst_files"; then
2113 $as_echo "## ------------------- ##
2114 ## File substitutions. ##
2115 ## ------------------- ##"
2117 for ac_var
in $ac_subst_files
2119 eval ac_val
=\$
$ac_var
2121 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123 $as_echo "$ac_var='\''$ac_val'\''"
2128 if test -s confdefs.h; then
2129 $as_echo "## ----------- ##
2136 test "$ac_signal" != 0 &&
2137 $as_echo "$as_me: caught signal $ac_signal"
2138 $as_echo "$as_me: exit $exit_status"
2140 rm -f core *.core core.conftest.* &&
2141 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2144 for ac_signal
in 1 2 13 15; do
2145 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2149 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2150 rm -f -r conftest
* confdefs.h
2152 $as_echo "/* confdefs.h */" > confdefs.h
2154 # Predefined preprocessor variables.
2156 cat >>confdefs.h
<<_ACEOF
2157 #define PACKAGE_NAME "$PACKAGE_NAME"
2160 cat >>confdefs.h
<<_ACEOF
2161 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2164 cat >>confdefs.h
<<_ACEOF
2165 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2168 cat >>confdefs.h
<<_ACEOF
2169 #define PACKAGE_STRING "$PACKAGE_STRING"
2172 cat >>confdefs.h
<<_ACEOF
2173 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2176 cat >>confdefs.h
<<_ACEOF
2177 #define PACKAGE_URL "$PACKAGE_URL"
2181 # Let the site file select an alternate cache file if it wants to.
2182 # Prefer an explicitly selected file to automatically selected ones.
2185 if test -n "$CONFIG_SITE"; then
2186 # We do not want a PATH search for config.site.
2187 case $CONFIG_SITE in #((
2188 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2189 */*) ac_site_file1
=$CONFIG_SITE;;
2190 *) ac_site_file1
=.
/$CONFIG_SITE;;
2192 elif test "x$prefix" != xNONE
; then
2193 ac_site_file1
=$prefix/share
/config.site
2194 ac_site_file2
=$prefix/etc
/config.site
2196 ac_site_file1
=$ac_default_prefix/share
/config.site
2197 ac_site_file2
=$ac_default_prefix/etc
/config.site
2199 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2201 test "x$ac_site_file" = xNONE
&& continue
2202 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2204 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2205 sed 's/^/| /' "$ac_site_file" >&5
2207 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error $?
"failed to load site script $ac_site_file
2210 See \`config.log' for more details" "$LINENO" 5; }
2214 if test -r "$cache_file"; then
2215 # Some versions of bash will fail to source /dev/null (special files
2216 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2217 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2219 $as_echo "$as_me: loading cache $cache_file" >&6;}
2221 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2222 *) .
"./$cache_file";;
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2227 $as_echo "$as_me: creating cache $cache_file" >&6;}
2231 # Check that the precious variables saved in the cache have kept the same
2233 ac_cache_corrupted
=false
2234 for ac_var
in $ac_precious_vars; do
2235 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2236 eval ac_new_set
=\
$ac_env_${ac_var}_set
2237 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2238 eval ac_new_val
=\
$ac_env_${ac_var}_value
2239 case $ac_old_set,$ac_new_set in
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243 ac_cache_corrupted
=: ;;
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247 ac_cache_corrupted
=: ;;
2250 if test "x$ac_old_val" != "x$ac_new_val"; then
2251 # differences in whitespace do not lead to failure.
2252 ac_old_val_w
=`echo x $ac_old_val`
2253 ac_new_val_w
=`echo x $ac_new_val`
2254 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257 ac_cache_corrupted
=:
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261 eval $ac_var=\
$ac_old_val
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2264 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2266 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2269 # Pass precious variables to config.status.
2270 if test "$ac_new_set" = set; then
2272 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273 *) ac_arg
=$ac_var=$ac_new_val ;;
2275 case " $ac_configure_args " in
2276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2277 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2281 if $ac_cache_corrupted; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2286 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2288 ## -------------------- ##
2289 ## Main body of script. ##
2290 ## -------------------- ##
2293 ac_cpp
='$CPP $CPPFLAGS'
2294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2301 # Checks for programs.
2303 ac_cpp
='$CPP $CPPFLAGS'
2304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2309 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if ${ac_cv_prog_CC+:} false
; then :
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$CC"; then
2316 ac_cv_prog_CC
="$CC" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2325 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 if test -n "$CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2338 $as_echo "$CC" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2346 if test -z "$ac_cv_prog_CC"; then
2348 # Extract the first word of "gcc", so it can be a program name with args.
2349 set dummy gcc
; ac_word
=$2
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$ac_ct_CC"; then
2356 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2365 ac_cv_prog_ac_ct_CC
="gcc"
2366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2375 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2376 if test -n "$ac_ct_CC"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2378 $as_echo "$ac_ct_CC" >&6; }
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2381 $as_echo "no" >&6; }
2384 if test "x$ac_ct_CC" = x
; then
2387 case $cross_compiling:$ac_tool_warned in
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2391 ac_tool_warned
=yes ;;
2399 if test -z "$CC"; then
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2402 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if ${ac_cv_prog_CC+:} false
; then :
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC
="$CC" # Let the user override the test.
2411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir
=.
2416 for ac_exec_ext
in '' $ac_executable_extensions; do
2417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2418 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$CC"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2431 $as_echo "$CC" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2440 if test -z "$CC"; then
2441 # Extract the first word of "cc", so it can be a program name with args.
2442 set dummy cc
; ac_word
=$2
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if ${ac_cv_prog_CC+:} false
; then :
2446 $as_echo_n "(cached) " >&6
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC
="$CC" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2460 ac_prog_rejected
=yes
2464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 if test $ac_prog_rejected = yes; then
2472 # We found a bogon in the path, so make sure we never use it.
2473 set dummy
$ac_cv_prog_CC
2475 if test $# != 0; then
2476 # We chose a different compiler from the bogus one.
2477 # However, it has the same basename, so the bogon will be chosen
2478 # first if we set CC to just the basename; use the full file name.
2480 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2486 if test -n "$CC"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2488 $as_echo "$CC" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2496 if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
2498 for ac_prog
in cl.exe
2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2501 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2503 $as_echo_n "checking for $ac_word... " >&6; }
2504 if ${ac_cv_prog_CC+:} false
; then :
2505 $as_echo_n "(cached) " >&6
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC
="$CC" # Let the user override the test.
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir
=.
2515 for ac_exec_ext
in '' $ac_executable_extensions; do
2516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2517 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 if test -n "$CC"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2530 $as_echo "$CC" >&6; }
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533 $as_echo "no" >&6; }
2537 test -n "$CC" && break
2540 if test -z "$CC"; then
2542 for ac_prog
in cl.exe
2544 # Extract the first word of "$ac_prog", so it can be a program name with args.
2545 set dummy
$ac_prog; ac_word
=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir
=.
2559 for ac_exec_ext
in '' $ac_executable_extensions; do
2560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2561 ac_cv_prog_ac_ct_CC
="$ac_prog"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2572 if test -n "$ac_ct_CC"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2574 $as_echo "$ac_ct_CC" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2581 test -n "$ac_ct_CC" && break
2584 if test "x$ac_ct_CC" = 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 ;;
2600 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $?
"no acceptable C compiler found in \$PATH
2603 See \`config.log' for more details" "$LINENO" 5; }
2605 # Provide some information about the compiler.
2606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2609 for ac_option
in --version -v -V -qversion; do
2610 { { ac_try
="$ac_compiler $ac_option >&5"
2612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2619 if test -s conftest.err; then
2621 ... rest of stderr output deleted ...
2622 10q' conftest.err >conftest.er1
2623 cat conftest.er1 >&5
2625 rm -f conftest.er1 conftest.err
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; }
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2641 ac_clean_files_save=$ac_clean_files
2642 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2643 # Try to create an executable without -o first, disregard a.out.
2644 # It will help us diagnose broken compilers, and finding out an intuition
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2647 $as_echo_n "checking whether the C compiler works... " >&6; }
2648 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2650 # The possible output files:
2651 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2654 for ac_file in $ac_files
2657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2658 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663 if { { ac_try="$ac_link_default"
2665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2666 *) ac_try_echo
=$ac_try;;
2668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_link_default") 2>&5
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; }; then :
2674 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2675 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2676 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2677 # so that the user can short-circuit this test for compilers unknown to
2679 for ac_file
in $ac_files ''
2681 test -f "$ac_file" ||
continue
2683 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2686 # We found the default executable, but exeext='' is most
2690 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2692 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2694 # We set ac_cv_exeext here because the later test for it is not
2695 # safe: cross compilers may not add the suffix if given an `-o'
2696 # argument, so we may need to know it at that point already.
2697 # Even if this section looks crufty: it has the advantage of
2704 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2709 if test -z "$ac_file"; then :
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.
$ac_ext >&5
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error
77 "C compiler cannot create executables
2718 See \`config.log' for more details" "$LINENO" 5; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2724 $as_echo_n "checking for C compiler default output file name... " >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2726 $as_echo "$ac_file" >&6; }
2727 ac_exeext
=$ac_cv_exeext
2729 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2730 ac_clean_files
=$ac_clean_files_save
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2732 $as_echo_n "checking for suffix of executables... " >&6; }
2733 if { { ac_try
="$ac_link"
2735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_link") 2>&5
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }; then :
2744 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2745 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2746 # work properly (i.e., refer to `conftest.exe'), while it won't with
2748 for ac_file
in conftest.exe conftest conftest.
*; do
2749 test -f "$ac_file" ||
continue
2751 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2752 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2761 See \`config.log' for more details" "$LINENO" 5; }
2763 rm -f conftest conftest
$ac_cv_exeext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2765 $as_echo "$ac_cv_exeext" >&6; }
2767 rm -f conftest.
$ac_ext
2768 EXEEXT
=$ac_cv_exeext
2770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2776 FILE *f = fopen ("conftest.out", "w");
2777 return ferror (f) || fclose (f) != 0;
2783 ac_clean_files
="$ac_clean_files conftest.out"
2784 # Check that the compiler produces executables we can run. If not, either
2785 # the compiler is broken, or we cross compile.
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2787 $as_echo_n "checking whether we are cross compiling... " >&6; }
2788 if test "$cross_compiling" != yes; then
2789 { { ac_try
="$ac_link"
2791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>&5
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; }
2800 if { ac_try='./conftest$ac_cv_exeext'
2801 { { case "(($ac_try" in
2802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2803 *) ac_try_echo
=$ac_try;;
2805 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_try") 2>&5
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; }; then
2813 if test "$cross_compiling" = maybe
; then
2816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 as_fn_error $?
"cannot run C compiled programs.
2819 If you meant to cross compile, use \`--host'.
2820 See \`config.log' for more details" "$LINENO" 5; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2825 $as_echo "$cross_compiling" >&6; }
2827 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2828 ac_clean_files
=$ac_clean_files_save
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2830 $as_echo_n "checking for suffix of object files... " >&6; }
2831 if ${ac_cv_objext+:} false
; then :
2832 $as_echo_n "(cached) " >&6
2834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2845 rm -f conftest.o conftest.obj
2846 if { { ac_try
="$ac_compile"
2848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852 $as_echo "$ac_try_echo"; } >&5
2853 (eval "$ac_compile") 2>&5
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; }; then :
2857 for ac_file in conftest.o conftest.obj conftest.*; do
2858 test -f "$ac_file" || continue;
2860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2861 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866 $as_echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2872 See \
`config.log' for more details" "$LINENO" 5; }
2874 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2877 $as_echo "$ac_cv_objext" >&6; }
2878 OBJEXT=$ac_cv_objext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2882 if ${ac_cv_c_compiler_gnu+:} false; then :
2883 $as_echo_n "(cached) " >&6
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2899 if ac_fn_c_try_compile "$LINENO"; then :
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2910 if test $ac_compiler_gnu = yes; then
2915 ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2919 if ${ac_cv_prog_cc_g+:} false; then :
2920 $as_echo_n "(cached) " >&6
2922 ac_save_c_werror_flag=$ac_c_werror_flag
2923 ac_c_werror_flag=yes
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2937 if ac_fn_c_try_compile "$LINENO"; then :
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2952 if ac_fn_c_try_compile "$LINENO"; then :
2955 ac_c_werror_flag=$ac_save_c_werror_flag
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 if ac_fn_c_try_compile "$LINENO"; then :
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_c_werror_flag=$ac_save_c_werror_flag
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2979 $as_echo "$ac_cv_prog_cc_g" >&6; }
2980 if test "$ac_test_CFLAGS" = set; then
2981 CFLAGS=$ac_save_CFLAGS
2982 elif test $ac_cv_prog_cc_g = yes; then
2983 if test "$GCC" = yes; then
2989 if test "$GCC" = yes; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2997 if ${ac_cv_prog_cc_c89+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 ac_cv_prog_cc_c89=no
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3008 struct buf { int x; };
3009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3010 static char *e (p, i)
3016 static char *f (char * (*g) (char **, int), char **p, ...)
3021 s = g (p, va_arg (v,int));
3026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3027 function prototypes and stuff, but not '\xHH' hex character constants.
3028 These don't provoke an error unfortunately, instead are silently treated
3029 as 'x'. The following induces an error, until -std is added to get
3030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3031 array size at least. It's necessary to write '\x00'==0 to get something
3032 that's true only with -std. */
3033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3036 inside strings and character constants. */
3038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3040 int test (int i, double x);
3041 struct s1 {int (*f) (int a);};
3042 struct s2 {int (*f) (double a);};
3043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3057 CC="$ac_save_CC $ac_arg"
3058 if ac_fn_c_try_compile "$LINENO"; then :
3059 ac_cv_prog_cc_c89=$ac_arg
3061 rm -f core conftest.err conftest.$ac_objext
3062 test "x$ac_cv_prog_cc_c89" != "xno" && break
3064 rm -f conftest.$ac_ext
3069 case "x$ac_cv_prog_cc_c89" in
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3072 $as_echo "none needed" >&6; } ;;
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3075 $as_echo "unsupported" >&6; } ;;
3077 CC="$CC $ac_cv_prog_cc_c89"
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3081 if test "x$ac_cv_prog_cc_c89" != xno; then :
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3092 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3094 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3095 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3096 $as_echo_n "(cached) " >&6
3098 cat >conftest.make <<\_ACEOF
3101 @echo '@@@%%%=$(MAKE)=@@@%%%'
3103 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3104 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
3106 eval ac_cv_prog_make_${ac_make}_set=yes;;
3108 eval ac_cv_prog_make_${ac_make}_set=no;;
3112 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3119 SET_MAKE="MAKE=${MAKE-make}"
3123 if test -z "$LD" ; then
3128 if test -z "$OLDCFLAGS" && test "$GCC" = "yes"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
3130 $as_echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
3131 CFLAGS="-Os -W -Wall"
3134 # large file support is useful for scp
3136 # Check whether --enable-largefile was given.
3137 if test "${enable_largefile+set}" = set; then :
3138 enableval=$enable_largefile;
3141 if test "$enable_largefile" != no; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3144 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3145 if ${ac_cv_sys_largefile_CC+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 ac_cv_sys_largefile_CC=no
3149 if test "$GCC" != yes; then
3152 # IRIX 6.2 and later do not support large files by default,
3153 # so use the C compiler's -n32 option if that helps.
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3156 #include <sys/types.h>
3157 /* Check that off_t can represent 2**63 - 1 correctly.
3158 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3159 since some C++ compilers masquerading as C compilers
3160 incorrectly reject 9223372036854775807. */
3161 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3162 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3163 && LARGE_OFF_T % 2147483647 == 1)
3173 if ac_fn_c_try_compile "$LINENO"; then :
3176 rm -f core conftest.err conftest.$ac_objext
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179 ac_cv_sys_largefile_CC=' -n32'; break
3181 rm -f core conftest.err conftest.$ac_objext
3185 rm -f conftest.$ac_ext
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3189 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3190 if test "$ac_cv_sys_largefile_CC" != no; then
3191 CC=$CC$ac_cv_sys_largefile_CC
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3195 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3196 if ${ac_cv_sys_file_offset_bits+:} false; then :
3197 $as_echo_n "(cached) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3202 #include <sys/types.h>
3203 /* Check that off_t can represent 2**63 - 1 correctly.
3204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3205 since some C++ compilers masquerading as C compilers
3206 incorrectly reject 9223372036854775807. */
3207 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3209 && LARGE_OFF_T % 2147483647 == 1)
3219 if ac_fn_c_try_compile "$LINENO"; then :
3220 ac_cv_sys_file_offset_bits=no; break
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3225 #define _FILE_OFFSET_BITS 64
3226 #include <sys/types.h>
3227 /* Check that off_t can represent 2**63 - 1 correctly.
3228 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3229 since some C++ compilers masquerading as C compilers
3230 incorrectly reject 9223372036854775807. */
3231 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3232 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3233 && LARGE_OFF_T % 2147483647 == 1)
3243 if ac_fn_c_try_compile "$LINENO"; then :
3244 ac_cv_sys_file_offset_bits=64; break
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 ac_cv_sys_file_offset_bits=unknown
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3252 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3253 case $ac_cv_sys_file_offset_bits in #(
3256 cat >>confdefs.h <<_ACEOF
3257 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3262 if test $ac_cv_sys_file_offset_bits = unknown; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3264 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3265 if ${ac_cv_sys_large_files+:} false; then :
3266 $as_echo_n "(cached) " >&6
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 #include <sys/types.h>
3272 /* Check that off_t can represent 2**63 - 1 correctly.
3273 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3274 since some C++ compilers masquerading as C compilers
3275 incorrectly reject 9223372036854775807. */
3276 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3277 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3278 && LARGE_OFF_T % 2147483647 == 1)
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 ac_cv_sys_large_files=no; break
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3294 #define _LARGE_FILES 1
3295 #include <sys/types.h>
3296 /* Check that off_t can represent 2**63 - 1 correctly.
3297 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3298 since some C++ compilers masquerading as C compilers
3299 incorrectly reject 9223372036854775807. */
3300 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3301 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3302 && LARGE_OFF_T % 2147483647 == 1)
3312 if ac_fn_c_try_compile "$LINENO"; then :
3313 ac_cv_sys_large_files=1; break
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 ac_cv_sys_large_files=unknown
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3321 $as_echo "$ac_cv_sys_large_files" >&6; }
3322 case $ac_cv_sys_large_files in #(
3325 cat >>confdefs.h <<_ACEOF
3326 #define _LARGE_FILES $ac_cv_sys_large_files
3337 # Host specific options
3338 # this isn't a definitive list of hosts, they are just added as required
3340 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3341 if test -f "$ac_dir/install-sh"; then
3343 ac_install_sh="$ac_aux_dir/install-sh -c"
3345 elif test -f "$ac_dir/install.sh"; then
3347 ac_install_sh="$ac_aux_dir/install.sh -c"
3349 elif test -f "$ac_dir/shtool"; then
3351 ac_install_sh="$ac_aux_dir/shtool install -c"
3355 if test -z "$ac_aux_dir"; then
3356 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3359 # These three variables are undocumented and unsupported,
3360 # and are intended to be withdrawn in a future Autoconf release.
3361 # They can cause serious problems if a builder's source tree is in a directory
3362 # whose full name contains unusual characters.
3363 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3364 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3365 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3368 # Make sure we can run config.sub.
3369 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3370 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3373 $as_echo_n "checking build system type... " >&6; }
3374 if ${ac_cv_build+:} false; then :
3375 $as_echo_n "(cached) " >&6
3377 ac_build_alias=$build_alias
3378 test "x$ac_build_alias" = x &&
3379 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3380 test "x$ac_build_alias" = x &&
3381 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3382 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3383 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3387 $as_echo "$ac_cv_build" >&6; }
3388 case $ac_cv_build in
3390 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3393 ac_save_IFS=$IFS; IFS='-'
3399 # Remember, the first character of IFS is used to create $*,
3400 # except with old shells:
3403 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3407 $as_echo_n "checking host system type... " >&6; }
3408 if ${ac_cv_host+:} false; then :
3409 $as_echo_n "(cached) " >&6
3411 if test "x$host_alias" = x; then
3412 ac_cv_host=$ac_cv_build
3414 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3415 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3420 $as_echo "$ac_cv_host" >&6; }
3423 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3426 ac_save_IFS=$IFS; IFS='-'
3432 # Remember, the first character of IFS is used to create $*,
3433 # except with old shells:
3436 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3447 CFLAGS="$CFLAGS -I/usr/local/include"
3448 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
3449 conf_lastlog_location="/var/adm/lastlog"
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete utmp and wtmp in solaris2.x" >&5
3451 $as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; }
3452 sol2ver=`echo "$host"|
sed -e 's/.*[0-9]\.//'`
3453 if test "$sol2ver" -ge 8; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3457 $as_echo "#define DISABLE_UTMP /**/" >>confdefs.h
3460 $as_echo "#define DISABLE_WTMP /**/" >>confdefs.h
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3467 $as_echo_n "checking for socket in -lsocket... " >&6; }
3468 if ${ac_cv_lib_socket_socket+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 ac_check_lib_save_LIBS=$LIBS
3472 LIBS="-lsocket $LIBS"
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3476 /* Override any GCC internal prototype to avoid an error.
3477 Use char because int might match the return type of a GCC
3478 builtin and then its argument prototype would still apply. */
3491 if ac_fn_c_try_link "$LINENO"; then :
3492 ac_cv_lib_socket_socket=yes
3494 ac_cv_lib_socket_socket=no
3496 rm -f core conftest.err conftest.$ac_objext \
3497 conftest$ac_exeext conftest.$ac_ext
3498 LIBS=$ac_check_lib_save_LIBS
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3501 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3502 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3503 LIBS="$LIBS -lsocket"
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yp_match in -lnsl" >&5
3507 $as_echo_n "checking for yp_match in -lnsl... " >&6; }
3508 if ${ac_cv_lib_nsl_yp_match+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 ac_check_lib_save_LIBS=$LIBS
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3516 /* Override any GCC internal prototype to avoid an error.
3517 Use char because int might match the return type of a GCC
3518 builtin and then its argument prototype would still apply. */
3531 if ac_fn_c_try_link "$LINENO"; then :
3532 ac_cv_lib_nsl_yp_match=yes
3534 ac_cv_lib_nsl_yp_match=no
3536 rm -f core conftest.err conftest.$ac_objext \
3537 conftest$ac_exeext conftest.$ac_ext
3538 LIBS=$ac_check_lib_save_LIBS
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_yp_match" >&5
3541 $as_echo "$ac_cv_lib_nsl_yp_match" >&6; }
3542 if test "x$ac_cv_lib_nsl_yp_match" = xyes; then :
3550 $as_echo "#define AIX /**/" >>confdefs.h
3552 # OpenSSH thinks it's broken. If it isn't, let me know.
3554 $as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3560 # It's probably broken.
3562 $as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3567 $as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3572 if test -n "$ac_tool_prefix"; then
3573 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3574 set dummy ${ac_tool_prefix}ar; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_AR+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$AR"; then
3581 ac_cv_prog_AR="$AR" # Let the user override the test.
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_AR="${ac_tool_prefix}ar"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 if test -n "$AR"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3603 $as_echo "$AR" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3611 if test -z "$ac_cv_prog_AR"; then
3613 # Extract the first word of "ar", so it can be a program name with args.
3614 set dummy ar; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$ac_ct_AR"; then
3621 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir=.
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3630 ac_cv_prog_ac_ct_AR="ar"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3641 if test -n "$ac_ct_AR"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3643 $as_echo "$ac_ct_AR" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3649 if test "x$ac_ct_AR" = x; then
3652 case $cross_compiling:$ac_tool_warned in
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3656 ac_tool_warned=yes ;;
3664 if test -n "$ac_tool_prefix"; then
3665 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3666 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3668 $as_echo_n "checking for $ac_word... " >&6; }
3669 if ${ac_cv_prog_RANLIB+:} false; then :
3670 $as_echo_n "(cached) " >&6
3672 if test -n "$RANLIB"; then
3673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 test -z "$as_dir" && as_dir=.
3680 for ac_exec_ext in '' $ac_executable_extensions; do
3681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3682 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 RANLIB=$ac_cv_prog_RANLIB
3693 if test -n "$RANLIB"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3695 $as_echo "$RANLIB" >&6; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3703 if test -z "$ac_cv_prog_RANLIB"; then
3704 ac_ct_RANLIB=$RANLIB
3705 # Extract the first word of "ranlib", so it can be a program name with args.
3706 set dummy ranlib; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$ac_ct_RANLIB"; then
3713 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_ac_ct_RANLIB="ranlib"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3733 if test -n "$ac_ct_RANLIB"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3735 $as_echo "$ac_ct_RANLIB" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3741 if test "x$ac_ct_RANLIB" = x; then
3744 case $cross_compiling:$ac_tool_warned in
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3748 ac_tool_warned=yes ;;
3750 RANLIB=$ac_ct_RANLIB
3753 RANLIB="$ac_cv_prog_RANLIB"
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3758 set dummy ${ac_tool_prefix}strip; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_STRIP+:} false; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$STRIP"; then
3765 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 STRIP=$ac_cv_prog_STRIP
3785 if test -n "$STRIP"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3787 $as_echo "$STRIP" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3795 if test -z "$ac_cv_prog_STRIP"; then
3797 # Extract the first word of "strip", so it can be a program name with args.
3798 set dummy strip; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_STRIP"; then
3805 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_ac_ct_STRIP="strip"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3825 if test -n "$ac_ct_STRIP"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3827 $as_echo "$ac_ct_STRIP" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3833 if test "x$ac_ct_STRIP" = x; then
3836 case $cross_compiling:$ac_tool_warned in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3845 STRIP="$ac_cv_prog_STRIP"
3848 if test -n "$ac_tool_prefix"; then
3849 # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
3850 set dummy ${ac_tool_prefix}install; ac_word=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if ${ac_cv_prog_INSTALL+:} false; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$INSTALL"; then
3857 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_prog_INSTALL="${ac_tool_prefix}install"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 INSTALL=$ac_cv_prog_INSTALL
3877 if test -n "$INSTALL"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3879 $as_echo "$INSTALL" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3887 if test -z "$ac_cv_prog_INSTALL"; then
3888 ac_ct_INSTALL=$INSTALL
3889 # Extract the first word of "install", so it can be a program name with args.
3890 set dummy install; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_ac_ct_INSTALL+:} false; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$ac_ct_INSTALL"; then
3897 ac_cv_prog_ac_ct_INSTALL="$ac_ct_INSTALL" # Let the user override the test.
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_ac_ct_INSTALL="install"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 ac_ct_INSTALL=$ac_cv_prog_ac_ct_INSTALL
3917 if test -n "$ac_ct_INSTALL"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_INSTALL" >&5
3919 $as_echo "$ac_ct_INSTALL" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3925 if test "x$ac_ct_INSTALL" = x; then
3928 case $cross_compiling:$ac_tool_warned in
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3932 ac_tool_warned=yes ;;
3934 INSTALL=$ac_ct_INSTALL
3937 INSTALL="$ac_cv_prog_INSTALL"
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3947 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3948 # On Suns, sometimes $CPP names a directory.
3949 if test -n "$CPP" && test -d "$CPP"; then
3952 if test -z "$CPP"; then
3953 if ${ac_cv_prog_CPP+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 # Double quotes because CPP needs to be expanded
3957 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3960 for ac_c_preproc_warn_flag in '' yes
3962 # Use a header file that comes with gcc, so configuring glibc
3963 # with a fresh cross-compiler works.
3964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3965 # <limits.h> exists even on freestanding compilers.
3966 # On the NeXT, cc -E runs the code through the compiler's parser,
3967 # not just through cpp. "Syntax error" is here to catch this case.
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3971 # include <limits.h>
3973 # include <assert.h>
3977 if ac_fn_c_try_cpp "$LINENO"; then :
3980 # Broken: fails on valid input.
3983 rm -f conftest.err conftest.i conftest.$ac_ext
3985 # OK, works on sane cases. Now check whether nonexistent headers
3986 # can be detected and how.
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3989 #include <ac_nonexistent.h>
3991 if ac_fn_c_try_cpp "$LINENO"; then :
3992 # Broken: success on invalid input.
3995 # Passes both tests.
3999 rm -f conftest.err conftest.i conftest.$ac_ext
4002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4003 rm -f conftest.i conftest.err conftest.
$ac_ext
4004 if $ac_preproc_ok; then :
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4017 $as_echo "$CPP" >&6; }
4019 for ac_c_preproc_warn_flag
in '' yes
4021 # Use a header file that comes with gcc, so configuring glibc
4022 # with a fresh cross-compiler works.
4023 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4024 # <limits.h> exists even on freestanding compilers.
4025 # On the NeXT, cc -E runs the code through the compiler's parser,
4026 # not just through cpp. "Syntax error" is here to catch this case.
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4030 # include <limits.h>
4032 # include <assert.h>
4036 if ac_fn_c_try_cpp
"$LINENO"; then :
4039 # Broken: fails on valid input.
4042 rm -f conftest.err conftest.i conftest.
$ac_ext
4044 # OK, works on sane cases. Now check whether nonexistent headers
4045 # can be detected and how.
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4048 #include <ac_nonexistent.h>
4050 if ac_fn_c_try_cpp
"$LINENO"; then :
4051 # Broken: success on invalid input.
4054 # Passes both tests.
4058 rm -f conftest.err conftest.i conftest.
$ac_ext
4061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4062 rm -f conftest.i conftest.err conftest.
$ac_ext
4063 if $ac_preproc_ok; then :
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4069 See \`config.log' for more details" "$LINENO" 5; }
4073 ac_cpp
='$CPP $CPPFLAGS'
4074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4080 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4081 if ${ac_cv_path_GREP+:} false
; then :
4082 $as_echo_n "(cached) " >&6
4084 if test -z "$GREP"; then
4085 ac_path_GREP_found
=false
4086 # Loop through the user's path and test for each of PROGNAME-LIST
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_prog
in grep ggrep
; do
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4095 as_fn_executable_p
"$ac_path_GREP" ||
continue
4096 # Check for GNU ac_path_GREP and select it if it is found.
4097 # Check for GNU $ac_path_GREP
4098 case `"$ac_path_GREP" --version 2>&1` in
4100 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4103 $as_echo_n 0123456789 >"conftest.in"
4106 cat "conftest.in" "conftest.in" >"conftest.tmp"
4107 mv "conftest.tmp" "conftest.in"
4108 cp "conftest.in" "conftest.nl"
4109 $as_echo 'GREP' >> "conftest.nl"
4110 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4112 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4113 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4114 # Best one so far, save it but keep looking for a better one
4115 ac_cv_path_GREP
="$ac_path_GREP"
4116 ac_path_GREP_max
=$ac_count
4118 # 10*(2^10) chars as input seems more than enough
4119 test $ac_count -gt 10 && break
4121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4124 $ac_path_GREP_found && break 3
4129 if test -z "$ac_cv_path_GREP"; then
4130 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4133 ac_cv_path_GREP
=$GREP
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4138 $as_echo "$ac_cv_path_GREP" >&6; }
4139 GREP
="$ac_cv_path_GREP"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4143 $as_echo_n "checking for egrep... " >&6; }
4144 if ${ac_cv_path_EGREP+:} false
; then :
4145 $as_echo_n "(cached) " >&6
4147 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4148 then ac_cv_path_EGREP
="$GREP -E"
4150 if test -z "$EGREP"; then
4151 ac_path_EGREP_found
=false
4152 # Loop through the user's path and test for each of PROGNAME-LIST
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_prog
in egrep; do
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4161 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4162 # Check for GNU ac_path_EGREP and select it if it is found.
4163 # Check for GNU $ac_path_EGREP
4164 case `"$ac_path_EGREP" --version 2>&1` in
4166 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4169 $as_echo_n 0123456789 >"conftest.in"
4172 cat "conftest.in" "conftest.in" >"conftest.tmp"
4173 mv "conftest.tmp" "conftest.in"
4174 cp "conftest.in" "conftest.nl"
4175 $as_echo 'EGREP' >> "conftest.nl"
4176 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4177 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4178 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4179 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4180 # Best one so far, save it but keep looking for a better one
4181 ac_cv_path_EGREP
="$ac_path_EGREP"
4182 ac_path_EGREP_max
=$ac_count
4184 # 10*(2^10) chars as input seems more than enough
4185 test $ac_count -gt 10 && break
4187 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4190 $ac_path_EGREP_found && break 3
4195 if test -z "$ac_cv_path_EGREP"; then
4196 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4199 ac_cv_path_EGREP
=$EGREP
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4205 $as_echo "$ac_cv_path_EGREP" >&6; }
4206 EGREP
="$ac_cv_path_EGREP"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4210 $as_echo_n "checking for ANSI C header files... " >&6; }
4211 if ${ac_cv_header_stdc+:} false
; then :
4212 $as_echo_n "(cached) " >&6
4214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4229 if ac_fn_c_try_compile
"$LINENO"; then :
4230 ac_cv_header_stdc
=yes
4232 ac_cv_header_stdc
=no
4234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4236 if test $ac_cv_header_stdc = yes; then
4237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4244 $EGREP "memchr" >/dev
/null
2>&1; then :
4247 ac_cv_header_stdc
=no
4253 if test $ac_cv_header_stdc = yes; then
4254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4261 $EGREP "free" >/dev
/null
2>&1; then :
4264 ac_cv_header_stdc
=no
4270 if test $ac_cv_header_stdc = yes; then
4271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4272 if test "$cross_compiling" = yes; then :
4275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4279 #if ((' ' & 0x0FF) == 0x020)
4280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4283 # define ISLOWER(c) \
4284 (('a' <= (c) && (c) <= 'i') \
4285 || ('j' <= (c) && (c) <= 'r') \
4286 || ('s' <= (c) && (c) <= 'z'))
4287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4295 for (i = 0; i < 256; i++)
4296 if (XOR (islower (i), ISLOWER (i))
4297 || toupper (i) != TOUPPER (i))
4302 if ac_fn_c_try_run
"$LINENO"; then :
4305 ac_cv_header_stdc
=no
4307 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4308 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4314 $as_echo "$ac_cv_header_stdc" >&6; }
4315 if test $ac_cv_header_stdc = yes; then
4317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4322 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4323 inttypes.h stdint.h unistd.h
4325 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4326 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4328 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4329 cat >>confdefs.h
<<_ACEOF
4330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4338 ac_fn_c_check_decl
"$LINENO" "__UCLIBC__" "ac_cv_have_decl___UCLIBC__" "$ac_includes_default"
4339 if test "x$ac_cv_have_decl___UCLIBC__" = xyes
; then :
4341 no_loginfunc_check
=1
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
4343 $as_echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
4348 # Checks for libraries.
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
4350 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
4351 if ${ac_cv_lib_crypt_crypt+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 ac_check_lib_save_LIBS
=$LIBS
4355 LIBS
="-lcrypt $LIBS"
4356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4359 /* Override any GCC internal prototype to avoid an error.
4360 Use char because int might match the return type of a GCC
4361 builtin and then its argument prototype would still apply. */
4374 if ac_fn_c_try_link
"$LINENO"; then :
4375 ac_cv_lib_crypt_crypt
=yes
4377 ac_cv_lib_crypt_crypt
=no
4379 rm -f core conftest.err conftest.
$ac_objext \
4380 conftest
$ac_exeext conftest.
$ac_ext
4381 LIBS
=$ac_check_lib_save_LIBS
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
4384 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
4385 if test "x$ac_cv_lib_crypt_crypt" = xyes
; then :
4391 # Check if zlib is needed
4393 # Check whether --with-zlib was given.
4394 if test "${with_zlib+set}" = set; then :
4397 if test -d "$withval/lib"; then
4398 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4400 LDFLAGS
="-L${withval} ${LDFLAGS}"
4402 if test -d "$withval/include"; then
4403 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
4405 CPPFLAGS
="-I${withval} ${CPPFLAGS}"
4412 # Check whether --enable-zlib was given.
4413 if test "${enable_zlib+set}" = set; then :
4414 enableval
=$enable_zlib;
4415 if test "x$enableval" = "xno"; then
4417 $as_echo "#define DISABLE_ZLIB /**/" >>confdefs.h
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling zlib" >&5
4420 $as_echo "$as_me: Disabling zlib" >&6;}
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
4423 $as_echo_n "checking for deflate in -lz... " >&6; }
4424 if ${ac_cv_lib_z_deflate+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 ac_check_lib_save_LIBS
=$LIBS
4429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4432 /* Override any GCC internal prototype to avoid an error.
4433 Use char because int might match the return type of a GCC
4434 builtin and then its argument prototype would still apply. */
4447 if ac_fn_c_try_link
"$LINENO"; then :
4448 ac_cv_lib_z_deflate
=yes
4450 ac_cv_lib_z_deflate
=no
4452 rm -f core conftest.err conftest.
$ac_objext \
4453 conftest
$ac_exeext conftest.
$ac_ext
4454 LIBS
=$ac_check_lib_save_LIBS
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
4457 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4458 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
4459 cat >>confdefs.h
<<_ACEOF
4466 as_fn_error $?
"*** zlib missing - install first or check config.log ***" "$LINENO" 5
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling zlib" >&5
4470 $as_echo "$as_me: Enabling zlib" >&6;}
4475 # if not disabled, check for zlib
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
4477 $as_echo_n "checking for deflate in -lz... " >&6; }
4478 if ${ac_cv_lib_z_deflate+:} false
; then :
4479 $as_echo_n "(cached) " >&6
4481 ac_check_lib_save_LIBS
=$LIBS
4483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4486 /* Override any GCC internal prototype to avoid an error.
4487 Use char because int might match the return type of a GCC
4488 builtin and then its argument prototype would still apply. */
4501 if ac_fn_c_try_link
"$LINENO"; then :
4502 ac_cv_lib_z_deflate
=yes
4504 ac_cv_lib_z_deflate
=no
4506 rm -f core conftest.err conftest.
$ac_objext \
4507 conftest
$ac_exeext conftest.
$ac_ext
4508 LIBS
=$ac_check_lib_save_LIBS
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
4511 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4512 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
4513 cat >>confdefs.h
<<_ACEOF
4520 as_fn_error $?
"*** zlib missing - install first or check config.log ***" "$LINENO" 5
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling zlib" >&5
4524 $as_echo "$as_me: Enabling zlib" >&6;}
4530 # Check if pam is needed
4532 # Check whether --with-pam was given.
4533 if test "${with_pam+set}" = set; then :
4536 if test -d "$withval/lib"; then
4537 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4539 LDFLAGS
="-L${withval} ${LDFLAGS}"
4541 if test -d "$withval/include"; then
4542 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
4544 CPPFLAGS
="-I${withval} ${CPPFLAGS}"
4552 # Check whether --enable-pam was given.
4553 if test "${enable_pam+set}" = set; then :
4554 enableval
=$enable_pam;
4555 if test "x$enableval" = "xyes"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_authenticate in -lpam" >&5
4557 $as_echo_n "checking for pam_authenticate in -lpam... " >&6; }
4558 if ${ac_cv_lib_pam_pam_authenticate+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 ac_check_lib_save_LIBS
=$LIBS
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4566 /* Override any GCC internal prototype to avoid an error.
4567 Use char because int might match the return type of a GCC
4568 builtin and then its argument prototype would still apply. */
4572 char pam_authenticate ();
4576 return pam_authenticate ();
4581 if ac_fn_c_try_link
"$LINENO"; then :
4582 ac_cv_lib_pam_pam_authenticate
=yes
4584 ac_cv_lib_pam_pam_authenticate
=no
4586 rm -f core conftest.err conftest.
$ac_objext \
4587 conftest
$ac_exeext conftest.
$ac_ext
4588 LIBS
=$ac_check_lib_save_LIBS
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_authenticate" >&5
4591 $as_echo "$ac_cv_lib_pam_pam_authenticate" >&6; }
4592 if test "x$ac_cv_lib_pam_pam_authenticate" = xyes
; then :
4593 cat >>confdefs.h
<<_ACEOF
4594 #define HAVE_LIBPAM 1
4600 as_fn_error $?
"*** PAM missing - install first or check config.log ***" "$LINENO" 5
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling PAM" >&5
4604 $as_echo "$as_me: Enabling PAM" >&6;}
4605 for ac_func
in pam_fail_delay
4607 ac_fn_c_check_func
"$LINENO" "pam_fail_delay" "ac_cv_func_pam_fail_delay"
4608 if test "x$ac_cv_func_pam_fail_delay" = xyes
; then :
4609 cat >>confdefs.h
<<_ACEOF
4610 #define HAVE_PAM_FAIL_DELAY 1
4618 $as_echo "#define DISABLE_PAM /**/" >>confdefs.h
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling PAM" >&5
4621 $as_echo "$as_me: Disabling PAM" >&6;}
4626 # disable it by default
4628 $as_echo "#define DISABLE_PAM /**/" >>confdefs.h
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling PAM" >&5
4631 $as_echo "$as_me: Disabling PAM" >&6;}
4637 # Check whether --enable-openpty was given.
4638 if test "${enable_openpty+set}" = set; then :
4639 enableval
=$enable_openpty;
4640 if test "x$enableval" = "xno"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: Not using openpty" >&5
4642 $as_echo "$as_me: Not using openpty" >&6;}
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: Using openpty if available" >&5
4645 $as_echo "$as_me: Using openpty if available" >&6;}
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
4647 $as_echo_n "checking for library containing openpty... " >&6; }
4648 if ${ac_cv_search_openpty+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 ac_func_search_save_LIBS
=$LIBS
4652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4655 /* Override any GCC internal prototype to avoid an error.
4656 Use char because int might match the return type of a GCC
4657 builtin and then its argument prototype would still apply. */
4670 for ac_lib
in '' util
; do
4671 if test -z "$ac_lib"; then
4672 ac_res
="none required"
4675 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4677 if ac_fn_c_try_link
"$LINENO"; then :
4678 ac_cv_search_openpty
=$ac_res
4680 rm -f core conftest.err conftest.
$ac_objext \
4682 if ${ac_cv_search_openpty+:} false
; then :
4686 if ${ac_cv_search_openpty+:} false
; then :
4689 ac_cv_search_openpty
=no
4692 LIBS
=$ac_func_search_save_LIBS
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5
4695 $as_echo "$ac_cv_search_openpty" >&6; }
4696 ac_res
=$ac_cv_search_openpty
4697 if test "$ac_res" != no
; then :
4698 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4700 $as_echo "#define HAVE_OPENPTY /**/" >>confdefs.h
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: Using openpty if available" >&5
4709 $as_echo "$as_me: Using openpty if available" >&6;}
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
4711 $as_echo_n "checking for library containing openpty... " >&6; }
4712 if ${ac_cv_search_openpty+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_func_search_save_LIBS
=$LIBS
4716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4719 /* Override any GCC internal prototype to avoid an error.
4720 Use char because int might match the return type of a GCC
4721 builtin and then its argument prototype would still apply. */
4734 for ac_lib
in '' util
; do
4735 if test -z "$ac_lib"; then
4736 ac_res
="none required"
4739 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4741 if ac_fn_c_try_link
"$LINENO"; then :
4742 ac_cv_search_openpty
=$ac_res
4744 rm -f core conftest.err conftest.
$ac_objext \
4746 if ${ac_cv_search_openpty+:} false
; then :
4750 if ${ac_cv_search_openpty+:} false
; then :
4753 ac_cv_search_openpty
=no
4756 LIBS
=$ac_func_search_save_LIBS
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5
4759 $as_echo "$ac_cv_search_openpty" >&6; }
4760 ac_res
=$ac_cv_search_openpty
4761 if test "$ac_res" != no
; then :
4762 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4763 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
4773 # Check whether --enable-syslog was given.
4774 if test "${enable_syslog+set}" = set; then :
4775 enableval
=$enable_syslog;
4776 if test "x$enableval" = "xno"; then
4778 $as_echo "#define DISABLE_SYSLOG /**/" >>confdefs.h
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling syslog" >&5
4781 $as_echo "$as_me: Disabling syslog" >&6;}
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling syslog" >&5
4784 $as_echo "$as_me: Enabling syslog" >&6;}
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling syslog" >&5
4790 $as_echo "$as_me: Enabling syslog" >&6;}
4796 # Check whether --enable-shadow was given.
4797 if test "${enable_shadow+set}" = set; then :
4798 enableval
=$enable_shadow;
4799 if test "x$enableval" = "xno"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: Not using shadow passwords" >&5
4801 $as_echo "$as_me: Not using shadow passwords" >&6;}
4803 for ac_header
in shadow.h
4805 ac_fn_c_check_header_mongrel
"$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
4806 if test "x$ac_cv_header_shadow_h" = xyes
; then :
4807 cat >>confdefs.h
<<_ACEOF
4808 #define HAVE_SHADOW_H 1
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: Using shadow passwords if available" >&5
4816 $as_echo "$as_me: Using shadow passwords if available" >&6;}
4821 for ac_header
in shadow.h
4823 ac_fn_c_check_header_mongrel
"$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
4824 if test "x$ac_cv_header_shadow_h" = xyes
; then :
4825 cat >>confdefs.h
<<_ACEOF
4826 #define HAVE_SHADOW_H 1
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: Using shadow passwords if available" >&5
4834 $as_echo "$as_me: Using shadow passwords if available" >&6;}
4841 # Checks for header files.
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4843 $as_echo_n "checking for ANSI C header files... " >&6; }
4844 if ${ac_cv_header_stdc+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4862 if ac_fn_c_try_compile
"$LINENO"; then :
4863 ac_cv_header_stdc
=yes
4865 ac_cv_header_stdc
=no
4867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 if test $ac_cv_header_stdc = yes; then
4870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4877 $EGREP "memchr" >/dev
/null
2>&1; then :
4880 ac_cv_header_stdc
=no
4886 if test $ac_cv_header_stdc = yes; then
4887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4894 $EGREP "free" >/dev
/null
2>&1; then :
4897 ac_cv_header_stdc
=no
4903 if test $ac_cv_header_stdc = yes; then
4904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4905 if test "$cross_compiling" = yes; then :
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 #if ((' ' & 0x0FF) == 0x020)
4913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4916 # define ISLOWER(c) \
4917 (('a' <= (c) && (c) <= 'i') \
4918 || ('j' <= (c) && (c) <= 'r') \
4919 || ('s' <= (c) && (c) <= 'z'))
4920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4928 for (i = 0; i < 256; i++)
4929 if (XOR (islower (i), ISLOWER (i))
4930 || toupper (i) != TOUPPER (i))
4935 if ac_fn_c_try_run
"$LINENO"; then :
4938 ac_cv_header_stdc
=no
4940 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4941 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4947 $as_echo "$ac_cv_header_stdc" >&6; }
4948 if test $ac_cv_header_stdc = yes; then
4950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4955 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4956 if ${ac_cv_header_sys_wait_h+:} false
; then :
4957 $as_echo_n "(cached) " >&6
4959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961 #include <sys/types.h>
4962 #include <sys/wait.h>
4964 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4967 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4975 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4980 if ac_fn_c_try_compile
"$LINENO"; then :
4981 ac_cv_header_sys_wait_h
=yes
4983 ac_cv_header_sys_wait_h
=no
4985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4988 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4989 if test $ac_cv_header_sys_wait_h = yes; then
4991 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4995 for ac_header
in fcntl.h limits.h netinet
/in.h netinet
/tcp.h stdlib.h string.h sys
/socket.h sys
/time.h termios.h unistd.h
crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security
/pam_appl.h pam
/pam_appl.h netinet
/in_systm.h sys
/uio.h
4997 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4998 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4999 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5000 cat >>confdefs.h
<<_ACEOF
5001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5009 # Checks for typedefs, structures, and compiler characteristics.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5011 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5012 if ${ac_cv_c_const+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5023 /* Ultrix mips cc rejects this sort of thing. */
5024 typedef int charset[2];
5025 const charset cs = { 0, 0 };
5026 /* SunOS 4.1.1 cc rejects this. */
5027 char const *const *pcpcc;
5029 /* NEC SVR4.0.2 mips cc rejects this. */
5030 struct point {int x, y;};
5031 static struct point const zero = {0,0};
5032 /* AIX XL C 1.02.0.0 rejects this.
5033 It does not let you subtract one const X* pointer from another in
5034 an arm of an if-expression whose if-part is not a constant
5036 const char *g = "string";
5037 pcpcc = &g + (g ? g-g : 0);
5038 /* HPUX 7.0 cc rejects these. */
5040 ppc = (char**) pcpcc;
5041 pcpcc = (char const *const *) ppc;
5042 { /* SCO 3.2v4 cc rejects this sort of thing. */
5045 char const *s = 0 ? (char *) 0 : (char const *) 0;
5050 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5052 const int *foo = &x[0];
5055 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5056 typedef const int *iptr;
5060 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5061 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5062 struct s { int j; const int *ap[3]; } bx;
5063 struct s *b = &bx; b->j = 5;
5065 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5069 return !cs[0] && !zero.x;
5076 if ac_fn_c_try_compile
"$LINENO"; then :
5081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5084 $as_echo "$ac_cv_c_const" >&6; }
5085 if test $ac_cv_c_const = no
; then
5087 $as_echo "#define const /**/" >>confdefs.h
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5092 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5093 if ${ac_cv_type_uid_t+:} false
; then :
5094 $as_echo_n "(cached) " >&6
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/types.h>
5101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5102 $EGREP "uid_t" >/dev
/null
2>&1; then :
5103 ac_cv_type_uid_t
=yes
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5111 $as_echo "$ac_cv_type_uid_t" >&6; }
5112 if test $ac_cv_type_uid_t = no
; then
5114 $as_echo "#define uid_t int" >>confdefs.h
5117 $as_echo "#define gid_t int" >>confdefs.h
5121 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5122 if test "x$ac_cv_type_mode_t" = xyes
; then :
5126 cat >>confdefs.h
<<_ACEOF
5132 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5133 if test "x$ac_cv_type_pid_t" = xyes
; then :
5137 cat >>confdefs.h
<<_ACEOF
5143 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5144 if test "x$ac_cv_type_size_t" = xyes
; then :
5148 cat >>confdefs.h
<<_ACEOF
5149 #define size_t unsigned int
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5155 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5156 if ${ac_cv_header_time+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5161 #include <sys/types.h>
5162 #include <sys/time.h>
5168 if ((struct tm *) 0)
5174 if ac_fn_c_try_compile
"$LINENO"; then :
5175 ac_cv_header_time
=yes
5177 ac_cv_header_time
=no
5179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5182 $as_echo "$ac_cv_header_time" >&6; }
5183 if test $ac_cv_header_time = yes; then
5185 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5190 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
5191 if test "x$ac_cv_type_uint16_t" = xyes
; then :
5193 cat >>confdefs.h
<<_ACEOF
5194 #define HAVE_UINT16_T 1
5199 ac_fn_c_check_type
"$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
5200 if test "x$ac_cv_type_u_int16_t" = xyes
; then :
5202 cat >>confdefs.h
<<_ACEOF
5203 #define HAVE_U_INT16_T 1
5208 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "$ac_includes_default"
5209 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
5211 cat >>confdefs.h
<<_ACEOF
5212 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
5218 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5219 #include <sys/socket.h>
5221 if test "x$ac_cv_type_socklen_t" = xyes
; then :
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
5226 $as_echo_n "checking for socklen_t equivalent... " >&6; }
5227 if ${curl_cv_socklen_t_equiv+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5231 # Systems have either "struct sockaddr *" or
5232 # "void *" as the second argument to getpeername
5233 curl_cv_socklen_t_equiv
=
5234 for arg2
in "struct sockaddr" void
; do
5235 for t
in int size_t unsigned long
"unsigned long"; do
5236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5239 #include <sys/types.h>
5240 #include <sys/socket.h>
5242 int getpeername (int, $arg2 *, $t *);
5249 getpeername(0,0,&len);
5255 if ac_fn_c_try_compile
"$LINENO"; then :
5257 curl_cv_socklen_t_equiv
="$t"
5261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5265 if test "x$curl_cv_socklen_t_equiv" = x
; then
5266 as_fn_error $?
"Cannot find a type to use in place of socklen_t" "$LINENO" 5
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5
5272 $as_echo "$curl_cv_socklen_t_equiv" >&6; }
5274 cat >>confdefs.h
<<_ACEOF
5275 #define socklen_t $curl_cv_socklen_t_equiv
5281 # for the fake-rfc2553 stuff - straight from OpenSSH
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
5284 $as_echo_n "checking for struct sockaddr_storage... " >&6; }
5285 if ${ac_cv_have_struct_sockaddr_storage+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5292 #include <sys/types.h>
5293 #include <sys/socket.h>
5298 struct sockaddr_storage s;
5303 if ac_fn_c_try_compile
"$LINENO"; then :
5304 ac_cv_have_struct_sockaddr_storage
="yes"
5306 ac_cv_have_struct_sockaddr_storage
="no"
5309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_storage" >&5
5313 $as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; }
5314 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
5315 $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_in6" >&5
5320 $as_echo_n "checking for struct sockaddr_in6... " >&6; }
5321 if ${ac_cv_have_struct_sockaddr_in6+:} false
; then :
5322 $as_echo_n "(cached) " >&6
5325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5328 #include <sys/types.h>
5329 #include <netinet/in.h>
5334 struct sockaddr_in6 s; s.sin6_family = 0;
5339 if ac_fn_c_try_compile
"$LINENO"; then :
5340 ac_cv_have_struct_sockaddr_in6
="yes"
5342 ac_cv_have_struct_sockaddr_in6
="no"
5345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_in6" >&5
5349 $as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; }
5350 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
5352 $as_echo "#define HAVE_STRUCT_SOCKADDR_IN6 /**/" >>confdefs.h
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6_addr" >&5
5357 $as_echo_n "checking for struct in6_addr... " >&6; }
5358 if ${ac_cv_have_struct_in6_addr+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5365 #include <sys/types.h>
5366 #include <netinet/in.h>
5371 struct in6_addr s; s.s6_addr[0] = 0;
5376 if ac_fn_c_try_compile
"$LINENO"; then :
5377 ac_cv_have_struct_in6_addr
="yes"
5379 ac_cv_have_struct_in6_addr
="no"
5382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_in6_addr" >&5
5386 $as_echo "$ac_cv_have_struct_in6_addr" >&6; }
5387 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
5389 $as_echo "#define HAVE_STRUCT_IN6_ADDR /**/" >>confdefs.h
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
5394 $as_echo_n "checking for struct addrinfo... " >&6; }
5395 if ${ac_cv_have_struct_addrinfo+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5402 #include <sys/types.h>
5403 #include <sys/socket.h>
5409 struct addrinfo s; s.ai_flags = AI_PASSIVE;
5414 if ac_fn_c_try_compile
"$LINENO"; then :
5415 ac_cv_have_struct_addrinfo
="yes"
5417 ac_cv_have_struct_addrinfo
="no"
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_addrinfo" >&5
5424 $as_echo "$ac_cv_have_struct_addrinfo" >&6; }
5425 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
5427 $as_echo "#define HAVE_STRUCT_ADDRINFO /**/" >>confdefs.h
5432 # IRIX has a const char return value for gai_strerror()
5433 for ac_func
in gai_strerror
5435 ac_fn_c_check_func
"$LINENO" "gai_strerror" "ac_cv_func_gai_strerror"
5436 if test "x$ac_cv_func_gai_strerror" = xyes
; then :
5437 cat >>confdefs.h
<<_ACEOF
5438 #define HAVE_GAI_STRERROR 1
5441 $as_echo "#define HAVE_GAI_STRERROR 1" >>confdefs.h
5443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5446 #include <sys/types.h>
5447 #include <sys/socket.h>
5450 const char *gai_strerror(int);
5457 str = gai_strerror(0);
5462 if ac_fn_c_try_compile
"$LINENO"; then :
5465 $as_echo "#define HAVE_CONST_GAI_STRERROR_PROTO 1" >>confdefs.h
5468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
5476 #include <sys/types.h>
5482 if test "x$ac_cv_member_struct_utmp_ut_host" = xyes
; then :
5484 cat >>confdefs.h
<<_ACEOF
5485 #define HAVE_STRUCT_UTMP_UT_HOST 1
5490 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
5491 #include <sys/types.h>
5497 if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes
; then :
5499 cat >>confdefs.h
<<_ACEOF
5500 #define HAVE_STRUCT_UTMP_UT_PID 1
5505 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
5506 #include <sys/types.h>
5512 if test "x$ac_cv_member_struct_utmp_ut_type" = xyes
; then :
5514 cat >>confdefs.h
<<_ACEOF
5515 #define HAVE_STRUCT_UTMP_UT_TYPE 1
5520 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_tv" "ac_cv_member_struct_utmp_ut_tv" "
5521 #include <sys/types.h>
5527 if test "x$ac_cv_member_struct_utmp_ut_tv" = xyes
; then :
5529 cat >>confdefs.h
<<_ACEOF
5530 #define HAVE_STRUCT_UTMP_UT_TV 1
5535 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
5536 #include <sys/types.h>
5542 if test "x$ac_cv_member_struct_utmp_ut_id" = xyes
; then :
5544 cat >>confdefs.h
<<_ACEOF
5545 #define HAVE_STRUCT_UTMP_UT_ID 1
5550 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_addr" "ac_cv_member_struct_utmp_ut_addr" "
5551 #include <sys/types.h>
5557 if test "x$ac_cv_member_struct_utmp_ut_addr" = xyes
; then :
5559 cat >>confdefs.h
<<_ACEOF
5560 #define HAVE_STRUCT_UTMP_UT_ADDR 1
5565 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_addr_v6" "ac_cv_member_struct_utmp_ut_addr_v6" "
5566 #include <sys/types.h>
5572 if test "x$ac_cv_member_struct_utmp_ut_addr_v6" = xyes
; then :
5574 cat >>confdefs.h
<<_ACEOF
5575 #define HAVE_STRUCT_UTMP_UT_ADDR_V6 1
5580 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_exit" "ac_cv_member_struct_utmp_ut_exit" "
5581 #include <sys/types.h>
5587 if test "x$ac_cv_member_struct_utmp_ut_exit" = xyes
; then :
5589 cat >>confdefs.h
<<_ACEOF
5590 #define HAVE_STRUCT_UTMP_UT_EXIT 1
5595 ac_fn_c_check_member
"$LINENO" "struct utmp" "ut_time" "ac_cv_member_struct_utmp_ut_time" "
5596 #include <sys/types.h>
5602 if test "x$ac_cv_member_struct_utmp_ut_time" = xyes
; then :
5604 cat >>confdefs.h
<<_ACEOF
5605 #define HAVE_STRUCT_UTMP_UT_TIME 1
5612 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
5613 #include <sys/types.h>
5614 #include <sys/socket.h>
5620 if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes
; then :
5622 cat >>confdefs.h
<<_ACEOF
5623 #define HAVE_STRUCT_UTMPX_UT_HOST 1
5628 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "
5629 #include <sys/types.h>
5630 #include <sys/socket.h>
5636 if test "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes
; then :
5638 cat >>confdefs.h
<<_ACEOF
5639 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
5644 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_type" "ac_cv_member_struct_utmpx_ut_type" "
5645 #include <sys/types.h>
5646 #include <sys/socket.h>
5652 if test "x$ac_cv_member_struct_utmpx_ut_type" = xyes
; then :
5654 cat >>confdefs.h
<<_ACEOF
5655 #define HAVE_STRUCT_UTMPX_UT_TYPE 1
5660 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_id" "ac_cv_member_struct_utmpx_ut_id" "
5661 #include <sys/types.h>
5662 #include <sys/socket.h>
5668 if test "x$ac_cv_member_struct_utmpx_ut_id" = xyes
; then :
5670 cat >>confdefs.h
<<_ACEOF
5671 #define HAVE_STRUCT_UTMPX_UT_ID 1
5676 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_addr" "ac_cv_member_struct_utmpx_ut_addr" "
5677 #include <sys/types.h>
5678 #include <sys/socket.h>
5684 if test "x$ac_cv_member_struct_utmpx_ut_addr" = xyes
; then :
5686 cat >>confdefs.h
<<_ACEOF
5687 #define HAVE_STRUCT_UTMPX_UT_ADDR 1
5692 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_addr_v6" "ac_cv_member_struct_utmpx_ut_addr_v6" "
5693 #include <sys/types.h>
5694 #include <sys/socket.h>
5700 if test "x$ac_cv_member_struct_utmpx_ut_addr_v6" = xyes
; then :
5702 cat >>confdefs.h
<<_ACEOF
5703 #define HAVE_STRUCT_UTMPX_UT_ADDR_V6 1
5708 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_time" "ac_cv_member_struct_utmpx_ut_time" "
5709 #include <sys/types.h>
5710 #include <sys/socket.h>
5716 if test "x$ac_cv_member_struct_utmpx_ut_time" = xyes
; then :
5718 cat >>confdefs.h
<<_ACEOF
5719 #define HAVE_STRUCT_UTMPX_UT_TIME 1
5724 ac_fn_c_check_member
"$LINENO" "struct utmpx" "ut_tv" "ac_cv_member_struct_utmpx_ut_tv" "
5725 #include <sys/types.h>
5726 #include <sys/socket.h>
5732 if test "x$ac_cv_member_struct_utmpx_ut_tv" = xyes
; then :
5734 cat >>confdefs.h
<<_ACEOF
5735 #define HAVE_STRUCT_UTMPX_UT_TV 1
5742 ac_fn_c_check_member
"$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "
5743 #include <sys/types.h>
5744 #include <sys/socket.h>
5747 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes
; then :
5749 cat >>confdefs.h
<<_ACEOF
5750 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
5757 for ac_func
in endutent getutent getutid getutline pututline setutent
5759 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5760 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5761 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5762 cat >>confdefs.h
<<_ACEOF
5763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5769 for ac_func
in utmpname
5771 ac_fn_c_check_func
"$LINENO" "utmpname" "ac_cv_func_utmpname"
5772 if test "x$ac_cv_func_utmpname" = xyes
; then :
5773 cat >>confdefs.h
<<_ACEOF
5774 #define HAVE_UTMPNAME 1
5780 for ac_func
in endutxent getutxent getutxid getutxline pututxline
5782 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5783 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5784 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5785 cat >>confdefs.h
<<_ACEOF
5786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5792 for ac_func
in setutxent utmpxname
5794 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5796 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5797 cat >>confdefs.h
<<_ACEOF
5798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5804 for ac_func
in logout updwtmp logwtmp
5806 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5807 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5808 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5809 cat >>confdefs.h
<<_ACEOF
5810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5817 # Check whether --enable-bundled-libtom was given.
5818 if test "${enable_bundled_libtom+set}" = set; then :
5819 enableval
=$enable_bundled_libtom;
5820 if test "x$enableval" = "xyes"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: Forcing bundled libtom*" >&5
5823 $as_echo "$as_me: Forcing bundled libtom*" >&6;}
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
5827 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
5828 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5831 ac_check_lib_save_LIBS
=$LIBS
5832 LIBS
="-ltomcrypt $LIBS"
5833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5836 /* Override any GCC internal prototype to avoid an error.
5837 Use char because int might match the return type of a GCC
5838 builtin and then its argument prototype would still apply. */
5842 char register_cipher ();
5846 return register_cipher ();
5851 if ac_fn_c_try_link
"$LINENO"; then :
5852 ac_cv_lib_tomcrypt_register_cipher
=yes
5854 ac_cv_lib_tomcrypt_register_cipher
=no
5856 rm -f core conftest.err conftest.
$ac_objext \
5857 conftest
$ac_exeext conftest.
$ac_ext
5858 LIBS
=$ac_check_lib_save_LIBS
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
5861 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
5862 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
5863 cat >>confdefs.h
<<_ACEOF
5864 #define HAVE_LIBTOMCRYPT 1
5867 LIBS
="-ltomcrypt $LIBS"
5870 as_fn_error $?
"Missing system libtomcrypt and --disable-bundled-libtom was specified" "$LINENO" 5
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_exptmod in -ltommath" >&5
5874 $as_echo_n "checking for mp_exptmod in -ltommath... " >&6; }
5875 if ${ac_cv_lib_tommath_mp_exptmod+:} false
; then :
5876 $as_echo_n "(cached) " >&6
5878 ac_check_lib_save_LIBS
=$LIBS
5879 LIBS
="-ltommath $LIBS"
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5883 /* Override any GCC internal prototype to avoid an error.
5884 Use char because int might match the return type of a GCC
5885 builtin and then its argument prototype would still apply. */
5893 return mp_exptmod ();
5898 if ac_fn_c_try_link
"$LINENO"; then :
5899 ac_cv_lib_tommath_mp_exptmod
=yes
5901 ac_cv_lib_tommath_mp_exptmod
=no
5903 rm -f core conftest.err conftest.
$ac_objext \
5904 conftest
$ac_exeext conftest.
$ac_ext
5905 LIBS
=$ac_check_lib_save_LIBS
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tommath_mp_exptmod" >&5
5908 $as_echo "$ac_cv_lib_tommath_mp_exptmod" >&6; }
5909 if test "x$ac_cv_lib_tommath_mp_exptmod" = xyes
; then :
5910 cat >>confdefs.h
<<_ACEOF
5911 #define HAVE_LIBTOMMATH 1
5914 LIBS
="-ltommath $LIBS"
5917 as_fn_error $?
"Missing system libtomcrypt and --disable-bundled-libtom was specified" "$LINENO" 5
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
5926 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
5927 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
5928 $as_echo_n "(cached) " >&6
5930 ac_check_lib_save_LIBS
=$LIBS
5931 LIBS
="-ltomcrypt $LIBS"
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5935 /* Override any GCC internal prototype to avoid an error.
5936 Use char because int might match the return type of a GCC
5937 builtin and then its argument prototype would still apply. */
5941 char register_cipher ();
5945 return register_cipher ();
5950 if ac_fn_c_try_link
"$LINENO"; then :
5951 ac_cv_lib_tomcrypt_register_cipher
=yes
5953 ac_cv_lib_tomcrypt_register_cipher
=no
5955 rm -f core conftest.err conftest.
$ac_objext \
5956 conftest
$ac_exeext conftest.
$ac_ext
5957 LIBS
=$ac_check_lib_save_LIBS
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
5960 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
5961 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
5962 cat >>confdefs.h
<<_ACEOF
5963 #define HAVE_LIBTOMCRYPT 1
5966 LIBS
="-ltomcrypt $LIBS"
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_exptmod in -ltommath" >&5
5973 $as_echo_n "checking for mp_exptmod in -ltommath... " >&6; }
5974 if ${ac_cv_lib_tommath_mp_exptmod+:} false
; then :
5975 $as_echo_n "(cached) " >&6
5977 ac_check_lib_save_LIBS
=$LIBS
5978 LIBS
="-ltommath $LIBS"
5979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5982 /* Override any GCC internal prototype to avoid an error.
5983 Use char because int might match the return type of a GCC
5984 builtin and then its argument prototype would still apply. */
5992 return mp_exptmod ();
5997 if ac_fn_c_try_link
"$LINENO"; then :
5998 ac_cv_lib_tommath_mp_exptmod
=yes
6000 ac_cv_lib_tommath_mp_exptmod
=no
6002 rm -f core conftest.err conftest.
$ac_objext \
6003 conftest
$ac_exeext conftest.
$ac_ext
6004 LIBS
=$ac_check_lib_save_LIBS
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tommath_mp_exptmod" >&5
6007 $as_echo "$ac_cv_lib_tommath_mp_exptmod" >&6; }
6008 if test "x$ac_cv_lib_tommath_mp_exptmod" = xyes
; then :
6009 cat >>confdefs.h
<<_ACEOF
6010 #define HAVE_LIBTOMMATH 1
6013 LIBS
="-ltommath $LIBS"
6024 if test $BUNDLED_LIBTOM = 1 ; then
6026 $as_echo "#define BUNDLED_LIBTOM /**/" >>confdefs.h
6033 # Check whether --enable-lastlog was given.
6034 if test "${enable_lastlog+set}" = set; then :
6035 enableval
=$enable_lastlog;
6036 $as_echo "#define DISABLE_LASTLOG /**/" >>confdefs.h
6041 # Check whether --enable-utmp was given.
6042 if test "${enable_utmp+set}" = set; then :
6043 enableval
=$enable_utmp;
6044 $as_echo "#define DISABLE_UTMP /**/" >>confdefs.h
6049 # Check whether --enable-utmpx was given.
6050 if test "${enable_utmpx+set}" = set; then :
6051 enableval
=$enable_utmpx;
6052 $as_echo "#define DISABLE_UTMPX /**/" >>confdefs.h
6057 # Check whether --enable-wtmp was given.
6058 if test "${enable_wtmp+set}" = set; then :
6059 enableval
=$enable_wtmp;
6060 $as_echo "#define DISABLE_WTMP /**/" >>confdefs.h
6065 # Check whether --enable-wtmpx was given.
6066 if test "${enable_wtmpx+set}" = set; then :
6067 enableval
=$enable_wtmpx;
6068 $as_echo "#define DISABLE_WTMPX /**/" >>confdefs.h
6073 # Check whether --enable-loginfunc was given.
6074 if test "${enable_loginfunc+set}" = set; then :
6075 enableval
=$enable_loginfunc; no_loginfunc_check
=1
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: Not using login() etc" >&5
6077 $as_echo "$as_me: Not using login() etc" >&6;}
6081 # Check whether --enable-pututline was given.
6082 if test "${enable_pututline+set}" = set; then :
6083 enableval
=$enable_pututline;
6084 $as_echo "#define DISABLE_PUTUTLINE /**/" >>confdefs.h
6089 # Check whether --enable-pututxline was given.
6090 if test "${enable_pututxline+set}" = set; then :
6091 enableval
=$enable_pututxline;
6092 $as_echo "#define DISABLE_PUTUTXLINE /**/" >>confdefs.h
6098 # Check whether --with-lastlog was given.
6099 if test "${with_lastlog+set}" = set; then :
6100 withval
=$with_lastlog;
6101 if test "x$withval" = "xno" ; then
6102 $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h
6105 conf_lastlog_location
=$withval
6112 if test -z "$no_loginfunc_check"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5
6114 $as_echo_n "checking for library containing login... " >&6; }
6115 if ${ac_cv_search_login+:} false
; then :
6116 $as_echo_n "(cached) " >&6
6118 ac_func_search_save_LIBS
=$LIBS
6119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6122 /* Override any GCC internal prototype to avoid an error.
6123 Use char because int might match the return type of a GCC
6124 builtin and then its argument prototype would still apply. */
6137 for ac_lib
in '' util bsd
; do
6138 if test -z "$ac_lib"; then
6139 ac_res
="none required"
6142 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6144 if ac_fn_c_try_link
"$LINENO"; then :
6145 ac_cv_search_login
=$ac_res
6147 rm -f core conftest.err conftest.
$ac_objext \
6149 if ${ac_cv_search_login+:} false
; then :
6153 if ${ac_cv_search_login+:} false
; then :
6156 ac_cv_search_login
=no
6159 LIBS
=$ac_func_search_save_LIBS
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5
6162 $as_echo "$ac_cv_search_login" >&6; }
6163 ac_res
=$ac_cv_search_login
6164 if test "$ac_res" != no
; then :
6165 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6167 $as_echo "#define HAVE_LOGIN /**/" >>confdefs.h
6171 for ac_func
in logout updwtmp logwtmp
6173 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6174 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6175 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6176 cat >>confdefs.h
<<_ACEOF
6177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines LASTLOG_FILE" >&5
6187 $as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; }
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 #include <sys/types.h>
6193 #ifdef HAVE_LASTLOG_H
6194 # include <lastlog.h>
6206 char *lastlog = LASTLOG_FILE;
6211 if ac_fn_c_try_compile
"$LINENO"; then :
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines _PATH_LASTLOG" >&5
6219 $as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; }
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6223 #include <sys/types.h>
6225 #ifdef HAVE_LASTLOG_H
6226 # include <lastlog.h>
6235 char *lastlog = _PATH_LASTLOG;
6240 if ac_fn_c_try_compile
"$LINENO"; then :
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6242 $as_echo "yes" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6247 system_lastlog_path
=no
6250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6256 if test -z "$conf_lastlog_location"; then
6257 if test x
"$system_lastlog_path" = x
"no" ; then
6258 for f
in /var
/log
/lastlog
/usr
/adm
/lastlog
/var
/adm
/lastlog
/etc
/security
/lastlog
; do
6259 if (test -d "$f" ||
test -f "$f") ; then
6260 conf_lastlog_location
=$f
6263 if test -z "$conf_lastlog_location"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find lastlog **" >&5
6265 $as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
6270 if test -n "$conf_lastlog_location"; then
6272 cat >>confdefs.h
<<_ACEOF
6273 #define CONF_LASTLOG_FILE "$conf_lastlog_location"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMP_FILE" >&5
6279 $as_echo_n "checking if your system defines UTMP_FILE... " >&6; }
6280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6283 #include <sys/types.h>
6292 char *utmp = UTMP_FILE;
6297 if ac_fn_c_try_compile
"$LINENO"; then :
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6299 $as_echo "yes" >&6; }
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 if test -z "$conf_utmp_location"; then
6308 if test x
"$system_utmp_path" = x
"no" ; then
6309 for f
in /etc
/utmp
/usr
/adm
/utmp
/var
/run
/utmp
; do
6310 if test -f $f ; then
6311 conf_utmp_location
=$f
6314 if test -z "$conf_utmp_location"; then
6315 $as_echo "#define DISABLE_UTMP 1" >>confdefs.h
6320 if test -n "$conf_utmp_location"; then
6322 cat >>confdefs.h
<<_ACEOF
6323 #define CONF_UTMP_FILE "$conf_utmp_location"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMP_FILE" >&5
6329 $as_echo_n "checking if your system defines WTMP_FILE... " >&6; }
6330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6333 #include <sys/types.h>
6342 char *wtmp = WTMP_FILE;
6347 if ac_fn_c_try_compile
"$LINENO"; then :
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6349 $as_echo "yes" >&6; }
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352 $as_echo "no" >&6; }
6356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6357 if test -z "$conf_wtmp_location"; then
6358 if test x
"$system_wtmp_path" = x
"no" ; then
6359 for f
in /usr
/adm
/wtmp
/var
/log
/wtmp
; do
6360 if test -f $f ; then
6361 conf_wtmp_location
=$f
6364 if test -z "$conf_wtmp_location"; then
6365 $as_echo "#define DISABLE_WTMP 1" >>confdefs.h
6370 if test -n "$conf_wtmp_location"; then
6372 cat >>confdefs.h
<<_ACEOF
6373 #define CONF_WTMP_FILE "$conf_wtmp_location"
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMPX_FILE" >&5
6380 $as_echo_n "checking if your system defines UTMPX_FILE... " >&6; }
6381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6384 #include <sys/types.h>
6396 char *utmpx = UTMPX_FILE;
6401 if ac_fn_c_try_compile
"$LINENO"; then :
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6403 $as_echo "yes" >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6406 $as_echo "no" >&6; }
6407 system_utmpx_path
=no
6410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 if test -z "$conf_utmpx_location"; then
6412 if test x
"$system_utmpx_path" = x
"no" ; then
6413 $as_echo "#define DISABLE_UTMPX 1" >>confdefs.h
6418 cat >>confdefs.h
<<_ACEOF
6419 #define CONF_UTMPX_FILE "$conf_utmpx_location"
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMPX_FILE" >&5
6425 $as_echo_n "checking if your system defines WTMPX_FILE... " >&6; }
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6429 #include <sys/types.h>
6441 char *wtmpx = WTMPX_FILE;
6446 if ac_fn_c_try_compile
"$LINENO"; then :
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6448 $as_echo "yes" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6452 system_wtmpx_path
=no
6455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6456 if test -z "$conf_wtmpx_location"; then
6457 if test x
"$system_wtmpx_path" = x
"no" ; then
6458 $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h
6463 cat >>confdefs.h
<<_ACEOF
6464 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
6469 # Checks for library functions.
6470 if test $ac_cv_c_compiler_gnu = yes; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6472 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
6473 if ${ac_cv_prog_gcc_traditional+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 ac_pattern
="Autoconf.*'x'"
6477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
6484 ac_cv_prog_gcc_traditional
=yes
6486 ac_cv_prog_gcc_traditional
=no
6491 if test $ac_cv_prog_gcc_traditional = no
; then
6492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6498 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
6499 ac_cv_prog_gcc_traditional
=yes
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6506 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6507 if test $ac_cv_prog_gcc_traditional = yes; then
6508 CC
="$CC -traditional"
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
6513 $as_echo_n "checking for working memcmp... " >&6; }
6514 if ${ac_cv_func_memcmp_working+:} false
; then :
6515 $as_echo_n "(cached) " >&6
6517 if test "$cross_compiling" = yes; then :
6518 ac_cv_func_memcmp_working
=no
6520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 $ac_includes_default
6527 /* Some versions of memcmp are not 8-bit clean. */
6528 char c0 = '\100', c1 = '\200', c2 = '\201';
6529 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6532 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6533 or more and with at least one buffer not starting on a 4-byte boundary.
6534 William Lewis provided this test program. */
6539 for (i = 0; i < 4; i++)
6543 strcpy (a, "--------01111111");
6544 strcpy (b, "--------10000000");
6545 if (memcmp (a, b, 16) >= 0)
6555 if ac_fn_c_try_run
"$LINENO"; then :
6556 ac_cv_func_memcmp_working
=yes
6558 ac_cv_func_memcmp_working
=no
6560 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6561 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
6566 $as_echo "$ac_cv_func_memcmp_working" >&6; }
6567 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
6568 *" memcmp.$ac_objext "* ) ;;
6569 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
6574 for ac_header
in sys
/select.h sys
/socket.h
6576 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6578 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6579 cat >>confdefs.h
<<_ACEOF
6580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
6588 $as_echo_n "checking types of arguments for select... " >&6; }
6589 if ${ac_cv_func_select_args+:} false
; then :
6590 $as_echo_n "(cached) " >&6
6592 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
6593 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6594 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 $ac_includes_default
6598 #ifdef HAVE_SYS_SELECT_H
6599 # include <sys/select.h>
6601 #ifdef HAVE_SYS_SOCKET_H
6602 # include <sys/socket.h>
6608 extern int select ($ac_arg1,
6609 $ac_arg234, $ac_arg234, $ac_arg234,
6615 if ac_fn_c_try_compile
"$LINENO"; then :
6616 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6622 # Provide a safe default value.
6623 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
6627 $as_echo "$ac_cv_func_select_args" >&6; }
6628 ac_save_IFS
=$IFS; IFS
=','
6629 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6633 cat >>confdefs.h
<<_ACEOF
6634 #define SELECT_TYPE_ARG1 $1
6638 cat >>confdefs.h
<<_ACEOF
6639 #define SELECT_TYPE_ARG234 ($2)
6643 cat >>confdefs.h
<<_ACEOF
6644 #define SELECT_TYPE_ARG5 ($3)
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6650 $as_echo_n "checking return type of signal handlers... " >&6; }
6651 if ${ac_cv_type_signal+:} false
; then :
6652 $as_echo_n "(cached) " >&6
6654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6656 #include <sys/types.h>
6662 return *(signal (0, 0)) (0) == 1;
6667 if ac_fn_c_try_compile
"$LINENO"; then :
6668 ac_cv_type_signal
=int
6670 ac_cv_type_signal
=void
6672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
6675 $as_echo "$ac_cv_type_signal" >&6; }
6677 cat >>confdefs.h
<<_ACEOF
6678 #define RETSIGTYPE $ac_cv_type_signal
6682 for ac_func
in dup2 getspnam getusershell memset putenv
select socket strdup clearenv strlcpy strlcat daemon
basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev
6684 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6685 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6686 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6687 cat >>confdefs.h
<<_ACEOF
6688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing basename" >&5
6696 $as_echo_n "checking for library containing basename... " >&6; }
6697 if ${ac_cv_search_basename+:} false
; then :
6698 $as_echo_n "(cached) " >&6
6700 ac_func_search_save_LIBS
=$LIBS
6701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6704 /* Override any GCC internal prototype to avoid an error.
6705 Use char because int might match the return type of a GCC
6706 builtin and then its argument prototype would still apply. */
6719 for ac_lib
in '' gen
; do
6720 if test -z "$ac_lib"; then
6721 ac_res
="none required"
6724 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6726 if ac_fn_c_try_link
"$LINENO"; then :
6727 ac_cv_search_basename
=$ac_res
6729 rm -f core conftest.err conftest.
$ac_objext \
6731 if ${ac_cv_search_basename+:} false
; then :
6735 if ${ac_cv_search_basename+:} false
; then :
6738 ac_cv_search_basename
=no
6741 LIBS
=$ac_func_search_save_LIBS
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_basename" >&5
6744 $as_echo "$ac_cv_search_basename" >&6; }
6745 ac_res
=$ac_cv_search_basename
6746 if test "$ac_res" != no
; then :
6747 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6748 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
6753 # Solaris needs ptmx
6754 if test -z "$no_ptmx_check" ; then
6755 if test x
"$cross_compiling" = x
"no" ; then
6756 as_ac_File
=`$as_echo "ac_cv_file_"/dev/ptmx"" | $as_tr_sh`
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptmx\"" >&5
6758 $as_echo_n "checking for \"/dev/ptmx\"... " >&6; }
6759 if eval \
${$as_ac_File+:} false
; then :
6760 $as_echo_n "(cached) " >&6
6762 test "$cross_compiling" = yes &&
6763 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6764 if test -r ""/dev
/ptmx
""; then
6765 eval "$as_ac_File=yes"
6767 eval "$as_ac_File=no"
6770 eval ac_res
=\$
$as_ac_File
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6772 $as_echo "$ac_res" >&6; }
6773 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
6775 $as_echo "#define USE_DEV_PTMX /**/" >>confdefs.h
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: Not checking for /dev/ptmx, we're cross-compiling" >&5
6781 $as_echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
6785 if test -z "$no_ptc_check" ; then
6786 if test x
"$cross_compiling" = x
"no" ; then
6787 as_ac_File
=`$as_echo "ac_cv_file_"/dev/ptc"" | $as_tr_sh`
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptc\"" >&5
6789 $as_echo_n "checking for \"/dev/ptc\"... " >&6; }
6790 if eval \
${$as_ac_File+:} false
; then :
6791 $as_echo_n "(cached) " >&6
6793 test "$cross_compiling" = yes &&
6794 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
6795 if test -r ""/dev
/ptc
""; then
6796 eval "$as_ac_File=yes"
6798 eval "$as_ac_File=no"
6801 eval ac_res
=\$
$as_ac_File
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6803 $as_echo "$ac_res" >&6; }
6804 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
6806 $as_echo "#define HAVE_DEV_PTS_AND_PTC /**/" >>confdefs.h
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
6812 $as_echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
6818 # XXX there must be a nicer way to do this
6819 as_dir
=libtomcrypt
/src
/ciphers
/aes
; as_fn_mkdir_p
6820 as_dir
=libtomcrypt
/src
/ciphers
/safer
; as_fn_mkdir_p
6821 as_dir
=libtomcrypt
/src
/ciphers
/twofish
; as_fn_mkdir_p
6822 as_dir
=libtomcrypt
/src
/encauth
/ccm
; as_fn_mkdir_p
6823 as_dir
=libtomcrypt
/src
/encauth
/eax
; as_fn_mkdir_p
6824 as_dir
=libtomcrypt
/src
/encauth
/gcm
; as_fn_mkdir_p
6825 as_dir
=libtomcrypt
/src
/encauth
/ocb
; as_fn_mkdir_p
6826 as_dir
=libtomcrypt
/src
/hashes
; as_fn_mkdir_p
6827 as_dir
=libtomcrypt
/src
/hashes
/chc
; as_fn_mkdir_p
6828 as_dir
=libtomcrypt
/src
/hashes
/helper
; as_fn_mkdir_p
6829 as_dir
=libtomcrypt
/src
/hashes
/sha2
; as_fn_mkdir_p
6830 as_dir
=libtomcrypt
/src
/hashes
/whirl
; as_fn_mkdir_p
6831 as_dir
=libtomcrypt
/src
/mac
/hmac
; as_fn_mkdir_p
6832 as_dir
=libtomcrypt
/src
/mac
/omac
; as_fn_mkdir_p
6833 as_dir
=libtomcrypt
/src
/mac
/pelican
; as_fn_mkdir_p
6834 as_dir
=libtomcrypt
/src
/mac
/pmac
; as_fn_mkdir_p
6835 as_dir
=libtomcrypt
/src
/mac
/f9
; as_fn_mkdir_p
6836 as_dir
=libtomcrypt
/src
/mac
/xcbc
; as_fn_mkdir_p
6837 as_dir
=libtomcrypt
/src
/math
/fp
; as_fn_mkdir_p
6838 as_dir
=libtomcrypt
/src
/misc
/base64
; as_fn_mkdir_p
6839 as_dir
=libtomcrypt
/src
/misc
/crypt; as_fn_mkdir_p
6840 as_dir
=libtomcrypt
/src
/misc
/mpi
; as_fn_mkdir_p
6841 as_dir
=libtomcrypt
/src
/misc
/pkcs5
; as_fn_mkdir_p
6842 as_dir
=libtomcrypt
/src
/modes
/cbc
; as_fn_mkdir_p
6843 as_dir
=libtomcrypt
/src
/modes
/cfb
; as_fn_mkdir_p
6844 as_dir
=libtomcrypt
/src
/modes
/ctr
; as_fn_mkdir_p
6845 as_dir
=libtomcrypt
/src
/modes
/ecb
; as_fn_mkdir_p
6846 as_dir
=libtomcrypt
/src
/modes
/ofb
; as_fn_mkdir_p
6847 as_dir
=libtomcrypt
/src
/modes
/f8
; as_fn_mkdir_p
6848 as_dir
=libtomcrypt
/src
/modes
/lrw
; as_fn_mkdir_p
6849 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/bit
; as_fn_mkdir_p
6850 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/choice
; as_fn_mkdir_p
6851 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/ia5
; as_fn_mkdir_p
6852 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/integer
; as_fn_mkdir_p
6853 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/object_identifier
; as_fn_mkdir_p
6854 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/octet
; as_fn_mkdir_p
6855 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/printable_string
; as_fn_mkdir_p
6856 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/sequence
; as_fn_mkdir_p
6857 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/short_integer
; as_fn_mkdir_p
6858 as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/utctime
; as_fn_mkdir_p
6859 as_dir
=libtomcrypt
/src
/pk
/dh
; as_fn_mkdir_p
6860 as_dir
=libtomcrypt
/src
/pk
/dsa
; as_fn_mkdir_p
6861 as_dir
=libtomcrypt
/src
/pk
/ecc
; as_fn_mkdir_p
6862 as_dir
=libtomcrypt
/src
/pk
/pkcs1
; as_fn_mkdir_p
6863 as_dir
=libtomcrypt
/src
/pk
/rsa
; as_fn_mkdir_p
6864 as_dir
=libtomcrypt
/src
/prng
; as_fn_mkdir_p
6865 ac_config_headers
="$ac_config_headers config.h"
6867 ac_config_files
="$ac_config_files Makefile"
6869 cat >confcache
<<\_ACEOF
6870 # This file is a shell script that caches the results of configure
6871 # tests run on this system so they can be shared between configure
6872 # scripts and configure runs, see configure's option --config-cache.
6873 # It is not useful on other systems. If it contains results you don't
6874 # want to keep, you may remove or edit it.
6876 # config.status only pays attention to the cache file if you give it
6877 # the --recheck option to rerun configure.
6879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6885 # The following way of writing the cache mishandles newlines in values,
6886 # but we know of no workaround that is simple, portable, and efficient.
6887 # So, we kill variables containing newlines.
6888 # Ultrix sh set writes to stderr and can't be redirected directly,
6889 # and sets the high bit in the cache file unless we assign to the vars.
6891 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6892 eval ac_val
=\$
$ac_var
6896 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6900 _ | IFS | as_nl
) ;; #(
6901 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6902 *) { eval $ac_var=; unset $ac_var;} ;;
6908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6909 *${as_nl}ac_space
=\
*)
6910 # `set' does not quote correctly, so add quotes: double-quote
6911 # substitution turns \\\\ into \\, and sed turns \\ into \.
6914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6917 # `set' quotes correctly as required by POSIX, so do not add quotes.
6918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6931 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6932 if test -w "$cache_file"; then
6933 if test "x$cache_file" != "x/dev/null"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6935 $as_echo "$as_me: updating cache $cache_file" >&6;}
6936 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6937 cat confcache
>"$cache_file"
6939 case $cache_file in #(
6941 mv -f confcache
"$cache_file"$$
&&
6942 mv -f "$cache_file"$$
"$cache_file" ;; #(
6944 mv -f confcache
"$cache_file" ;;
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6950 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6955 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6956 # Let make expand exec_prefix.
6957 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6959 DEFS
=-DHAVE_CONFIG_H
6964 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6965 # 1. Remove the extension, and $U if already installed.
6966 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6967 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6968 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6969 # will be set to the directory where LIBOBJS objects are built.
6970 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6971 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6975 LTLIBOBJS
=$ac_ltlibobjs
6979 : "${CONFIG_STATUS=./config.status}"
6981 ac_clean_files_save
=$ac_clean_files
6982 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6984 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6986 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6988 # Generated by $as_me.
6989 # Run this file to recreate the current configuration.
6990 # Compiler output produced by configure, useful for debugging
6991 # configure, is in config.log if it exists.
6997 SHELL=\${CONFIG_SHELL-$SHELL}
7000 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7001 ## -------------------- ##
7002 ## M4sh Initialization. ##
7003 ## -------------------- ##
7005 # Be more Bourne compatible
7006 DUALCASE
=1; export DUALCASE
# for MKS sh
7007 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7010 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7011 # is contrary to our usage. Disable this feature.
7012 alias -g '${1+"$@"}'='"$@"'
7013 setopt NO_GLOB_SUBST
7015 case `(set -o) 2>/dev/null` in #(
7027 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7028 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7031 # Prefer a ksh shell builtin over an external printf program on Solaris,
7032 # but without wasting forks for bash or zsh.
7033 if test -z "$BASH_VERSION$ZSH_VERSION" \
7034 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7035 as_echo='print
-r --'
7036 as_echo_n='print
-rn --'
7037 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7038 as_echo='printf %s
\n'
7039 as_echo_n='printf %s
'
7041 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7042 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7043 as_echo_n='/usr
/ucb
/echo -n'
7045 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7046 as_echo_n_body='eval
7050 expr "X$arg" : "X\\(.*\\)$as_nl";
7051 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7053 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7055 export as_echo_n_body
7056 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7059 as_echo='sh
-c $as_echo_body as_echo
'
7062 # The user is always right.
7063 if test "${PATH_SEPARATOR+set}" != set; then
7065 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7066 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7073 # We need space, tab and new line, in precisely that order. Quoting is
7074 # there to prevent editors from complaining about space-tab.
7075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7076 # splitting by setting IFS to empty value.)
7079 # Find who we are. Look in the path if we contain no directory separator.
7082 *[\\/]* ) as_myself=$0 ;;
7083 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7094 # We did not find ourselves, most probably we were run as `sh COMMAND'
7095 # in which case we are not to be found in the path.
7096 if test "x$as_myself" = x
; then
7099 if test ! -f "$as_myself"; then
7100 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7104 # Unset variables that we do not need and which cause bugs (e.g. in
7105 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7106 # suppresses any "Segmentation fault" message there. '((' could
7107 # trigger a bug in pdksh 5.2.14.
7108 for as_var
in BASH_ENV ENV MAIL MAILPATH
7109 do eval test x\
${$as_var+set} = xset \
7110 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7123 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7126 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7127 # ----------------------------------------
7128 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7129 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7130 # script with STATUS, using 1 if that was 0.
7133 as_status
=$1; test $as_status -eq 0 && as_status
=1
7135 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7136 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7138 $as_echo "$as_me: error: $2" >&2
7139 as_fn_exit
$as_status
7143 # as_fn_set_status STATUS
7144 # -----------------------
7145 # Set $? to STATUS, without forking.
7149 } # as_fn_set_status
7153 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7163 # Portably unset VAR.
7166 { eval $1=; unset $1;}
7168 as_unset
=as_fn_unset
7169 # as_fn_append VAR VALUE
7170 # ----------------------
7171 # Append the text in VALUE to the end of the definition contained in VAR. Take
7172 # advantage of any shell optimizations that allow amortized linear growth over
7173 # repeated appends, instead of the typical quadratic growth present in naive
7175 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7176 eval 'as_fn_append ()
7187 # as_fn_arith ARG...
7188 # ------------------
7189 # Perform arithmetic evaluation on the ARGs, and store the result in the
7190 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7191 # must be portable across $(()) and expr.
7192 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7193 eval 'as_fn_arith ()
7200 as_val
=`expr "$@" || test $? -eq 1`
7205 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7206 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7212 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7213 as_basename
=basename
7218 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7224 as_me
=`$as_basename -- "$0" ||
7225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7226 X"$0" : 'X\(//\)$' \| \
7227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7229 sed '/^.*\/\([^/][^/]*\)\/*$/{
7243 # Avoid depending upon Character Ranges.
7244 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7245 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7246 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7247 as_cr_digits
='0123456789'
7248 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7250 ECHO_C
= ECHO_N
= ECHO_T
=
7251 case `echo -n x` in #(((((
7253 case `echo 'xy\c'` in
7254 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7256 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7263 rm -f conf$$ conf$$.exe conf$$.
file
7264 if test -d conf$$.dir
; then
7265 rm -f conf$$.dir
/conf$$.
file
7268 mkdir conf$$.dir
2>/dev
/null
7270 if (echo >conf$$.
file) 2>/dev
/null
; then
7271 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7273 # ... but there are two gotchas:
7274 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7275 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7276 # In both cases, we have to default to `cp -pR'.
7277 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7279 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7287 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7288 rmdir conf$$.dir
2>/dev
/null
7293 # Create "$as_dir" as a directory, including parents if necessary.
7298 -*) as_dir
=.
/$as_dir;;
7300 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7304 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7305 *) as_qdir
=$as_dir;;
7307 as_dirs
="'$as_qdir' $as_dirs"
7308 as_dir
=`$as_dirname -- "$as_dir" ||
7309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7310 X"$as_dir" : 'X\(//\)[^/]' \| \
7311 X"$as_dir" : 'X\(//\)$' \| \
7312 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7313 $as_echo X"$as_dir" |
7314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7331 test -d "$as_dir" && break
7333 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7334 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7338 if mkdir
-p .
2>/dev
/null
; then
7339 as_mkdir_p
='mkdir -p "$as_dir"'
7341 test -d .
/-p && rmdir .
/-p
7346 # as_fn_executable_p FILE
7347 # -----------------------
7348 # Test if FILE is an executable regular file.
7349 as_fn_executable_p
()
7351 test -f "$1" && test -x "$1"
7352 } # as_fn_executable_p
7354 as_executable_p
=as_fn_executable_p
7356 # Sed expression to map a string onto a valid CPP name.
7357 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7359 # Sed expression to map a string onto a valid variable name.
7360 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7364 ## ----------------------------------- ##
7365 ## Main body of $CONFIG_STATUS script. ##
7366 ## ----------------------------------- ##
7368 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7371 # Save the log message, to keep $0 and so on meaningful, and to
7372 # report actual input values of CONFIG_FILES etc. instead of their
7373 # values after options handling.
7375 This file was extended by $as_me, which was
7376 generated by GNU Autoconf 2.69. Invocation command line was
7378 CONFIG_FILES = $CONFIG_FILES
7379 CONFIG_HEADERS = $CONFIG_HEADERS
7380 CONFIG_LINKS = $CONFIG_LINKS
7381 CONFIG_COMMANDS = $CONFIG_COMMANDS
7384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7389 case $ac_config_files in *"
7390 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7393 case $ac_config_headers in *"
7394 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7399 # Files that config.status was made for.
7400 config_files="$ac_config_files"
7401 config_headers="$ac_config_headers"
7405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7407 \`$as_me' instantiates files and other configuration actions
7408 from templates according to the current configuration. Unless the files
7409 and actions are specified as TAGs, all are instantiated by default.
7411 Usage: $0 [OPTION]... [TAG]...
7413 -h, --help print this help, then exit
7414 -V, --version print version number and configuration settings, then exit
7415 --config print configuration, then exit
7416 -q, --quiet, --silent
7417 do not print progress messages
7418 -d, --debug don't remove temporary files
7419 --recheck update $as_me by reconfiguring in the same conditions
7420 --file=FILE[:TEMPLATE]
7421 instantiate the configuration file FILE
7422 --header=FILE[:TEMPLATE]
7423 instantiate the configuration header FILE
7425 Configuration files:
7428 Configuration headers:
7431 Report bugs to the package provider."
7434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7435 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7438 configured by $0, generated by GNU Autoconf 2.69,
7439 with options \\"\$ac_cs_config\\"
7441 Copyright (C) 2012 Free Software Foundation, Inc.
7442 This config.status script is free software; the Free Software Foundation
7443 gives unlimited permission to copy, distribute and modify it."
7447 test -n "\$AWK" || AWK=awk
7450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7451 # The default lists apply if the user does not specify any file.
7457 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7458 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7462 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7474 # Handling of the options.
7475 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7477 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7478 $as_echo "$ac_cs_version"; exit ;;
7479 --config |
--confi |
--conf |
--con |
--co |
--c )
7480 $as_echo "$ac_cs_config"; exit ;;
7481 --debug |
--debu |
--deb |
--de |
--d |
-d )
7483 --file |
--fil |
--fi |
--f )
7486 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7487 '') as_fn_error $?
"missing file argument" ;;
7489 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7490 ac_need_defaults
=false
;;
7491 --header |
--heade |
--head |
--hea )
7494 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7496 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7497 ac_need_defaults
=false
;;
7499 # Conflict between --help and --header
7500 as_fn_error $?
"ambiguous option: \`$1'
7501 Try \`$0 --help' for more information.";;
7502 --help |
--hel |
-h )
7503 $as_echo "$ac_cs_usage"; exit ;;
7504 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7505 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7509 -*) as_fn_error $?
"unrecognized option: \`$1'
7510 Try \`$0 --help' for more information." ;;
7512 *) as_fn_append ac_config_targets
" $1"
7513 ac_need_defaults
=false
;;
7519 ac_configure_extra_args
=
7521 if $ac_cs_silent; then
7523 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7528 if \$ac_cs_recheck; then
7529 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7531 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7532 CONFIG_SHELL='$SHELL'
7538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7543 ## Running $as_me. ##
7549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7554 # Handling of arguments.
7555 for ac_config_target
in $ac_config_targets
7557 case $ac_config_target in
7558 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7559 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7561 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7566 # If the user did not use the arguments to specify the items to instantiate,
7567 # then the envvar interface is used. Set only those that are not.
7568 # We use the long form for the default assignment because of an extremely
7569 # bizarre bug on SunOS 4.1.3.
7570 if $ac_need_defaults; then
7571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7572 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7575 # Have a temporary directory for convenience. Make it in the build tree
7576 # simply because there is no reason against having it here, and in addition,
7577 # creating and moving files from /tmp can sometimes cause problems.
7578 # Hook for its removal unless debugging.
7579 # Note that there is a small window in which the directory will not be cleaned:
7580 # after its creation but before its name has been assigned to `$tmp'.
7584 trap 'exit_status=$?
7586 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7588 trap 'as_fn_exit 1' 1 2 13 15
7590 # Create a (secure) tmp directory for tmp files.
7593 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7597 tmp
=.
/conf$$
-$RANDOM
7598 (umask 077 && mkdir
"$tmp")
7599 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7602 # Set up the scripts for CONFIG_FILES section.
7603 # No need to generate them if there are no CONFIG_FILES.
7604 # This happens for instance with `./config.status config.h'.
7605 if test -n "$CONFIG_FILES"; then
7608 ac_cr
=`echo X | tr X '\015'`
7609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7610 # But we know of no other shell where ac_cr would be empty at this
7611 # point, so we can use a bashism as a fallback.
7612 if test "x$ac_cr" = x
; then
7613 eval ac_cr
=\$
\'\\r
\'
7615 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7622 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7627 echo "cat >conf$$subs.awk <<_ACEOF" &&
7628 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7631 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7632 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7634 for ac_last_try in false false false false false :; do
7635 . ./conf$$subs.sh ||
7636 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7638 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7639 if test $ac_delim_n = $ac_delim_num; then
7641 elif $ac_last_try; then
7642 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7644 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7650 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7654 s/^/S["/; s
/!.
*/"]=/
7664 s/\(.\{148\}\)..*/\1/
7666 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7671 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7678 s/\(.\{148\}\)..*/\1/
7680 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7684 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7689 ' <conf$$subs.awk | sed '
7694 ' >>$CONFIG_STATUS || ac_write_fail=1
7695 rm -f conf$$subs.awk
7696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7698 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7699 for (key in S) S_is_set[key] = 1
7705 nfields = split(line, field, "@
")
7707 len = length(field[1])
7708 for (i = 2; i < nfields; i++) {
7710 keylen = length(key)
7711 if (S_is_set[key]) {
7713 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7714 len += length(value) + length(field[++i])
7725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7726 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7727 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7730 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7731 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7734 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7735 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7736 # trailing colons and then remove the whole line if VPATH becomes empty
7737 # (actually we leave an empty line to preserve line numbers).
7738 if test "x
$srcdir" = x.; then
7739 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7758 fi # test -n "$CONFIG_FILES"
7760 # Set up the scripts for CONFIG_HEADERS section.
7761 # No need to generate them if there are no CONFIG_HEADERS.
7762 # This happens for instance with `./config.status Makefile'.
7763 if test -n "$CONFIG_HEADERS"; then
7764 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7768 # Transform confdefs.h into an awk script `defines.awk', embedded as
7769 # here-document in config.status, that substitutes the proper values into
7770 # config.h.in to produce config.h.
7772 # Create a delimiter string that does not exist in confdefs.h, to ease
7773 # handling of long lines.
7775 for ac_last_try in false false :; do
7776 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7777 if test -z "$ac_tt"; then
7779 elif $ac_last_try; then
7780 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7782 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7786 # For the awk script, D is an array of macro values keyed by name,
7787 # likewise P contains macro parameters if any. Preserve backslash
7788 # newline sequences.
7790 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7792 s/.\{148\}/&'"$ac_delim"'/g
7795 s/^[ ]*#[ ]*define[ ][ ]*/ /
7802 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7804 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7809 D["\
1"]=" \
3\\\\\\n
"\\/p
7811 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7816 s/.\{148\}/&'"$ac_delim"'/g
7821 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7824 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7826 ' <confdefs.h | sed '
7827 s/'"$ac_delim"'/"\\\
7828 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7831 for (key in D) D_is_set[key] = 1
7834 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7836 split(line, arg, " ")
7837 if (arg[1] == "#") {
7841 defundef
= substr
(arg
[1], 2)
7844 split(mac1
, mac2
, "(") #)
7846 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7847 if (D_is_set
[macro
]) {
7848 # Preserve the white space surrounding the "#".
7849 print prefix
"define", macro P
[macro
] D
[macro
]
7852 # Replace #undef with comments. This is necessary, for example,
7853 # in the case of _POSIX_SOURCE, which is predefined and required
7854 # on some systems where configure will not decide to define it.
7855 if (defundef
== "undef") {
7856 print
"/*", prefix defundef
, macro
, "*/"
7864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7865 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7866 fi # test -n "$CONFIG_HEADERS"
7869 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
7874 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7876 case $ac_mode$ac_tag in
7878 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7879 :[FH
]-) ac_tag
=-:-;;
7880 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7897 -) ac_f
="$ac_tmp/stdin";;
7898 *) # Look for the file first in the build tree, then in the source tree
7899 # (if the path is not absolute). The absolute path cannot be DOS-style,
7900 # because $ac_f cannot contain `:'.
7904 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7906 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7908 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7909 as_fn_append ac_file_inputs
" '$ac_f'"
7912 # Let's still pretend it is `configure' which instantiates (i.e., don't
7913 # use $as_me), people would be surprised to read:
7914 # /* config.h. Generated by config.status. */
7915 configure_input
='Generated from '`
7916 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7918 if test x
"$ac_file" != x-
; then
7919 configure_input
="$ac_file. $configure_input"
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7921 $as_echo "$as_me: creating $ac_file" >&6;}
7923 # Neutralize special characters interpreted by sed in replacement strings.
7924 case $configure_input in #(
7925 *\
&* |
*\|
* |
*\\* )
7926 ac_sed_conf_input
=`$as_echo "$configure_input" |
7927 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7928 *) ac_sed_conf_input
=$configure_input;;
7932 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7933 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7938 ac_dir
=`$as_dirname -- "$ac_file" ||
7939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7940 X"$ac_file" : 'X\(//\)[^/]' \| \
7941 X"$ac_file" : 'X\(//\)$' \| \
7942 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7943 $as_echo X"$ac_file" |
7944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7961 as_dir
="$ac_dir"; as_fn_mkdir_p
7965 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7967 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7968 # A ".." for each directory in $ac_dir_suffix.
7969 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7970 case $ac_top_builddir_sub in
7971 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7972 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7975 ac_abs_top_builddir
=$ac_pwd
7976 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7977 # for backward compatibility:
7978 ac_top_builddir
=$ac_top_build_prefix
7981 .
) # We are building in place.
7983 ac_top_srcdir
=$ac_top_builddir_sub
7984 ac_abs_top_srcdir
=$ac_pwd ;;
7985 [\\/]* | ?
:[\\/]* ) # Absolute name.
7986 ac_srcdir
=$srcdir$ac_dir_suffix;
7987 ac_top_srcdir
=$srcdir
7988 ac_abs_top_srcdir
=$srcdir ;;
7990 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7991 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7992 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7994 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8006 # If the template does not know about datarootdir, expand it.
8007 # FIXME: This hack should be removed a few years after 2.60.
8008 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8019 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8020 *datarootdir
*) ac_datarootdir_seen
=yes;;
8021 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8023 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8026 ac_datarootdir_hack='
8027 s&@datadir@&$datadir&g
8028 s&@docdir@&$docdir&g
8029 s&@infodir@&$infodir&g
8030 s&@localedir@&$localedir&g
8031 s&@mandir@&$mandir&g
8032 s&\\\${datarootdir}&$datarootdir&g' ;;
8036 # Neutralize VPATH when `$srcdir' = `.'.
8037 # Shell code in configure.ac might set extrasub.
8038 # FIXME: do we really want to maintain this feature?
8039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8040 ac_sed_extra="$ac_vpsub
8043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8045 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8046 s|@configure_input@|
$ac_sed_conf_input|
;t t
8047 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8048 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8049 s
&@srcdir@
&$ac_srcdir&;t t
8050 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8051 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8052 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8053 s
&@builddir@
&$ac_builddir&;t t
8054 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8055 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8056 $ac_datarootdir_hack
8058 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8059 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8061 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8062 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8063 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8064 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8066 which seems to be undefined. Please make sure it is defined" >&5
8067 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8068 which seems to be undefined. Please make sure it is defined" >&2;}
8070 rm -f "$ac_tmp/stdin"
8072 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8073 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8081 if test x"$ac_file" != x-; then
8083 $as_echo "/* $configure_input */" \
8084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8085 } >"$ac_tmp/config.h" \
8086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8087 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8089 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8092 mv "$ac_tmp/config.h" "$ac_file" \
8093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8096 $as_echo "/* $configure_input */" \
8097 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8098 || as_fn_error $? "could not create -" "$LINENO" 5
8110 ac_clean_files=$ac_clean_files_save
8112 test $ac_write_fail = 0 ||
8113 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8116 # configure is writing to config.log, and then calls config.status.
8117 # config.status does its own redirection, appending to config.log.
8118 # Unfortunately, on DOS this fails, as config.log is still kept open
8119 # by configure, so config.status won't be able to
write to it
; its
8120 # output is simply discarded. So we exec the FD to /dev/null,
8121 # effectively closing config.log, so it can be properly (re)opened and
8122 # appended to by config.status. When coming back to configure, we
8123 # need to make the FD available again.
8124 if test "$no_create" != yes; then
8126 ac_config_status_args
=
8127 test "$silent" = yes &&
8128 ac_config_status_args
="$ac_config_status_args --quiet"
8130 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8132 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8133 # would make configure fail if this is the last instruction.
8134 $ac_cs_success || as_fn_exit
1
8136 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8138 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8141 ac_config_files
="$ac_config_files libtomcrypt/Makefile"
8143 cat >confcache
<<\_ACEOF
8144 # This file is a shell script that caches the results of configure
8145 # tests run on this system so they can be shared between configure
8146 # scripts and configure runs, see configure's option --config-cache.
8147 # It is not useful on other systems. If it contains results you don't
8148 # want to keep, you may remove or edit it.
8150 # config.status only pays attention to the cache file if you give it
8151 # the --recheck option to rerun configure.
8153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8159 # The following way of writing the cache mishandles newlines in values,
8160 # but we know of no workaround that is simple, portable, and efficient.
8161 # So, we kill variables containing newlines.
8162 # Ultrix sh set writes to stderr and can't be redirected directly,
8163 # and sets the high bit in the cache file unless we assign to the vars.
8165 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8166 eval ac_val
=\$
$ac_var
8170 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8174 _ | IFS | as_nl
) ;; #(
8175 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8176 *) { eval $ac_var=; unset $ac_var;} ;;
8182 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8183 *${as_nl}ac_space
=\
*)
8184 # `set' does not quote correctly, so add quotes: double-quote
8185 # substitution turns \\\\ into \\, and sed turns \\ into \.
8188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8191 # `set' quotes correctly as required by POSIX, so do not add quotes.
8192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8203 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8205 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8206 if test -w "$cache_file"; then
8207 if test "x$cache_file" != "x/dev/null"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8209 $as_echo "$as_me: updating cache $cache_file" >&6;}
8210 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
8211 cat confcache
>"$cache_file"
8213 case $cache_file in #(
8215 mv -f confcache
"$cache_file"$$
&&
8216 mv -f "$cache_file"$$
"$cache_file" ;; #(
8218 mv -f confcache
"$cache_file" ;;
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8229 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8230 # Let make expand exec_prefix.
8231 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8233 DEFS
=-DHAVE_CONFIG_H
8238 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8239 # 1. Remove the extension, and $U if already installed.
8240 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8241 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8243 # will be set to the directory where LIBOBJS objects are built.
8244 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8245 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8249 LTLIBOBJS
=$ac_ltlibobjs
8253 : "${CONFIG_STATUS=./config.status}"
8255 ac_clean_files_save
=$ac_clean_files
8256 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8262 # Generated by $as_me.
8263 # Run this file to recreate the current configuration.
8264 # Compiler output produced by configure, useful for debugging
8265 # configure, is in config.log if it exists.
8271 SHELL=\${CONFIG_SHELL-$SHELL}
8274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8275 ## -------------------- ##
8276 ## M4sh Initialization. ##
8277 ## -------------------- ##
8279 # Be more Bourne compatible
8280 DUALCASE
=1; export DUALCASE
# for MKS sh
8281 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8285 # is contrary to our usage. Disable this feature.
8286 alias -g '${1+"$@"}'='"$@"'
8287 setopt NO_GLOB_SUBST
8289 case `(set -o) 2>/dev/null` in #(
8301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8302 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8305 # Prefer a ksh shell builtin over an external printf program on Solaris,
8306 # but without wasting forks for bash or zsh.
8307 if test -z "$BASH_VERSION$ZSH_VERSION" \
8308 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8309 as_echo='print
-r --'
8310 as_echo_n='print
-rn --'
8311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8312 as_echo='printf %s
\n'
8313 as_echo_n='printf %s
'
8315 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8316 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8317 as_echo_n='/usr
/ucb
/echo -n'
8319 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8320 as_echo_n_body='eval
8324 expr "X$arg" : "X\\(.*\\)$as_nl";
8325 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8327 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8329 export as_echo_n_body
8330 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8333 as_echo='sh
-c $as_echo_body as_echo
'
8336 # The user is always right.
8337 if test "${PATH_SEPARATOR+set}" != set; then
8339 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8340 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8347 # We need space, tab and new line, in precisely that order. Quoting is
8348 # there to prevent editors from complaining about space-tab.
8349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8350 # splitting by setting IFS to empty value.)
8353 # Find who we are. Look in the path if we contain no directory separator.
8356 *[\\/]* ) as_myself=$0 ;;
8357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir=.
8362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8368 # We did not find ourselves, most probably we were run as `sh COMMAND'
8369 # in which case we are not to be found in the path.
8370 if test "x$as_myself" = x
; then
8373 if test ! -f "$as_myself"; then
8374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8378 # Unset variables that we do not need and which cause bugs (e.g. in
8379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8380 # suppresses any "Segmentation fault" message there. '((' could
8381 # trigger a bug in pdksh 5.2.14.
8382 for as_var
in BASH_ENV ENV MAIL MAILPATH
8383 do eval test x\
${$as_var+set} = xset \
8384 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8397 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8401 # ----------------------------------------
8402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8404 # script with STATUS, using 1 if that was 0.
8407 as_status
=$1; test $as_status -eq 0 && as_status
=1
8409 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8412 $as_echo "$as_me: error: $2" >&2
8413 as_fn_exit
$as_status
8417 # as_fn_set_status STATUS
8418 # -----------------------
8419 # Set $? to STATUS, without forking.
8423 } # as_fn_set_status
8427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8437 # Portably unset VAR.
8440 { eval $1=; unset $1;}
8442 as_unset
=as_fn_unset
8443 # as_fn_append VAR VALUE
8444 # ----------------------
8445 # Append the text in VALUE to the end of the definition contained in VAR. Take
8446 # advantage of any shell optimizations that allow amortized linear growth over
8447 # repeated appends, instead of the typical quadratic growth present in naive
8449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8450 eval 'as_fn_append ()
8461 # as_fn_arith ARG...
8462 # ------------------
8463 # Perform arithmetic evaluation on the ARGs, and store the result in the
8464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8465 # must be portable across $(()) and expr.
8466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8467 eval 'as_fn_arith ()
8474 as_val
=`expr "$@" || test $? -eq 1`
8479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8486 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8487 as_basename
=basename
8492 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8498 as_me
=`$as_basename -- "$0" ||
8499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8500 X"$0" : 'X\(//\)$' \| \
8501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8503 sed '/^.*\/\([^/][^/]*\)\/*$/{
8517 # Avoid depending upon Character Ranges.
8518 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8519 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8520 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8521 as_cr_digits
='0123456789'
8522 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8524 ECHO_C
= ECHO_N
= ECHO_T
=
8525 case `echo -n x` in #(((((
8527 case `echo 'xy\c'` in
8528 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8530 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8537 rm -f conf$$ conf$$.exe conf$$.
file
8538 if test -d conf$$.dir
; then
8539 rm -f conf$$.dir
/conf$$.
file
8542 mkdir conf$$.dir
2>/dev
/null
8544 if (echo >conf$$.
file) 2>/dev
/null
; then
8545 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8547 # ... but there are two gotchas:
8548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8550 # In both cases, we have to default to `cp -pR'.
8551 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8553 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8561 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8562 rmdir conf$$.dir
2>/dev
/null
8567 # Create "$as_dir" as a directory, including parents if necessary.
8572 -*) as_dir
=.
/$as_dir;;
8574 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8578 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8579 *) as_qdir
=$as_dir;;
8581 as_dirs
="'$as_qdir' $as_dirs"
8582 as_dir
=`$as_dirname -- "$as_dir" ||
8583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8584 X"$as_dir" : 'X\(//\)[^/]' \| \
8585 X"$as_dir" : 'X\(//\)$' \| \
8586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8587 $as_echo X"$as_dir" |
8588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8605 test -d "$as_dir" && break
8607 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8608 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8612 if mkdir
-p .
2>/dev
/null
; then
8613 as_mkdir_p
='mkdir -p "$as_dir"'
8615 test -d .
/-p && rmdir .
/-p
8620 # as_fn_executable_p FILE
8621 # -----------------------
8622 # Test if FILE is an executable regular file.
8623 as_fn_executable_p
()
8625 test -f "$1" && test -x "$1"
8626 } # as_fn_executable_p
8628 as_executable_p
=as_fn_executable_p
8630 # Sed expression to map a string onto a valid CPP name.
8631 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8633 # Sed expression to map a string onto a valid variable name.
8634 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8638 ## ----------------------------------- ##
8639 ## Main body of $CONFIG_STATUS script. ##
8640 ## ----------------------------------- ##
8642 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8645 # Save the log message, to keep $0 and so on meaningful, and to
8646 # report actual input values of CONFIG_FILES etc. instead of their
8647 # values after options handling.
8649 This file was extended by $as_me, which was
8650 generated by GNU Autoconf 2.69. Invocation command line was
8652 CONFIG_FILES = $CONFIG_FILES
8653 CONFIG_HEADERS = $CONFIG_HEADERS
8654 CONFIG_LINKS = $CONFIG_LINKS
8655 CONFIG_COMMANDS = $CONFIG_COMMANDS
8658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8663 case $ac_config_files in *"
8664 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8667 case $ac_config_headers in *"
8668 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8673 # Files that config.status was made for.
8674 config_files="$ac_config_files"
8675 config_headers="$ac_config_headers"
8679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8681 \`$as_me' instantiates files and other configuration actions
8682 from templates according to the current configuration. Unless the files
8683 and actions are specified as TAGs, all are instantiated by default.
8685 Usage: $0 [OPTION]... [TAG]...
8687 -h, --help print this help, then exit
8688 -V, --version print version number and configuration settings, then exit
8689 --config print configuration, then exit
8690 -q, --quiet, --silent
8691 do not print progress messages
8692 -d, --debug don't remove temporary files
8693 --recheck update $as_me by reconfiguring in the same conditions
8694 --file=FILE[:TEMPLATE]
8695 instantiate the configuration file FILE
8696 --header=FILE[:TEMPLATE]
8697 instantiate the configuration header FILE
8699 Configuration files:
8702 Configuration headers:
8705 Report bugs to the package provider."
8708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8709 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8712 configured by $0, generated by GNU Autoconf 2.69,
8713 with options \\"\$ac_cs_config\\"
8715 Copyright (C) 2012 Free Software Foundation, Inc.
8716 This config.status script is free software; the Free Software Foundation
8717 gives unlimited permission to copy, distribute and modify it."
8721 test -n "\$AWK" || AWK=awk
8724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8725 # The default lists apply if the user does not specify any file.
8731 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8732 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8736 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8748 # Handling of the options.
8749 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8751 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8752 $as_echo "$ac_cs_version"; exit ;;
8753 --config |
--confi |
--conf |
--con |
--co |
--c )
8754 $as_echo "$ac_cs_config"; exit ;;
8755 --debug |
--debu |
--deb |
--de |
--d |
-d )
8757 --file |
--fil |
--fi |
--f )
8760 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8761 '') as_fn_error $?
"missing file argument" ;;
8763 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8764 ac_need_defaults
=false
;;
8765 --header |
--heade |
--head |
--hea )
8768 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8770 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8771 ac_need_defaults
=false
;;
8773 # Conflict between --help and --header
8774 as_fn_error $?
"ambiguous option: \`$1'
8775 Try \`$0 --help' for more information.";;
8776 --help |
--hel |
-h )
8777 $as_echo "$ac_cs_usage"; exit ;;
8778 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8779 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8783 -*) as_fn_error $?
"unrecognized option: \`$1'
8784 Try \`$0 --help' for more information." ;;
8786 *) as_fn_append ac_config_targets
" $1"
8787 ac_need_defaults
=false
;;
8793 ac_configure_extra_args
=
8795 if $ac_cs_silent; then
8797 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8802 if \$ac_cs_recheck; then
8803 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8805 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8806 CONFIG_SHELL='$SHELL'
8812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8817 ## Running $as_me. ##
8823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8828 # Handling of arguments.
8829 for ac_config_target
in $ac_config_targets
8831 case $ac_config_target in
8832 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8833 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8834 "libtomcrypt/Makefile") CONFIG_FILES
="$CONFIG_FILES libtomcrypt/Makefile" ;;
8836 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8841 # If the user did not use the arguments to specify the items to instantiate,
8842 # then the envvar interface is used. Set only those that are not.
8843 # We use the long form for the default assignment because of an extremely
8844 # bizarre bug on SunOS 4.1.3.
8845 if $ac_need_defaults; then
8846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8850 # Have a temporary directory for convenience. Make it in the build tree
8851 # simply because there is no reason against having it here, and in addition,
8852 # creating and moving files from /tmp can sometimes cause problems.
8853 # Hook for its removal unless debugging.
8854 # Note that there is a small window in which the directory will not be cleaned:
8855 # after its creation but before its name has been assigned to `$tmp'.
8859 trap 'exit_status=$?
8861 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8863 trap 'as_fn_exit 1' 1 2 13 15
8865 # Create a (secure) tmp directory for tmp files.
8868 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8872 tmp
=.
/conf$$
-$RANDOM
8873 (umask 077 && mkdir
"$tmp")
8874 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8877 # Set up the scripts for CONFIG_FILES section.
8878 # No need to generate them if there are no CONFIG_FILES.
8879 # This happens for instance with `./config.status config.h'.
8880 if test -n "$CONFIG_FILES"; then
8883 ac_cr
=`echo X | tr X '\015'`
8884 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8885 # But we know of no other shell where ac_cr would be empty at this
8886 # point, so we can use a bashism as a fallback.
8887 if test "x$ac_cr" = x
; then
8888 eval ac_cr
=\$
\'\\r
\'
8890 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8891 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8897 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8902 echo "cat >conf$$subs.awk <<_ACEOF" &&
8903 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8906 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8907 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8909 for ac_last_try in false false false false false :; do
8910 . ./conf$$subs.sh ||
8911 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8913 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8914 if test $ac_delim_n = $ac_delim_num; then
8916 elif $ac_last_try; then
8917 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8919 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8925 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8929 s/^/S["/; s
/!.
*/"]=/
8939 s/\(.\{148\}\)..*/\1/
8941 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8946 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8953 s/\(.\{148\}\)..*/\1/
8955 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8959 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8964 ' <conf$$subs.awk | sed '
8969 ' >>$CONFIG_STATUS || ac_write_fail=1
8970 rm -f conf$$subs.awk
8971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8973 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8974 for (key in S) S_is_set[key] = 1
8980 nfields = split(line, field, "@
")
8982 len = length(field[1])
8983 for (i = 2; i < nfields; i++) {
8985 keylen = length(key)
8986 if (S_is_set[key]) {
8988 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8989 len += length(value) + length(field[++i])
9000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9001 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9002 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9005 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
9006 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
9009 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9010 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
9011 # trailing colons and then remove the whole line if VPATH becomes empty
9012 # (actually we leave an empty line to preserve line numbers).
9013 if test "x
$srcdir" = x.; then
9014 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9033 fi # test -n "$CONFIG_FILES"
9035 # Set up the scripts for CONFIG_HEADERS section.
9036 # No need to generate them if there are no CONFIG_HEADERS.
9037 # This happens for instance with `./config.status Makefile'.
9038 if test -n "$CONFIG_HEADERS"; then
9039 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
9043 # Transform confdefs.h into an awk script `defines.awk', embedded as
9044 # here-document in config.status, that substitutes the proper values into
9045 # config.h.in to produce config.h.
9047 # Create a delimiter string that does not exist in confdefs.h, to ease
9048 # handling of long lines.
9050 for ac_last_try in false false :; do
9051 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
9052 if test -z "$ac_tt"; then
9054 elif $ac_last_try; then
9055 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
9057 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9061 # For the awk script, D is an array of macro values keyed by name,
9062 # likewise P contains macro parameters if any. Preserve backslash
9063 # newline sequences.
9065 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9067 s/.\{148\}/&'"$ac_delim"'/g
9070 s/^[ ]*#[ ]*define[ ][ ]*/ /
9077 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9079 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9083 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9084 D["\
1"]=" \
3\\\\\\n
"\\/p
9086 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9091 s/.\{148\}/&'"$ac_delim"'/g
9096 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9099 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9101 ' <confdefs.h | sed '
9102 s/'"$ac_delim"'/"\\\
9103 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9106 for (key in D) D_is_set[key] = 1
9109 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9111 split(line, arg, " ")
9112 if (arg[1] == "#") {
9116 defundef
= substr
(arg
[1], 2)
9119 split(mac1
, mac2
, "(") #)
9121 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9122 if (D_is_set
[macro
]) {
9123 # Preserve the white space surrounding the "#".
9124 print prefix
"define", macro P
[macro
] D
[macro
]
9127 # Replace #undef with comments. This is necessary, for example,
9128 # in the case of _POSIX_SOURCE, which is predefined and required
9129 # on some systems where configure will not decide to define it.
9130 if (defundef
== "undef") {
9131 print
"/*", prefix defundef
, macro
, "*/"
9139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9140 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
9141 fi # test -n "$CONFIG_HEADERS"
9144 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
9149 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9151 case $ac_mode$ac_tag in
9153 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9154 :[FH
]-) ac_tag
=-:-;;
9155 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9172 -) ac_f
="$ac_tmp/stdin";;
9173 *) # Look for the file first in the build tree, then in the source tree
9174 # (if the path is not absolute). The absolute path cannot be DOS-style,
9175 # because $ac_f cannot contain `:'.
9179 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9181 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9183 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9184 as_fn_append ac_file_inputs
" '$ac_f'"
9187 # Let's still pretend it is `configure' which instantiates (i.e., don't
9188 # use $as_me), people would be surprised to read:
9189 # /* config.h. Generated by config.status. */
9190 configure_input
='Generated from '`
9191 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9193 if test x
"$ac_file" != x-
; then
9194 configure_input
="$ac_file. $configure_input"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9196 $as_echo "$as_me: creating $ac_file" >&6;}
9198 # Neutralize special characters interpreted by sed in replacement strings.
9199 case $configure_input in #(
9200 *\
&* |
*\|
* |
*\\* )
9201 ac_sed_conf_input
=`$as_echo "$configure_input" |
9202 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9203 *) ac_sed_conf_input
=$configure_input;;
9207 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
9208 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
9213 ac_dir
=`$as_dirname -- "$ac_file" ||
9214 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9215 X"$ac_file" : 'X\(//\)[^/]' \| \
9216 X"$ac_file" : 'X\(//\)$' \| \
9217 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9218 $as_echo X"$ac_file" |
9219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9236 as_dir
="$ac_dir"; as_fn_mkdir_p
9240 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9242 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9243 # A ".." for each directory in $ac_dir_suffix.
9244 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9245 case $ac_top_builddir_sub in
9246 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9247 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9250 ac_abs_top_builddir
=$ac_pwd
9251 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9252 # for backward compatibility:
9253 ac_top_builddir
=$ac_top_build_prefix
9256 .
) # We are building in place.
9258 ac_top_srcdir
=$ac_top_builddir_sub
9259 ac_abs_top_srcdir
=$ac_pwd ;;
9260 [\\/]* | ?
:[\\/]* ) # Absolute name.
9261 ac_srcdir
=$srcdir$ac_dir_suffix;
9262 ac_top_srcdir
=$srcdir
9263 ac_abs_top_srcdir
=$srcdir ;;
9265 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9266 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9267 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9269 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9281 # If the template does not know about datarootdir, expand it.
9282 # FIXME: This hack should be removed a few years after 2.60.
9283 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9294 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9295 *datarootdir
*) ac_datarootdir_seen
=yes;;
9296 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9298 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9301 ac_datarootdir_hack='
9302 s&@datadir@&$datadir&g
9303 s&@docdir@&$docdir&g
9304 s&@infodir@&$infodir&g
9305 s&@localedir@&$localedir&g
9306 s&@mandir@&$mandir&g
9307 s&\\\${datarootdir}&$datarootdir&g' ;;
9311 # Neutralize VPATH when `$srcdir' = `.'.
9312 # Shell code in configure.ac might set extrasub.
9313 # FIXME: do we really want to maintain this feature?
9314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9315 ac_sed_extra="$ac_vpsub
9318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9320 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9321 s|@configure_input@|
$ac_sed_conf_input|
;t t
9322 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9323 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9324 s
&@srcdir@
&$ac_srcdir&;t t
9325 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9326 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9327 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9328 s
&@builddir@
&$ac_builddir&;t t
9329 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9330 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9331 $ac_datarootdir_hack
9333 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9334 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9336 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9337 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9338 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9339 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9341 which seems to be undefined. Please make sure it is defined" >&5
9342 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9343 which seems to be undefined. Please make sure it is defined" >&2;}
9345 rm -f "$ac_tmp/stdin"
9347 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9348 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9350 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9356 if test x"$ac_file" != x-; then
9358 $as_echo "/* $configure_input */" \
9359 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9360 } >"$ac_tmp/config.h" \
9361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9362 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9364 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9367 mv "$ac_tmp/config.h" "$ac_file" \
9368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9371 $as_echo "/* $configure_input */" \
9372 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9373 || as_fn_error $? "could not create -" "$LINENO" 5
9385 ac_clean_files=$ac_clean_files_save
9387 test $ac_write_fail = 0 ||
9388 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9391 # configure is writing to config.log, and then calls config.status.
9392 # config.status does its own redirection, appending to config.log.
9393 # Unfortunately, on DOS this fails, as config.log is still kept open
9394 # by configure, so config.status won't be able to
write to it
; its
9395 # output is simply discarded. So we exec the FD to /dev/null,
9396 # effectively closing config.log, so it can be properly (re)opened and
9397 # appended to by config.status. When coming back to configure, we
9398 # need to make the FD available again.
9399 if test "$no_create" != yes; then
9401 ac_config_status_args
=
9402 test "$silent" = yes &&
9403 ac_config_status_args
="$ac_config_status_args --quiet"
9405 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9408 # would make configure fail if this is the last instruction.
9409 $ac_cs_success || as_fn_exit
1
9411 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9413 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9416 ac_config_files
="$ac_config_files libtommath/Makefile"
9418 cat >confcache
<<\_ACEOF
9419 # This file is a shell script that caches the results of configure
9420 # tests run on this system so they can be shared between configure
9421 # scripts and configure runs, see configure's option --config-cache.
9422 # It is not useful on other systems. If it contains results you don't
9423 # want to keep, you may remove or edit it.
9425 # config.status only pays attention to the cache file if you give it
9426 # the --recheck option to rerun configure.
9428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9434 # The following way of writing the cache mishandles newlines in values,
9435 # but we know of no workaround that is simple, portable, and efficient.
9436 # So, we kill variables containing newlines.
9437 # Ultrix sh set writes to stderr and can't be redirected directly,
9438 # and sets the high bit in the cache file unless we assign to the vars.
9440 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9441 eval ac_val
=\$
$ac_var
9445 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9449 _ | IFS | as_nl
) ;; #(
9450 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9451 *) { eval $ac_var=; unset $ac_var;} ;;
9457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9458 *${as_nl}ac_space
=\
*)
9459 # `set' does not quote correctly, so add quotes: double-quote
9460 # substitution turns \\\\ into \\, and sed turns \\ into \.
9463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9466 # `set' quotes correctly as required by POSIX, so do not add quotes.
9467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9480 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9481 if test -w "$cache_file"; then
9482 if test "x$cache_file" != "x/dev/null"; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9484 $as_echo "$as_me: updating cache $cache_file" >&6;}
9485 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
9486 cat confcache
>"$cache_file"
9488 case $cache_file in #(
9490 mv -f confcache
"$cache_file"$$
&&
9491 mv -f "$cache_file"$$
"$cache_file" ;; #(
9493 mv -f confcache
"$cache_file" ;;
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9504 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9505 # Let make expand exec_prefix.
9506 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9508 DEFS
=-DHAVE_CONFIG_H
9513 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9514 # 1. Remove the extension, and $U if already installed.
9515 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9516 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9517 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9518 # will be set to the directory where LIBOBJS objects are built.
9519 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9520 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
9524 LTLIBOBJS
=$ac_ltlibobjs
9528 : "${CONFIG_STATUS=./config.status}"
9530 ac_clean_files_save
=$ac_clean_files
9531 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9537 # Generated by $as_me.
9538 # Run this file to recreate the current configuration.
9539 # Compiler output produced by configure, useful for debugging
9540 # configure, is in config.log if it exists.
9546 SHELL=\${CONFIG_SHELL-$SHELL}
9549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
9550 ## -------------------- ##
9551 ## M4sh Initialization. ##
9552 ## -------------------- ##
9554 # Be more Bourne compatible
9555 DUALCASE
=1; export DUALCASE
# for MKS sh
9556 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
9559 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9560 # is contrary to our usage. Disable this feature.
9561 alias -g '${1+"$@"}'='"$@"'
9562 setopt NO_GLOB_SUBST
9564 case `(set -o) 2>/dev/null` in #(
9576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9577 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9580 # Prefer a ksh shell builtin over an external printf program on Solaris,
9581 # but without wasting forks for bash or zsh.
9582 if test -z "$BASH_VERSION$ZSH_VERSION" \
9583 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9584 as_echo='print
-r --'
9585 as_echo_n='print
-rn --'
9586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9587 as_echo='printf %s
\n'
9588 as_echo_n='printf %s
'
9590 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9591 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9592 as_echo_n='/usr
/ucb
/echo -n'
9594 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9595 as_echo_n_body='eval
9599 expr "X$arg" : "X\\(.*\\)$as_nl";
9600 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9602 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9604 export as_echo_n_body
9605 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9608 as_echo='sh
-c $as_echo_body as_echo
'
9611 # The user is always right.
9612 if test "${PATH_SEPARATOR+set}" != set; then
9614 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9615 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9622 # We need space, tab and new line, in precisely that order. Quoting is
9623 # there to prevent editors from complaining about space-tab.
9624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9625 # splitting by setting IFS to empty value.)
9628 # Find who we are. Look in the path if we contain no directory separator.
9631 *[\\/]* ) as_myself=$0 ;;
9632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir=.
9637 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9643 # We did not find ourselves, most probably we were run as `sh COMMAND'
9644 # in which case we are not to be found in the path.
9645 if test "x$as_myself" = x
; then
9648 if test ! -f "$as_myself"; then
9649 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9653 # Unset variables that we do not need and which cause bugs (e.g. in
9654 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9655 # suppresses any "Segmentation fault" message there. '((' could
9656 # trigger a bug in pdksh 5.2.14.
9657 for as_var
in BASH_ENV ENV MAIL MAILPATH
9658 do eval test x\
${$as_var+set} = xset \
9659 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
9672 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
9675 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9676 # ----------------------------------------
9677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9679 # script with STATUS, using 1 if that was 0.
9682 as_status
=$1; test $as_status -eq 0 && as_status
=1
9684 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
9685 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9687 $as_echo "$as_me: error: $2" >&2
9688 as_fn_exit
$as_status
9692 # as_fn_set_status STATUS
9693 # -----------------------
9694 # Set $? to STATUS, without forking.
9698 } # as_fn_set_status
9702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9712 # Portably unset VAR.
9715 { eval $1=; unset $1;}
9717 as_unset
=as_fn_unset
9718 # as_fn_append VAR VALUE
9719 # ----------------------
9720 # Append the text in VALUE to the end of the definition contained in VAR. Take
9721 # advantage of any shell optimizations that allow amortized linear growth over
9722 # repeated appends, instead of the typical quadratic growth present in naive
9724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
9725 eval 'as_fn_append ()
9736 # as_fn_arith ARG...
9737 # ------------------
9738 # Perform arithmetic evaluation on the ARGs, and store the result in the
9739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9740 # must be portable across $(()) and expr.
9741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
9742 eval 'as_fn_arith ()
9749 as_val
=`expr "$@" || test $? -eq 1`
9754 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9755 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9761 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9762 as_basename
=basename
9767 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9773 as_me
=`$as_basename -- "$0" ||
9774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9775 X"$0" : 'X\(//\)$' \| \
9776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9778 sed '/^.*\/\([^/][^/]*\)\/*$/{
9792 # Avoid depending upon Character Ranges.
9793 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9794 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9795 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9796 as_cr_digits
='0123456789'
9797 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9799 ECHO_C
= ECHO_N
= ECHO_T
=
9800 case `echo -n x` in #(((((
9802 case `echo 'xy\c'` in
9803 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9805 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9812 rm -f conf$$ conf$$.exe conf$$.
file
9813 if test -d conf$$.dir
; then
9814 rm -f conf$$.dir
/conf$$.
file
9817 mkdir conf$$.dir
2>/dev
/null
9819 if (echo >conf$$.
file) 2>/dev
/null
; then
9820 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9822 # ... but there are two gotchas:
9823 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9824 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9825 # In both cases, we have to default to `cp -pR'.
9826 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9828 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9836 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9837 rmdir conf$$.dir
2>/dev
/null
9842 # Create "$as_dir" as a directory, including parents if necessary.
9847 -*) as_dir
=.
/$as_dir;;
9849 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9853 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9854 *) as_qdir
=$as_dir;;
9856 as_dirs
="'$as_qdir' $as_dirs"
9857 as_dir
=`$as_dirname -- "$as_dir" ||
9858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9859 X"$as_dir" : 'X\(//\)[^/]' \| \
9860 X"$as_dir" : 'X\(//\)$' \| \
9861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9862 $as_echo X"$as_dir" |
9863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9880 test -d "$as_dir" && break
9882 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9883 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
9887 if mkdir
-p .
2>/dev
/null
; then
9888 as_mkdir_p
='mkdir -p "$as_dir"'
9890 test -d .
/-p && rmdir .
/-p
9895 # as_fn_executable_p FILE
9896 # -----------------------
9897 # Test if FILE is an executable regular file.
9898 as_fn_executable_p
()
9900 test -f "$1" && test -x "$1"
9901 } # as_fn_executable_p
9903 as_executable_p
=as_fn_executable_p
9905 # Sed expression to map a string onto a valid CPP name.
9906 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9908 # Sed expression to map a string onto a valid variable name.
9909 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9913 ## ----------------------------------- ##
9914 ## Main body of $CONFIG_STATUS script. ##
9915 ## ----------------------------------- ##
9917 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9920 # Save the log message, to keep $0 and so on meaningful, and to
9921 # report actual input values of CONFIG_FILES etc. instead of their
9922 # values after options handling.
9924 This file was extended by $as_me, which was
9925 generated by GNU Autoconf 2.69. Invocation command line was
9927 CONFIG_FILES = $CONFIG_FILES
9928 CONFIG_HEADERS = $CONFIG_HEADERS
9929 CONFIG_LINKS = $CONFIG_LINKS
9930 CONFIG_COMMANDS = $CONFIG_COMMANDS
9933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9938 case $ac_config_files in *"
9939 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9942 case $ac_config_headers in *"
9943 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9948 # Files that config.status was made for.
9949 config_files="$ac_config_files"
9950 config_headers="$ac_config_headers"
9954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9956 \`$as_me' instantiates files and other configuration actions
9957 from templates according to the current configuration. Unless the files
9958 and actions are specified as TAGs, all are instantiated by default.
9960 Usage: $0 [OPTION]... [TAG]...
9962 -h, --help print this help, then exit
9963 -V, --version print version number and configuration settings, then exit
9964 --config print configuration, then exit
9965 -q, --quiet, --silent
9966 do not print progress messages
9967 -d, --debug don't remove temporary files
9968 --recheck update $as_me by reconfiguring in the same conditions
9969 --file=FILE[:TEMPLATE]
9970 instantiate the configuration file FILE
9971 --header=FILE[:TEMPLATE]
9972 instantiate the configuration header FILE
9974 Configuration files:
9977 Configuration headers:
9980 Report bugs to the package provider."
9983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9984 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9987 configured by $0, generated by GNU Autoconf 2.69,
9988 with options \\"\$ac_cs_config\\"
9990 Copyright (C) 2012 Free Software Foundation, Inc.
9991 This config.status script is free software; the Free Software Foundation
9992 gives unlimited permission to copy, distribute and modify it."
9996 test -n "\$AWK" || AWK=awk
9999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10000 # The default lists apply if the user does not specify any file.
10006 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10007 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10011 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10023 # Handling of the options.
10024 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10026 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10027 $as_echo "$ac_cs_version"; exit ;;
10028 --config |
--confi |
--conf |
--con |
--co |
--c )
10029 $as_echo "$ac_cs_config"; exit ;;
10030 --debug |
--debu |
--deb |
--de |
--d |
-d )
10032 --file |
--fil |
--fi |
--f )
10035 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10036 '') as_fn_error $?
"missing file argument" ;;
10038 as_fn_append CONFIG_FILES
" '$ac_optarg'"
10039 ac_need_defaults
=false
;;
10040 --header |
--heade |
--head |
--hea )
10043 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10045 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
10046 ac_need_defaults
=false
;;
10048 # Conflict between --help and --header
10049 as_fn_error $?
"ambiguous option: \`$1'
10050 Try \`$0 --help' for more information.";;
10051 --help |
--hel |
-h )
10052 $as_echo "$ac_cs_usage"; exit ;;
10053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10054 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10057 # This is an error.
10058 -*) as_fn_error $?
"unrecognized option: \`$1'
10059 Try \`$0 --help' for more information." ;;
10061 *) as_fn_append ac_config_targets
" $1"
10062 ac_need_defaults
=false
;;
10068 ac_configure_extra_args
=
10070 if $ac_cs_silent; then
10072 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10077 if \$ac_cs_recheck; then
10078 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10080 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10081 CONFIG_SHELL='$SHELL'
10082 export CONFIG_SHELL
10087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10092 ## Running $as_me. ##
10098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10103 # Handling of arguments.
10104 for ac_config_target
in $ac_config_targets
10106 case $ac_config_target in
10107 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10108 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10109 "libtomcrypt/Makefile") CONFIG_FILES
="$CONFIG_FILES libtomcrypt/Makefile" ;;
10110 "libtommath/Makefile") CONFIG_FILES
="$CONFIG_FILES libtommath/Makefile" ;;
10112 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10117 # If the user did not use the arguments to specify the items to instantiate,
10118 # then the envvar interface is used. Set only those that are not.
10119 # We use the long form for the default assignment because of an extremely
10120 # bizarre bug on SunOS 4.1.3.
10121 if $ac_need_defaults; then
10122 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10123 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10126 # Have a temporary directory for convenience. Make it in the build tree
10127 # simply because there is no reason against having it here, and in addition,
10128 # creating and moving files from /tmp can sometimes cause problems.
10129 # Hook for its removal unless debugging.
10130 # Note that there is a small window in which the directory will not be cleaned:
10131 # after its creation but before its name has been assigned to `$tmp'.
10135 trap 'exit_status=$?
10136 : "${ac_tmp:=$tmp}"
10137 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10139 trap 'as_fn_exit 1' 1 2 13 15
10141 # Create a (secure) tmp directory for tmp files.
10144 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10148 tmp
=.
/conf$$
-$RANDOM
10149 (umask 077 && mkdir
"$tmp")
10150 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
10153 # Set up the scripts for CONFIG_FILES section.
10154 # No need to generate them if there are no CONFIG_FILES.
10155 # This happens for instance with `./config.status config.h'.
10156 if test -n "$CONFIG_FILES"; then
10159 ac_cr
=`echo X | tr X '\015'`
10160 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10161 # But we know of no other shell where ac_cr would be empty at this
10162 # point, so we can use a bashism as a fallback.
10163 if test "x$ac_cr" = x
; then
10164 eval ac_cr
=\$
\'\\r
\'
10166 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10167 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10170 ac_cs_awk_cr
=$ac_cr
10173 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10178 echo "cat >conf$$subs.awk <<_ACEOF" &&
10179 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10181 } >conf$$subs.sh ||
10182 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10183 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10185 for ac_last_try in false false false false false :; do
10186 . ./conf$$subs.sh ||
10187 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10189 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10190 if test $ac_delim_n = $ac_delim_num; then
10192 elif $ac_last_try; then
10193 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10195 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10198 rm -f conf$$subs.sh
10200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10201 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
10205 s/^/S["/; s
/!.
*/"]=/
10215 s/\(.\{148\}\)..*/\1/
10217 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10222 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10229 s/\(.\{148\}\)..*/\1/
10231 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10235 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10240 ' <conf$$subs.awk | sed '
10245 ' >>$CONFIG_STATUS || ac_write_fail=1
10246 rm -f conf$$subs.awk
10247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10249 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
10250 for (key in S) S_is_set[key] = 1
10256 nfields = split(line, field, "@
")
10258 len = length(field[1])
10259 for (i = 2; i < nfields; i++) {
10261 keylen = length(key)
10262 if (S_is_set[key]) {
10264 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10265 len += length(value) + length(field[++i])
10276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10277 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10278 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10281 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
10282 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
10285 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10286 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
10287 # trailing colons and then remove the whole line if VPATH becomes empty
10288 # (actually we leave an empty line to preserve line numbers).
10289 if test "x
$srcdir" = x.; then
10290 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10309 fi # test -n "$CONFIG_FILES"
10311 # Set up the scripts for CONFIG_HEADERS section.
10312 # No need to generate them if there are no CONFIG_HEADERS.
10313 # This happens for instance with `./config.status Makefile'.
10314 if test -n "$CONFIG_HEADERS"; then
10315 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
10319 # Transform confdefs.h into an awk script `defines.awk', embedded as
10320 # here-document in config.status, that substitutes the proper values into
10321 # config.h.in to produce config.h.
10323 # Create a delimiter string that does not exist in confdefs.h, to ease
10324 # handling of long lines.
10326 for ac_last_try in false false :; do
10327 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
10328 if test -z "$ac_tt"; then
10330 elif $ac_last_try; then
10331 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
10333 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10337 # For the awk script, D is an array of macro values keyed by name,
10338 # likewise P contains macro parameters if any. Preserve backslash
10339 # newline sequences.
10341 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10343 s/.\{148\}/&'"$ac_delim"'/g
10346 s/^[ ]*#[ ]*define[ ][ ]*/ /
10353 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10355 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10360 D["\
1"]=" \
3\\\\\\n
"\\/p
10362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10367 s/.\{148\}/&'"$ac_delim"'/g
10372 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10375 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10377 ' <confdefs.h | sed '
10378 s/'"$ac_delim"'/"\\\
10379 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10382 for (key in D) D_is_set[key] = 1
10385 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10387 split(line, arg, " ")
10388 if (arg[1] == "#") {
10392 defundef
= substr
(arg
[1], 2)
10395 split(mac1
, mac2
, "(") #)
10397 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10398 if (D_is_set
[macro
]) {
10399 # Preserve the white space surrounding the "#".
10400 print prefix
"define", macro P
[macro
] D
[macro
]
10403 # Replace #undef with comments. This is necessary, for example,
10404 # in the case of _POSIX_SOURCE, which is predefined and required
10405 # on some systems where configure will not decide to define it.
10406 if (defundef
== "undef") {
10407 print
"/*", prefix defundef
, macro
, "*/"
10415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10416 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
10417 fi # test -n "$CONFIG_HEADERS"
10420 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
10425 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10427 case $ac_mode$ac_tag in
10429 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
10430 :[FH
]-) ac_tag
=-:-;;
10431 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10448 -) ac_f
="$ac_tmp/stdin";;
10449 *) # Look for the file first in the build tree, then in the source tree
10450 # (if the path is not absolute). The absolute path cannot be DOS-style,
10451 # because $ac_f cannot contain `:'.
10455 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10457 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10459 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10460 as_fn_append ac_file_inputs
" '$ac_f'"
10463 # Let's still pretend it is `configure' which instantiates (i.e., don't
10464 # use $as_me), people would be surprised to read:
10465 # /* config.h. Generated by config.status. */
10466 configure_input
='Generated from '`
10467 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10469 if test x
"$ac_file" != x-
; then
10470 configure_input
="$ac_file. $configure_input"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10472 $as_echo "$as_me: creating $ac_file" >&6;}
10474 # Neutralize special characters interpreted by sed in replacement strings.
10475 case $configure_input in #(
10476 *\
&* |
*\|
* |
*\\* )
10477 ac_sed_conf_input
=`$as_echo "$configure_input" |
10478 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10479 *) ac_sed_conf_input
=$configure_input;;
10483 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
10484 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
10489 ac_dir
=`$as_dirname -- "$ac_file" ||
10490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10491 X"$ac_file" : 'X\(//\)[^/]' \| \
10492 X"$ac_file" : 'X\(//\)$' \| \
10493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10494 $as_echo X"$ac_file" |
10495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10499 /^X\(\/\/\)[^/].*/{
10512 as_dir
="$ac_dir"; as_fn_mkdir_p
10516 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10518 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10519 # A ".." for each directory in $ac_dir_suffix.
10520 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10521 case $ac_top_builddir_sub in
10522 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10523 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10526 ac_abs_top_builddir
=$ac_pwd
10527 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10528 # for backward compatibility:
10529 ac_top_builddir
=$ac_top_build_prefix
10532 .
) # We are building in place.
10534 ac_top_srcdir
=$ac_top_builddir_sub
10535 ac_abs_top_srcdir
=$ac_pwd ;;
10536 [\\/]* | ?
:[\\/]* ) # Absolute name.
10537 ac_srcdir
=$srcdir$ac_dir_suffix;
10538 ac_top_srcdir
=$srcdir
10539 ac_abs_top_srcdir
=$srcdir ;;
10540 *) # Relative name.
10541 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10542 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10543 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10545 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10557 # If the template does not know about datarootdir, expand it.
10558 # FIXME: This hack should be removed a few years after 2.60.
10559 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10571 *datarootdir
*) ac_datarootdir_seen
=yes;;
10572 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10577 ac_datarootdir_hack='
10578 s&@datadir@&$datadir&g
10579 s&@docdir@&$docdir&g
10580 s&@infodir@&$infodir&g
10581 s&@localedir@&$localedir&g
10582 s&@mandir@&$mandir&g
10583 s&\\\${datarootdir}&$datarootdir&g' ;;
10587 # Neutralize VPATH when `$srcdir' = `.'.
10588 # Shell code in configure.ac might set extrasub.
10589 # FIXME: do we really want to maintain this feature?
10590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10591 ac_sed_extra="$ac_vpsub
10594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10596 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10597 s|@configure_input@|
$ac_sed_conf_input|
;t t
10598 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10599 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10600 s
&@srcdir@
&$ac_srcdir&;t t
10601 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10602 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10603 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10604 s
&@builddir@
&$ac_builddir&;t t
10605 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10606 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10607 $ac_datarootdir_hack
10609 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
10610 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
10612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10613 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
10614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10615 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10617 which seems to be undefined. Please make sure it is defined" >&5
10618 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10619 which seems to be undefined. Please make sure it is defined" >&2;}
10621 rm -f "$ac_tmp/stdin"
10623 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10624 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10632 if test x"$ac_file" != x-; then
10634 $as_echo "/* $configure_input */" \
10635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10636 } >"$ac_tmp/config.h" \
10637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10638 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10640 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10643 mv "$ac_tmp/config.h" "$ac_file" \
10644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10647 $as_echo "/* $configure_input */" \
10648 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10649 || as_fn_error $? "could not create -" "$LINENO" 5
10661 ac_clean_files=$ac_clean_files_save
10663 test $ac_write_fail = 0 ||
10664 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10667 # configure is writing to config.log, and then calls config.status.
10668 # config.status does its own redirection, appending to config.log.
10669 # Unfortunately, on DOS this fails, as config.log is still kept open
10670 # by configure, so config.status won't be able to
write to it
; its
10671 # output is simply discarded. So we exec the FD to /dev/null,
10672 # effectively closing config.log, so it can be properly (re)opened and
10673 # appended to by config.status. When coming back to configure, we
10674 # need to make the FD available again.
10675 if test "$no_create" != yes; then
10677 ac_config_status_args
=
10678 test "$silent" = yes &&
10679 ac_config_status_args
="$ac_config_status_args --quiet"
10681 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10683 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10684 # would make configure fail if this is the last instruction.
10685 $ac_cs_success || as_fn_exit
1
10687 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10689 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
10694 $as_echo "$as_me: " >&6;}
10695 if test $BUNDLED_LIBTOM = 1 ; then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: Using bundled libtomcrypt and libtommath" >&5
10697 $as_echo "$as_me: Using bundled libtomcrypt and libtommath" >&6;}
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: Using system libtomcrypt and libtommath" >&5
10700 $as_echo "$as_me: Using system libtomcrypt and libtommath" >&6;}
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
10704 $as_echo "$as_me: " >&6;}
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: Now edit options.h to choose features." >&5
10706 $as_echo "$as_me: Now edit options.h to choose features." >&6;}