2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for nbsd-digest 20121220.
5 # Report bugs to <agc@netbsd.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and agc@netbsd.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='nbsd-digest'
582 PACKAGE_TARNAME
='nbsd-digest'
583 PACKAGE_VERSION
='20121220'
584 PACKAGE_STRING
='nbsd-digest 20121220'
585 PACKAGE_BUGREPORT
='agc@netbsd.org'
588 ac_unique_file
="digest.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
681 program_transform_name
694 enable_option_checking
696 ac_precious_vars
='build_alias
707 # Initialize some variables set by options.
709 ac_init_version
=false
710 ac_unrecognized_opts
=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
721 program_transform_name
=s
,x
,x
,
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir
='${exec_prefix}/bin'
736 sbindir
='${exec_prefix}/sbin'
737 libexecdir
='${exec_prefix}/libexec'
738 datarootdir
='${prefix}/share'
739 datadir
='${datarootdir}'
740 sysconfdir
='${prefix}/etc'
741 sharedstatedir
='${prefix}/com'
742 localstatedir
='${prefix}/var'
743 includedir
='${prefix}/include'
744 oldincludedir
='/usr/include'
745 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir
='${datarootdir}/info'
751 libdir
='${exec_prefix}/lib'
752 localedir
='${datarootdir}/locale'
753 mandir
='${datarootdir}/man'
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\
$ac_option
767 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
780 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
783 -build |
--build |
--buil |
--bui |
--bu)
784 ac_prev
=build_alias
;;
785 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
786 build_alias
=$ac_optarg ;;
788 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
789 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
790 ac_prev
=cache_file
;;
791 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
792 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
793 cache_file
=$ac_optarg ;;
796 cache_file
=config.cache
;;
798 -datadir |
--datadir |
--datadi |
--datad)
800 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
801 datadir
=$ac_optarg ;;
803 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
804 |
--dataroo |
--dataro |
--datar)
805 ac_prev
=datarootdir
;;
806 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
807 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
808 datarootdir
=$ac_optarg ;;
810 -disable-* |
--disable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 as_fn_error $?
"invalid feature name: $ac_useropt"
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=no
;;
826 -docdir |
--docdir |
--docdi |
--doc |
--do)
828 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
831 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
833 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
836 -enable-* |
--enable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 as_fn_error $?
"invalid feature name: $ac_useropt"
841 ac_useropt_orig
=$ac_useropt
842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848 ac_unrecognized_sep
=', ';;
850 eval enable_
$ac_useropt=\
$ac_optarg ;;
852 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
853 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
854 |
--exec |
--exe |
--ex)
855 ac_prev
=exec_prefix
;;
856 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
857 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
858 |
--exec=* |
--exe=* |
--ex=*)
859 exec_prefix
=$ac_optarg ;;
861 -gas |
--gas |
--ga |
--g)
862 # Obsolete; use --with-gas.
865 -help |
--help |
--hel |
--he |
-h)
867 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
868 ac_init_help
=recursive
;;
869 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
870 ac_init_help
=short
;;
872 -host |
--host |
--hos |
--ho)
873 ac_prev
=host_alias
;;
874 -host=* |
--host=* |
--hos=* |
--ho=*)
875 host_alias
=$ac_optarg ;;
877 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
879 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
881 htmldir
=$ac_optarg ;;
883 -includedir |
--includedir |
--includedi |
--included |
--include \
884 |
--includ |
--inclu |
--incl |
--inc)
885 ac_prev
=includedir
;;
886 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
887 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
888 includedir
=$ac_optarg ;;
890 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
892 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
893 infodir
=$ac_optarg ;;
895 -libdir |
--libdir |
--libdi |
--libd)
897 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
900 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
901 |
--libexe |
--libex |
--libe)
902 ac_prev
=libexecdir
;;
903 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
904 |
--libexe=* |
--libex=* |
--libe=*)
905 libexecdir
=$ac_optarg ;;
907 -localedir |
--localedir |
--localedi |
--localed |
--locale)
909 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
910 localedir
=$ac_optarg ;;
912 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
913 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
914 ac_prev
=localstatedir
;;
915 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
916 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
917 localstatedir
=$ac_optarg ;;
919 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
921 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
925 # Obsolete; use --without-fp.
928 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
929 |
--no-cr |
--no-c |
-n)
932 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
933 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
936 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
937 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
938 |
--oldin |
--oldi |
--old |
--ol |
--o)
939 ac_prev
=oldincludedir
;;
940 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
941 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
942 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
943 oldincludedir
=$ac_optarg ;;
945 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
947 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
950 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
951 |
--program-pre |
--program-pr |
--program-p)
952 ac_prev
=program_prefix
;;
953 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
954 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
955 program_prefix
=$ac_optarg ;;
957 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
958 |
--program-suf |
--program-su |
--program-s)
959 ac_prev
=program_suffix
;;
960 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
961 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
962 program_suffix
=$ac_optarg ;;
964 -program-transform-name |
--program-transform-name \
965 |
--program-transform-nam |
--program-transform-na \
966 |
--program-transform-n |
--program-transform- \
967 |
--program-transform |
--program-transfor \
968 |
--program-transfo |
--program-transf \
969 |
--program-trans |
--program-tran \
970 |
--progr-tra |
--program-tr |
--program-t)
971 ac_prev
=program_transform_name
;;
972 -program-transform-name=* |
--program-transform-name=* \
973 |
--program-transform-nam=* |
--program-transform-na=* \
974 |
--program-transform-n=* |
--program-transform-=* \
975 |
--program-transform=* |
--program-transfor=* \
976 |
--program-transfo=* |
--program-transf=* \
977 |
--program-trans=* |
--program-tran=* \
978 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
979 program_transform_name
=$ac_optarg ;;
981 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
983 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
986 -psdir |
--psdir |
--psdi |
--psd |
--ps)
988 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
992 |
-silent |
--silent |
--silen |
--sile |
--sil)
995 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
997 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
999 sbindir
=$ac_optarg ;;
1001 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1002 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1003 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1005 ac_prev
=sharedstatedir
;;
1006 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1007 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1008 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1010 sharedstatedir
=$ac_optarg ;;
1012 -site |
--site |
--sit)
1014 -site=* |
--site=* |
--sit=*)
1017 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1019 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1020 srcdir
=$ac_optarg ;;
1022 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1023 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1024 ac_prev
=sysconfdir
;;
1025 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1026 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1027 sysconfdir
=$ac_optarg ;;
1029 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1030 ac_prev
=target_alias
;;
1031 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1032 target_alias
=$ac_optarg ;;
1034 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1037 -version |
--version |
--versio |
--versi |
--vers |
-V)
1038 ac_init_version
=: ;;
1041 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 as_fn_error $?
"invalid package name: $ac_useropt"
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval with_
$ac_useropt=\
$ac_optarg ;;
1056 -without-* |
--without-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 as_fn_error $?
"invalid package name: $ac_useropt"
1061 ac_useropt_orig
=$ac_useropt
1062 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1067 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep
=', ';;
1070 eval with_
$ac_useropt=no
;;
1073 # Obsolete; use --with-x.
1076 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1077 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1078 ac_prev
=x_includes
;;
1079 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1080 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1081 x_includes
=$ac_optarg ;;
1083 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1084 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1085 ac_prev
=x_libraries
;;
1086 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1087 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1088 x_libraries
=$ac_optarg ;;
1090 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1091 Try \`$0 --help' for more information"
1095 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1099 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1101 eval $ac_envvar=\
$ac_optarg
1102 export $ac_envvar ;;
1105 # FIXME: should be removed in autoconf 3.0.
1106 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1108 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1115 if test -n "$ac_prev"; then
1116 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $?
"missing argument to $ac_option"
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1123 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 # Check all directory arguments for consistency.
1129 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val
=\$
$ac_var
1135 # Remove trailing slashes.
1138 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\
$ac_val;;
1141 # Be sure to have absolute directory names.
1143 [\\/$
]* | ?
:[\\/]* ) continue;;
1144 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1146 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1149 # There might be people who depend on the old broken behavior: `$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1154 target
=$target_alias
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x
; then
1158 if test "x$build_alias" = x
; then
1159 cross_compiling
=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1168 test "$silent" = yes && exec 6>/dev
/null
1171 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di
=`ls -di .` &&
1173 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $?
"working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $?
"pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted
=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir
=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted
=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1215 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var
in $ac_precious_vars; do
1232 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1234 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures nbsd-digest 20121220 to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1308 --build=BUILD configure
for building on BUILD
[guessed
]
1309 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive
) echo "Configuration of nbsd-digest 20121220:";;
1319 Some influential environment variables
:
1320 CC C compiler
command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1323 nonstandard directory
<lib dir
>
1324 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1325 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1326 you have headers
in a nonstandard directory
<include dir
>
1329 Use these variables to override the choices made by
`configure' or to help
1330 it to find libraries and programs with nonstandard names/locations.
1332 Report bugs to <agc@netbsd.org>.
1337 if test "$ac_init_help" = "recursive"; then
1338 # If there are subdirs, report their specific --help.
1339 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1340 test -d "$ac_dir" ||
1341 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1349 # A ".." for each directory in $ac_dir_suffix.
1350 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1351 case $ac_top_builddir_sub in
1352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1356 ac_abs_top_builddir=$ac_pwd
1357 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1358 # for backward compatibility:
1359 ac_top_builddir=$ac_top_build_prefix
1362 .) # We are building in place.
1364 ac_top_srcdir=$ac_top_builddir_sub
1365 ac_abs_top_srcdir=$ac_pwd ;;
1366 [\\/]* | ?:[\\/]* ) # Absolute name.
1367 ac_srcdir=$srcdir$ac_dir_suffix;
1368 ac_top_srcdir=$srcdir
1369 ac_abs_top_srcdir=$srcdir ;;
1371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1372 ac_top_srcdir=$ac_top_build_prefix$srcdir
1373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377 cd "$ac_dir" || { ac_status=$?; continue; }
1378 # Check for guested configure.
1379 if test -f "$ac_srcdir/configure.gnu"; then
1381 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1382 elif test -f "$ac_srcdir/configure"; then
1384 $SHELL "$ac_srcdir/configure" --help=recursive
1386 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1388 cd "$ac_pwd" || { ac_status=$?; break; }
1392 test -n "$ac_init_help" && exit $ac_status
1393 if $ac_init_version; then
1395 nbsd-digest configure 20121220
1396 generated by GNU Autoconf 2.69
1398 Copyright (C) 2012 Free Software Foundation, Inc.
1399 This configure script is free software; the Free Software Foundation
1400 gives unlimited permission to copy, distribute and modify it.
1405 ## ------------------------ ##
1406 ## Autoconf initialization. ##
1407 ## ------------------------ ##
1409 # ac_fn_c_try_compile LINENO
1410 # --------------------------
1411 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1412 ac_fn_c_try_compile ()
1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415 rm -f conftest.$ac_objext
1416 if { { ac_try="$ac_compile"
1418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1419 *) ac_try_echo
=$ac_try;;
1421 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1422 $as_echo "$ac_try_echo"; } >&5
1423 (eval "$ac_compile") 2>conftest.err
1425 if test -s conftest.err
; then
1426 grep -v '^ *+' conftest.err
>conftest.er1
1427 cat conftest.er1
>&5
1428 mv -f conftest.er1 conftest.err
1430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1431 test $ac_status = 0; } && {
1432 test -z "$ac_c_werror_flag" ||
1433 test ! -s conftest.err
1434 } && test -s conftest.
$ac_objext; then :
1437 $as_echo "$as_me: failed program was:" >&5
1438 sed 's/^/| /' conftest.
$ac_ext >&5
1442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1443 as_fn_set_status
$ac_retval
1445 } # ac_fn_c_try_compile
1447 # ac_fn_c_try_cpp LINENO
1448 # ----------------------
1449 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1452 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1453 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } > conftest.i && {
1469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1474 $as_echo "$as_me: failed program was:" >&5
1475 sed 's/^/| /' conftest.$ac_ext >&5
1479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480 as_fn_set_status $ac_retval
1484 # ac_fn_c_try_run LINENO
1485 # ----------------------
1486 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1487 # that executables *can* be run.
1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1491 if { { ac_try="$ac_link"
1493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1494 *) ac_try_echo
=$ac_try;;
1496 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_link") 2>&5
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1502 { { case "(($ac_try" in
1503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_try") 2>&5
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; }; }; then :
1514 $as_echo "$as_me: program exited with status $ac_status" >&5
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1518 ac_retval=$ac_status
1520 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1526 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1527 # -------------------------------------------------------
1528 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1529 # the include files in INCLUDES and setting the cache variable VAR
1531 ac_fn_c_check_header_mongrel ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 if eval \${$3+:} false; then :
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 $as_echo_n "checking for $2... " >&6; }
1537 if eval \${$3+:} false; then :
1538 $as_echo_n "(cached) " >&6
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1542 $as_echo "$ac_res" >&6; }
1544 # Is the header compilable?
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1546 $as_echo_n "checking $2 usability... " >&6; }
1547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1548 /* end confdefs.h. */
1552 if ac_fn_c_try_compile "$LINENO"; then :
1553 ac_header_compiler=yes
1555 ac_header_compiler=no
1557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1559 $as_echo "$ac_header_compiler" >&6; }
1561 # Is the header present?
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1563 $as_echo_n "checking $2 presence... " >&6; }
1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1565 /* end confdefs.h. */
1568 if ac_fn_c_try_cpp "$LINENO"; then :
1569 ac_header_preproc=yes
1571 ac_header_preproc=no
1573 rm -f conftest.err conftest.i conftest.$ac_ext
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1575 $as_echo "$ac_header_preproc" >&6; }
1577 # So? What about this header?
1578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1581 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1587 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1589 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1591 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1593 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1595 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1596 ( $as_echo "## ----------------------------- ##
1597 ## Report this to agc@netbsd.org ##
1598 ## ----------------------------- ##"
1599 ) | sed "s/^/$as_me: WARNING: /" >&2
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if eval \${$3+:} false; then :
1605 $as_echo_n "(cached) " >&6
1607 eval "$3=\$ac_header_compiler"
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 } # ac_fn_c_check_header_mongrel
1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists and can be compiled using the include files in
1620 # INCLUDES, setting the cache variable VAR accordingly.
1621 ac_fn_c_check_header_compile ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625 $as_echo_n "checking for $2... " >&6; }
1626 if eval \${$3+:} false; then :
1627 $as_echo_n "(cached) " >&6
1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h. */
1634 if ac_fn_c_try_compile "$LINENO"; then :
1639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 $as_echo "$ac_res" >&6; }
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 } # ac_fn_c_check_header_compile
1648 # ac_fn_c_find_uintX_t LINENO BITS VAR
1649 # ------------------------------------
1650 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1652 ac_fn_c_find_uintX_t ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1656 $as_echo_n "checking for uint$2_t... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1661 # Order is important - never check a type that is potentially smaller
1662 # than half of the expected target width.
1663 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1664 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1667 $ac_includes_default
1671 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1673 return test_array [0];
1679 if ac_fn_c_try_compile "$LINENO"; then :
1684 eval "$3=\$ac_type" ;;
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 if eval test \"x\$"$3"\" = x"no"; then :
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 } # ac_fn_c_find_uintX_t
1702 # ac_fn_c_find_intX_t LINENO BITS VAR
1703 # -----------------------------------
1704 # Finds a signed integer type with width BITS, setting cache variable VAR
1706 ac_fn_c_find_intX_t ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1710 $as_echo_n "checking for int$2_t... " >&6; }
1711 if eval \${$3+:} false; then :
1712 $as_echo_n "(cached) " >&6
1715 # Order is important - never check a type that is potentially smaller
1716 # than half of the expected target width.
1717 for ac_type in int$2_t 'int' 'long int' \
1718 'long long int' 'short int' 'signed char'; do
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1721 $ac_includes_default
1722 enum { N = $2 / 2 - 1 };
1726 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1728 return test_array [0];
1734 if ac_fn_c_try_compile "$LINENO"; then :
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1737 $ac_includes_default
1738 enum { N = $2 / 2 - 1 };
1742 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1743 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1745 return test_array [0];
1751 if ac_fn_c_try_compile "$LINENO"; then :
1758 eval "$3=\$ac_type" ;;
1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 if eval test \"x\$"$3"\" = x"no"; then :
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 } # ac_fn_c_find_intX_t
1778 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1779 # ---------------------------------------------
1780 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1782 ac_fn_c_check_decl ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1786 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1788 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1798 #ifndef $as_decl_name
1800 (void) $as_decl_use;
1802 (void) $as_decl_name;
1810 if ac_fn_c_try_compile "$LINENO"; then :
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_check_decl
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1834 *) ac_try_echo
=$ac_try;;
1836 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1840 if test -s conftest.err
; then
1841 grep -v '^ *+' conftest.err
>conftest.er1
1842 cat conftest.er1
>&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest
$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 test -x conftest
$ac_exeext
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.
$ac_ext >&5
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status
$ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_func LINENO FUNC VAR
1871 # ----------------------------------
1872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1873 ac_fn_c_check_func
()
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877 $as_echo_n "checking for $2... " >&6; }
1878 if eval \
${$3+:} false
; then :
1879 $as_echo_n "(cached) " >&6
1881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1885 #define $2 innocuous_$2
1887 /* System header to define __stub macros and hopefully few prototypes,
1888 which can conflict with char $2 (); below.
1889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1890 <limits.h> exists even on freestanding compilers. */
1893 # include <limits.h>
1895 # include <assert.h>
1900 /* Override any GCC internal prototype to avoid an error.
1901 Use char because int might match the return type of a GCC
1902 builtin and then its argument prototype would still apply. */
1907 /* The GNU C library defines this for functions which it implements
1908 to always fail with ENOSYS. Some functions are actually named
1909 something starting with __ and the normal name is an alias. */
1910 #if defined __stub_$2 || defined __stub___$2
1922 if ac_fn_c_try_link
"$LINENO"; then :
1927 rm -f core conftest.err conftest.
$ac_objext \
1928 conftest
$ac_exeext conftest.
$ac_ext
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_check_func
1936 cat >config.log
<<_ACEOF
1937 This file contains any messages produced by compilers while
1938 running configure, to aid debugging if configure makes a mistake.
1940 It was created by nbsd-digest $as_me 20121220, which was
1941 generated by GNU Autoconf 2.69. Invocation command line was
1953 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1954 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1955 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1956 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1957 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1959 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1960 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1962 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1963 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1964 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1965 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1966 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1967 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1968 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 $as_echo "PATH: $as_dir"
1993 # Keep a trace of the command line.
1994 # Strip out --no-create and --no-recursion so they do not pile up.
1995 # Strip out --silent because we don't want to record it for future runs.
1996 # Also quote any args containing shell meta-characters.
1997 # Make two passes to allow for proper duplicate-argument suppression.
2001 ac_must_keep_next
=false
2007 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2009 |
-silent |
--silent |
--silen |
--sile |
--sil)
2012 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2015 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2017 as_fn_append ac_configure_args1
" '$ac_arg'"
2018 if test $ac_must_keep_next = true
; then
2019 ac_must_keep_next
=false
# Got value, back to normal.
2022 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2023 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2024 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2025 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2026 case "$ac_configure_args0 " in
2027 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2030 -* ) ac_must_keep_next
=true
;;
2033 as_fn_append ac_configure_args
" '$ac_arg'"
2038 { ac_configure_args0
=; unset ac_configure_args0
;}
2039 { ac_configure_args1
=; unset ac_configure_args1
;}
2041 # When interrupted or exit'd, cleanup temporary files, and complete
2042 # config.log. We remove comments because anyway the quotes in there
2043 # would cause problems or look ugly.
2044 # WARNING: Use '\'' to represent an apostrophe within the trap.
2045 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2046 trap 'exit_status=$?
2047 # Save into config.log some information that might help in debugging.
2051 $as_echo "## ---------------- ##
2052 ## Cache variables. ##
2053 ## ---------------- ##"
2055 # The following way of writing the cache mishandles newlines in values,
2057 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2058 eval ac_val=\$$ac_var
2062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2066 _ | IFS | as_nl) ;; #(
2067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2068 *) { eval $ac_var=; unset $ac_var;} ;;
2073 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2074 *${as_nl}ac_space=\ *)
2076 "s/'\''/'\''\\\\'\'''\''/g;
2077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087 $as_echo "## ----------------- ##
2088 ## Output variables. ##
2089 ## ----------------- ##"
2091 for ac_var in $ac_subst_vars
2093 eval ac_val=\$$ac_var
2095 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -n "$ac_subst_files"; then
2102 $as_echo "## ------------------- ##
2103 ## File substitutions. ##
2104 ## ------------------- ##"
2106 for ac_var
in $ac_subst_files
2108 eval ac_val
=\$
$ac_var
2110 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 $as_echo "$ac_var='\''$ac_val'\''"
2117 if test -s confdefs.h; then
2118 $as_echo "## ----------- ##
2125 test "$ac_signal" != 0 &&
2126 $as_echo "$as_me: caught signal $ac_signal"
2127 $as_echo "$as_me: exit $exit_status"
2129 rm -f core *.core core.conftest.* &&
2130 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2133 for ac_signal
in 1 2 13 15; do
2134 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2138 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2139 rm -f -r conftest
* confdefs.h
2141 $as_echo "/* confdefs.h */" > confdefs.h
2143 # Predefined preprocessor variables.
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_NAME "$PACKAGE_NAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_STRING "$PACKAGE_STRING"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_URL "$PACKAGE_URL"
2170 # Let the site file select an alternate cache file if it wants to.
2171 # Prefer an explicitly selected file to automatically selected ones.
2174 if test -n "$CONFIG_SITE"; then
2175 # We do not want a PATH search for config.site.
2176 case $CONFIG_SITE in #((
2177 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2178 */*) ac_site_file1
=$CONFIG_SITE;;
2179 *) ac_site_file1
=.
/$CONFIG_SITE;;
2181 elif test "x$prefix" != xNONE
; then
2182 ac_site_file1
=$prefix/share
/config.site
2183 ac_site_file2
=$prefix/etc
/config.site
2185 ac_site_file1
=$ac_default_prefix/share
/config.site
2186 ac_site_file2
=$ac_default_prefix/etc
/config.site
2188 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2190 test "x$ac_site_file" = xNONE
&& continue
2191 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2193 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2194 sed 's/^/| /' "$ac_site_file" >&5
2196 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 as_fn_error $?
"failed to load site script $ac_site_file
2199 See \`config.log' for more details" "$LINENO" 5; }
2203 if test -r "$cache_file"; then
2204 # Some versions of bash will fail to source /dev/null (special files
2205 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2206 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2208 $as_echo "$as_me: loading cache $cache_file" >&6;}
2210 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2211 *) .
"./$cache_file";;
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2216 $as_echo "$as_me: creating cache $cache_file" >&6;}
2220 # Check that the precious variables saved in the cache have kept the same
2222 ac_cache_corrupted
=false
2223 for ac_var
in $ac_precious_vars; do
2224 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2225 eval ac_new_set
=\
$ac_env_${ac_var}_set
2226 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2227 eval ac_new_val
=\
$ac_env_${ac_var}_value
2228 case $ac_old_set,$ac_new_set in
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2232 ac_cache_corrupted
=: ;;
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2236 ac_cache_corrupted
=: ;;
2239 if test "x$ac_old_val" != "x$ac_new_val"; then
2240 # differences in whitespace do not lead to failure.
2241 ac_old_val_w
=`echo x $ac_old_val`
2242 ac_new_val_w
=`echo x $ac_new_val`
2243 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2245 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2246 ac_cache_corrupted
=:
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2249 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2250 eval $ac_var=\
$ac_old_val
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2253 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2255 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2258 # Pass precious variables to config.status.
2259 if test "$ac_new_set" = set; then
2261 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2262 *) ac_arg
=$ac_var=$ac_new_val ;;
2264 case " $ac_configure_args " in
2265 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2266 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2270 if $ac_cache_corrupted; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2274 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2275 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2277 ## -------------------- ##
2278 ## Main body of script. ##
2279 ## -------------------- ##
2282 ac_cpp
='$CPP $CPPFLAGS'
2283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2289 ac_config_headers
="$ac_config_headers config.h"
2291 test "$program_prefix" != NONE
&&
2292 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2293 # Use a double $ so make ignores it.
2294 test "$program_suffix" != NONE
&&
2295 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2296 # Double any \ or $.
2297 # By default was `s,x,x', remove it if useless.
2298 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2299 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2303 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2304 if test -f "$ac_dir/install-sh"; then
2306 ac_install_sh
="$ac_aux_dir/install-sh -c"
2308 elif test -f "$ac_dir/install.sh"; then
2310 ac_install_sh
="$ac_aux_dir/install.sh -c"
2312 elif test -f "$ac_dir/shtool"; then
2314 ac_install_sh
="$ac_aux_dir/shtool install -c"
2318 if test -z "$ac_aux_dir"; then
2319 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2322 # These three variables are undocumented and unsupported,
2323 # and are intended to be withdrawn in a future Autoconf release.
2324 # They can cause serious problems if a builder's source tree is in a directory
2325 # whose full name contains unusual characters.
2326 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2327 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2328 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 # Make sure we can run config.sub.
2332 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2333 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2336 $as_echo_n "checking build system type... " >&6; }
2337 if ${ac_cv_build+:} false
; then :
2338 $as_echo_n "(cached) " >&6
2340 ac_build_alias
=$build_alias
2341 test "x$ac_build_alias" = x
&&
2342 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2343 test "x$ac_build_alias" = x
&&
2344 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2345 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2346 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2350 $as_echo "$ac_cv_build" >&6; }
2351 case $ac_cv_build in
2353 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2356 ac_save_IFS
=$IFS; IFS
='-'
2362 # Remember, the first character of IFS is used to create $*,
2363 # except with old shells:
2366 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2370 $as_echo_n "checking host system type... " >&6; }
2371 if ${ac_cv_host+:} false
; then :
2372 $as_echo_n "(cached) " >&6
2374 if test "x$host_alias" = x
; then
2375 ac_cv_host
=$ac_cv_build
2377 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2378 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2383 $as_echo "$ac_cv_host" >&6; }
2386 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2389 ac_save_IFS
=$IFS; IFS
='-'
2395 # Remember, the first character of IFS is used to create $*,
2396 # except with old shells:
2399 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2402 CANONICAL_HOST
=$host
2405 # Checks for programs.
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2407 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2409 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2410 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2411 $as_echo_n "(cached) " >&6
2413 cat >conftest.
make <<\_ACEOF
2416 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2418 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2419 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2421 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2423 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2427 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2429 $as_echo "yes" >&6; }
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2433 $as_echo "no" >&6; }
2434 SET_MAKE
="MAKE=${MAKE-make}"
2437 for ac_prog
in gawk mawk nawk
awk
2439 # Extract the first word of "$ac_prog", so it can be a program name with args.
2440 set dummy
$ac_prog; ac_word
=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if ${ac_cv_prog_AWK+:} false
; then :
2444 $as_echo_n "(cached) " >&6
2446 if test -n "$AWK"; then
2447 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir
=.
2454 for ac_exec_ext
in '' $ac_executable_extensions; do
2455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2456 ac_cv_prog_AWK
="$ac_prog"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 if test -n "$AWK"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2469 $as_echo "$AWK" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2476 test -n "$AWK" && break
2480 ac_cpp
='$CPP $CPPFLAGS'
2481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2484 if test -n "$ac_tool_prefix"; then
2485 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2486 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2488 $as_echo_n "checking for $ac_word... " >&6; }
2489 if ${ac_cv_prog_CC+:} false
; then :
2490 $as_echo_n "(cached) " >&6
2492 if test -n "$CC"; then
2493 ac_cv_prog_CC
="$CC" # Let the user override the test.
2495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir
=.
2500 for ac_exec_ext
in '' $ac_executable_extensions; do
2501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2502 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test -n "$CC"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2515 $as_echo "$CC" >&6; }
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518 $as_echo "no" >&6; }
2523 if test -z "$ac_cv_prog_CC"; then
2525 # Extract the first word of "gcc", so it can be a program name with args.
2526 set dummy gcc
; ac_word
=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir
=.
2540 for ac_exec_ext
in '' $ac_executable_extensions; do
2541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2542 ac_cv_prog_ac_ct_CC
="gcc"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2555 $as_echo "$ac_ct_CC" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2561 if test "x$ac_ct_CC" = x
; then
2564 case $cross_compiling:$ac_tool_warned in
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2568 ac_tool_warned
=yes ;;
2576 if test -z "$CC"; then
2577 if test -n "$ac_tool_prefix"; then
2578 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2579 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_CC+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$CC"; then
2586 ac_cv_prog_CC
="$CC" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2608 $as_echo "$CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2617 if test -z "$CC"; then
2618 # Extract the first word of "cc", so it can be a program name with args.
2619 set dummy cc
; ac_word
=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_CC+:} false
; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2637 ac_prog_rejected
=yes
2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test $ac_prog_rejected = yes; then
2649 # We found a bogon in the path, so make sure we never use it.
2650 set dummy
$ac_cv_prog_CC
2652 if test $# != 0; then
2653 # We chose a different compiler from the bogus one.
2654 # However, it has the same basename, so the bogon will be chosen
2655 # first if we set CC to just the basename; use the full file name.
2657 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2663 if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665 $as_echo "$CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2673 if test -z "$CC"; then
2674 if test -n "$ac_tool_prefix"; then
2675 for ac_prog
in cl.exe
2677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2678 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2680 $as_echo_n "checking for $ac_word... " >&6; }
2681 if ${ac_cv_prog_CC+:} false
; then :
2682 $as_echo_n "(cached) " >&6
2684 if test -n "$CC"; then
2685 ac_cv_prog_CC
="$CC" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2694 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2714 test -n "$CC" && break
2717 if test -z "$CC"; then
2719 for ac_prog
in cl.exe
2721 # Extract the first word of "$ac_prog", so it can be a program name with args.
2722 set dummy
$ac_prog; ac_word
=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$ac_ct_CC"; then
2729 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir
=.
2736 for ac_exec_ext
in '' $ac_executable_extensions; do
2737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2738 ac_cv_prog_ac_ct_CC
="$ac_prog"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2749 if test -n "$ac_ct_CC"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2751 $as_echo "$ac_ct_CC" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2758 test -n "$ac_ct_CC" && break
2761 if test "x$ac_ct_CC" = x
; then
2764 case $cross_compiling:$ac_tool_warned in
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2768 ac_tool_warned
=yes ;;
2777 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2779 as_fn_error $?
"no acceptable C compiler found in \$PATH
2780 See \`config.log' for more details" "$LINENO" 5; }
2782 # Provide some information about the compiler.
2783 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2786 for ac_option
in --version -v -V -qversion; do
2787 { { ac_try
="$ac_compiler $ac_option >&5"
2789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2796 if test -s conftest.err; then
2798 ... rest of stderr output deleted ...
2799 10q' conftest.err >conftest.er1
2800 cat conftest.er1 >&5
2802 rm -f conftest.er1 conftest.err
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; }
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2818 ac_clean_files_save=$ac_clean_files
2819 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2820 # Try to create an executable without -o first, disregard a.out.
2821 # It will help us diagnose broken compilers, and finding out an intuition
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2824 $as_echo_n "checking whether the C compiler works... " >&6; }
2825 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2827 # The possible output files:
2828 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2831 for ac_file in $ac_files
2834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2835 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2840 if { { ac_try="$ac_link_default"
2842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2843 *) ac_try_echo
=$ac_try;;
2845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_link_default") 2>&5
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; }; then :
2851 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2852 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2853 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2854 # so that the user can short-circuit this test for compilers unknown to
2856 for ac_file
in $ac_files ''
2858 test -f "$ac_file" ||
continue
2860 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2863 # We found the default executable, but exeext='' is most
2867 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2869 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2871 # We set ac_cv_exeext here because the later test for it is not
2872 # safe: cross compilers may not add the suffix if given an `-o'
2873 # argument, so we may need to know it at that point already.
2874 # Even if this section looks crufty: it has the advantage of
2881 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2886 if test -z "$ac_file"; then :
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 as_fn_error
77 "C compiler cannot create executables
2895 See \`config.log' for more details" "$LINENO" 5; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2898 $as_echo "yes" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2901 $as_echo_n "checking for C compiler default output file name... " >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2903 $as_echo "$ac_file" >&6; }
2904 ac_exeext
=$ac_cv_exeext
2906 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2907 ac_clean_files
=$ac_clean_files_save
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2909 $as_echo_n "checking for suffix of executables... " >&6; }
2910 if { { ac_try
="$ac_link"
2912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_link") 2>&5
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }; then :
2921 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2922 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2923 # work properly (i.e., refer to `conftest.exe'), while it won't with
2925 for ac_file
in conftest.exe conftest conftest.
*; do
2926 test -f "$ac_file" ||
continue
2928 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2929 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2937 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2938 See \`config.log' for more details" "$LINENO" 5; }
2940 rm -f conftest conftest
$ac_cv_exeext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2942 $as_echo "$ac_cv_exeext" >&6; }
2944 rm -f conftest.
$ac_ext
2945 EXEEXT
=$ac_cv_exeext
2947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2953 FILE *f = fopen ("conftest.out", "w");
2954 return ferror (f) || fclose (f) != 0;
2960 ac_clean_files
="$ac_clean_files conftest.out"
2961 # Check that the compiler produces executables we can run. If not, either
2962 # the compiler is broken, or we cross compile.
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2964 $as_echo_n "checking whether we are cross compiling... " >&6; }
2965 if test "$cross_compiling" != yes; then
2966 { { ac_try
="$ac_link"
2968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link") 2>&5
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; }
2977 if { ac_try='./conftest$ac_cv_exeext'
2978 { { case "(($ac_try" in
2979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2980 *) ac_try_echo
=$ac_try;;
2982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_try") 2>&5
2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; }; }; then
2990 if test "$cross_compiling" = maybe
; then
2993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $?
"cannot run C compiled programs.
2996 If you meant to cross compile, use \`--host'.
2997 See \`config.log' for more details" "$LINENO" 5; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3002 $as_echo "$cross_compiling" >&6; }
3004 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3005 ac_clean_files
=$ac_clean_files_save
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3007 $as_echo_n "checking for suffix of object files... " >&6; }
3008 if ${ac_cv_objext+:} false
; then :
3009 $as_echo_n "(cached) " >&6
3011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3022 rm -f conftest.o conftest.obj
3023 if { { ac_try
="$ac_compile"
3025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_compile") 2>&5
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; }; then :
3034 for ac_file in conftest.o conftest.obj conftest.*; do
3035 test -f "$ac_file" || continue;
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3043 $as_echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3049 See \
`config.log' for more details" "$LINENO" 5; }
3051 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3054 $as_echo "$ac_cv_objext" >&6; }
3055 OBJEXT=$ac_cv_objext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3058 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3059 if ${ac_cv_c_compiler_gnu+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3076 if ac_fn_c_try_compile "$LINENO"; then :
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3086 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3087 if test $ac_compiler_gnu = yes; then
3092 ac_test_CFLAGS=${CFLAGS+set}
3093 ac_save_CFLAGS=$CFLAGS
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3095 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3096 if ${ac_cv_prog_cc_g+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 ac_save_c_werror_flag=$ac_c_werror_flag
3100 ac_c_werror_flag=yes
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3114 if ac_fn_c_try_compile "$LINENO"; then :
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3132 ac_c_werror_flag=$ac_save_c_werror_flag
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3145 if ac_fn_c_try_compile "$LINENO"; then :
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 ac_c_werror_flag=$ac_save_c_werror_flag
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3156 $as_echo "$ac_cv_prog_cc_g" >&6; }
3157 if test "$ac_test_CFLAGS" = set; then
3158 CFLAGS=$ac_save_CFLAGS
3159 elif test $ac_cv_prog_cc_g = yes; then
3160 if test "$GCC" = yes; then
3166 if test "$GCC" = yes; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3173 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3174 if ${ac_cv_prog_cc_c89+:} false; then :
3175 $as_echo_n "(cached) " >&6
3177 ac_cv_prog_cc_c89=no
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3185 struct buf { int x; };
3186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3187 static char *e (p, i)
3193 static char *f (char * (*g) (char **, int), char **p, ...)
3198 s = g (p, va_arg (v,int));
3203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3204 function prototypes and stuff, but not '\xHH' hex character constants.
3205 These don't provoke an error unfortunately, instead are silently treated
3206 as 'x'. The following induces an error, until -std is added to get
3207 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3208 array size at least. It's necessary to write '\x00'==0 to get something
3209 that's true only with -std. */
3210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3213 inside strings and character constants. */
3215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3217 int test (int i, double x);
3218 struct s1 {int (*f) (int a);};
3219 struct s2 {int (*f) (double a);};
3220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3232 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3234 CC="$ac_save_CC $ac_arg"
3235 if ac_fn_c_try_compile "$LINENO"; then :
3236 ac_cv_prog_cc_c89=$ac_arg
3238 rm -f core conftest.err conftest.$ac_objext
3239 test "x$ac_cv_prog_cc_c89" != "xno" && break
3241 rm -f conftest.$ac_ext
3246 case "x$ac_cv_prog_cc_c89" in
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3249 $as_echo "none needed" >&6; } ;;
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3252 $as_echo "unsupported" >&6; } ;;
3254 CC="$CC $ac_cv_prog_cc_c89"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3258 if test "x$ac_cv_prog_cc_c89" != xno; then :
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3268 # Find a good install program. We prefer a C program (faster),
3269 # so one script is as good as another. But avoid the broken or
3270 # incompatible versions:
3271 # SysV /etc/install, /usr/sbin/install
3272 # SunOS /usr/etc/install
3273 # IRIX /sbin/install
3275 # AmigaOS /C/install, which installs bootblocks on floppy discs
3276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3279 # OS/2's system install, which has a completely different semantic
3280 # ./install, which can be erroneously created by make from ./install.sh.
3281 # Reject install programs that cannot install multiple files.
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3283 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3284 if test -z "$INSTALL"; then
3285 if ${ac_cv_path_install+:} false; then :
3286 $as_echo_n "(cached) " >&6
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 # Account for people who put trailing slashes in PATH elements.
3294 case $as_dir/ in #((
3295 ./ | .// | /[cC]/* | \
3296 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3297 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3300 # OSF1 and SCO ODT 3.0 have their own names for install.
3301 # Don't use installbsd from OSF since it installs stuff as root
3303 for ac_prog in ginstall scoinst install; do
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3306 if test $ac_prog = install &&
3307 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3308 # AIX install. It has an incompatible calling convention.
3310 elif test $ac_prog = install &&
3311 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3312 # program-specific install script used by HP pwplus--don't use.
3315 rm -rf conftest.one conftest.two conftest.dir
3316 echo one > conftest.one
3317 echo two > conftest.two
3319 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3320 test -s conftest.one && test -s conftest.two &&
3321 test -s conftest.dir/conftest.one &&
3322 test -s conftest.dir/conftest.two
3324 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3337 rm -rf conftest.one conftest.two conftest.dir
3340 if test "${ac_cv_path_install+set}" = set; then
3341 INSTALL=$ac_cv_path_install
3343 # As a last resort, use the slow shell script. Don't cache a
3344 # value for INSTALL within a source directory, because that will
3345 # break other packages using the cache if that directory is
3346 # removed, or if the value is a relative name.
3347 INSTALL=$ac_install_sh
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3351 $as_echo "$INSTALL" >&6; }
3353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3354 # It thinks the first close brace ends the variable substitution.
3355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3362 $as_echo_n "checking whether ln -s works... " >&6; }
3364 if test "$LN_S" = "ln -s"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3366 $as_echo "yes" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3369 $as_echo "no, using $LN_S" >&6; }
3373 AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
3375 AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
3380 ac_cpp='$CPP $CPPFLAGS'
3381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3385 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3386 # On Suns, sometimes $CPP names a directory.
3387 if test -n "$CPP" && test -d "$CPP"; then
3390 if test -z "$CPP"; then
3391 if ${ac_cv_prog_CPP+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 # Double quotes because CPP needs to be expanded
3395 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3398 for ac_c_preproc_warn_flag in '' yes
3400 # Use a header file that comes with gcc, so configuring glibc
3401 # with a fresh cross-compiler works.
3402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3403 # <limits.h> exists even on freestanding compilers.
3404 # On the NeXT, cc -E runs the code through the compiler's parser,
3405 # not just through cpp. "Syntax error" is here to catch this case.
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3409 # include <limits.h>
3411 # include <assert.h>
3415 if ac_fn_c_try_cpp "$LINENO"; then :
3418 # Broken: fails on valid input.
3421 rm -f conftest.err conftest.i conftest.$ac_ext
3423 # OK, works on sane cases. Now check whether nonexistent headers
3424 # can be detected and how.
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3427 #include <ac_nonexistent.h>
3429 if ac_fn_c_try_cpp "$LINENO"; then :
3430 # Broken: success on invalid input.
3433 # Passes both tests.
3437 rm -f conftest.err conftest.i conftest.$ac_ext
3440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3441 rm -f conftest.i conftest.err conftest.
$ac_ext
3442 if $ac_preproc_ok; then :
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3455 $as_echo "$CPP" >&6; }
3457 for ac_c_preproc_warn_flag
in '' yes
3459 # Use a header file that comes with gcc, so configuring glibc
3460 # with a fresh cross-compiler works.
3461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3462 # <limits.h> exists even on freestanding compilers.
3463 # On the NeXT, cc -E runs the code through the compiler's parser,
3464 # not just through cpp. "Syntax error" is here to catch this case.
3465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3468 # include <limits.h>
3470 # include <assert.h>
3474 if ac_fn_c_try_cpp
"$LINENO"; then :
3477 # Broken: fails on valid input.
3480 rm -f conftest.err conftest.i conftest.
$ac_ext
3482 # OK, works on sane cases. Now check whether nonexistent headers
3483 # can be detected and how.
3484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3486 #include <ac_nonexistent.h>
3488 if ac_fn_c_try_cpp
"$LINENO"; then :
3489 # Broken: success on invalid input.
3492 # Passes both tests.
3496 rm -f conftest.err conftest.i conftest.
$ac_ext
3499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3500 rm -f conftest.i conftest.err conftest.
$ac_ext
3501 if $ac_preproc_ok; then :
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3507 See \`config.log' for more details" "$LINENO" 5; }
3511 ac_cpp
='$CPP $CPPFLAGS'
3512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3518 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3519 if ${ac_cv_path_GREP+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -z "$GREP"; then
3523 ac_path_GREP_found
=false
3524 # Loop through the user's path and test for each of PROGNAME-LIST
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_prog
in grep ggrep
; do
3531 for ac_exec_ext
in '' $ac_executable_extensions; do
3532 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3533 as_fn_executable_p
"$ac_path_GREP" ||
continue
3534 # Check for GNU ac_path_GREP and select it if it is found.
3535 # Check for GNU $ac_path_GREP
3536 case `"$ac_path_GREP" --version 2>&1` in
3538 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3541 $as_echo_n 0123456789 >"conftest.in"
3544 cat "conftest.in" "conftest.in" >"conftest.tmp"
3545 mv "conftest.tmp" "conftest.in"
3546 cp "conftest.in" "conftest.nl"
3547 $as_echo 'GREP' >> "conftest.nl"
3548 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3549 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3550 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3551 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3552 # Best one so far, save it but keep looking for a better one
3553 ac_cv_path_GREP
="$ac_path_GREP"
3554 ac_path_GREP_max
=$ac_count
3556 # 10*(2^10) chars as input seems more than enough
3557 test $ac_count -gt 10 && break
3559 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3562 $ac_path_GREP_found && break 3
3567 if test -z "$ac_cv_path_GREP"; then
3568 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3571 ac_cv_path_GREP
=$GREP
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3576 $as_echo "$ac_cv_path_GREP" >&6; }
3577 GREP
="$ac_cv_path_GREP"
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3581 $as_echo_n "checking for egrep... " >&6; }
3582 if ${ac_cv_path_EGREP+:} false
; then :
3583 $as_echo_n "(cached) " >&6
3585 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3586 then ac_cv_path_EGREP
="$GREP -E"
3588 if test -z "$EGREP"; then
3589 ac_path_EGREP_found
=false
3590 # Loop through the user's path and test for each of PROGNAME-LIST
3591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3595 test -z "$as_dir" && as_dir
=.
3596 for ac_prog
in egrep; do
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3599 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3600 # Check for GNU ac_path_EGREP and select it if it is found.
3601 # Check for GNU $ac_path_EGREP
3602 case `"$ac_path_EGREP" --version 2>&1` in
3604 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3607 $as_echo_n 0123456789 >"conftest.in"
3610 cat "conftest.in" "conftest.in" >"conftest.tmp"
3611 mv "conftest.tmp" "conftest.in"
3612 cp "conftest.in" "conftest.nl"
3613 $as_echo 'EGREP' >> "conftest.nl"
3614 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3615 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3616 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3617 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3618 # Best one so far, save it but keep looking for a better one
3619 ac_cv_path_EGREP
="$ac_path_EGREP"
3620 ac_path_EGREP_max
=$ac_count
3622 # 10*(2^10) chars as input seems more than enough
3623 test $ac_count -gt 10 && break
3625 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3628 $ac_path_EGREP_found && break 3
3633 if test -z "$ac_cv_path_EGREP"; then
3634 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3637 ac_cv_path_EGREP
=$EGREP
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3643 $as_echo "$ac_cv_path_EGREP" >&6; }
3644 EGREP
="$ac_cv_path_EGREP"
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3648 $as_echo_n "checking for ANSI C header files... " >&6; }
3649 if ${ac_cv_header_stdc+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3667 if ac_fn_c_try_compile
"$LINENO"; then :
3668 ac_cv_header_stdc
=yes
3670 ac_cv_header_stdc
=no
3672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3674 if test $ac_cv_header_stdc = yes; then
3675 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3682 $EGREP "memchr" >/dev
/null
2>&1; then :
3685 ac_cv_header_stdc
=no
3691 if test $ac_cv_header_stdc = yes; then
3692 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3699 $EGREP "free" >/dev
/null
2>&1; then :
3702 ac_cv_header_stdc
=no
3708 if test $ac_cv_header_stdc = yes; then
3709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3710 if test "$cross_compiling" = yes; then :
3713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3717 #if ((' ' & 0x0FF) == 0x020)
3718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3721 # define ISLOWER(c) \
3722 (('a' <= (c) && (c) <= 'i') \
3723 || ('j' <= (c) && (c) <= 'r') \
3724 || ('s' <= (c) && (c) <= 'z'))
3725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3733 for (i = 0; i < 256; i++)
3734 if (XOR (islower (i), ISLOWER (i))
3735 || toupper (i) != TOUPPER (i))
3740 if ac_fn_c_try_run
"$LINENO"; then :
3743 ac_cv_header_stdc
=no
3745 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3746 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3752 $as_echo "$ac_cv_header_stdc" >&6; }
3753 if test $ac_cv_header_stdc = yes; then
3755 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3759 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3760 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3761 inttypes.h stdint.h unistd.h
3763 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3764 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3767 cat >>confdefs.h
<<_ACEOF
3768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3776 for ac_header
in errno.h fcntl.h inttypes.h locale.h stdlib.h
3778 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3779 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3780 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3781 cat >>confdefs.h
<<_ACEOF
3782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3789 for ac_header
in sys
/cdefs.h sys
/file.h sys
/param.h
3791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3792 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3793 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3794 cat >>confdefs.h
<<_ACEOF
3795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3803 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
3804 case $ac_cv_c_uint8_t in #(
3808 $as_echo "#define _UINT8_T 1" >>confdefs.h
3811 cat >>confdefs.h
<<_ACEOF
3812 #define uint8_t $ac_cv_c_uint8_t
3817 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
3818 case $ac_cv_c_uint16_t in #(
3823 cat >>confdefs.h
<<_ACEOF
3824 #define uint16_t $ac_cv_c_uint16_t
3829 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
3830 case $ac_cv_c_uint32_t in #(
3834 $as_echo "#define _UINT32_T 1" >>confdefs.h
3837 cat >>confdefs.h
<<_ACEOF
3838 #define uint32_t $ac_cv_c_uint32_t
3843 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
3844 case $ac_cv_c_int64_t in #(
3848 cat >>confdefs.h
<<_ACEOF
3849 #define int64_t $ac_cv_c_int64_t
3854 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
3855 case $ac_cv_c_uint64_t in #(
3859 $as_echo "#define _UINT64_T 1" >>confdefs.h
3862 cat >>confdefs.h
<<_ACEOF
3863 #define uint64_t $ac_cv_c_uint64_t
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3870 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3871 if ${ac_cv_c_bigendian+:} false
; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_cv_c_bigendian
=unknown
3875 # See if we're dealing with a universal compiler.
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3878 #ifndef __APPLE_CC__
3879 not a universal capable compiler
3884 if ac_fn_c_try_compile
"$LINENO"; then :
3886 # Check for potential -arch flags. It is not universal unless
3887 # there are at least two -arch flags with different values.
3890 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3891 if test -n "$ac_prev"; then
3893 i?
86 | x86_64 | ppc | ppc64
)
3894 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
3897 ac_cv_c_bigendian
=universal
3903 elif test "x$ac_word" = "x-arch"; then
3908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3909 if test $ac_cv_c_bigendian = unknown
; then
3910 # See if sys/param.h defines the BYTE_ORDER macro.
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3913 #include <sys/types.h>
3914 #include <sys/param.h>
3919 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3920 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3929 if ac_fn_c_try_compile
"$LINENO"; then :
3930 # It does; now see whether it defined to BIG_ENDIAN or not.
3931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3933 #include <sys/types.h>
3934 #include <sys/param.h>
3939 #if BYTE_ORDER != BIG_ENDIAN
3947 if ac_fn_c_try_compile
"$LINENO"; then :
3948 ac_cv_c_bigendian
=yes
3950 ac_cv_c_bigendian
=no
3952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3956 if test $ac_cv_c_bigendian = unknown
; then
3957 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3965 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3973 if ac_fn_c_try_compile
"$LINENO"; then :
3974 # It does; now see whether it defined to _BIG_ENDIAN or not.
3975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3990 if ac_fn_c_try_compile
"$LINENO"; then :
3991 ac_cv_c_bigendian
=yes
3993 ac_cv_c_bigendian
=no
3995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3999 if test $ac_cv_c_bigendian = unknown
; then
4000 # Compile a test program.
4001 if test "$cross_compiling" = yes; then :
4002 # Try to guess by grepping values from an object file.
4003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4005 short int ascii_mm[] =
4006 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4007 short int ascii_ii[] =
4008 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4009 int use_ascii (int i) {
4010 return ascii_mm[i] + ascii_ii[i];
4012 short int ebcdic_ii[] =
4013 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4014 short int ebcdic_mm[] =
4015 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4016 int use_ebcdic (int i) {
4017 return ebcdic_mm[i] + ebcdic_ii[i];
4024 return use_ascii (foo) == use_ebcdic (foo);
4029 if ac_fn_c_try_compile
"$LINENO"; then :
4030 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4031 ac_cv_c_bigendian
=yes
4033 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4034 if test "$ac_cv_c_bigendian" = unknown
; then
4035 ac_cv_c_bigendian
=no
4037 # finding both strings is unlikely to happen, but who knows?
4038 ac_cv_c_bigendian
=unknown
4042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4046 $ac_includes_default
4051 /* Are we little or big endian? From Harbison&Steele. */
4055 char c[sizeof (long int)];
4058 return u.c[sizeof (long int) - 1] == 1;
4064 if ac_fn_c_try_run
"$LINENO"; then :
4065 ac_cv_c_bigendian
=no
4067 ac_cv_c_bigendian
=yes
4069 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4070 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4076 $as_echo "$ac_cv_c_bigendian" >&6; }
4077 case $ac_cv_c_bigendian in #(
4079 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4085 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4089 as_fn_error $?
"unknown endianness
4090 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4094 # Checks for library functions.
4095 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
4096 if test "x$ac_cv_have_decl_strerror_r" = xyes
; then :
4102 cat >>confdefs.h
<<_ACEOF
4103 #define HAVE_DECL_STRERROR_R $ac_have_decl
4106 for ac_func
in strerror_r
4108 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
4109 if test "x$ac_cv_func_strerror_r" = xyes
; then :
4110 cat >>confdefs.h
<<_ACEOF
4111 #define HAVE_STRERROR_R 1
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
4118 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
4119 if ${ac_cv_func_strerror_r_char_p+:} false
; then :
4120 $as_echo_n "(cached) " >&6
4123 ac_cv_func_strerror_r_char_p
=no
4124 if test $ac_cv_have_decl_strerror_r = yes; then
4125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127 $ac_includes_default
4133 char x = *strerror_r (0, buf, sizeof buf);
4134 char *p = strerror_r (0, buf, sizeof buf);
4141 if ac_fn_c_try_compile
"$LINENO"; then :
4142 ac_cv_func_strerror_r_char_p
=yes
4144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4146 # strerror_r is not declared. Choose between
4147 # systems that have relatively inaccessible declarations for the
4148 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
4149 # former has a strerror_r that returns char*, while the latter
4150 # has a strerror_r that returns `int'.
4151 # This test should segfault on the DEC system.
4152 if test "$cross_compiling" = yes; then :
4155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4157 $ac_includes_default
4158 extern char *strerror_r ();
4163 char x = *strerror_r (0, buf, sizeof buf);
4164 return ! isalpha (x);
4169 if ac_fn_c_try_run
"$LINENO"; then :
4170 ac_cv_func_strerror_r_char_p
=yes
4172 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4173 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
4180 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
4181 if test $ac_cv_func_strerror_r_char_p = yes; then
4183 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
4187 for ac_func
in setlocale
4189 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
4190 if test "x$ac_cv_func_setlocale" = xyes
; then :
4191 cat >>confdefs.h
<<_ACEOF
4192 #define HAVE_SETLOCALE 1
4201 ac_config_files
="$ac_config_files Makefile"
4203 cat >confcache
<<\_ACEOF
4204 # This file is a shell script that caches the results of configure
4205 # tests run on this system so they can be shared between configure
4206 # scripts and configure runs, see configure's option --config-cache.
4207 # It is not useful on other systems. If it contains results you don't
4208 # want to keep, you may remove or edit it.
4210 # config.status only pays attention to the cache file if you give it
4211 # the --recheck option to rerun configure.
4213 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4214 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4219 # The following way of writing the cache mishandles newlines in values,
4220 # but we know of no workaround that is simple, portable, and efficient.
4221 # So, we kill variables containing newlines.
4222 # Ultrix sh set writes to stderr and can't be redirected directly,
4223 # and sets the high bit in the cache file unless we assign to the vars.
4225 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4226 eval ac_val
=\$
$ac_var
4230 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4234 _ | IFS | as_nl
) ;; #(
4235 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4236 *) { eval $ac_var=; unset $ac_var;} ;;
4242 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4243 *${as_nl}ac_space
=\
*)
4244 # `set' does not quote correctly, so add quotes: double-quote
4245 # substitution turns \\\\ into \\, and sed turns \\ into \.
4248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4251 # `set' quotes correctly as required by POSIX, so do not add quotes.
4252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4261 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4263 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4265 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4266 if test -w "$cache_file"; then
4267 if test "x$cache_file" != "x/dev/null"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4269 $as_echo "$as_me: updating cache $cache_file" >&6;}
4270 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4271 cat confcache
>"$cache_file"
4273 case $cache_file in #(
4275 mv -f confcache
"$cache_file"$$
&&
4276 mv -f "$cache_file"$$
"$cache_file" ;; #(
4278 mv -f confcache
"$cache_file" ;;
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4284 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4289 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4290 # Let make expand exec_prefix.
4291 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4293 DEFS
=-DHAVE_CONFIG_H
4298 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4299 # 1. Remove the extension, and $U if already installed.
4300 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4301 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4302 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4303 # will be set to the directory where LIBOBJS objects are built.
4304 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4305 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4309 LTLIBOBJS
=$ac_ltlibobjs
4314 : "${CONFIG_STATUS=./config.status}"
4316 ac_clean_files_save
=$ac_clean_files
4317 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4319 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4321 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4323 # Generated by $as_me.
4324 # Run this file to recreate the current configuration.
4325 # Compiler output produced by configure, useful for debugging
4326 # configure, is in config.log if it exists.
4332 SHELL=\${CONFIG_SHELL-$SHELL}
4335 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4336 ## -------------------- ##
4337 ## M4sh Initialization. ##
4338 ## -------------------- ##
4340 # Be more Bourne compatible
4341 DUALCASE
=1; export DUALCASE
# for MKS sh
4342 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4345 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4346 # is contrary to our usage. Disable this feature.
4347 alias -g '${1+"$@"}'='"$@"'
4348 setopt NO_GLOB_SUBST
4350 case `(set -o) 2>/dev/null` in #(
4362 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4363 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4364 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4365 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4366 # Prefer a ksh shell builtin over an external printf program on Solaris,
4367 # but without wasting forks for bash or zsh.
4368 if test -z "$BASH_VERSION$ZSH_VERSION" \
4369 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4370 as_echo='print
-r --'
4371 as_echo_n='print
-rn --'
4372 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4373 as_echo='printf %s
\n'
4374 as_echo_n='printf %s
'
4376 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4377 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4378 as_echo_n='/usr
/ucb
/echo -n'
4380 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4381 as_echo_n_body='eval
4385 expr "X$arg" : "X\\(.*\\)$as_nl";
4386 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4388 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4390 export as_echo_n_body
4391 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4394 as_echo='sh
-c $as_echo_body as_echo
'
4397 # The user is always right.
4398 if test "${PATH_SEPARATOR+set}" != set; then
4400 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4401 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4408 # We need space, tab and new line, in precisely that order. Quoting is
4409 # there to prevent editors from complaining about space-tab.
4410 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4411 # splitting by setting IFS to empty value.)
4414 # Find who we are. Look in the path if we contain no directory separator.
4417 *[\\/]* ) as_myself=$0 ;;
4418 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir=.
4423 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4429 # We did not find ourselves, most probably we were run as `sh COMMAND'
4430 # in which case we are not to be found in the path.
4431 if test "x$as_myself" = x
; then
4434 if test ! -f "$as_myself"; then
4435 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4439 # Unset variables that we do not need and which cause bugs (e.g. in
4440 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4441 # suppresses any "Segmentation fault" message there. '((' could
4442 # trigger a bug in pdksh 5.2.14.
4443 for as_var
in BASH_ENV ENV MAIL MAILPATH
4444 do eval test x\
${$as_var+set} = xset \
4445 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4458 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4461 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4462 # ----------------------------------------
4463 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4464 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4465 # script with STATUS, using 1 if that was 0.
4468 as_status
=$1; test $as_status -eq 0 && as_status
=1
4470 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4471 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4473 $as_echo "$as_me: error: $2" >&2
4474 as_fn_exit
$as_status
4478 # as_fn_set_status STATUS
4479 # -----------------------
4480 # Set $? to STATUS, without forking.
4484 } # as_fn_set_status
4488 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4498 # Portably unset VAR.
4501 { eval $1=; unset $1;}
4503 as_unset
=as_fn_unset
4504 # as_fn_append VAR VALUE
4505 # ----------------------
4506 # Append the text in VALUE to the end of the definition contained in VAR. Take
4507 # advantage of any shell optimizations that allow amortized linear growth over
4508 # repeated appends, instead of the typical quadratic growth present in naive
4510 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4511 eval 'as_fn_append ()
4522 # as_fn_arith ARG...
4523 # ------------------
4524 # Perform arithmetic evaluation on the ARGs, and store the result in the
4525 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4526 # must be portable across $(()) and expr.
4527 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4528 eval 'as_fn_arith ()
4535 as_val
=`expr "$@" || test $? -eq 1`
4540 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4541 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4547 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4548 as_basename
=basename
4553 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4559 as_me
=`$as_basename -- "$0" ||
4560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4561 X"$0" : 'X\(//\)$' \| \
4562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4564 sed '/^.*\/\([^/][^/]*\)\/*$/{
4578 # Avoid depending upon Character Ranges.
4579 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4580 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4581 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4582 as_cr_digits
='0123456789'
4583 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4585 ECHO_C
= ECHO_N
= ECHO_T
=
4586 case `echo -n x` in #(((((
4588 case `echo 'xy\c'` in
4589 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4591 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4598 rm -f conf$$ conf$$.exe conf$$.
file
4599 if test -d conf$$.dir
; then
4600 rm -f conf$$.dir
/conf$$.
file
4603 mkdir conf$$.dir
2>/dev
/null
4605 if (echo >conf$$.
file) 2>/dev
/null
; then
4606 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4608 # ... but there are two gotchas:
4609 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4610 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4611 # In both cases, we have to default to `cp -pR'.
4612 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4614 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4622 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4623 rmdir conf$$.dir
2>/dev
/null
4628 # Create "$as_dir" as a directory, including parents if necessary.
4633 -*) as_dir
=.
/$as_dir;;
4635 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4639 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4640 *) as_qdir
=$as_dir;;
4642 as_dirs
="'$as_qdir' $as_dirs"
4643 as_dir
=`$as_dirname -- "$as_dir" ||
4644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4645 X"$as_dir" : 'X\(//\)[^/]' \| \
4646 X"$as_dir" : 'X\(//\)$' \| \
4647 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4648 $as_echo X"$as_dir" |
4649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4666 test -d "$as_dir" && break
4668 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4669 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4673 if mkdir
-p .
2>/dev
/null
; then
4674 as_mkdir_p
='mkdir -p "$as_dir"'
4676 test -d .
/-p && rmdir .
/-p
4681 # as_fn_executable_p FILE
4682 # -----------------------
4683 # Test if FILE is an executable regular file.
4684 as_fn_executable_p
()
4686 test -f "$1" && test -x "$1"
4687 } # as_fn_executable_p
4689 as_executable_p
=as_fn_executable_p
4691 # Sed expression to map a string onto a valid CPP name.
4692 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4694 # Sed expression to map a string onto a valid variable name.
4695 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4699 ## ----------------------------------- ##
4700 ## Main body of $CONFIG_STATUS script. ##
4701 ## ----------------------------------- ##
4703 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4706 # Save the log message, to keep $0 and so on meaningful, and to
4707 # report actual input values of CONFIG_FILES etc. instead of their
4708 # values after options handling.
4710 This file was extended by nbsd-digest $as_me 20121220, which was
4711 generated by GNU Autoconf 2.69. Invocation command line was
4713 CONFIG_FILES = $CONFIG_FILES
4714 CONFIG_HEADERS = $CONFIG_HEADERS
4715 CONFIG_LINKS = $CONFIG_LINKS
4716 CONFIG_COMMANDS = $CONFIG_COMMANDS
4719 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4724 case $ac_config_files in *"
4725 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4728 case $ac_config_headers in *"
4729 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4734 # Files that config.status was made for.
4735 config_files="$ac_config_files"
4736 config_headers="$ac_config_headers"
4740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4742 \`$as_me' instantiates files and other configuration actions
4743 from templates according to the current configuration. Unless the files
4744 and actions are specified as TAGs, all are instantiated by default.
4746 Usage: $0 [OPTION]... [TAG]...
4748 -h, --help print this help, then exit
4749 -V, --version print version number and configuration settings, then exit
4750 --config print configuration, then exit
4751 -q, --quiet, --silent
4752 do not print progress messages
4753 -d, --debug don't remove temporary files
4754 --recheck update $as_me by reconfiguring in the same conditions
4755 --file=FILE[:TEMPLATE]
4756 instantiate the configuration file FILE
4757 --header=FILE[:TEMPLATE]
4758 instantiate the configuration header FILE
4760 Configuration files:
4763 Configuration headers:
4766 Report bugs to <agc@netbsd.org>."
4769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4770 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4772 nbsd-digest config.status 20121220
4773 configured by $0, generated by GNU Autoconf 2.69,
4774 with options \\"\$ac_cs_config\\"
4776 Copyright (C) 2012 Free Software Foundation, Inc.
4777 This config.status script is free software; the Free Software Foundation
4778 gives unlimited permission to copy, distribute and modify it."
4784 test -n "\$AWK" || AWK=awk
4787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4788 # The default lists apply if the user does not specify any file.
4794 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4795 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4799 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4811 # Handling of the options.
4812 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4814 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4815 $as_echo "$ac_cs_version"; exit ;;
4816 --config |
--confi |
--conf |
--con |
--co |
--c )
4817 $as_echo "$ac_cs_config"; exit ;;
4818 --debug |
--debu |
--deb |
--de |
--d |
-d )
4820 --file |
--fil |
--fi |
--f )
4823 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4824 '') as_fn_error $?
"missing file argument" ;;
4826 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4827 ac_need_defaults
=false
;;
4828 --header |
--heade |
--head |
--hea )
4831 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4833 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4834 ac_need_defaults
=false
;;
4836 # Conflict between --help and --header
4837 as_fn_error $?
"ambiguous option: \`$1'
4838 Try \`$0 --help' for more information.";;
4839 --help |
--hel |
-h )
4840 $as_echo "$ac_cs_usage"; exit ;;
4841 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4842 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4846 -*) as_fn_error $?
"unrecognized option: \`$1'
4847 Try \`$0 --help' for more information." ;;
4849 *) as_fn_append ac_config_targets
" $1"
4850 ac_need_defaults
=false
;;
4856 ac_configure_extra_args
=
4858 if $ac_cs_silent; then
4860 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4865 if \$ac_cs_recheck; then
4866 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4868 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4869 CONFIG_SHELL='$SHELL'
4875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4879 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4880 ## Running $as_me. ##
4886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4891 # Handling of arguments.
4892 for ac_config_target
in $ac_config_targets
4894 case $ac_config_target in
4895 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4896 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4898 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4903 # If the user did not use the arguments to specify the items to instantiate,
4904 # then the envvar interface is used. Set only those that are not.
4905 # We use the long form for the default assignment because of an extremely
4906 # bizarre bug on SunOS 4.1.3.
4907 if $ac_need_defaults; then
4908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4912 # Have a temporary directory for convenience. Make it in the build tree
4913 # simply because there is no reason against having it here, and in addition,
4914 # creating and moving files from /tmp can sometimes cause problems.
4915 # Hook for its removal unless debugging.
4916 # Note that there is a small window in which the directory will not be cleaned:
4917 # after its creation but before its name has been assigned to `$tmp'.
4921 trap 'exit_status=$?
4923 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4925 trap 'as_fn_exit 1' 1 2 13 15
4927 # Create a (secure) tmp directory for tmp files.
4930 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4934 tmp
=.
/conf$$
-$RANDOM
4935 (umask 077 && mkdir
"$tmp")
4936 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4939 # Set up the scripts for CONFIG_FILES section.
4940 # No need to generate them if there are no CONFIG_FILES.
4941 # This happens for instance with `./config.status config.h'.
4942 if test -n "$CONFIG_FILES"; then
4945 ac_cr
=`echo X | tr X '\015'`
4946 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4947 # But we know of no other shell where ac_cr would be empty at this
4948 # point, so we can use a bashism as a fallback.
4949 if test "x$ac_cr" = x
; then
4950 eval ac_cr
=\$
\'\\r
\'
4952 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4953 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4959 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4964 echo "cat >conf$$subs.awk <<_ACEOF" &&
4965 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4968 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4969 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4971 for ac_last_try in false false false false false :; do
4972 . ./conf$$subs.sh ||
4973 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4975 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4976 if test $ac_delim_n = $ac_delim_num; then
4978 elif $ac_last_try; then
4979 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4981 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4991 s/^/S["/; s
/!.
*/"]=/
5001 s/\(.\{148\}\)..*/\1/
5003 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5008 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5015 s/\(.\{148\}\)..*/\1/
5017 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5021 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5026 ' <conf$$subs.awk | sed '
5031 ' >>$CONFIG_STATUS || ac_write_fail=1
5032 rm -f conf$$subs.awk
5033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5035 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5036 for (key in S) S_is_set[key] = 1
5042 nfields = split(line, field, "@
")
5044 len = length(field[1])
5045 for (i = 2; i < nfields; i++) {
5047 keylen = length(key)
5048 if (S_is_set[key]) {
5050 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5051 len += length(value) + length(field[++i])
5062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5063 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5064 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5067 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5068 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5071 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5072 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5073 # trailing colons and then remove the whole line if VPATH becomes empty
5074 # (actually we leave an empty line to preserve line numbers).
5075 if test "x
$srcdir" = x.; then
5076 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5095 fi # test -n "$CONFIG_FILES"
5097 # Set up the scripts for CONFIG_HEADERS section.
5098 # No need to generate them if there are no CONFIG_HEADERS.
5099 # This happens for instance with `./config.status Makefile'.
5100 if test -n "$CONFIG_HEADERS"; then
5101 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5105 # Transform confdefs.h into an awk script `defines.awk', embedded as
5106 # here-document in config.status, that substitutes the proper values into
5107 # config.h.in to produce config.h.
5109 # Create a delimiter string that does not exist in confdefs.h, to ease
5110 # handling of long lines.
5112 for ac_last_try in false false :; do
5113 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5114 if test -z "$ac_tt"; then
5116 elif $ac_last_try; then
5117 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5119 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5123 # For the awk script, D is an array of macro values keyed by name,
5124 # likewise P contains macro parameters if any. Preserve backslash
5125 # newline sequences.
5127 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5129 s/.\{148\}/&'"$ac_delim"'/g
5132 s/^[ ]*#[ ]*define[ ][ ]*/ /
5139 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5141 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5145 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5146 D["\
1"]=" \
3\\\\\\n
"\\/p
5148 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5153 s/.\{148\}/&'"$ac_delim"'/g
5158 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5161 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5163 ' <confdefs.h | sed '
5164 s/'"$ac_delim"'/"\\\
5165 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5168 for (key in D) D_is_set[key] = 1
5171 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5173 split(line, arg, " ")
5174 if (arg[1] == "#") {
5178 defundef
= substr
(arg
[1], 2)
5181 split(mac1
, mac2
, "(") #)
5183 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5184 if (D_is_set
[macro
]) {
5185 # Preserve the white space surrounding the "#".
5186 print prefix
"define", macro P
[macro
] D
[macro
]
5189 # Replace #undef with comments. This is necessary, for example,
5190 # in the case of _POSIX_SOURCE, which is predefined and required
5191 # on some systems where configure will not decide to define it.
5192 if (defundef
== "undef") {
5193 print
"/*", prefix defundef
, macro
, "*/"
5201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5202 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5203 fi # test -n "$CONFIG_HEADERS"
5206 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5211 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5213 case $ac_mode$ac_tag in
5215 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5216 :[FH
]-) ac_tag
=-:-;;
5217 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5234 -) ac_f
="$ac_tmp/stdin";;
5235 *) # Look for the file first in the build tree, then in the source tree
5236 # (if the path is not absolute). The absolute path cannot be DOS-style,
5237 # because $ac_f cannot contain `:'.
5241 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5243 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5245 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5246 as_fn_append ac_file_inputs
" '$ac_f'"
5249 # Let's still pretend it is `configure' which instantiates (i.e., don't
5250 # use $as_me), people would be surprised to read:
5251 # /* config.h. Generated by config.status. */
5252 configure_input
='Generated from '`
5253 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5255 if test x
"$ac_file" != x-
; then
5256 configure_input
="$ac_file. $configure_input"
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5258 $as_echo "$as_me: creating $ac_file" >&6;}
5260 # Neutralize special characters interpreted by sed in replacement strings.
5261 case $configure_input in #(
5262 *\
&* |
*\|
* |
*\\* )
5263 ac_sed_conf_input
=`$as_echo "$configure_input" |
5264 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5265 *) ac_sed_conf_input
=$configure_input;;
5269 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5270 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5275 ac_dir
=`$as_dirname -- "$ac_file" ||
5276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5277 X"$ac_file" : 'X\(//\)[^/]' \| \
5278 X"$ac_file" : 'X\(//\)$' \| \
5279 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5280 $as_echo X"$ac_file" |
5281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5298 as_dir
="$ac_dir"; as_fn_mkdir_p
5302 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5304 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5305 # A ".." for each directory in $ac_dir_suffix.
5306 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5307 case $ac_top_builddir_sub in
5308 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5309 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5312 ac_abs_top_builddir
=$ac_pwd
5313 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5314 # for backward compatibility:
5315 ac_top_builddir
=$ac_top_build_prefix
5318 .
) # We are building in place.
5320 ac_top_srcdir
=$ac_top_builddir_sub
5321 ac_abs_top_srcdir
=$ac_pwd ;;
5322 [\\/]* | ?
:[\\/]* ) # Absolute name.
5323 ac_srcdir
=$srcdir$ac_dir_suffix;
5324 ac_top_srcdir
=$srcdir
5325 ac_abs_top_srcdir
=$srcdir ;;
5327 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5328 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5329 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5331 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5341 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5342 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5347 # If the template does not know about datarootdir, expand it.
5348 # FIXME: This hack should be removed a few years after 2.60.
5349 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5360 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5361 *datarootdir
*) ac_datarootdir_seen
=yes;;
5362 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5364 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5367 ac_datarootdir_hack='
5368 s&@datadir@&$datadir&g
5369 s&@docdir@&$docdir&g
5370 s&@infodir@&$infodir&g
5371 s&@localedir@&$localedir&g
5372 s&@mandir@&$mandir&g
5373 s&\\\${datarootdir}&$datarootdir&g' ;;
5377 # Neutralize VPATH when `$srcdir' = `.'.
5378 # Shell code in configure.ac might set extrasub.
5379 # FIXME: do we really want to maintain this feature?
5380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5381 ac_sed_extra="$ac_vpsub
5384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5386 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5387 s|@configure_input@|
$ac_sed_conf_input|
;t t
5388 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5389 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5390 s
&@srcdir@
&$ac_srcdir&;t t
5391 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5392 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5393 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5394 s
&@builddir@
&$ac_builddir&;t t
5395 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5396 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5397 s
&@INSTALL@
&$ac_INSTALL&;t t
5398 $ac_datarootdir_hack
5400 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5401 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5403 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5404 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5405 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5406 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5408 which seems to be undefined. Please make sure it is defined" >&5
5409 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5410 which seems to be undefined. Please make sure it is defined" >&2;}
5412 rm -f "$ac_tmp/stdin"
5414 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5415 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5423 if test x"$ac_file" != x-; then
5425 $as_echo "/* $configure_input */" \
5426 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5427 } >"$ac_tmp/config.h" \
5428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5429 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5431 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5434 mv "$ac_tmp/config.h" "$ac_file" \
5435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5438 $as_echo "/* $configure_input */" \
5439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5440 || as_fn_error $? "could not create -" "$LINENO" 5
5452 ac_clean_files=$ac_clean_files_save
5454 test $ac_write_fail = 0 ||
5455 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5458 # configure is writing to config.log, and then calls config.status.
5459 # config.status does its own redirection, appending to config.log.
5460 # Unfortunately, on DOS this fails, as config.log is still kept open
5461 # by configure, so config.status won't be able to
write to it
; its
5462 # output is simply discarded. So we exec the FD to /dev/null,
5463 # effectively closing config.log, so it can be properly (re)opened and
5464 # appended to by config.status. When coming back to configure, we
5465 # need to make the FD available again.
5466 if test "$no_create" != yes; then
5468 ac_config_status_args
=
5469 test "$silent" = yes &&
5470 ac_config_status_args
="$ac_config_status_args --quiet"
5472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5475 # would make configure fail if this is the last instruction.
5476 $ac_cs_success || as_fn_exit
1
5478 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5480 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}