2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for mbuffer 20150412.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
578 PACKAGE_NAME
='mbuffer'
579 PACKAGE_TARNAME
='mbuffer'
580 PACKAGE_VERSION
='20150412'
581 PACKAGE_STRING
='mbuffer 20150412'
585 ac_unique_file
="mbuffer.c"
586 ac_default_prefix
=/usr
/local
587 # Factoring default headers for most tests.
588 ac_includes_default
="\
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
600 # ifdef HAVE_STDLIB_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
682 program_transform_name
695 enable_option_checking
701 ac_precious_vars
='build_alias
712 # Initialize some variables set by options.
714 ac_init_version
=false
715 ac_unrecognized_opts
=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
726 program_transform_name
=s
,x
,x
,
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir
='${exec_prefix}/bin'
741 sbindir
='${exec_prefix}/sbin'
742 libexecdir
='${exec_prefix}/libexec'
743 datarootdir
='${prefix}/share'
744 datadir
='${datarootdir}'
745 sysconfdir
='${prefix}/etc'
746 sharedstatedir
='${prefix}/com'
747 localstatedir
='${prefix}/var'
748 includedir
='${prefix}/include'
749 oldincludedir
='/usr/include'
750 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir
='${datarootdir}/info'
756 libdir
='${exec_prefix}/lib'
757 localedir
='${datarootdir}/locale'
758 mandir
='${datarootdir}/man'
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\
$ac_option
772 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777 # Accept the important Cygnus configure options, so we can diagnose typos.
779 case $ac_dashdash$ac_option in
783 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
785 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
788 -build |
--build |
--buil |
--bui |
--bu)
789 ac_prev
=build_alias
;;
790 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
791 build_alias
=$ac_optarg ;;
793 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
794 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
795 ac_prev
=cache_file
;;
796 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
797 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
798 cache_file
=$ac_optarg ;;
801 cache_file
=config.cache
;;
803 -datadir |
--datadir |
--datadi |
--datad)
805 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
806 datadir
=$ac_optarg ;;
808 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
809 |
--dataroo |
--dataro |
--datar)
810 ac_prev
=datarootdir
;;
811 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
812 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
813 datarootdir
=$ac_optarg ;;
815 -disable-* |
--disable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error $?
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=no
;;
831 -docdir |
--docdir |
--docdi |
--doc |
--do)
833 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
836 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
838 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
841 -enable-* |
--enable-*)
842 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
845 as_fn_error $?
"invalid feature name: $ac_useropt"
846 ac_useropt_orig
=$ac_useropt
847 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
852 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853 ac_unrecognized_sep
=', ';;
855 eval enable_
$ac_useropt=\
$ac_optarg ;;
857 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
858 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
859 |
--exec |
--exe |
--ex)
860 ac_prev
=exec_prefix
;;
861 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
862 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
863 |
--exec=* |
--exe=* |
--ex=*)
864 exec_prefix
=$ac_optarg ;;
866 -gas |
--gas |
--ga |
--g)
867 # Obsolete; use --with-gas.
870 -help |
--help |
--hel |
--he |
-h)
872 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
873 ac_init_help
=recursive
;;
874 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
875 ac_init_help
=short
;;
877 -host |
--host |
--hos |
--ho)
878 ac_prev
=host_alias
;;
879 -host=* |
--host=* |
--hos=* |
--ho=*)
880 host_alias
=$ac_optarg ;;
882 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
884 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
886 htmldir
=$ac_optarg ;;
888 -includedir |
--includedir |
--includedi |
--included |
--include \
889 |
--includ |
--inclu |
--incl |
--inc)
890 ac_prev
=includedir
;;
891 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
892 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
893 includedir
=$ac_optarg ;;
895 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
897 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
898 infodir
=$ac_optarg ;;
900 -libdir |
--libdir |
--libdi |
--libd)
902 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
905 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
906 |
--libexe |
--libex |
--libe)
907 ac_prev
=libexecdir
;;
908 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
909 |
--libexe=* |
--libex=* |
--libe=*)
910 libexecdir
=$ac_optarg ;;
912 -localedir |
--localedir |
--localedi |
--localed |
--locale)
914 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
915 localedir
=$ac_optarg ;;
917 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
918 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
919 ac_prev
=localstatedir
;;
920 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
921 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
922 localstatedir
=$ac_optarg ;;
924 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
926 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
930 # Obsolete; use --without-fp.
933 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
934 |
--no-cr |
--no-c |
-n)
937 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
938 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
941 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
942 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
943 |
--oldin |
--oldi |
--old |
--ol |
--o)
944 ac_prev
=oldincludedir
;;
945 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
946 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
947 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
948 oldincludedir
=$ac_optarg ;;
950 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
952 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
955 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
956 |
--program-pre |
--program-pr |
--program-p)
957 ac_prev
=program_prefix
;;
958 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
959 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
960 program_prefix
=$ac_optarg ;;
962 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
963 |
--program-suf |
--program-su |
--program-s)
964 ac_prev
=program_suffix
;;
965 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
966 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
967 program_suffix
=$ac_optarg ;;
969 -program-transform-name |
--program-transform-name \
970 |
--program-transform-nam |
--program-transform-na \
971 |
--program-transform-n |
--program-transform- \
972 |
--program-transform |
--program-transfor \
973 |
--program-transfo |
--program-transf \
974 |
--program-trans |
--program-tran \
975 |
--progr-tra |
--program-tr |
--program-t)
976 ac_prev
=program_transform_name
;;
977 -program-transform-name=* |
--program-transform-name=* \
978 |
--program-transform-nam=* |
--program-transform-na=* \
979 |
--program-transform-n=* |
--program-transform-=* \
980 |
--program-transform=* |
--program-transfor=* \
981 |
--program-transfo=* |
--program-transf=* \
982 |
--program-trans=* |
--program-tran=* \
983 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
984 program_transform_name
=$ac_optarg ;;
986 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
988 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
991 -psdir |
--psdir |
--psdi |
--psd |
--ps)
993 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
996 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
997 |
-silent |
--silent |
--silen |
--sile |
--sil)
1000 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1002 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1004 sbindir
=$ac_optarg ;;
1006 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1007 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1008 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1010 ac_prev
=sharedstatedir
;;
1011 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1012 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1013 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1015 sharedstatedir
=$ac_optarg ;;
1017 -site |
--site |
--sit)
1019 -site=* |
--site=* |
--sit=*)
1022 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1024 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1025 srcdir
=$ac_optarg ;;
1027 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1028 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1029 ac_prev
=sysconfdir
;;
1030 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1031 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1032 sysconfdir
=$ac_optarg ;;
1034 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1035 ac_prev
=target_alias
;;
1036 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1037 target_alias
=$ac_optarg ;;
1039 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1042 -version |
--version |
--versio |
--versi |
--vers |
-V)
1043 ac_init_version
=: ;;
1046 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid package name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval with_
$ac_useropt=\
$ac_optarg ;;
1061 -without-* |
--without-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error $?
"invalid package name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval with_
$ac_useropt=no
;;
1078 # Obsolete; use --with-x.
1081 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1082 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1083 ac_prev
=x_includes
;;
1084 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1085 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1086 x_includes
=$ac_optarg ;;
1088 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1089 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1090 ac_prev
=x_libraries
;;
1091 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1092 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1093 x_libraries
=$ac_optarg ;;
1095 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1100 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1104 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1106 eval $ac_envvar=\
$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1120 if test -n "$ac_prev"; then
1121 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $?
"missing argument to $ac_option"
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1128 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 # Check all directory arguments for consistency.
1134 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val
=\$
$ac_var
1140 # Remove trailing slashes.
1143 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\
$ac_val;;
1146 # Be sure to have absolute directory names.
1148 [\\/$
]* | ?
:[\\/]* ) continue;;
1149 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1151 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1159 target
=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x
; then
1163 if test "x$build_alias" = x
; then
1164 cross_compiling
=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1171 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1173 test "$silent" = yes && exec 6>/dev
/null
1176 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di
=`ls -di .` &&
1178 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $?
"working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $?
"pwd does not report name of working directory"
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted
=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir
=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1216 ac_srcdir_defaulted
=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1220 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1222 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1234 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 for ac_var
in $ac_precious_vars; do
1237 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1239 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1250 \`configure' configures mbuffer 20150412 to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/mbuffer]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1308 --build=BUILD configure
for building on BUILD
[guessed
]
1309 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1310 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1314 if test -n "$ac_init_help"; then
1315 case $ac_init_help in
1316 short | recursive
) echo "Configuration of mbuffer 20150412:";;
1321 --disable-option-checking ignore unrecognized
--enable/--with options
1322 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1323 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1324 --disable-largefile omit support
for large files
1325 --disable-assert turn off assertions
1326 --disable-debug disable verbose logging to console
for debugging purpose
1327 --disable-md5 disable md5
hash generation
1329 Some influential environment variables
:
1330 CC C compiler
command
1331 CFLAGS C compiler flags
1332 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1333 nonstandard directory
<lib dir
>
1334 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1335 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1336 you have headers
in a nonstandard directory
<include dir
>
1339 Use these variables to override the choices made by
`configure' or to help
1340 it to find libraries and programs with nonstandard names/locations.
1342 Report bugs to the package provider.
1347 if test "$ac_init_help" = "recursive"; then
1348 # If there are subdirs, report their specific --help.
1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1350 test -d "$ac_dir" ||
1351 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1359 # A ".." for each directory in $ac_dir_suffix.
1360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1361 case $ac_top_builddir_sub in
1362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366 ac_abs_top_builddir=$ac_pwd
1367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1368 # for backward compatibility:
1369 ac_top_builddir=$ac_top_build_prefix
1372 .) # We are building in place.
1374 ac_top_srcdir=$ac_top_builddir_sub
1375 ac_abs_top_srcdir=$ac_pwd ;;
1376 [\\/]* | ?:[\\/]* ) # Absolute name.
1377 ac_srcdir=$srcdir$ac_dir_suffix;
1378 ac_top_srcdir=$srcdir
1379 ac_abs_top_srcdir=$srcdir ;;
1381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1382 ac_top_srcdir=$ac_top_build_prefix$srcdir
1383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387 cd "$ac_dir" || { ac_status=$?; continue; }
1388 # Check for guested configure.
1389 if test -f "$ac_srcdir/configure.gnu"; then
1391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1392 elif test -f "$ac_srcdir/configure"; then
1394 $SHELL "$ac_srcdir/configure" --help=recursive
1396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398 cd "$ac_pwd" || { ac_status=$?; break; }
1402 test -n "$ac_init_help" && exit $ac_status
1403 if $ac_init_version; then
1405 mbuffer configure 20150412
1406 generated by GNU Autoconf 2.69
1408 Copyright (C) 2012 Free Software Foundation, Inc.
1409 This configure script is free software; the Free Software Foundation
1410 gives unlimited permission to copy, distribute and modify it.
1415 ## ------------------------ ##
1416 ## Autoconf initialization. ##
1417 ## ------------------------ ##
1419 # ac_fn_c_try_compile LINENO
1420 # --------------------------
1421 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1422 ac_fn_c_try_compile ()
1424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1425 rm -f conftest.$ac_objext
1426 if { { ac_try="$ac_compile"
1428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1429 *) ac_try_echo
=$ac_try;;
1431 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1432 $as_echo "$ac_try_echo"; } >&5
1433 (eval "$ac_compile") 2>conftest.err
1435 if test -s conftest.err
; then
1436 grep -v '^ *+' conftest.err
>conftest.er1
1437 cat conftest.er1
>&5
1438 mv -f conftest.er1 conftest.err
1440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1441 test $ac_status = 0; } && {
1442 test -z "$ac_c_werror_flag" ||
1443 test ! -s conftest.err
1444 } && test -s conftest.
$ac_objext; then :
1447 $as_echo "$as_me: failed program was:" >&5
1448 sed 's/^/| /' conftest.
$ac_ext >&5
1452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1453 as_fn_set_status
$ac_retval
1455 } # ac_fn_c_try_compile
1457 # ac_fn_c_try_run LINENO
1458 # ----------------------
1459 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1460 # that executables *can* be run.
1463 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1464 if { { ac_try
="$ac_link"
1466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_link") 2>&5
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1475 { { case "(($ac_try" in
1476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1477 *) ac_try_echo
=$ac_try;;
1479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_try") 2>&5
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; }; }; then :
1487 $as_echo "$as_me: program exited with status $ac_status" >&5
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.
$ac_ext >&5
1491 ac_retval
=$ac_status
1493 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495 as_fn_set_status
$ac_retval
1499 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1500 # ----------------------------------------------------
1501 # Tries to find if the field MEMBER exists in type AGGR, after including
1502 # INCLUDES, setting cache variable VAR accordingly.
1503 ac_fn_c_check_member
()
1505 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1507 $as_echo_n "checking for $2.$3... " >&6; }
1508 if eval \
${$4+:} false
; then :
1509 $as_echo_n "(cached) " >&6
1511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1512 /* end confdefs.h. */
1524 if ac_fn_c_try_compile
"$LINENO"; then :
1527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1528 /* end confdefs.h. */
1534 if (sizeof ac_aggr.$3)
1540 if ac_fn_c_try_compile
"$LINENO"; then :
1545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1551 $as_echo "$ac_res" >&6; }
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 } # ac_fn_c_check_member
1556 # ac_fn_c_try_cpp LINENO
1557 # ----------------------
1558 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1562 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1565 *) ac_try_echo=$ac_try;;
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1571 if test -s conftest.err; then
1572 grep -v '^ *+' conftest.err >conftest.er1
1573 cat conftest.er1 >&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } > conftest.i && {
1578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1593 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594 # -------------------------------------------------------
1595 # Tests whether HEADER exists and can be compiled using the include files in
1596 # INCLUDES, setting the cache variable VAR accordingly.
1597 ac_fn_c_check_header_compile ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601 $as_echo_n "checking for $2... " >&6; }
1602 if eval \${$3+:} false; then :
1603 $as_echo_n "(cached) " >&6
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile "$LINENO"; then :
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 } # ac_fn_c_check_header_compile
1624 # ac_fn_c_try_link LINENO
1625 # -----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext conftest$ac_exeext
1631 if { { ac_try="$ac_link"
1633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1634 *) ac_try_echo
=$ac_try;;
1636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>conftest.err
1640 if test -s conftest.err
; then
1641 grep -v '^ *+' conftest.err
>conftest.er1
1642 cat conftest.er1
>&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest
$ac_exeext && {
1650 test "$cross_compiling" = yes ||
1651 test -x conftest
$ac_exeext
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.
$ac_ext >&5
1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1662 # interfere with the next link command; also delete a directory that is
1663 # left behind by Apple's compiler. We do this before executing the actions.
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status
$ac_retval
1668 } # ac_fn_c_try_link
1670 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1673 # the include files in INCLUDES and setting the cache variable VAR
1675 ac_fn_c_check_header_mongrel
()
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 if eval \
${$3+:} false
; then :
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \
${$3+:} false
; then :
1682 $as_echo_n "(cached) " >&6
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1688 # Is the header compilable?
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1690 $as_echo_n "checking $2 usability... " >&6; }
1691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1696 if ac_fn_c_try_compile
"$LINENO"; then :
1697 ac_header_compiler
=yes
1699 ac_header_compiler
=no
1701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1703 $as_echo "$ac_header_compiler" >&6; }
1705 # Is the header present?
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1707 $as_echo_n "checking $2 presence... " >&6; }
1708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1712 if ac_fn_c_try_cpp
"$LINENO"; then :
1713 ac_header_preproc
=yes
1715 ac_header_preproc
=no
1717 rm -f conftest.err conftest.i conftest.
$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1719 $as_echo "$ac_header_preproc" >&6; }
1721 # So? What about this header?
1722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1725 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1731 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1733 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1735 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1737 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \
${$3+:} false
; then :
1745 $as_echo_n "(cached) " >&6
1747 eval "$3=\$ac_header_compiler"
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1758 # -------------------------------------------
1759 # Tests whether TYPE exists after having included INCLUDES, setting cache
1760 # variable VAR accordingly.
1761 ac_fn_c_check_type
()
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if eval \
${$3+:} false
; then :
1767 $as_echo_n "(cached) " >&6
1770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1782 if ac_fn_c_try_compile
"$LINENO"; then :
1783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1795 if ac_fn_c_try_compile
"$LINENO"; then :
1800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 } # ac_fn_c_check_type
1811 # ac_fn_c_check_func LINENO FUNC VAR
1812 # ----------------------------------
1813 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1814 ac_fn_c_check_func
()
1816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval \
${$3+:} false
; then :
1820 $as_echo_n "(cached) " >&6
1822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1826 #define $2 innocuous_$2
1828 /* System header to define __stub macros and hopefully few prototypes,
1829 which can conflict with char $2 (); below.
1830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831 <limits.h> exists even on freestanding compilers. */
1834 # include <limits.h>
1836 # include <assert.h>
1841 /* Override any GCC internal prototype to avoid an error.
1842 Use char because int might match the return type of a GCC
1843 builtin and then its argument prototype would still apply. */
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined __stub_$2 || defined __stub___$2
1863 if ac_fn_c_try_link
"$LINENO"; then :
1868 rm -f core conftest.err conftest.
$ac_objext \
1869 conftest
$ac_exeext conftest.
$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 } # ac_fn_c_check_func
1877 cat >config.log
<<_ACEOF
1878 This file contains any messages produced by compilers while
1879 running configure, to aid debugging if configure makes a mistake.
1881 It was created by mbuffer $as_me 20150412, which was
1882 generated by GNU Autoconf 2.69. Invocation command line was
1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1901 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1903 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1904 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1906 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1907 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1908 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1909 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir
=.
1918 $as_echo "PATH: $as_dir"
1934 # Keep a trace of the command line.
1935 # Strip out --no-create and --no-recursion so they do not pile up.
1936 # Strip out --silent because we don't want to record it for future runs.
1937 # Also quote any args containing shell meta-characters.
1938 # Make two passes to allow for proper duplicate-argument suppression.
1942 ac_must_keep_next
=false
1948 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1950 |
-silent |
--silent |
--silen |
--sile |
--sil)
1953 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1956 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1958 as_fn_append ac_configure_args1
" '$ac_arg'"
1959 if test $ac_must_keep_next = true
; then
1960 ac_must_keep_next
=false
# Got value, back to normal.
1963 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1964 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1965 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1966 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1967 case "$ac_configure_args0 " in
1968 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1971 -* ) ac_must_keep_next
=true
;;
1974 as_fn_append ac_configure_args
" '$ac_arg'"
1979 { ac_configure_args0
=; unset ac_configure_args0
;}
1980 { ac_configure_args1
=; unset ac_configure_args1
;}
1982 # When interrupted or exit'd, cleanup temporary files, and complete
1983 # config.log. We remove comments because anyway the quotes in there
1984 # would cause problems or look ugly.
1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1987 trap 'exit_status=$?
1988 # Save into config.log some information that might help in debugging.
1992 $as_echo "## ---------------- ##
1993 ## Cache variables. ##
1994 ## ---------------- ##"
1996 # The following way of writing the cache mishandles newlines in values,
1998 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1999 eval ac_val=\$$ac_var
2003 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2007 _ | IFS | as_nl) ;; #(
2008 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2009 *) { eval $ac_var=; unset $ac_var;} ;;
2014 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2015 *${as_nl}ac_space=\ *)
2017 "s/'\''/'\''\\\\'\'''\''/g;
2018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028 $as_echo "## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##"
2032 for ac_var in $ac_subst_vars
2034 eval ac_val=\$$ac_var
2036 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -n "$ac_subst_files"; then
2043 $as_echo "## ------------------- ##
2044 ## File substitutions. ##
2045 ## ------------------- ##"
2047 for ac_var
in $ac_subst_files
2049 eval ac_val
=\$
$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2058 if test -s confdefs.h; then
2059 $as_echo "## ----------- ##
2066 test "$ac_signal" != 0 &&
2067 $as_echo "$as_me: caught signal $ac_signal"
2068 $as_echo "$as_me: exit $exit_status"
2070 rm -f core *.core core.conftest.* &&
2071 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2074 for ac_signal
in 1 2 13 15; do
2075 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2080 rm -f -r conftest
* confdefs.h
2082 $as_echo "/* confdefs.h */" > confdefs.h
2084 # Predefined preprocessor variables.
2086 cat >>confdefs.h
<<_ACEOF
2087 #define PACKAGE_NAME "$PACKAGE_NAME"
2090 cat >>confdefs.h
<<_ACEOF
2091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2094 cat >>confdefs.h
<<_ACEOF
2095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_STRING "$PACKAGE_STRING"
2102 cat >>confdefs.h
<<_ACEOF
2103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_URL "$PACKAGE_URL"
2111 # Let the site file select an alternate cache file if it wants to.
2112 # Prefer an explicitly selected file to automatically selected ones.
2115 if test -n "$CONFIG_SITE"; then
2116 # We do not want a PATH search for config.site.
2117 case $CONFIG_SITE in #((
2118 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2119 */*) ac_site_file1
=$CONFIG_SITE;;
2120 *) ac_site_file1
=.
/$CONFIG_SITE;;
2122 elif test "x$prefix" != xNONE
; then
2123 ac_site_file1
=$prefix/share
/config.site
2124 ac_site_file2
=$prefix/etc
/config.site
2126 ac_site_file1
=$ac_default_prefix/share
/config.site
2127 ac_site_file2
=$ac_default_prefix/etc
/config.site
2129 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2131 test "x$ac_site_file" = xNONE
&& continue
2132 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2137 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139 as_fn_error $?
"failed to load site script $ac_site_file
2140 See \`config.log' for more details" "$LINENO" 5; }
2144 if test -r "$cache_file"; then
2145 # Some versions of bash will fail to source /dev/null (special files
2146 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2147 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2149 $as_echo "$as_me: loading cache $cache_file" >&6;}
2151 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2152 *) .
"./$cache_file";;
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2157 $as_echo "$as_me: creating cache $cache_file" >&6;}
2161 # Check that the precious variables saved in the cache have kept the same
2163 ac_cache_corrupted
=false
2164 for ac_var
in $ac_precious_vars; do
2165 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2166 eval ac_new_set
=\
$ac_env_${ac_var}_set
2167 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2168 eval ac_new_val
=\
$ac_env_${ac_var}_value
2169 case $ac_old_set,$ac_new_set in
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2173 ac_cache_corrupted
=: ;;
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2177 ac_cache_corrupted
=: ;;
2180 if test "x$ac_old_val" != "x$ac_new_val"; then
2181 # differences in whitespace do not lead to failure.
2182 ac_old_val_w
=`echo x $ac_old_val`
2183 ac_new_val_w
=`echo x $ac_new_val`
2184 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2187 ac_cache_corrupted
=:
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2191 eval $ac_var=\
$ac_old_val
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2194 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2196 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2199 # Pass precious variables to config.status.
2200 if test "$ac_new_set" = set; then
2202 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2203 *) ac_arg
=$ac_var=$ac_new_val ;;
2205 case " $ac_configure_args " in
2206 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2207 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2211 if $ac_cache_corrupted; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2216 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2218 ## -------------------- ##
2219 ## Main body of script. ##
2220 ## -------------------- ##
2223 ac_cpp
='$CPP $CPPFLAGS'
2224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2229 ac_config_headers
="$ac_config_headers config.h"
2234 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2235 if test -f "$ac_dir/install-sh"; then
2237 ac_install_sh
="$ac_aux_dir/install-sh -c"
2239 elif test -f "$ac_dir/install.sh"; then
2241 ac_install_sh
="$ac_aux_dir/install.sh -c"
2243 elif test -f "$ac_dir/shtool"; then
2245 ac_install_sh
="$ac_aux_dir/shtool install -c"
2249 if test -z "$ac_aux_dir"; then
2250 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2253 # These three variables are undocumented and unsupported,
2254 # and are intended to be withdrawn in a future Autoconf release.
2255 # They can cause serious problems if a builder's source tree is in a directory
2256 # whose full name contains unusual characters.
2257 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2258 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2259 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2262 # Make sure we can run config.sub.
2263 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2264 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2267 $as_echo_n "checking build system type... " >&6; }
2268 if ${ac_cv_build+:} false
; then :
2269 $as_echo_n "(cached) " >&6
2271 ac_build_alias
=$build_alias
2272 test "x$ac_build_alias" = x
&&
2273 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2274 test "x$ac_build_alias" = x
&&
2275 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2276 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2277 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2281 $as_echo "$ac_cv_build" >&6; }
2282 case $ac_cv_build in
2284 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2287 ac_save_IFS
=$IFS; IFS
='-'
2293 # Remember, the first character of IFS is used to create $*,
2294 # except with old shells:
2297 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2301 $as_echo_n "checking host system type... " >&6; }
2302 if ${ac_cv_host+:} false
; then :
2303 $as_echo_n "(cached) " >&6
2305 if test "x$host_alias" = x
; then
2306 ac_cv_host
=$ac_cv_build
2308 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2309 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2314 $as_echo "$ac_cv_host" >&6; }
2317 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2320 ac_save_IFS
=$IFS; IFS
='-'
2326 # Remember, the first character of IFS is used to create $*,
2327 # except with old shells:
2330 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2334 $as_echo_n "checking target system type... " >&6; }
2335 if ${ac_cv_target+:} false
; then :
2336 $as_echo_n "(cached) " >&6
2338 if test "x$target_alias" = x
; then
2339 ac_cv_target
=$ac_cv_host
2341 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2342 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2347 $as_echo "$ac_cv_target" >&6; }
2348 case $ac_cv_target in
2350 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2352 target
=$ac_cv_target
2353 ac_save_IFS
=$IFS; IFS
='-'
2359 # Remember, the first character of IFS is used to create $*,
2360 # except with old shells:
2363 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2366 # The aliases save the names the user supplied, while $host etc.
2367 # will get canonicalized.
2368 test -n "$target_alias" &&
2369 test "$program_prefix$program_suffix$program_transform_name" = \
2371 program_prefix
=${target_alias}-
2375 if test "${LD_LIBRARY_PATH}" != "" ; then
2377 echo " WARNING: LD_LIBRARY_PATH is set. This can cause severe problems!!!"
2378 echo " Please learn about using RUNPATH instead of LD_LIBRARY_PATH - e.g. here:"
2379 echo " - http://prefetch.net/articles/linkers.badldlibrary.html"
2380 echo " - http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the"
2381 echo " For gcc, you can pass LDFLAGS=\"-R/usr/local/lib\" to configure,"
2382 echo " instead of setting LD_LIBRARY_PATH."
2388 test "$prefix" = NONE
&& prefix
=/usr
/local
2389 test "$exec_prefix" = NONE
&& exec_prefix
=$prefix
2394 ac_cpp
='$CPP $CPPFLAGS'
2395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 ac_cpp
='$CPP $CPPFLAGS'
2401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2404 if test -n "$ac_tool_prefix"; then
2405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2406 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2408 $as_echo_n "checking for $ac_word... " >&6; }
2409 if ${ac_cv_prog_CC+:} false
; then :
2410 $as_echo_n "(cached) " >&6
2412 if test -n "$CC"; then
2413 ac_cv_prog_CC
="$CC" # Let the user override the test.
2415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir
=.
2420 for ac_exec_ext
in '' $ac_executable_extensions; do
2421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2422 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 if test -n "$CC"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2435 $as_echo "$CC" >&6; }
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438 $as_echo "no" >&6; }
2443 if test -z "$ac_cv_prog_CC"; then
2445 # Extract the first word of "gcc", so it can be a program name with args.
2446 set dummy gcc
; ac_word
=$2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448 $as_echo_n "checking for $ac_word... " >&6; }
2449 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2450 $as_echo_n "(cached) " >&6
2452 if test -n "$ac_ct_CC"; then
2453 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir
=.
2460 for ac_exec_ext
in '' $ac_executable_extensions; do
2461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2462 ac_cv_prog_ac_ct_CC
="gcc"
2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2473 if test -n "$ac_ct_CC"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2475 $as_echo "$ac_ct_CC" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2481 if test "x$ac_ct_CC" = x
; then
2484 case $cross_compiling:$ac_tool_warned in
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2488 ac_tool_warned
=yes ;;
2496 if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
2498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2499 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_CC+:} false
; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$CC"; then
2506 ac_cv_prog_CC
="$CC" # Let the user override the test.
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_exec_ext
in '' $ac_executable_extensions; do
2514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 if test -n "$CC"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2528 $as_echo "$CC" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2537 if test -z "$CC"; then
2538 # Extract the first word of "cc", so it can be a program name with args.
2539 set dummy cc
; ac_word
=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false
; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC
="$CC" # Let the user override the test.
2549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir
=.
2554 for ac_exec_ext
in '' $ac_executable_extensions; do
2555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2557 ac_prog_rejected
=yes
2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 if test $ac_prog_rejected = yes; then
2569 # We found a bogon in the path, so make sure we never use it.
2570 set dummy
$ac_cv_prog_CC
2572 if test $# != 0; then
2573 # We chose a different compiler from the bogus one.
2574 # However, it has the same basename, so the bogon will be chosen
2575 # first if we set CC to just the basename; use the full file name.
2577 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2583 if test -n "$CC"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2585 $as_echo "$CC" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2593 if test -z "$CC"; then
2594 if test -n "$ac_tool_prefix"; then
2595 for ac_prog
in cl.exe
2597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2598 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_CC+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$CC"; then
2605 ac_cv_prog_CC
="$CC" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$CC"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2627 $as_echo "$CC" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2634 test -n "$CC" && break
2637 if test -z "$CC"; then
2639 for ac_prog
in cl.exe
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$ac_ct_CC"; then
2649 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_ac_ct_CC
="$ac_prog"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2669 if test -n "$ac_ct_CC"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2671 $as_echo "$ac_ct_CC" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$ac_ct_CC" && break
2681 if test "x$ac_ct_CC" = x
; then
2684 case $cross_compiling:$ac_tool_warned in
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2688 ac_tool_warned
=yes ;;
2697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 as_fn_error $?
"no acceptable C compiler found in \$PATH
2700 See \`config.log' for more details" "$LINENO" 5; }
2702 # Provide some information about the compiler.
2703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2706 for ac_option
in --version -v -V -qversion; do
2707 { { ac_try
="$ac_compiler $ac_option >&5"
2709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2716 if test -s conftest.err; then
2718 ... rest of stderr output deleted ...
2719 10q' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2722 rm -f conftest.er1 conftest.err
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; }
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2738 ac_clean_files_save=$ac_clean_files
2739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2740 # Try to create an executable without -o first, disregard a.out.
2741 # It will help us diagnose broken compilers, and finding out an intuition
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2744 $as_echo_n "checking whether the C compiler works... " >&6; }
2745 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2747 # The possible output files:
2748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2751 for ac_file in $ac_files
2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2755 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2760 if { { ac_try="$ac_link_default"
2762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2763 *) ac_try_echo
=$ac_try;;
2765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2766 $as_echo "$ac_try_echo"; } >&5
2767 (eval "$ac_link_default") 2>&5
2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; }; then :
2771 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2772 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2773 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2774 # so that the user can short-circuit this test for compilers unknown to
2776 for ac_file
in $ac_files ''
2778 test -f "$ac_file" ||
continue
2780 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2783 # We found the default executable, but exeext='' is most
2787 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2789 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791 # We set ac_cv_exeext here because the later test for it is not
2792 # safe: cross compilers may not add the suffix if given an `-o'
2793 # argument, so we may need to know it at that point already.
2794 # Even if this section looks crufty: it has the advantage of
2801 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2806 if test -z "$ac_file"; then :
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 as_fn_error
77 "C compiler cannot create executables
2815 See \`config.log' for more details" "$LINENO" 5; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2818 $as_echo "yes" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2821 $as_echo_n "checking for C compiler default output file name... " >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2823 $as_echo "$ac_file" >&6; }
2824 ac_exeext
=$ac_cv_exeext
2826 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2827 ac_clean_files
=$ac_clean_files_save
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2829 $as_echo_n "checking for suffix of executables... " >&6; }
2830 if { { ac_try
="$ac_link"
2832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>&5
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; }; then :
2841 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2842 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2843 # work properly (i.e., refer to `conftest.exe'), while it won't with
2845 for ac_file
in conftest.exe conftest conftest.
*; do
2846 test -f "$ac_file" ||
continue
2848 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2849 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2858 See \`config.log' for more details" "$LINENO" 5; }
2860 rm -f conftest conftest
$ac_cv_exeext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2862 $as_echo "$ac_cv_exeext" >&6; }
2864 rm -f conftest.
$ac_ext
2865 EXEEXT
=$ac_cv_exeext
2867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2873 FILE *f = fopen ("conftest.out", "w");
2874 return ferror (f) || fclose (f) != 0;
2880 ac_clean_files
="$ac_clean_files conftest.out"
2881 # Check that the compiler produces executables we can run. If not, either
2882 # the compiler is broken, or we cross compile.
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2884 $as_echo_n "checking whether we are cross compiling... " >&6; }
2885 if test "$cross_compiling" != yes; then
2886 { { ac_try
="$ac_link"
2888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892 $as_echo "$ac_try_echo"; } >&5
2893 (eval "$ac_link") 2>&5
2895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; }
2897 if { ac_try='./conftest$ac_cv_exeext'
2898 { { case "(($ac_try" in
2899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2900 *) ac_try_echo
=$ac_try;;
2902 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2903 $as_echo "$ac_try_echo"; } >&5
2904 (eval "$ac_try") 2>&5
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; }; }; then
2910 if test "$cross_compiling" = maybe
; then
2913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2915 as_fn_error $?
"cannot run C compiled programs.
2916 If you meant to cross compile, use \`--host'.
2917 See \`config.log' for more details" "$LINENO" 5; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2922 $as_echo "$cross_compiling" >&6; }
2924 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2925 ac_clean_files
=$ac_clean_files_save
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2927 $as_echo_n "checking for suffix of object files... " >&6; }
2928 if ${ac_cv_objext+:} false
; then :
2929 $as_echo_n "(cached) " >&6
2931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2942 rm -f conftest.o conftest.obj
2943 if { { ac_try
="$ac_compile"
2945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_compile") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; then :
2954 for ac_file in conftest.o conftest.obj conftest.*; do
2955 test -f "$ac_file" || continue;
2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2958 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2963 $as_echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2968 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2969 See \
`config.log' for more details" "$LINENO" 5; }
2971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2974 $as_echo "$ac_cv_objext" >&6; }
2975 OBJEXT=$ac_cv_objext
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2979 if ${ac_cv_c_compiler_gnu+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2996 if ac_fn_c_try_compile "$LINENO"; then :
3001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3002 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3006 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3007 if test $ac_compiler_gnu = yes; then
3012 ac_test_CFLAGS=${CFLAGS+set}
3013 ac_save_CFLAGS=$CFLAGS
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3015 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3016 if ${ac_cv_prog_cc_g+:} false; then :
3017 $as_echo_n "(cached) " >&6
3019 ac_save_c_werror_flag=$ac_c_werror_flag
3020 ac_c_werror_flag=yes
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3034 if ac_fn_c_try_compile "$LINENO"; then :
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3049 if ac_fn_c_try_compile "$LINENO"; then :
3052 ac_c_werror_flag=$ac_save_c_werror_flag
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 if ac_fn_c_try_compile "$LINENO"; then :
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 ac_c_werror_flag=$ac_save_c_werror_flag
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3076 $as_echo "$ac_cv_prog_cc_g" >&6; }
3077 if test "$ac_test_CFLAGS" = set; then
3078 CFLAGS=$ac_save_CFLAGS
3079 elif test $ac_cv_prog_cc_g = yes; then
3080 if test "$GCC" = yes; then
3086 if test "$GCC" = yes; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3093 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3094 if ${ac_cv_prog_cc_c89+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 ac_cv_prog_cc_c89=no
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3105 struct buf { int x; };
3106 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3107 static char *e (p, i)
3113 static char *f (char * (*g) (char **, int), char **p, ...)
3118 s = g (p, va_arg (v,int));
3123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3124 function prototypes and stuff, but not '\xHH' hex character constants.
3125 These don't provoke an error unfortunately, instead are silently treated
3126 as 'x'. The following induces an error, until -std is added to get
3127 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3128 array size at least. It's necessary to write '\x00'==0 to get something
3129 that's true only with -std. */
3130 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3133 inside strings and character constants. */
3135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3137 int test (int i, double x);
3138 struct s1 {int (*f) (int a);};
3139 struct s2 {int (*f) (double a);};
3140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3146 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3152 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3154 CC="$ac_save_CC $ac_arg"
3155 if ac_fn_c_try_compile "$LINENO"; then :
3156 ac_cv_prog_cc_c89=$ac_arg
3158 rm -f core conftest.err conftest.$ac_objext
3159 test "x$ac_cv_prog_cc_c89" != "xno" && break
3161 rm -f conftest.$ac_ext
3166 case "x$ac_cv_prog_cc_c89" in
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3169 $as_echo "none needed" >&6; } ;;
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3172 $as_echo "unsupported" >&6; } ;;
3174 CC="$CC $ac_cv_prog_cc_c89"
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3178 if test "x$ac_cv_prog_cc_c89" != xno; then :
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3189 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3190 if ${ac_cv_prog_cc_c99+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 ac_cv_prog_cc_c99=no
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3198 #include <stdbool.h>
3203 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3204 #define debug(...) fprintf (stderr, __VA_ARGS__)
3205 #define showlist(...) puts (#__VA_ARGS__)
3206 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3208 test_varargs_macros (void)
3213 debug ("X = %d\n", x);
3214 showlist (The first, second, and third items.);
3215 report (x>y, "x is %d but y is %d", x, y);
3218 // Check long long types.
3219 #define BIG64 18446744073709551615ull
3220 #define BIG32 4294967295ul
3221 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3223 your preprocessor is broken;
3227 your preprocessor is broken;
3229 static long long int bignum = -9223372036854775807LL;
3230 static unsigned long long int ubignum = BIG64;
3232 struct incomplete_array
3240 const wchar_t *name;
3244 typedef const char *ccp;
3247 test_restrict (ccp restrict text)
3249 // See if C++-style comments work.
3250 // Iterate through items via the restricted pointer.
3251 // Also check for declarations in for loops.
3252 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3257 // Check varargs and va_copy.
3259 test_varargs (const char *format, ...)
3262 va_start (args, format);
3264 va_copy (args_copy, args);
3275 str = va_arg (args_copy, const char *);
3278 number = va_arg (args_copy, int);
3281 fnumber = va_arg (args_copy, double);
3296 _Bool success = false;
3299 if (test_restrict ("String literal") == 0)
3301 char *restrict newvar = "Another string";
3304 test_varargs ("s, d' f .", "string", 65, 34.234);
3305 test_varargs_macros ();
3307 // Check flexible array members.
3308 struct incomplete_array *ia =
3309 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3311 for (int i = 0; i < ia->datasize; ++i)
3312 ia->data[i] = i * 1.234;
3314 // Check named initializers.
3315 struct named_init ni = {
3317 .name = L"Test wide string",
3318 .average = 543.34343,
3323 int dynamic_array[ni.number];
3324 dynamic_array[ni.number - 1] = 543;
3326 // work around unused variable warnings
3327 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3328 || dynamic_array[ni.number - 1] != 543);
3334 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3336 CC="$ac_save_CC $ac_arg"
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_cv_prog_cc_c99=$ac_arg
3340 rm -f core conftest.err conftest.$ac_objext
3341 test "x$ac_cv_prog_cc_c99" != "xno" && break
3343 rm -f conftest.$ac_ext
3348 case "x$ac_cv_prog_cc_c99" in
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3351 $as_echo "none needed" >&6; } ;;
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3354 $as_echo "unsupported" >&6; } ;;
3356 CC="$CC $ac_cv_prog_cc_c99"
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3358 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3360 if test "x$ac_cv_prog_cc_c99" != xno; then :
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 if test -n "$ac_tool_prefix"; then
3371 for ac_prog in cc gcc
3373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if ${ac_cv_prog_CC+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 if test -n "$CC"; then
3381 ac_cv_prog_CC="$CC" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3401 if test -n "$CC"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3403 $as_echo "$CC" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3410 test -n "$CC" && break
3413 if test -z "$CC"; then
3415 for ac_prog in cc gcc
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 if test -n "$ac_ct_CC"; then
3425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_CC="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3445 if test -n "$ac_ct_CC"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3447 $as_echo "$ac_ct_CC" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$ac_ct_CC" && break
3457 if test "x$ac_ct_CC" = x; then
3460 case $cross_compiling:$ac_tool_warned in
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3464 ac_tool_warned=yes ;;
3471 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3474 See \
`config.log' for more details" "$LINENO" 5; }
3476 # Provide some information about the compiler.
3477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3480 for ac_option in --version -v -V -qversion; do
3481 { { ac_try="$ac_compiler $ac_option >&5"
3483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3484 *) ac_try_echo
=$ac_try;;
3486 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3490 if test -s conftest.err
; then
3492 ... rest of stderr output deleted ...
3493 10q' conftest.err
>conftest.er1
3494 cat conftest.er1
>&5
3496 rm -f conftest.er1 conftest.err
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3503 if ${ac_cv_c_compiler_gnu+:} false
; then :
3504 $as_echo_n "(cached) " >&6
3506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3520 if ac_fn_c_try_compile
"$LINENO"; then :
3525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3526 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3531 if test $ac_compiler_gnu = yes; then
3536 ac_test_CFLAGS
=${CFLAGS+set}
3537 ac_save_CFLAGS
=$CFLAGS
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3540 if ${ac_cv_prog_cc_g+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 ac_save_c_werror_flag
=$ac_c_werror_flag
3544 ac_c_werror_flag
=yes
3547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3558 if ac_fn_c_try_compile
"$LINENO"; then :
3562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 if ac_fn_c_try_compile
"$LINENO"; then :
3576 ac_c_werror_flag
=$ac_save_c_werror_flag
3578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile
"$LINENO"; then :
3592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3597 ac_c_werror_flag
=$ac_save_c_werror_flag
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3600 $as_echo "$ac_cv_prog_cc_g" >&6; }
3601 if test "$ac_test_CFLAGS" = set; then
3602 CFLAGS
=$ac_save_CFLAGS
3603 elif test $ac_cv_prog_cc_g = yes; then
3604 if test "$GCC" = yes; then
3610 if test "$GCC" = yes; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3618 if ${ac_cv_prog_cc_c89+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 ac_cv_prog_cc_c89
=no
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3629 struct buf { int x; };
3630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3631 static char *e (p, i)
3637 static char *f (char * (*g) (char **, int), char **p, ...)
3642 s = g (p, va_arg (v,int));
3647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3648 function prototypes and stuff, but not '\xHH' hex character constants.
3649 These don't provoke an error unfortunately, instead are silently treated
3650 as 'x'. The following induces an error, until -std is added to get
3651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3652 array size at least. It's necessary to write '\x00'==0 to get something
3653 that's true only with -std. */
3654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3657 inside strings and character constants. */
3659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3661 int test (int i, double x);
3662 struct s1 {int (*f) (int a);};
3663 struct s2 {int (*f) (double a);};
3664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3675 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3678 CC
="$ac_save_CC $ac_arg"
3679 if ac_fn_c_try_compile
"$LINENO"; then :
3680 ac_cv_prog_cc_c89
=$ac_arg
3682 rm -f core conftest.err conftest.
$ac_objext
3683 test "x$ac_cv_prog_cc_c89" != "xno" && break
3685 rm -f conftest.
$ac_ext
3690 case "x$ac_cv_prog_cc_c89" in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3693 $as_echo "none needed" >&6; } ;;
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3696 $as_echo "unsupported" >&6; } ;;
3698 CC
="$CC $ac_cv_prog_cc_c89"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3702 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3707 ac_cpp
='$CPP $CPPFLAGS'
3708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
3714 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
3715 if ${ac_cv_c_restrict+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3719 # The order here caters to the fact that C++ does not require restrict.
3720 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
3721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3723 typedef int * int_ptr;
3724 int foo (int_ptr $ac_kw ip) {
3738 if ac_fn_c_try_compile
"$LINENO"; then :
3739 ac_cv_c_restrict
=$ac_kw
3741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3742 test "$ac_cv_c_restrict" != no
&& break
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
3747 $as_echo "$ac_cv_c_restrict" >&6; }
3749 case $ac_cv_c_restrict in
3751 no
) $as_echo "#define restrict /**/" >>confdefs.h
3753 *) cat >>confdefs.h
<<_ACEOF
3754 #define restrict $ac_cv_c_restrict
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3760 $as_echo_n "checking for inline... " >&6; }
3761 if ${ac_cv_c_inline+:} false
; then :
3762 $as_echo_n "(cached) " >&6
3765 for ac_kw
in inline __inline__ __inline
; do
3766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3770 static $ac_kw foo_t static_foo () {return 0; }
3771 $ac_kw foo_t foo () {return 0; }
3775 if ac_fn_c_try_compile
"$LINENO"; then :
3776 ac_cv_c_inline
=$ac_kw
3778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3779 test "$ac_cv_c_inline" != no
&& break
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3784 $as_echo "$ac_cv_c_inline" >&6; }
3786 case $ac_cv_c_inline in
3789 case $ac_cv_c_inline in
3791 *) ac_val
=$ac_cv_c_inline;;
3793 cat >>confdefs.h
<<_ACEOF
3795 #define inline $ac_val
3802 if test "${USRCFLAGS}" = "" ; then
3803 if test "${GCC}" = "yes" ; then
3804 CFLAGS
="${CFLAGS} -O2 -Wall"
3805 cflags_tmp
="${CFLAGS}"
3806 CFLAGS
="${CFLAGS} -m64"
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
3808 $as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
3809 if test "$cross_compiling" = yes; then :
3810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error $?
"cannot run test program while cross compiling
3813 See \`config.log' for more details" "$LINENO" 5; }
3815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_run
"$LINENO"; then :
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3828 $as_echo "yes" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3832 CFLAGS
="$cflags_tmp"
3835 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3836 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3840 SUNCCVERSION
=`${CC} -V 2>&1 | grep Sun`
3842 if test "${SUNCC}" == "0" ; then
3843 CFLAGS
="${CFLAGS} -O"
3844 cflags_tmp
="$CFLAGS"
3845 HAS_M64
=`${CC} -flags | grep m64`
3846 if test "${HAS_M64}" != "" ; then
3847 CFLAGS
="${CFLAGS} -m64"
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
3849 $as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
3850 if test "$cross_compiling" = yes; then :
3851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $?
"cannot run test program while cross compiling
3854 See \`config.log' for more details" "$LINENO" 5; }
3856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 if ac_fn_c_try_run
"$LINENO"; then :
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3869 $as_echo "yes" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3873 CFLAGS
="$cflags_tmp"
3876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3877 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3881 CFLAGS
="${CFLAGS} -xarch=generic64"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
3883 $as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
3884 if test "$cross_compiling" = yes; then :
3885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error $?
"cannot run test program while cross compiling
3888 See \`config.log' for more details" "$LINENO" 5; }
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 if ac_fn_c_try_run
"$LINENO"; then :
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3903 $as_echo "yes" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3907 CFLAGS
="$cflags_tmp"
3910 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3911 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3917 CFLAGS
="${CFLAGS} -O"
3924 # Find a good install program. We prefer a C program (faster),
3925 # so one script is as good as another. But avoid the broken or
3926 # incompatible versions:
3927 # SysV /etc/install, /usr/sbin/install
3928 # SunOS /usr/etc/install
3929 # IRIX /sbin/install
3931 # AmigaOS /C/install, which installs bootblocks on floppy discs
3932 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3933 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3934 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3935 # OS/2's system install, which has a completely different semantic
3936 # ./install, which can be erroneously created by make from ./install.sh.
3937 # Reject install programs that cannot install multiple files.
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3939 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3940 if test -z "$INSTALL"; then
3941 if ${ac_cv_path_install+:} false
; then :
3942 $as_echo_n "(cached) " >&6
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 # Account for people who put trailing slashes in PATH elements.
3950 case $as_dir/ in #((
3951 .
/ | .
// |
/[cC
]/* | \
3952 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3953 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3956 # OSF1 and SCO ODT 3.0 have their own names for install.
3957 # Don't use installbsd from OSF since it installs stuff as root
3959 for ac_prog
in ginstall scoinst
install; do
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3962 if test $ac_prog = install &&
3963 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3964 # AIX install. It has an incompatible calling convention.
3966 elif test $ac_prog = install &&
3967 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3968 # program-specific install script used by HP pwplus--don't use.
3971 rm -rf conftest.one conftest.two conftest.dir
3972 echo one
> conftest.one
3973 echo two
> conftest.two
3975 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3976 test -s conftest.one
&& test -s conftest.two
&&
3977 test -s conftest.dir
/conftest.one
&&
3978 test -s conftest.dir
/conftest.two
3980 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3993 rm -rf conftest.one conftest.two conftest.dir
3996 if test "${ac_cv_path_install+set}" = set; then
3997 INSTALL
=$ac_cv_path_install
3999 # As a last resort, use the slow shell script. Don't cache a
4000 # value for INSTALL within a source directory, because that will
4001 # break other packages using the cache if that directory is
4002 # removed, or if the value is a relative name.
4003 INSTALL
=$ac_install_sh
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4007 $as_echo "$INSTALL" >&6; }
4009 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4010 # It thinks the first close brace ends the variable substitution.
4011 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4013 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4015 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4017 # Extract the first word of "rm", so it can be a program name with args.
4018 set dummy
rm; ac_word
=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_path_RM+:} false
; then :
4022 $as_echo_n "(cached) " >&6
4026 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4036 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 if test -n "$RM"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4050 $as_echo "$RM" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4057 # Extract the first word of "mt", so it can be a program name with args.
4058 set dummy mt
; ac_word
=$2
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if ${ac_cv_path_MT+:} false
; then :
4062 $as_echo_n "(cached) " >&6
4066 ac_cv_path_MT
="$MT" # Let the user override the test with a path.
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_path_MT
="$as_dir/$ac_word$ac_exec_ext"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 test -z "$ac_cv_path_MT" && ac_cv_path_MT
="{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: could not
find the program mt
- you might need this
if you want autoloader support
" >&5
4085 $as_echo "$as_me: WARNING
: could not
find the program mt
- you might need this
if you want autoloader support
" >&2;}"
4090 if test -n "$MT"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MT" >&5
4092 $as_echo "$MT" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4100 $as_echo_n "checking return type of signal handlers... " >&6; }
4101 if ${ac_cv_type_signal+:} false
; then :
4102 $as_echo_n "(cached) " >&6
4104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4106 #include <sys/types.h>
4112 return *(signal (0, 0)) (0) == 1;
4117 if ac_fn_c_try_compile
"$LINENO"; then :
4118 ac_cv_type_signal
=int
4120 ac_cv_type_signal
=void
4122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4125 $as_echo "$ac_cv_type_signal" >&6; }
4127 cat >>confdefs.h
<<_ACEOF
4128 #define RETSIGTYPE $ac_cv_type_signal
4132 # Check whether --enable-largefile was given.
4133 if test "${enable_largefile+set}" = set; then :
4134 enableval
=$enable_largefile;
4137 if test "$enable_largefile" != no
; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4140 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4141 if ${ac_cv_sys_largefile_CC+:} false
; then :
4142 $as_echo_n "(cached) " >&6
4144 ac_cv_sys_largefile_CC
=no
4145 if test "$GCC" != yes; then
4148 # IRIX 6.2 and later do not support large files by default,
4149 # so use the C compiler's -n32 option if that helps.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4152 #include <sys/types.h>
4153 /* Check that off_t can represent 2**63 - 1 correctly.
4154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4155 since some C++ compilers masquerading as C compilers
4156 incorrectly reject 9223372036854775807. */
4157 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4159 && LARGE_OFF_T % 2147483647 == 1)
4169 if ac_fn_c_try_compile
"$LINENO"; then :
4172 rm -f core conftest.err conftest.
$ac_objext
4174 if ac_fn_c_try_compile
"$LINENO"; then :
4175 ac_cv_sys_largefile_CC
=' -n32'; break
4177 rm -f core conftest.err conftest.
$ac_objext
4181 rm -f conftest.
$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4185 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4186 if test "$ac_cv_sys_largefile_CC" != no
; then
4187 CC
=$CC$ac_cv_sys_largefile_CC
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4191 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4192 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4193 $as_echo_n "(cached) " >&6
4196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <sys/types.h>
4199 /* Check that off_t can represent 2**63 - 1 correctly.
4200 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4201 since some C++ compilers masquerading as C compilers
4202 incorrectly reject 9223372036854775807. */
4203 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4204 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4205 && LARGE_OFF_T % 2147483647 == 1)
4215 if ac_fn_c_try_compile
"$LINENO"; then :
4216 ac_cv_sys_file_offset_bits
=no
; break
4218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4221 #define _FILE_OFFSET_BITS 64
4222 #include <sys/types.h>
4223 /* Check that off_t can represent 2**63 - 1 correctly.
4224 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4225 since some C++ compilers masquerading as C compilers
4226 incorrectly reject 9223372036854775807. */
4227 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4228 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4229 && LARGE_OFF_T % 2147483647 == 1)
4239 if ac_fn_c_try_compile
"$LINENO"; then :
4240 ac_cv_sys_file_offset_bits
=64; break
4242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4243 ac_cv_sys_file_offset_bits
=unknown
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4248 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4249 case $ac_cv_sys_file_offset_bits in #(
4252 cat >>confdefs.h
<<_ACEOF
4253 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4258 if test $ac_cv_sys_file_offset_bits = unknown
; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4260 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4261 if ${ac_cv_sys_large_files+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4267 #include <sys/types.h>
4268 /* Check that off_t can represent 2**63 - 1 correctly.
4269 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4270 since some C++ compilers masquerading as C compilers
4271 incorrectly reject 9223372036854775807. */
4272 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4273 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4274 && LARGE_OFF_T % 2147483647 == 1)
4284 if ac_fn_c_try_compile
"$LINENO"; then :
4285 ac_cv_sys_large_files
=no
; break
4287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4290 #define _LARGE_FILES 1
4291 #include <sys/types.h>
4292 /* Check that off_t can represent 2**63 - 1 correctly.
4293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4294 since some C++ compilers masquerading as C compilers
4295 incorrectly reject 9223372036854775807. */
4296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4298 && LARGE_OFF_T % 2147483647 == 1)
4308 if ac_fn_c_try_compile
"$LINENO"; then :
4309 ac_cv_sys_large_files
=1; break
4311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4312 ac_cv_sys_large_files
=unknown
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4317 $as_echo "$ac_cv_sys_large_files" >&6; }
4318 case $ac_cv_sys_large_files in #(
4321 cat >>confdefs.h
<<_ACEOF
4322 #define _LARGE_FILES $ac_cv_sys_large_files
4333 ac_cpp
='$CPP $CPPFLAGS'
4334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4338 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4339 # On Suns, sometimes $CPP names a directory.
4340 if test -n "$CPP" && test -d "$CPP"; then
4343 if test -z "$CPP"; then
4344 if ${ac_cv_prog_CPP+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 # Double quotes because CPP needs to be expanded
4348 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4351 for ac_c_preproc_warn_flag
in '' yes
4353 # Use a header file that comes with gcc, so configuring glibc
4354 # with a fresh cross-compiler works.
4355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4356 # <limits.h> exists even on freestanding compilers.
4357 # On the NeXT, cc -E runs the code through the compiler's parser,
4358 # not just through cpp. "Syntax error" is here to catch this case.
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4362 # include <limits.h>
4364 # include <assert.h>
4368 if ac_fn_c_try_cpp
"$LINENO"; then :
4371 # Broken: fails on valid input.
4374 rm -f conftest.err conftest.i conftest.
$ac_ext
4376 # OK, works on sane cases. Now check whether nonexistent headers
4377 # can be detected and how.
4378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <ac_nonexistent.h>
4382 if ac_fn_c_try_cpp
"$LINENO"; then :
4383 # Broken: success on invalid input.
4386 # Passes both tests.
4390 rm -f conftest.err conftest.i conftest.
$ac_ext
4393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4394 rm -f conftest.i conftest.err conftest.
$ac_ext
4395 if $ac_preproc_ok; then :
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4408 $as_echo "$CPP" >&6; }
4410 for ac_c_preproc_warn_flag
in '' yes
4412 # Use a header file that comes with gcc, so configuring glibc
4413 # with a fresh cross-compiler works.
4414 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4415 # <limits.h> exists even on freestanding compilers.
4416 # On the NeXT, cc -E runs the code through the compiler's parser,
4417 # not just through cpp. "Syntax error" is here to catch this case.
4418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4421 # include <limits.h>
4423 # include <assert.h>
4427 if ac_fn_c_try_cpp
"$LINENO"; then :
4430 # Broken: fails on valid input.
4433 rm -f conftest.err conftest.i conftest.
$ac_ext
4435 # OK, works on sane cases. Now check whether nonexistent headers
4436 # can be detected and how.
4437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <ac_nonexistent.h>
4441 if ac_fn_c_try_cpp
"$LINENO"; then :
4442 # Broken: success on invalid input.
4445 # Passes both tests.
4449 rm -f conftest.err conftest.i conftest.
$ac_ext
4452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4453 rm -f conftest.i conftest.err conftest.
$ac_ext
4454 if $ac_preproc_ok; then :
4457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4460 See \`config.log' for more details" "$LINENO" 5; }
4464 ac_cpp
='$CPP $CPPFLAGS'
4465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4471 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4472 if ${ac_cv_path_GREP+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$GREP"; then
4476 ac_path_GREP_found
=false
4477 # Loop through the user's path and test for each of PROGNAME-LIST
4478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4482 test -z "$as_dir" && as_dir
=.
4483 for ac_prog
in grep ggrep
; do
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4486 as_fn_executable_p
"$ac_path_GREP" ||
continue
4487 # Check for GNU ac_path_GREP and select it if it is found.
4488 # Check for GNU $ac_path_GREP
4489 case `"$ac_path_GREP" --version 2>&1` in
4491 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4494 $as_echo_n 0123456789 >"conftest.in"
4497 cat "conftest.in" "conftest.in" >"conftest.tmp"
4498 mv "conftest.tmp" "conftest.in"
4499 cp "conftest.in" "conftest.nl"
4500 $as_echo 'GREP' >> "conftest.nl"
4501 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4502 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4503 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4504 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4505 # Best one so far, save it but keep looking for a better one
4506 ac_cv_path_GREP
="$ac_path_GREP"
4507 ac_path_GREP_max
=$ac_count
4509 # 10*(2^10) chars as input seems more than enough
4510 test $ac_count -gt 10 && break
4512 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4515 $ac_path_GREP_found && break 3
4520 if test -z "$ac_cv_path_GREP"; then
4521 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4524 ac_cv_path_GREP
=$GREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4529 $as_echo "$ac_cv_path_GREP" >&6; }
4530 GREP
="$ac_cv_path_GREP"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4534 $as_echo_n "checking for egrep... " >&6; }
4535 if ${ac_cv_path_EGREP+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4539 then ac_cv_path_EGREP
="$GREP -E"
4541 if test -z "$EGREP"; then
4542 ac_path_EGREP_found
=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_prog
in egrep; do
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4552 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4553 # Check for GNU ac_path_EGREP and select it if it is found.
4554 # Check for GNU $ac_path_EGREP
4555 case `"$ac_path_EGREP" --version 2>&1` in
4557 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'EGREP' >> "conftest.nl"
4567 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4568 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4569 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4570 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_EGREP
="$ac_path_EGREP"
4573 ac_path_EGREP_max
=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4581 $ac_path_EGREP_found && break 3
4586 if test -z "$ac_cv_path_EGREP"; then
4587 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_EGREP
=$EGREP
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4596 $as_echo "$ac_cv_path_EGREP" >&6; }
4597 EGREP
="$ac_cv_path_EGREP"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4601 $as_echo_n "checking for ANSI C header files... " >&6; }
4602 if ${ac_cv_header_stdc+:} false
; then :
4603 $as_echo_n "(cached) " >&6
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4620 if ac_fn_c_try_compile
"$LINENO"; then :
4621 ac_cv_header_stdc
=yes
4623 ac_cv_header_stdc
=no
4625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4627 if test $ac_cv_header_stdc = yes; then
4628 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4635 $EGREP "memchr" >/dev
/null
2>&1; then :
4638 ac_cv_header_stdc
=no
4644 if test $ac_cv_header_stdc = yes; then
4645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4652 $EGREP "free" >/dev
/null
2>&1; then :
4655 ac_cv_header_stdc
=no
4661 if test $ac_cv_header_stdc = yes; then
4662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4663 if test "$cross_compiling" = yes; then :
4666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 #if ((' ' & 0x0FF) == 0x020)
4671 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4672 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4674 # define ISLOWER(c) \
4675 (('a' <= (c) && (c) <= 'i') \
4676 || ('j' <= (c) && (c) <= 'r') \
4677 || ('s' <= (c) && (c) <= 'z'))
4678 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4681 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4686 for (i = 0; i < 256; i++)
4687 if (XOR (islower (i), ISLOWER (i))
4688 || toupper (i) != TOUPPER (i))
4693 if ac_fn_c_try_run
"$LINENO"; then :
4696 ac_cv_header_stdc
=no
4698 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4699 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4705 $as_echo "$ac_cv_header_stdc" >&6; }
4706 if test $ac_cv_header_stdc = yes; then
4708 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4713 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4714 inttypes.h stdint.h unistd.h
4716 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4717 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4719 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4720 cat >>confdefs.h
<<_ACEOF
4721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4729 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
4730 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
4732 cat >>confdefs.h
<<_ACEOF
4733 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4737 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
4745 $as_echo_n "checking whether to enable assertions... " >&6; }
4746 # Check whether --enable-assert was given.
4747 if test "${enable_assert+set}" = set; then :
4748 enableval
=$enable_assert; ac_enable_assert
=$enableval
4749 if test "x$enableval" = xno
; then :
4751 $as_echo "#define NDEBUG 1" >>confdefs.h
4753 elif test "x$enableval" != xyes
; then :
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
4755 $as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
4756 ac_enable_assert
=yes
4759 ac_enable_assert
=yes
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
4763 $as_echo "$ac_enable_assert" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
4766 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
4767 if ${ac_cv_lib_pthread_pthread_mutex_init+:} false
; then :
4768 $as_echo_n "(cached) " >&6
4770 ac_check_lib_save_LIBS
=$LIBS
4771 LIBS
="-lpthread $LIBS"
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4775 /* Override any GCC internal prototype to avoid an error.
4776 Use char because int might match the return type of a GCC
4777 builtin and then its argument prototype would still apply. */
4781 char pthread_mutex_init ();
4785 return pthread_mutex_init ();
4790 if ac_fn_c_try_link
"$LINENO"; then :
4791 ac_cv_lib_pthread_pthread_mutex_init
=yes
4793 ac_cv_lib_pthread_pthread_mutex_init
=no
4795 rm -f core conftest.err conftest.
$ac_objext \
4796 conftest
$ac_exeext conftest.
$ac_ext
4797 LIBS
=$ac_check_lib_save_LIBS
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
4800 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
4801 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes
; then :
4802 cat >>confdefs.h
<<_ACEOF
4803 #define HAVE_LIBPTHREAD 1
4806 LIBS
="-lpthread $LIBS"
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
4811 $as_echo_n "checking for library containing clock_gettime... " >&6; }
4812 if ${ac_cv_search_clock_gettime+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 ac_func_search_save_LIBS
=$LIBS
4816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4819 /* Override any GCC internal prototype to avoid an error.
4820 Use char because int might match the return type of a GCC
4821 builtin and then its argument prototype would still apply. */
4825 char clock_gettime ();
4829 return clock_gettime ();
4834 for ac_lib
in '' rt
; do
4835 if test -z "$ac_lib"; then
4836 ac_res
="none required"
4839 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4841 if ac_fn_c_try_link
"$LINENO"; then :
4842 ac_cv_search_clock_gettime
=$ac_res
4844 rm -f core conftest.err conftest.
$ac_objext \
4846 if ${ac_cv_search_clock_gettime+:} false
; then :
4850 if ${ac_cv_search_clock_gettime+:} false
; then :
4853 ac_cv_search_clock_gettime
=no
4856 LIBS
=$ac_func_search_save_LIBS
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
4859 $as_echo "$ac_cv_search_clock_gettime" >&6; }
4860 ac_res
=$ac_cv_search_clock_gettime
4861 if test "$ac_res" != no
; then :
4862 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4865 as_fn_error $?
"could not find the library containing clock_gettime!" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
4869 $as_echo_n "checking for library containing sem_init... " >&6; }
4870 if ${ac_cv_search_sem_init+:} false
; then :
4871 $as_echo_n "(cached) " >&6
4873 ac_func_search_save_LIBS
=$LIBS
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4877 /* Override any GCC internal prototype to avoid an error.
4878 Use char because int might match the return type of a GCC
4879 builtin and then its argument prototype would still apply. */
4892 for ac_lib
in '' rt posix
; do
4893 if test -z "$ac_lib"; then
4894 ac_res
="none required"
4897 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4899 if ac_fn_c_try_link
"$LINENO"; then :
4900 ac_cv_search_sem_init
=$ac_res
4902 rm -f core conftest.err conftest.
$ac_objext \
4904 if ${ac_cv_search_sem_init+:} false
; then :
4908 if ${ac_cv_search_sem_init+:} false
; then :
4911 ac_cv_search_sem_init
=no
4914 LIBS
=$ac_func_search_save_LIBS
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
4917 $as_echo "$ac_cv_search_sem_init" >&6; }
4918 ac_res
=$ac_cv_search_sem_init
4919 if test "$ac_res" != no
; then :
4920 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4923 as_fn_error $?
"could not find semaphore functions!" "$LINENO" 5
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rint" >&5
4927 $as_echo_n "checking for library containing rint... " >&6; }
4928 if ${ac_cv_search_rint+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 ac_func_search_save_LIBS
=$LIBS
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4935 /* Override any GCC internal prototype to avoid an error.
4936 Use char because int might match the return type of a GCC
4937 builtin and then its argument prototype would still apply. */
4950 for ac_lib
in '' m
; do
4951 if test -z "$ac_lib"; then
4952 ac_res
="none required"
4955 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4957 if ac_fn_c_try_link
"$LINENO"; then :
4958 ac_cv_search_rint
=$ac_res
4960 rm -f core conftest.err conftest.
$ac_objext \
4962 if ${ac_cv_search_rint+:} false
; then :
4966 if ${ac_cv_search_rint+:} false
; then :
4969 ac_cv_search_rint
=no
4972 LIBS
=$ac_func_search_save_LIBS
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rint" >&5
4975 $as_echo "$ac_cv_search_rint" >&6; }
4976 ac_res
=$ac_cv_search_rint
4977 if test "$ac_res" != no
; then :
4978 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4981 as_fn_error $?
"unable to find rint" "$LINENO" 5
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing seteuid" >&5
4985 $as_echo_n "checking for library containing seteuid... " >&6; }
4986 if ${ac_cv_search_seteuid+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 ac_func_search_save_LIBS
=$LIBS
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4993 /* Override any GCC internal prototype to avoid an error.
4994 Use char because int might match the return type of a GCC
4995 builtin and then its argument prototype would still apply. */
5008 for ac_lib
in '' c
; do
5009 if test -z "$ac_lib"; then
5010 ac_res
="none required"
5013 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5015 if ac_fn_c_try_link
"$LINENO"; then :
5016 ac_cv_search_seteuid
=$ac_res
5018 rm -f core conftest.err conftest.
$ac_objext \
5020 if ${ac_cv_search_seteuid+:} false
; then :
5024 if ${ac_cv_search_seteuid+:} false
; then :
5027 ac_cv_search_seteuid
=no
5030 LIBS
=$ac_func_search_save_LIBS
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_seteuid" >&5
5033 $as_echo "$ac_cv_search_seteuid" >&6; }
5034 ac_res
=$ac_cv_search_seteuid
5035 if test "$ac_res" != no
; then :
5036 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5038 $as_echo "#define HAVE_SETEUID 1" >>confdefs.h
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing atoll" >&5
5043 $as_echo_n "checking for library containing atoll... " >&6; }
5044 if ${ac_cv_search_atoll+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5047 ac_func_search_save_LIBS
=$LIBS
5048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5051 /* Override any GCC internal prototype to avoid an error.
5052 Use char because int might match the return type of a GCC
5053 builtin and then its argument prototype would still apply. */
5066 for ac_lib
in '' c
; do
5067 if test -z "$ac_lib"; then
5068 ac_res
="none required"
5071 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5073 if ac_fn_c_try_link
"$LINENO"; then :
5074 ac_cv_search_atoll
=$ac_res
5076 rm -f core conftest.err conftest.
$ac_objext \
5078 if ${ac_cv_search_atoll+:} false
; then :
5082 if ${ac_cv_search_atoll+:} false
; then :
5085 ac_cv_search_atoll
=no
5088 LIBS
=$ac_func_search_save_LIBS
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_atoll" >&5
5091 $as_echo "$ac_cv_search_atoll" >&6; }
5092 ac_res
=$ac_cv_search_atoll
5093 if test "$ac_res" != no
; then :
5094 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5098 $as_echo "#define atoll atol" >>confdefs.h
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
5103 $as_echo_n "checking for library containing hstrerror... " >&6; }
5104 if ${ac_cv_search_hstrerror+:} false
; then :
5105 $as_echo_n "(cached) " >&6
5107 ac_func_search_save_LIBS
=$LIBS
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5111 /* Override any GCC internal prototype to avoid an error.
5112 Use char because int might match the return type of a GCC
5113 builtin and then its argument prototype would still apply. */
5121 return hstrerror ();
5126 for ac_lib
in '' resolv socket nsl
; do
5127 if test -z "$ac_lib"; then
5128 ac_res
="none required"
5131 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5133 if ac_fn_c_try_link
"$LINENO"; then :
5134 ac_cv_search_hstrerror
=$ac_res
5136 rm -f core conftest.err conftest.
$ac_objext \
5138 if ${ac_cv_search_hstrerror+:} false
; then :
5142 if ${ac_cv_search_hstrerror+:} false
; then :
5145 ac_cv_search_hstrerror
=no
5148 LIBS
=$ac_func_search_save_LIBS
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
5151 $as_echo "$ac_cv_search_hstrerror" >&6; }
5152 ac_res
=$ac_cv_search_hstrerror
5153 if test "$ac_res" != no
; then :
5154 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5156 $as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
5161 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
5162 if ${ac_cv_search_getaddrinfo+:} false
; then :
5163 $as_echo_n "(cached) " >&6
5165 ac_func_search_save_LIBS
=$LIBS
5166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5169 /* Override any GCC internal prototype to avoid an error.
5170 Use char because int might match the return type of a GCC
5171 builtin and then its argument prototype would still apply. */
5175 char getaddrinfo ();
5179 return getaddrinfo ();
5184 for ac_lib
in '' resolv socket nsl
; do
5185 if test -z "$ac_lib"; then
5186 ac_res
="none required"
5189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5191 if ac_fn_c_try_link
"$LINENO"; then :
5192 ac_cv_search_getaddrinfo
=$ac_res
5194 rm -f core conftest.err conftest.
$ac_objext \
5196 if ${ac_cv_search_getaddrinfo+:} false
; then :
5200 if ${ac_cv_search_getaddrinfo+:} false
; then :
5203 ac_cv_search_getaddrinfo
=no
5206 LIBS
=$ac_func_search_save_LIBS
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
5209 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
5210 ac_res
=$ac_cv_search_getaddrinfo
5211 if test "$ac_res" != no
; then :
5212 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5214 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5219 $as_echo_n "checking for library containing socket... " >&6; }
5220 if ${ac_cv_search_socket+:} false
; then :
5221 $as_echo_n "(cached) " >&6
5223 ac_func_search_save_LIBS
=$LIBS
5224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5227 /* Override any GCC internal prototype to avoid an error.
5228 Use char because int might match the return type of a GCC
5229 builtin and then its argument prototype would still apply. */
5242 for ac_lib
in '' socket
; do
5243 if test -z "$ac_lib"; then
5244 ac_res
="none required"
5247 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5249 if ac_fn_c_try_link
"$LINENO"; then :
5250 ac_cv_search_socket
=$ac_res
5252 rm -f core conftest.err conftest.
$ac_objext \
5254 if ${ac_cv_search_socket+:} false
; then :
5258 if ${ac_cv_search_socket+:} false
; then :
5261 ac_cv_search_socket
=no
5264 LIBS
=$ac_func_search_save_LIBS
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5267 $as_echo "$ac_cv_search_socket" >&6; }
5268 ac_res
=$ac_cv_search_socket
5269 if test "$ac_res" != no
; then :
5270 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5273 as_fn_error $?
"could not find the library containing network functions!" "$LINENO" 5
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
5277 $as_echo_n "checking for library containing gethostbyname... " >&6; }
5278 if ${ac_cv_search_gethostbyname+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 ac_func_search_save_LIBS
=$LIBS
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5285 /* Override any GCC internal prototype to avoid an error.
5286 Use char because int might match the return type of a GCC
5287 builtin and then its argument prototype would still apply. */
5291 char gethostbyname ();
5295 return gethostbyname ();
5300 for ac_lib
in '' nsl
; do
5301 if test -z "$ac_lib"; then
5302 ac_res
="none required"
5305 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5307 if ac_fn_c_try_link
"$LINENO"; then :
5308 ac_cv_search_gethostbyname
=$ac_res
5310 rm -f core conftest.err conftest.
$ac_objext \
5312 if ${ac_cv_search_gethostbyname+:} false
; then :
5316 if ${ac_cv_search_gethostbyname+:} false
; then :
5319 ac_cv_search_gethostbyname
=no
5322 LIBS
=$ac_func_search_save_LIBS
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
5325 $as_echo "$ac_cv_search_gethostbyname" >&6; }
5326 ac_res
=$ac_cv_search_gethostbyname
5327 if test "$ac_res" != no
; then :
5328 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5331 as_fn_error $?
"could not find the library containing name convertion functions!" "$LINENO" 5
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfile" >&5
5335 $as_echo_n "checking for library containing sendfile... " >&6; }
5336 if ${ac_cv_search_sendfile+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 ac_func_search_save_LIBS
=$LIBS
5340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5343 /* Override any GCC internal prototype to avoid an error.
5344 Use char because int might match the return type of a GCC
5345 builtin and then its argument prototype would still apply. */
5358 for ac_lib
in '' sendfile
; do
5359 if test -z "$ac_lib"; then
5360 ac_res
="none required"
5363 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5365 if ac_fn_c_try_link
"$LINENO"; then :
5366 ac_cv_search_sendfile
=$ac_res
5368 rm -f core conftest.err conftest.
$ac_objext \
5370 if ${ac_cv_search_sendfile+:} false
; then :
5374 if ${ac_cv_search_sendfile+:} false
; then :
5377 ac_cv_search_sendfile
=no
5380 LIBS
=$ac_func_search_save_LIBS
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfile" >&5
5383 $as_echo "$ac_cv_search_sendfile" >&6; }
5384 ac_res
=$ac_cv_search_sendfile
5385 if test "$ac_res" != no
; then :
5386 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5388 $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
5392 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sendfile.h" "ac_cv_header_sys_sendfile_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_sys_sendfile_h" = xyes
; then :
5395 $as_echo "#define HAVE_SENDFILE_H 1" >>confdefs.h
5400 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5401 if test "x$ac_cv_type_size_t" = xyes
; then :
5405 cat >>confdefs.h
<<_ACEOF
5406 #define size_t unsigned int
5411 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5412 # for constant arguments. Useless!
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5414 $as_echo_n "checking for working alloca.h... " >&6; }
5415 if ${ac_cv_working_alloca_h+:} false
; then :
5416 $as_echo_n "(cached) " >&6
5418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5424 char *p = (char *) alloca (2 * sizeof (int));
5430 if ac_fn_c_try_link
"$LINENO"; then :
5431 ac_cv_working_alloca_h
=yes
5433 ac_cv_working_alloca_h
=no
5435 rm -f core conftest.err conftest.
$ac_objext \
5436 conftest
$ac_exeext conftest.
$ac_ext
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5439 $as_echo "$ac_cv_working_alloca_h" >&6; }
5440 if test $ac_cv_working_alloca_h = yes; then
5442 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5447 $as_echo_n "checking for alloca... " >&6; }
5448 if ${ac_cv_func_alloca_works+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5454 # define alloca __builtin_alloca
5457 # include <malloc.h>
5458 # define alloca _alloca
5460 # ifdef HAVE_ALLOCA_H
5461 # include <alloca.h>
5466 # ifndef alloca /* predefined by HP cc +Olibcalls */
5467 void *alloca (size_t);
5477 char *p = (char *) alloca (1);
5483 if ac_fn_c_try_link
"$LINENO"; then :
5484 ac_cv_func_alloca_works
=yes
5486 ac_cv_func_alloca_works
=no
5488 rm -f core conftest.err conftest.
$ac_objext \
5489 conftest
$ac_exeext conftest.
$ac_ext
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5492 $as_echo "$ac_cv_func_alloca_works" >&6; }
5494 if test $ac_cv_func_alloca_works = yes; then
5496 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5499 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5500 # that cause trouble. Some versions do not even contain alloca or
5501 # contain a buggy version. If you still want to use their alloca,
5502 # use ar to extract alloca.o from them instead of compiling alloca.c.
5504 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5506 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5510 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5511 if ${ac_cv_os_cray+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5516 #if defined CRAY && ! defined CRAY2
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "webecray" >/dev
/null
2>&1; then :
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5533 $as_echo "$ac_cv_os_cray" >&6; }
5534 if test $ac_cv_os_cray = yes; then
5535 for ac_func
in _getb67 GETB67 getb67
; do
5536 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5537 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5538 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5540 cat >>confdefs.h
<<_ACEOF
5541 #define CRAY_STACKSEG_END $ac_func
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5551 $as_echo_n "checking stack direction for C alloca... " >&6; }
5552 if ${ac_cv_c_stack_direction+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 if test "$cross_compiling" = yes; then :
5556 ac_cv_c_stack_direction
=0
5558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560 $ac_includes_default
5562 find_stack_direction (int *addr, int depth)
5567 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5568 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5573 main (int argc, char **argv)
5575 return find_stack_direction (0, argc + !argv + 20) < 0;
5578 if ac_fn_c_try_run
"$LINENO"; then :
5579 ac_cv_c_stack_direction
=1
5581 ac_cv_c_stack_direction
=-1
5583 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5584 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5589 $as_echo "$ac_cv_c_stack_direction" >&6; }
5590 cat >>confdefs.h
<<_ACEOF
5591 #define STACK_DIRECTION $ac_cv_c_stack_direction
5599 # Check whether --enable-debug was given.
5600 if test "${enable_debug+set}" = set; then :
5601 enableval
=$enable_debug;
5607 if test x
$enable_debug = xyes
; then
5609 $as_echo "#define DEBUG 1" >>confdefs.h
5613 # Check whether --enable-md5 was given.
5614 if test "${enable_md5+set}" = set; then :
5615 enableval
=$enable_md5;
5621 if test x
$enable_md5 != xno
; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mhash_init" >&5
5623 $as_echo_n "checking for library containing mhash_init... " >&6; }
5624 if ${ac_cv_search_mhash_init+:} false
; then :
5625 $as_echo_n "(cached) " >&6
5627 ac_func_search_save_LIBS
=$LIBS
5628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5631 /* Override any GCC internal prototype to avoid an error.
5632 Use char because int might match the return type of a GCC
5633 builtin and then its argument prototype would still apply. */
5641 return mhash_init ();
5646 for ac_lib
in '' mhash
; do
5647 if test -z "$ac_lib"; then
5648 ac_res
="none required"
5651 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5653 if ac_fn_c_try_link
"$LINENO"; then :
5654 ac_cv_search_mhash_init
=$ac_res
5656 rm -f core conftest.err conftest.
$ac_objext \
5658 if ${ac_cv_search_mhash_init+:} false
; then :
5662 if ${ac_cv_search_mhash_init+:} false
; then :
5665 ac_cv_search_mhash_init
=no
5668 LIBS
=$ac_func_search_save_LIBS
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mhash_init" >&5
5671 $as_echo "$ac_cv_search_mhash_init" >&6; }
5672 ac_res
=$ac_cv_search_mhash_init
5673 if test "$ac_res" != no
; then :
5674 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5676 $as_echo "#define HAVE_LIBMHASH 1" >>confdefs.h
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
5680 $as_echo_n "checking for library containing MD5Init... " >&6; }
5681 if ${ac_cv_search_MD5Init+:} false
; then :
5682 $as_echo_n "(cached) " >&6
5684 ac_func_search_save_LIBS
=$LIBS
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5688 /* Override any GCC internal prototype to avoid an error.
5689 Use char because int might match the return type of a GCC
5690 builtin and then its argument prototype would still apply. */
5703 for ac_lib
in '' md5
; do
5704 if test -z "$ac_lib"; then
5705 ac_res
="none required"
5708 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5710 if ac_fn_c_try_link
"$LINENO"; then :
5711 ac_cv_search_MD5Init
=$ac_res
5713 rm -f core conftest.err conftest.
$ac_objext \
5715 if ${ac_cv_search_MD5Init+:} false
; then :
5719 if ${ac_cv_search_MD5Init+:} false
; then :
5722 ac_cv_search_MD5Init
=no
5725 LIBS
=$ac_func_search_save_LIBS
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
5728 $as_echo "$ac_cv_search_MD5Init" >&6; }
5729 ac_res
=$ac_cv_search_MD5Init
5730 if test "$ac_res" != no
; then :
5731 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5733 $as_echo "#define HAVE_LIBMD5 1" >>confdefs.h
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5_Init" >&5
5737 $as_echo_n "checking for library containing MD5_Init... " >&6; }
5738 if ${ac_cv_search_MD5_Init+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 ac_func_search_save_LIBS
=$LIBS
5742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5745 /* Override any GCC internal prototype to avoid an error.
5746 Use char because int might match the return type of a GCC
5747 builtin and then its argument prototype would still apply. */
5760 for ac_lib
in '' crypto
; do
5761 if test -z "$ac_lib"; then
5762 ac_res
="none required"
5765 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5767 if ac_fn_c_try_link
"$LINENO"; then :
5768 ac_cv_search_MD5_Init
=$ac_res
5770 rm -f core conftest.err conftest.
$ac_objext \
5772 if ${ac_cv_search_MD5_Init+:} false
; then :
5776 if ${ac_cv_search_MD5_Init+:} false
; then :
5779 ac_cv_search_MD5_Init
=no
5782 LIBS
=$ac_func_search_save_LIBS
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5_Init" >&5
5785 $as_echo "$ac_cv_search_MD5_Init" >&6; }
5786 ac_res
=$ac_cv_search_MD5_Init
5787 if test "$ac_res" != no
; then :
5788 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5790 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
5793 if test x
$enable_md5 = xauto
; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&5
5795 $as_echo "$as_me: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&2;}
5797 as_fn_error $?
"could not find the mhash library" "$LINENO" 5
5812 $as_echo "#define _REENTRANT 1" >>confdefs.h
5815 ac_config_files
="$ac_config_files Makefile mbuffer.1"
5817 cat >confcache
<<\_ACEOF
5818 # This file is a shell script that caches the results of configure
5819 # tests run on this system so they can be shared between configure
5820 # scripts and configure runs, see configure's option --config-cache.
5821 # It is not useful on other systems. If it contains results you don't
5822 # want to keep, you may remove or edit it.
5824 # config.status only pays attention to the cache file if you give it
5825 # the --recheck option to rerun configure.
5827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5833 # The following way of writing the cache mishandles newlines in values,
5834 # but we know of no workaround that is simple, portable, and efficient.
5835 # So, we kill variables containing newlines.
5836 # Ultrix sh set writes to stderr and can't be redirected directly,
5837 # and sets the high bit in the cache file unless we assign to the vars.
5839 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5840 eval ac_val
=\$
$ac_var
5844 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5848 _ | IFS | as_nl
) ;; #(
5849 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5850 *) { eval $ac_var=; unset $ac_var;} ;;
5856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5857 *${as_nl}ac_space
=\
*)
5858 # `set' does not quote correctly, so add quotes: double-quote
5859 # substitution turns \\\\ into \\, and sed turns \\ into \.
5862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5865 # `set' quotes correctly as required by POSIX, so do not add quotes.
5866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5879 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5880 if test -w "$cache_file"; then
5881 if test "x$cache_file" != "x/dev/null"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5883 $as_echo "$as_me: updating cache $cache_file" >&6;}
5884 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5885 cat confcache
>"$cache_file"
5887 case $cache_file in #(
5889 mv -f confcache
"$cache_file"$$
&&
5890 mv -f "$cache_file"$$
"$cache_file" ;; #(
5892 mv -f confcache
"$cache_file" ;;
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5903 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5904 # Let make expand exec_prefix.
5905 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5907 DEFS
=-DHAVE_CONFIG_H
5912 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5913 # 1. Remove the extension, and $U if already installed.
5914 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5915 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5916 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5917 # will be set to the directory where LIBOBJS objects are built.
5918 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5919 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5923 LTLIBOBJS
=$ac_ltlibobjs
5927 : "${CONFIG_STATUS=./config.status}"
5929 ac_clean_files_save
=$ac_clean_files
5930 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5932 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5934 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5936 # Generated by $as_me.
5937 # Run this file to recreate the current configuration.
5938 # Compiler output produced by configure, useful for debugging
5939 # configure, is in config.log if it exists.
5945 SHELL=\${CONFIG_SHELL-$SHELL}
5948 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5949 ## -------------------- ##
5950 ## M4sh Initialization. ##
5951 ## -------------------- ##
5953 # Be more Bourne compatible
5954 DUALCASE
=1; export DUALCASE
# for MKS sh
5955 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5958 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5959 # is contrary to our usage. Disable this feature.
5960 alias -g '${1+"$@"}'='"$@"'
5961 setopt NO_GLOB_SUBST
5963 case `(set -o) 2>/dev/null` in #(
5975 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5976 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5979 # Prefer a ksh shell builtin over an external printf program on Solaris,
5980 # but without wasting forks for bash or zsh.
5981 if test -z "$BASH_VERSION$ZSH_VERSION" \
5982 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5983 as_echo='print
-r --'
5984 as_echo_n='print
-rn --'
5985 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5986 as_echo='printf %s
\n'
5987 as_echo_n='printf %s
'
5989 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5990 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5991 as_echo_n='/usr
/ucb
/echo -n'
5993 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5994 as_echo_n_body='eval
5998 expr "X$arg" : "X\\(.*\\)$as_nl";
5999 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6001 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6003 export as_echo_n_body
6004 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6007 as_echo='sh
-c $as_echo_body as_echo
'
6010 # The user is always right.
6011 if test "${PATH_SEPARATOR+set}" != set; then
6013 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6014 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6021 # We need space, tab and new line, in precisely that order. Quoting is
6022 # there to prevent editors from complaining about space-tab.
6023 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6024 # splitting by setting IFS to empty value.)
6027 # Find who we are. Look in the path if we contain no directory separator.
6030 *[\\/]* ) as_myself=$0 ;;
6031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir=.
6036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6042 # We did not find ourselves, most probably we were run as `sh COMMAND'
6043 # in which case we are not to be found in the path.
6044 if test "x$as_myself" = x
; then
6047 if test ! -f "$as_myself"; then
6048 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6052 # Unset variables that we do not need and which cause bugs (e.g. in
6053 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6054 # suppresses any "Segmentation fault" message there. '((' could
6055 # trigger a bug in pdksh 5.2.14.
6056 for as_var
in BASH_ENV ENV MAIL MAILPATH
6057 do eval test x\
${$as_var+set} = xset \
6058 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6071 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6074 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6075 # ----------------------------------------
6076 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6077 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6078 # script with STATUS, using 1 if that was 0.
6081 as_status
=$1; test $as_status -eq 0 && as_status
=1
6083 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6084 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6086 $as_echo "$as_me: error: $2" >&2
6087 as_fn_exit
$as_status
6091 # as_fn_set_status STATUS
6092 # -----------------------
6093 # Set $? to STATUS, without forking.
6097 } # as_fn_set_status
6101 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6111 # Portably unset VAR.
6114 { eval $1=; unset $1;}
6116 as_unset
=as_fn_unset
6117 # as_fn_append VAR VALUE
6118 # ----------------------
6119 # Append the text in VALUE to the end of the definition contained in VAR. Take
6120 # advantage of any shell optimizations that allow amortized linear growth over
6121 # repeated appends, instead of the typical quadratic growth present in naive
6123 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6124 eval 'as_fn_append ()
6135 # as_fn_arith ARG...
6136 # ------------------
6137 # Perform arithmetic evaluation on the ARGs, and store the result in the
6138 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6139 # must be portable across $(()) and expr.
6140 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6141 eval 'as_fn_arith ()
6148 as_val
=`expr "$@" || test $? -eq 1`
6153 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6154 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6160 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6161 as_basename
=basename
6166 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6172 as_me
=`$as_basename -- "$0" ||
6173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6174 X"$0" : 'X\(//\)$' \| \
6175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6177 sed '/^.*\/\([^/][^/]*\)\/*$/{
6191 # Avoid depending upon Character Ranges.
6192 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6193 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6194 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6195 as_cr_digits
='0123456789'
6196 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6198 ECHO_C
= ECHO_N
= ECHO_T
=
6199 case `echo -n x` in #(((((
6201 case `echo 'xy\c'` in
6202 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6204 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6211 rm -f conf$$ conf$$.exe conf$$.
file
6212 if test -d conf$$.dir
; then
6213 rm -f conf$$.dir
/conf$$.
file
6216 mkdir conf$$.dir
2>/dev
/null
6218 if (echo >conf$$.
file) 2>/dev
/null
; then
6219 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6221 # ... but there are two gotchas:
6222 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6223 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6224 # In both cases, we have to default to `cp -pR'.
6225 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6227 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6235 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6236 rmdir conf$$.dir
2>/dev
/null
6241 # Create "$as_dir" as a directory, including parents if necessary.
6246 -*) as_dir
=.
/$as_dir;;
6248 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6252 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6253 *) as_qdir
=$as_dir;;
6255 as_dirs
="'$as_qdir' $as_dirs"
6256 as_dir
=`$as_dirname -- "$as_dir" ||
6257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6258 X"$as_dir" : 'X\(//\)[^/]' \| \
6259 X"$as_dir" : 'X\(//\)$' \| \
6260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6261 $as_echo X"$as_dir" |
6262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6279 test -d "$as_dir" && break
6281 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6282 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6286 if mkdir
-p .
2>/dev
/null
; then
6287 as_mkdir_p
='mkdir -p "$as_dir"'
6289 test -d .
/-p && rmdir .
/-p
6294 # as_fn_executable_p FILE
6295 # -----------------------
6296 # Test if FILE is an executable regular file.
6297 as_fn_executable_p
()
6299 test -f "$1" && test -x "$1"
6300 } # as_fn_executable_p
6302 as_executable_p
=as_fn_executable_p
6304 # Sed expression to map a string onto a valid CPP name.
6305 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6307 # Sed expression to map a string onto a valid variable name.
6308 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6312 ## ----------------------------------- ##
6313 ## Main body of $CONFIG_STATUS script. ##
6314 ## ----------------------------------- ##
6316 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6319 # Save the log message, to keep $0 and so on meaningful, and to
6320 # report actual input values of CONFIG_FILES etc. instead of their
6321 # values after options handling.
6323 This file was extended by mbuffer $as_me 20150412, which was
6324 generated by GNU Autoconf 2.69. Invocation command line was
6326 CONFIG_FILES = $CONFIG_FILES
6327 CONFIG_HEADERS = $CONFIG_HEADERS
6328 CONFIG_LINKS = $CONFIG_LINKS
6329 CONFIG_COMMANDS = $CONFIG_COMMANDS
6332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6337 case $ac_config_files in *"
6338 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6341 case $ac_config_headers in *"
6342 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6347 # Files that config.status was made for.
6348 config_files="$ac_config_files"
6349 config_headers="$ac_config_headers"
6353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6355 \`$as_me' instantiates files and other configuration actions
6356 from templates according to the current configuration. Unless the files
6357 and actions are specified as TAGs, all are instantiated by default.
6359 Usage: $0 [OPTION]... [TAG]...
6361 -h, --help print this help, then exit
6362 -V, --version print version number and configuration settings, then exit
6363 --config print configuration, then exit
6364 -q, --quiet, --silent
6365 do not print progress messages
6366 -d, --debug don't remove temporary files
6367 --recheck update $as_me by reconfiguring in the same conditions
6368 --file=FILE[:TEMPLATE]
6369 instantiate the configuration file FILE
6370 --header=FILE[:TEMPLATE]
6371 instantiate the configuration header FILE
6373 Configuration files:
6376 Configuration headers:
6379 Report bugs to the package provider."
6382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6383 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6385 mbuffer config.status 20150412
6386 configured by $0, generated by GNU Autoconf 2.69,
6387 with options \\"\$ac_cs_config\\"
6389 Copyright (C) 2012 Free Software Foundation, Inc.
6390 This config.status script is free software; the Free Software Foundation
6391 gives unlimited permission to copy, distribute and modify it."
6396 test -n "\$AWK" || AWK=awk
6399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6400 # The default lists apply if the user does not specify any file.
6406 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6407 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6411 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6423 # Handling of the options.
6424 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6426 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6427 $as_echo "$ac_cs_version"; exit ;;
6428 --config |
--confi |
--conf |
--con |
--co |
--c )
6429 $as_echo "$ac_cs_config"; exit ;;
6430 --debug |
--debu |
--deb |
--de |
--d |
-d )
6432 --file |
--fil |
--fi |
--f )
6435 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6436 '') as_fn_error $?
"missing file argument" ;;
6438 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6439 ac_need_defaults
=false
;;
6440 --header |
--heade |
--head |
--hea )
6443 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6445 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6446 ac_need_defaults
=false
;;
6448 # Conflict between --help and --header
6449 as_fn_error $?
"ambiguous option: \`$1'
6450 Try \`$0 --help' for more information.";;
6451 --help |
--hel |
-h )
6452 $as_echo "$ac_cs_usage"; exit ;;
6453 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6454 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6458 -*) as_fn_error $?
"unrecognized option: \`$1'
6459 Try \`$0 --help' for more information." ;;
6461 *) as_fn_append ac_config_targets
" $1"
6462 ac_need_defaults
=false
;;
6468 ac_configure_extra_args
=
6470 if $ac_cs_silent; then
6472 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6477 if \$ac_cs_recheck; then
6478 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6480 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6481 CONFIG_SHELL='$SHELL'
6487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6492 ## Running $as_me. ##
6498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6503 # Handling of arguments.
6504 for ac_config_target
in $ac_config_targets
6506 case $ac_config_target in
6507 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6508 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6509 "mbuffer.1") CONFIG_FILES
="$CONFIG_FILES mbuffer.1" ;;
6511 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6516 # If the user did not use the arguments to specify the items to instantiate,
6517 # then the envvar interface is used. Set only those that are not.
6518 # We use the long form for the default assignment because of an extremely
6519 # bizarre bug on SunOS 4.1.3.
6520 if $ac_need_defaults; then
6521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6525 # Have a temporary directory for convenience. Make it in the build tree
6526 # simply because there is no reason against having it here, and in addition,
6527 # creating and moving files from /tmp can sometimes cause problems.
6528 # Hook for its removal unless debugging.
6529 # Note that there is a small window in which the directory will not be cleaned:
6530 # after its creation but before its name has been assigned to `$tmp'.
6534 trap 'exit_status=$?
6536 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6538 trap 'as_fn_exit 1' 1 2 13 15
6540 # Create a (secure) tmp directory for tmp files.
6543 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6547 tmp
=.
/conf$$
-$RANDOM
6548 (umask 077 && mkdir
"$tmp")
6549 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6552 # Set up the scripts for CONFIG_FILES section.
6553 # No need to generate them if there are no CONFIG_FILES.
6554 # This happens for instance with `./config.status config.h'.
6555 if test -n "$CONFIG_FILES"; then
6558 ac_cr
=`echo X | tr X '\015'`
6559 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6560 # But we know of no other shell where ac_cr would be empty at this
6561 # point, so we can use a bashism as a fallback.
6562 if test "x$ac_cr" = x
; then
6563 eval ac_cr
=\$
\'\\r
\'
6565 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6566 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6572 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6577 echo "cat >conf$$subs.awk <<_ACEOF" &&
6578 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6581 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6582 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6584 for ac_last_try in false false false false false :; do
6585 . ./conf$$subs.sh ||
6586 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6588 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6589 if test $ac_delim_n = $ac_delim_num; then
6591 elif $ac_last_try; then
6592 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6594 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6600 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6604 s/^/S["/; s
/!.
*/"]=/
6614 s/\(.\{148\}\)..*/\1/
6616 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6621 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6628 s/\(.\{148\}\)..*/\1/
6630 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6634 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6639 ' <conf$$subs.awk | sed '
6644 ' >>$CONFIG_STATUS || ac_write_fail=1
6645 rm -f conf$$subs.awk
6646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6648 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6649 for (key in S) S_is_set[key] = 1
6655 nfields = split(line, field, "@
")
6657 len = length(field[1])
6658 for (i = 2; i < nfields; i++) {
6660 keylen = length(key)
6661 if (S_is_set[key]) {
6663 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6664 len += length(value) + length(field[++i])
6675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6676 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6677 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6680 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6681 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6684 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6685 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6686 # trailing colons and then remove the whole line if VPATH becomes empty
6687 # (actually we leave an empty line to preserve line numbers).
6688 if test "x
$srcdir" = x.; then
6689 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6708 fi # test -n "$CONFIG_FILES"
6710 # Set up the scripts for CONFIG_HEADERS section.
6711 # No need to generate them if there are no CONFIG_HEADERS.
6712 # This happens for instance with `./config.status Makefile'.
6713 if test -n "$CONFIG_HEADERS"; then
6714 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6718 # Transform confdefs.h into an awk script `defines.awk', embedded as
6719 # here-document in config.status, that substitutes the proper values into
6720 # config.h.in to produce config.h.
6722 # Create a delimiter string that does not exist in confdefs.h, to ease
6723 # handling of long lines.
6725 for ac_last_try in false false :; do
6726 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6727 if test -z "$ac_tt"; then
6729 elif $ac_last_try; then
6730 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6732 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6736 # For the awk script, D is an array of macro values keyed by name,
6737 # likewise P contains macro parameters if any. Preserve backslash
6738 # newline sequences.
6740 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6742 s/.\{148\}/&'"$ac_delim"'/g
6745 s/^[ ]*#[ ]*define[ ][ ]*/ /
6752 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6754 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6759 D["\
1"]=" \
3\\\\\\n
"\\/p
6761 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6766 s/.\{148\}/&'"$ac_delim"'/g
6771 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6774 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6776 ' <confdefs.h | sed '
6777 s/'"$ac_delim"'/"\\\
6778 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6781 for (key in D) D_is_set[key] = 1
6784 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6786 split(line, arg, " ")
6787 if (arg[1] == "#") {
6791 defundef
= substr
(arg
[1], 2)
6794 split(mac1
, mac2
, "(") #)
6796 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6797 if (D_is_set
[macro
]) {
6798 # Preserve the white space surrounding the "#".
6799 print prefix
"define", macro P
[macro
] D
[macro
]
6802 # Replace #undef with comments. This is necessary, for example,
6803 # in the case of _POSIX_SOURCE, which is predefined and required
6804 # on some systems where configure will not decide to define it.
6805 if (defundef
== "undef") {
6806 print
"/*", prefix defundef
, macro
, "*/"
6814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6815 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6816 fi # test -n "$CONFIG_HEADERS"
6819 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6824 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6826 case $ac_mode$ac_tag in
6828 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6829 :[FH
]-) ac_tag
=-:-;;
6830 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6847 -) ac_f
="$ac_tmp/stdin";;
6848 *) # Look for the file first in the build tree, then in the source tree
6849 # (if the path is not absolute). The absolute path cannot be DOS-style,
6850 # because $ac_f cannot contain `:'.
6854 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6856 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6858 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6859 as_fn_append ac_file_inputs
" '$ac_f'"
6862 # Let's still pretend it is `configure' which instantiates (i.e., don't
6863 # use $as_me), people would be surprised to read:
6864 # /* config.h. Generated by config.status. */
6865 configure_input
='Generated from '`
6866 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6868 if test x
"$ac_file" != x-
; then
6869 configure_input
="$ac_file. $configure_input"
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6871 $as_echo "$as_me: creating $ac_file" >&6;}
6873 # Neutralize special characters interpreted by sed in replacement strings.
6874 case $configure_input in #(
6875 *\
&* |
*\|
* |
*\\* )
6876 ac_sed_conf_input
=`$as_echo "$configure_input" |
6877 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6878 *) ac_sed_conf_input
=$configure_input;;
6882 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6883 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6888 ac_dir
=`$as_dirname -- "$ac_file" ||
6889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6890 X"$ac_file" : 'X\(//\)[^/]' \| \
6891 X"$ac_file" : 'X\(//\)$' \| \
6892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6893 $as_echo X"$ac_file" |
6894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6911 as_dir
="$ac_dir"; as_fn_mkdir_p
6915 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6917 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6918 # A ".." for each directory in $ac_dir_suffix.
6919 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6920 case $ac_top_builddir_sub in
6921 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6922 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6925 ac_abs_top_builddir
=$ac_pwd
6926 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6927 # for backward compatibility:
6928 ac_top_builddir
=$ac_top_build_prefix
6931 .
) # We are building in place.
6933 ac_top_srcdir
=$ac_top_builddir_sub
6934 ac_abs_top_srcdir
=$ac_pwd ;;
6935 [\\/]* | ?
:[\\/]* ) # Absolute name.
6936 ac_srcdir
=$srcdir$ac_dir_suffix;
6937 ac_top_srcdir
=$srcdir
6938 ac_abs_top_srcdir
=$srcdir ;;
6940 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6941 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6942 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6944 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6954 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6955 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6960 # If the template does not know about datarootdir, expand it.
6961 # FIXME: This hack should be removed a few years after 2.60.
6962 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6973 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6974 *datarootdir
*) ac_datarootdir_seen
=yes;;
6975 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6977 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6980 ac_datarootdir_hack='
6981 s&@datadir@&$datadir&g
6982 s&@docdir@&$docdir&g
6983 s&@infodir@&$infodir&g
6984 s&@localedir@&$localedir&g
6985 s&@mandir@&$mandir&g
6986 s&\\\${datarootdir}&$datarootdir&g' ;;
6990 # Neutralize VPATH when `$srcdir' = `.'.
6991 # Shell code in configure.ac might set extrasub.
6992 # FIXME: do we really want to maintain this feature?
6993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6994 ac_sed_extra="$ac_vpsub
6997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6999 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7000 s|@configure_input@|
$ac_sed_conf_input|
;t t
7001 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7002 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7003 s
&@srcdir@
&$ac_srcdir&;t t
7004 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7005 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7006 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7007 s
&@builddir@
&$ac_builddir&;t t
7008 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7009 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7010 s
&@INSTALL@
&$ac_INSTALL&;t t
7011 $ac_datarootdir_hack
7013 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7014 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7016 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7017 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7018 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7019 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7021 which seems to be undefined. Please make sure it is defined" >&5
7022 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7023 which seems to be undefined. Please make sure it is defined" >&2;}
7025 rm -f "$ac_tmp/stdin"
7027 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7028 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7030 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7036 if test x"$ac_file" != x-; then
7038 $as_echo "/* $configure_input */" \
7039 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7040 } >"$ac_tmp/config.h" \
7041 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7042 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7044 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7047 mv "$ac_tmp/config.h" "$ac_file" \
7048 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7051 $as_echo "/* $configure_input */" \
7052 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7053 || as_fn_error $? "could not create -" "$LINENO" 5
7065 ac_clean_files=$ac_clean_files_save
7067 test $ac_write_fail = 0 ||
7068 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7071 # configure is writing to config.log, and then calls config.status.
7072 # config.status does its own redirection, appending to config.log.
7073 # Unfortunately, on DOS this fails, as config.log is still kept open
7074 # by configure, so config.status won't be able to
write to it
; its
7075 # output is simply discarded. So we exec the FD to /dev/null,
7076 # effectively closing config.log, so it can be properly (re)opened and
7077 # appended to by config.status. When coming back to configure, we
7078 # need to make the FD available again.
7079 if test "$no_create" != yes; then
7081 ac_config_status_args
=
7082 test "$silent" = yes &&
7083 ac_config_status_args
="$ac_config_status_args --quiet"
7085 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7087 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7088 # would make configure fail if this is the last instruction.
7089 $ac_cs_success || as_fn_exit
1
7091 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7093 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}