2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for pve-cluster 1.0.
5 # Report bugs to <support@proxmox.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: support@proxmox.com about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='pve-cluster'
582 PACKAGE_TARNAME
='pve-cluster'
583 PACKAGE_VERSION
='1.0'
584 PACKAGE_STRING
='pve-cluster 1.0'
585 PACKAGE_BUGREPORT
='support@proxmox.com'
588 ac_unique_file
="src/memdb.c"
589 ac_default_prefix
=/usr
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 ac_subst_vars
='am__EXEEXT_FALSE
671 MAINTAINER_MODE_FALSE
685 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
742 enable_maintainer_mode
743 enable_dependency_tracking
745 ac_precious_vars
='build_alias
773 # Initialize some variables set by options.
775 ac_init_version
=false
776 ac_unrecognized_opts
=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name
=s
,x
,x
,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir
='${exec_prefix}/bin'
802 sbindir
='${exec_prefix}/sbin'
803 libexecdir
='${exec_prefix}/libexec'
804 datarootdir
='${prefix}/share'
805 datadir
='${datarootdir}'
806 sysconfdir
='${prefix}/etc'
807 sharedstatedir
='${prefix}/com'
808 localstatedir
='${prefix}/var'
809 includedir
='${prefix}/include'
810 oldincludedir
='/usr/include'
811 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir
='${datarootdir}/info'
817 libdir
='${exec_prefix}/lib'
818 localedir
='${datarootdir}/locale'
819 mandir
='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\
$ac_option
833 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
844 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
846 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
849 -build |
--build |
--buil |
--bui |
--bu)
850 ac_prev
=build_alias
;;
851 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
852 build_alias
=$ac_optarg ;;
854 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
855 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
856 ac_prev
=cache_file
;;
857 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
858 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
859 cache_file
=$ac_optarg ;;
862 cache_file
=config.cache
;;
864 -datadir |
--datadir |
--datadi |
--datad)
866 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
867 datadir
=$ac_optarg ;;
869 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
870 |
--dataroo |
--dataro |
--datar)
871 ac_prev
=datarootdir
;;
872 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
873 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
874 datarootdir
=$ac_optarg ;;
876 -disable-* |
--disable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 as_fn_error $?
"invalid feature name: $ac_useropt"
881 ac_useropt_orig
=$ac_useropt
882 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep
=', ';;
890 eval enable_
$ac_useropt=no
;;
892 -docdir |
--docdir |
--docdi |
--doc |
--do)
894 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
897 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
899 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
902 -enable-* |
--enable-*)
903 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
906 as_fn_error $?
"invalid feature name: $ac_useropt"
907 ac_useropt_orig
=$ac_useropt
908 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 ac_unrecognized_sep
=', ';;
916 eval enable_
$ac_useropt=\
$ac_optarg ;;
918 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
919 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
920 |
--exec |
--exe |
--ex)
921 ac_prev
=exec_prefix
;;
922 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
923 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
924 |
--exec=* |
--exe=* |
--ex=*)
925 exec_prefix
=$ac_optarg ;;
927 -gas |
--gas |
--ga |
--g)
928 # Obsolete; use --with-gas.
931 -help |
--help |
--hel |
--he |
-h)
933 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
934 ac_init_help
=recursive
;;
935 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
936 ac_init_help
=short
;;
938 -host |
--host |
--hos |
--ho)
939 ac_prev
=host_alias
;;
940 -host=* |
--host=* |
--hos=* |
--ho=*)
941 host_alias
=$ac_optarg ;;
943 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
945 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
947 htmldir
=$ac_optarg ;;
949 -includedir |
--includedir |
--includedi |
--included |
--include \
950 |
--includ |
--inclu |
--incl |
--inc)
951 ac_prev
=includedir
;;
952 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
953 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
954 includedir
=$ac_optarg ;;
956 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
958 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
959 infodir
=$ac_optarg ;;
961 -libdir |
--libdir |
--libdi |
--libd)
963 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
966 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
967 |
--libexe |
--libex |
--libe)
968 ac_prev
=libexecdir
;;
969 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
970 |
--libexe=* |
--libex=* |
--libe=*)
971 libexecdir
=$ac_optarg ;;
973 -localedir |
--localedir |
--localedi |
--localed |
--locale)
975 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
976 localedir
=$ac_optarg ;;
978 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
979 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
980 ac_prev
=localstatedir
;;
981 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
982 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
983 localstatedir
=$ac_optarg ;;
985 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
987 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
991 # Obsolete; use --without-fp.
994 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
995 |
--no-cr |
--no-c |
-n)
998 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
999 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1002 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1003 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1004 |
--oldin |
--oldi |
--old |
--ol |
--o)
1005 ac_prev
=oldincludedir
;;
1006 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1007 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1008 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1009 oldincludedir
=$ac_optarg ;;
1011 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1013 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1014 prefix
=$ac_optarg ;;
1016 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1017 |
--program-pre |
--program-pr |
--program-p)
1018 ac_prev
=program_prefix
;;
1019 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1020 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1021 program_prefix
=$ac_optarg ;;
1023 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1024 |
--program-suf |
--program-su |
--program-s)
1025 ac_prev
=program_suffix
;;
1026 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1027 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1028 program_suffix
=$ac_optarg ;;
1030 -program-transform-name |
--program-transform-name \
1031 |
--program-transform-nam |
--program-transform-na \
1032 |
--program-transform-n |
--program-transform- \
1033 |
--program-transform |
--program-transfor \
1034 |
--program-transfo |
--program-transf \
1035 |
--program-trans |
--program-tran \
1036 |
--progr-tra |
--program-tr |
--program-t)
1037 ac_prev
=program_transform_name
;;
1038 -program-transform-name=* |
--program-transform-name=* \
1039 |
--program-transform-nam=* |
--program-transform-na=* \
1040 |
--program-transform-n=* |
--program-transform-=* \
1041 |
--program-transform=* |
--program-transfor=* \
1042 |
--program-transfo=* |
--program-transf=* \
1043 |
--program-trans=* |
--program-tran=* \
1044 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1045 program_transform_name
=$ac_optarg ;;
1047 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1049 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1050 pdfdir
=$ac_optarg ;;
1052 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1054 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1058 |
-silent |
--silent |
--silen |
--sile |
--sil)
1061 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1063 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1065 sbindir
=$ac_optarg ;;
1067 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1068 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1069 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1071 ac_prev
=sharedstatedir
;;
1072 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1073 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1074 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1076 sharedstatedir
=$ac_optarg ;;
1078 -site |
--site |
--sit)
1080 -site=* |
--site=* |
--sit=*)
1083 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1085 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1086 srcdir
=$ac_optarg ;;
1088 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1089 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1090 ac_prev
=sysconfdir
;;
1091 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1092 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1093 sysconfdir
=$ac_optarg ;;
1095 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1096 ac_prev
=target_alias
;;
1097 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1098 target_alias
=$ac_optarg ;;
1100 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1103 -version |
--version |
--versio |
--versi |
--vers |
-V)
1104 ac_init_version
=: ;;
1107 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error $?
"invalid package name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval with_
$ac_useropt=\
$ac_optarg ;;
1122 -without-* |
--without-*)
1123 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=no
;;
1139 # Obsolete; use --with-x.
1142 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1143 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1144 ac_prev
=x_includes
;;
1145 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1146 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1147 x_includes
=$ac_optarg ;;
1149 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1150 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1151 ac_prev
=x_libraries
;;
1152 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1153 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1154 x_libraries
=$ac_optarg ;;
1156 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1161 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 case $ac_envvar in #(
1164 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1165 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1167 eval $ac_envvar=\
$ac_optarg
1168 export $ac_envvar ;;
1171 # FIXME: should be removed in autoconf 3.0.
1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 if test -n "$ac_prev"; then
1182 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1183 as_fn_error $?
"missing argument to $ac_option"
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1189 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1194 # Check all directory arguments for consistency.
1195 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val
=\$
$ac_var
1201 # Remove trailing slashes.
1204 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\
$ac_val;;
1207 # Be sure to have absolute directory names.
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1212 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1220 target
=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x
; then
1224 if test "x$build_alias" = x
; then
1225 cross_compiling
=maybe
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1234 test "$silent" = yes && exec 6>/dev
/null
1237 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di
=`ls -di .` &&
1239 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error $?
"working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error $?
"pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted
=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir
=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted
=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1281 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var
in $ac_precious_vars; do
1298 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1300 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures pve-cluster 1.0 to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking ...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/pve-cluster]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1369 --program-prefix=PREFIX prepend PREFIX to installed program names
1370 --program-suffix=SUFFIX append SUFFIX to installed program names
1371 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of pve-cluster 1.0:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1386 --disable-silent-rules verbose build output
(undo
: "make V=0")
1387 --enable-maintainer-mode
1388 enable make rules and dependencies not useful
(and
1389 sometimes confusing
) to the casual installer
1390 --enable-dependency-tracking
1391 do not reject slow dependency extractors
1392 --disable-dependency-tracking
1393 speeds up one-time build
1395 Some influential environment variables
:
1396 CC C compiler
command
1397 CFLAGS C compiler flags
1398 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1399 nonstandard directory
<lib dir
>
1400 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1401 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1402 you have headers
in a nonstandard directory
<include dir
>
1403 PKG_CONFIG path to pkg-config utility
1405 directories to add to pkg-config
's search path
1407 path overriding pkg-config's built-in search path
1409 C compiler flags
for CHECK
, overriding pkg-config
1410 CHECK_LIBS linker flags
for CHECK
, overriding pkg-config
1412 C compiler flags
for LIBRRD
, overriding pkg-config
1413 LIBRRD_LIBS linker flags
for LIBRRD
, overriding pkg-config
1414 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1415 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1416 FUSE_CFLAGS C compiler flags
for FUSE
, overriding pkg-config
1417 FUSE_LIBS linker flags
for FUSE
, overriding pkg-config
1419 C compiler flags
for COROSYNC
, overriding pkg-config
1421 linker flags
for COROSYNC
, overriding pkg-config
1422 QB_CFLAGS C compiler flags
for QB
, overriding pkg-config
1423 QB_LIBS linker flags
for QB
, overriding pkg-config
1425 C compiler flags
for SQLITE3
, overriding pkg-config
1427 linker flags
for SQLITE3
, overriding pkg-config
1430 Use these variables to override the choices made by
`configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <support@proxmox.com>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1496 pve-cluster configure 1.0
1497 generated by GNU Autoconf 2.69
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1520 *) ac_try_echo
=$ac_try;;
1522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err
; then
1527 grep -v '^ *+' conftest.err
>conftest.er1
1528 cat conftest.er1
>&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.
$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.
$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status
$ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_link LINENO
1549 # -----------------------
1550 # Try to link conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1554 rm -f conftest.
$ac_objext conftest
$ac_exeext
1555 if { { ac_try
="$ac_link"
1557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_link") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest$ac_exeext && {
1574 test "$cross_compiling" = yes ||
1575 test -x conftest$ac_exeext
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1585 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1586 # interfere with the next link command; also delete a directory that is
1587 # left behind by Apple's compiler. We do this before executing the actions.
1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_link
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } > conftest.i
&& {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status
$ac_retval
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_link"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1665 ac_retval
=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status
$ac_retval
1673 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1676 # the include files in INCLUDES and setting the cache variable VAR
1678 ac_fn_c_check_header_mongrel
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 if eval \
${$3+:} false
; then :
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \
${$3+:} false
; then :
1685 $as_echo_n "(cached) " >&6
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1691 # Is the header compilable?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1693 $as_echo_n "checking $2 usability... " >&6; }
1694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1699 if ac_fn_c_try_compile
"$LINENO"; then :
1700 ac_header_compiler
=yes
1702 ac_header_compiler
=no
1704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1706 $as_echo "$ac_header_compiler" >&6; }
1708 # Is the header present?
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1710 $as_echo_n "checking $2 presence... " >&6; }
1711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1715 if ac_fn_c_try_cpp
"$LINENO"; then :
1716 ac_header_preproc
=yes
1718 ac_header_preproc
=no
1720 rm -f conftest.err conftest.i conftest.
$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1722 $as_echo "$ac_header_preproc" >&6; }
1724 # So? What about this header?
1725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1728 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1734 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1736 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1738 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1740 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743 ( $as_echo "## ---------------------------------- ##
1744 ## Report this to support@proxmox.com ##
1745 ## ---------------------------------- ##"
1746 ) |
sed "s/^/$as_me: WARNING: /" >&2
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \
${$3+:} false
; then :
1752 $as_echo_n "(cached) " >&6
1754 eval "$3=\$ac_header_compiler"
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_header_mongrel
1764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists and can be compiled using the include files in
1767 # INCLUDES, setting the cache variable VAR accordingly.
1768 ac_fn_c_check_header_compile
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval \
${$3+:} false
; then :
1774 $as_echo_n "(cached) " >&6
1776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1781 if ac_fn_c_try_compile
"$LINENO"; then :
1786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 } # ac_fn_c_check_header_compile
1795 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1796 # -------------------------------------------
1797 # Tests whether TYPE exists after having included INCLUDES, setting cache
1798 # variable VAR accordingly.
1799 ac_fn_c_check_type
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \
${$3+:} false
; then :
1805 $as_echo_n "(cached) " >&6
1808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1820 if ac_fn_c_try_compile
"$LINENO"; then :
1821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1833 if ac_fn_c_try_compile
"$LINENO"; then :
1838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 } # ac_fn_c_check_type
1849 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1850 # ----------------------------------------------------
1851 # Tries to find if the field MEMBER exists in type AGGR, after including
1852 # INCLUDES, setting cache variable VAR accordingly.
1853 ac_fn_c_check_member
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1857 $as_echo_n "checking for $2.$3... " >&6; }
1858 if eval \
${$4+:} false
; then :
1859 $as_echo_n "(cached) " >&6
1861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1874 if ac_fn_c_try_compile
"$LINENO"; then :
1877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1884 if (sizeof ac_aggr.$3)
1890 if ac_fn_c_try_compile
"$LINENO"; then :
1895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_check_member
1906 # ac_fn_c_find_uintX_t LINENO BITS VAR
1907 # ------------------------------------
1908 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1910 ac_fn_c_find_uintX_t
()
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1914 $as_echo_n "checking for uint$2_t... " >&6; }
1915 if eval \
${$3+:} false
; then :
1916 $as_echo_n "(cached) " >&6
1919 # Order is important - never check a type that is potentially smaller
1920 # than half of the expected target width.
1921 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1922 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1925 $ac_includes_default
1929 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1931 return test_array [0];
1937 if ac_fn_c_try_compile
"$LINENO"; then :
1942 eval "$3=\$ac_type" ;;
1945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 if eval test \"x\$
"$3"\" = x
"no"; then :
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_find_uintX_t
1960 # ac_fn_c_check_func LINENO FUNC VAR
1961 # ----------------------------------
1962 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1963 ac_fn_c_check_func
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \
${$3+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1983 # include <limits.h>
1985 # include <assert.h>
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2012 if ac_fn_c_try_link
"$LINENO"; then :
2017 rm -f core conftest.err conftest.
$ac_objext \
2018 conftest
$ac_exeext conftest.
$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025 } # ac_fn_c_check_func
2026 cat >config.log
<<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by pve-cluster $as_me 1.0, which was
2031 generated by GNU Autoconf 2.69. Invocation command line was
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir
=.
2067 $as_echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next
=false
2097 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2099 |
-silent |
--silent |
--silen |
--sile |
--sil)
2102 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2107 as_fn_append ac_configure_args1
" '$ac_arg'"
2108 if test $ac_must_keep_next = true
; then
2109 ac_must_keep_next
=false
# Got value, back to normal.
2112 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2113 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2114 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2115 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next
=true
;;
2123 as_fn_append ac_configure_args
" '$ac_arg'"
2128 { ac_configure_args0
=; unset ac_configure_args0
;}
2129 { ac_configure_args1
=; unset ac_configure_args1
;}
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2141 $as_echo "## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##"
2145 # The following way of writing the cache mishandles newlines in values,
2147 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2148 eval ac_val=\$$ac_var
2152 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2156 _ | IFS | as_nl) ;; #(
2157 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2158 *) { eval $ac_var=; unset $ac_var;} ;;
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 $as_echo "## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##"
2181 for ac_var in $ac_subst_vars
2183 eval ac_val=\$$ac_var
2185 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 $as_echo "$ac_var='\''$ac_val'\''"
2191 if test -n "$ac_subst_files"; then
2192 $as_echo "## ------------------- ##
2193 ## File substitutions. ##
2194 ## ------------------- ##"
2196 for ac_var
in $ac_subst_files
2198 eval ac_val
=\$
$ac_var
2200 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -s confdefs.h; then
2208 $as_echo "## ----------- ##
2215 test "$ac_signal" != 0 &&
2216 $as_echo "$as_me: caught signal $ac_signal"
2217 $as_echo "$as_me: exit $exit_status"
2219 rm -f core *.core core.conftest.* &&
2220 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223 for ac_signal
in 1 2 13 15; do
2224 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2228 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2229 rm -f -r conftest
* confdefs.h
2231 $as_echo "/* confdefs.h */" > confdefs.h
2233 # Predefined preprocessor variables.
2235 cat >>confdefs.h
<<_ACEOF
2236 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 cat >>confdefs.h
<<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 cat >>confdefs.h
<<_ACEOF
2244 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_STRING "$PACKAGE_STRING"
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_URL "$PACKAGE_URL"
2260 # Let the site file select an alternate cache file if it wants to.
2261 # Prefer an explicitly selected file to automatically selected ones.
2264 if test -n "$CONFIG_SITE"; then
2265 # We do not want a PATH search for config.site.
2266 case $CONFIG_SITE in #((
2267 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2268 */*) ac_site_file1
=$CONFIG_SITE;;
2269 *) ac_site_file1
=.
/$CONFIG_SITE;;
2271 elif test "x$prefix" != xNONE
; then
2272 ac_site_file1
=$prefix/share
/config.site
2273 ac_site_file2
=$prefix/etc
/config.site
2275 ac_site_file1
=$ac_default_prefix/share
/config.site
2276 ac_site_file2
=$ac_default_prefix/etc
/config.site
2278 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2280 test "x$ac_site_file" = xNONE
&& continue
2281 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2283 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2286 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 as_fn_error $?
"failed to load site script $ac_site_file
2289 See \`config.log' for more details" "$LINENO" 5; }
2293 if test -r "$cache_file"; then
2294 # Some versions of bash will fail to source /dev/null (special files
2295 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2296 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2298 $as_echo "$as_me: loading cache $cache_file" >&6;}
2300 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2301 *) .
"./$cache_file";;
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2306 $as_echo "$as_me: creating cache $cache_file" >&6;}
2310 # Check that the precious variables saved in the cache have kept the same
2312 ac_cache_corrupted
=false
2313 for ac_var
in $ac_precious_vars; do
2314 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2315 eval ac_new_set
=\
$ac_env_${ac_var}_set
2316 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2317 eval ac_new_val
=\
$ac_env_${ac_var}_value
2318 case $ac_old_set,$ac_new_set in
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2321 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2322 ac_cache_corrupted
=: ;;
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2325 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2326 ac_cache_corrupted
=: ;;
2329 if test "x$ac_old_val" != "x$ac_new_val"; then
2330 # differences in whitespace do not lead to failure.
2331 ac_old_val_w
=`echo x $ac_old_val`
2332 ac_new_val_w
=`echo x $ac_new_val`
2333 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2335 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 ac_cache_corrupted
=:
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2339 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2340 eval $ac_var=\
$ac_old_val
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2343 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2345 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2348 # Pass precious variables to config.status.
2349 if test "$ac_new_set" = set; then
2351 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2352 *) ac_arg
=$ac_var=$ac_new_val ;;
2354 case " $ac_configure_args " in
2355 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2356 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2360 if $ac_cache_corrupted; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2364 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2365 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2367 ## -------------------- ##
2368 ## Main body of script. ##
2369 ## -------------------- ##
2372 ac_cpp
='$CPP $CPPFLAGS'
2373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2378 am__api_version
='1.14'
2381 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2382 if test -f "$ac_dir/install-sh"; then
2384 ac_install_sh
="$ac_aux_dir/install-sh -c"
2386 elif test -f "$ac_dir/install.sh"; then
2388 ac_install_sh
="$ac_aux_dir/install.sh -c"
2390 elif test -f "$ac_dir/shtool"; then
2392 ac_install_sh
="$ac_aux_dir/shtool install -c"
2396 if test -z "$ac_aux_dir"; then
2397 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2400 # These three variables are undocumented and unsupported,
2401 # and are intended to be withdrawn in a future Autoconf release.
2402 # They can cause serious problems if a builder's source tree is in a directory
2403 # whose full name contains unusual characters.
2404 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2405 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2406 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2409 # Find a good install program. We prefer a C program (faster),
2410 # so one script is as good as another. But avoid the broken or
2411 # incompatible versions:
2412 # SysV /etc/install, /usr/sbin/install
2413 # SunOS /usr/etc/install
2414 # IRIX /sbin/install
2416 # AmigaOS /C/install, which installs bootblocks on floppy discs
2417 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2420 # OS/2's system install, which has a completely different semantic
2421 # ./install, which can be erroneously created by make from ./install.sh.
2422 # Reject install programs that cannot install multiple files.
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2424 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2425 if test -z "$INSTALL"; then
2426 if ${ac_cv_path_install+:} false
; then :
2427 $as_echo_n "(cached) " >&6
2429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir
=.
2434 # Account for people who put trailing slashes in PATH elements.
2435 case $as_dir/ in #((
2436 .
/ | .
// |
/[cC
]/* | \
2437 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2438 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2441 # OSF1 and SCO ODT 3.0 have their own names for install.
2442 # Don't use installbsd from OSF since it installs stuff as root
2444 for ac_prog
in ginstall scoinst
install; do
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2447 if test $ac_prog = install &&
2448 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2449 # AIX install. It has an incompatible calling convention.
2451 elif test $ac_prog = install &&
2452 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2453 # program-specific install script used by HP pwplus--don't use.
2456 rm -rf conftest.one conftest.two conftest.dir
2457 echo one
> conftest.one
2458 echo two
> conftest.two
2460 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2461 test -s conftest.one
&& test -s conftest.two
&&
2462 test -s conftest.dir
/conftest.one
&&
2463 test -s conftest.dir
/conftest.two
2465 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2478 rm -rf conftest.one conftest.two conftest.dir
2481 if test "${ac_cv_path_install+set}" = set; then
2482 INSTALL
=$ac_cv_path_install
2484 # As a last resort, use the slow shell script. Don't cache a
2485 # value for INSTALL within a source directory, because that will
2486 # break other packages using the cache if that directory is
2487 # removed, or if the value is a relative name.
2488 INSTALL
=$ac_install_sh
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2492 $as_echo "$INSTALL" >&6; }
2494 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2495 # It thinks the first close brace ends the variable substitution.
2496 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2498 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2500 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2503 $as_echo_n "checking whether build environment is sane... " >&6; }
2504 # Reject unsafe characters in $srcdir or the absolute working directory
2505 # name. Accept space and tab only in the latter.
2509 *[\\\"\
#\$\&\'\`$am_lf]*)
2510 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2513 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2514 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2517 # Do 'set' in a subshell so we don't clobber the current shell's
2518 # arguments. Must try -L first in case configure is actually a
2519 # symlink; some systems play weird games with the mod time of symlinks
2520 # (eg FreeBSD returns the mod time of the symlink's containing
2524 for am_try
in 1 2; do
2525 echo "timestamp, slept: $am_has_slept" > conftest.
file
2526 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2527 if test "$*" = "X"; then
2529 set X
`ls -t "$srcdir/configure" conftest.file`
2531 if test "$*" != "X $srcdir/configure conftest.file" \
2532 && test "$*" != "X conftest.file $srcdir/configure"; then
2534 # If neither matched, then we have a broken ls. This can happen
2535 # if, for instance, CONFIG_SHELL is bash and it inherits a
2536 # broken ls alias from the environment. This has actually
2537 # happened. Such a system could not be considered "sane".
2538 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2539 alias in your environment" "$LINENO" 5
2541 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2548 test "$2" = conftest.
file
2554 as_fn_error $?
"newly created file is older than distributed files!
2555 Check your system clock" "$LINENO" 5
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2558 $as_echo "yes" >&6; }
2559 # If we didn't sleep, we still need to ensure time stamps of config.status and
2560 # generated files are strictly newer.
2562 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2569 test "$program_prefix" != NONE
&&
2570 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2571 # Use a double $ so make ignores it.
2572 test "$program_suffix" != NONE
&&
2573 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2574 # Double any \ or $.
2575 # By default was `s,x,x', remove it if useless.
2576 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2577 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2579 # Expand $ac_aux_dir to an absolute path.
2580 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2582 if test x
"${MISSING+set}" != xset
; then
2585 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2587 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2590 # Use eval to expand $SHELL
2591 if eval "$MISSING --is-lightweight"; then
2592 am_missing_run
="$MISSING "
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2596 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2599 if test x
"${install_sh}" != xset
; then
2602 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2604 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2608 # Installed binaries are usually stripped using 'strip' when the user
2609 # run "make install-strip". However 'strip' might not be the right
2610 # tool to use in cross-compilation environments, therefore Automake
2611 # will honor the 'STRIP' environment variable to overrule this program.
2612 if test "$cross_compiling" != no
; then
2613 if test -n "$ac_tool_prefix"; then
2614 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2615 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if ${ac_cv_prog_STRIP+:} false
; then :
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$STRIP"; then
2622 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2631 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 STRIP
=$ac_cv_prog_STRIP
2642 if test -n "$STRIP"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2644 $as_echo "$STRIP" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2652 if test -z "$ac_cv_prog_STRIP"; then
2654 # Extract the first word of "strip", so it can be a program name with args.
2655 set dummy strip
; ac_word
=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$ac_ct_STRIP"; then
2662 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_ac_ct_STRIP
="strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2682 if test -n "$ac_ct_STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2684 $as_echo "$ac_ct_STRIP" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2690 if test "x$ac_ct_STRIP" = x
; then
2693 case $cross_compiling:$ac_tool_warned in
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned
=yes ;;
2702 STRIP
="$ac_cv_prog_STRIP"
2706 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2709 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2710 if test -z "$MKDIR_P"; then
2711 if ${ac_cv_path_mkdir+:} false
; then :
2712 $as_echo_n "(cached) " >&6
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_prog
in mkdir gmkdir
; do
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2722 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2723 'mkdir (GNU coreutils) '* | \
2724 'mkdir (coreutils) '* | \
2725 'mkdir (fileutils) '4.1*)
2726 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2736 test -d .
/--version && rmdir .
/--version
2737 if test "${ac_cv_path_mkdir+set}" = set; then
2738 MKDIR_P
="$ac_cv_path_mkdir -p"
2740 # As a last resort, use the slow shell script. Don't cache a
2741 # value for MKDIR_P within a source directory, because that will
2742 # break other packages using the cache if that directory is
2743 # removed, or if the value is a relative name.
2744 MKDIR_P
="$ac_install_sh -d"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2748 $as_echo "$MKDIR_P" >&6; }
2750 for ac_prog
in gawk mawk nawk
awk
2752 # Extract the first word of "$ac_prog", so it can be a program name with args.
2753 set dummy
$ac_prog; ac_word
=$2
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2755 $as_echo_n "checking for $ac_word... " >&6; }
2756 if ${ac_cv_prog_AWK+:} false
; then :
2757 $as_echo_n "(cached) " >&6
2759 if test -n "$AWK"; then
2760 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir
=.
2767 for ac_exec_ext
in '' $ac_executable_extensions; do
2768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2769 ac_cv_prog_AWK
="$ac_prog"
2770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 if test -n "$AWK"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2782 $as_echo "$AWK" >&6; }
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785 $as_echo "no" >&6; }
2789 test -n "$AWK" && break
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2793 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2795 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2796 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2797 $as_echo_n "(cached) " >&6
2799 cat >conftest.
make <<\_ACEOF
2802 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2804 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2805 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2807 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2809 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2813 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2815 $as_echo "yes" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2820 SET_MAKE
="MAKE=${MAKE-make}"
2823 rm -rf .tst
2>/dev
/null
2824 mkdir .tst
2>/dev
/null
2825 if test -d .tst
; then
2830 rmdir .tst
2>/dev
/null
2832 # Check whether --enable-silent-rules was given.
2833 if test "${enable_silent_rules+set}" = set; then :
2834 enableval
=$enable_silent_rules;
2837 case $enable_silent_rules in # (((
2838 yes) AM_DEFAULT_VERBOSITY
=0;;
2839 no
) AM_DEFAULT_VERBOSITY
=1;;
2840 *) AM_DEFAULT_VERBOSITY
=1;;
2842 am_make
=${MAKE-make}
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2844 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2845 if ${am_cv_make_support_nested_variables+:} false
; then :
2846 $as_echo_n "(cached) " >&6
2848 if $as_echo 'TRUE=$(BAR$(V))
2854 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2855 am_cv_make_support_nested_variables
=yes
2857 am_cv_make_support_nested_variables
=no
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2861 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2862 if test $am_cv_make_support_nested_variables = yes; then
2864 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2866 AM_V
=$AM_DEFAULT_VERBOSITY
2867 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2871 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2872 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2873 # is not polluted with repeated "-I."
2874 am__isrc
=' -I$(srcdir)'
2875 # test to see if srcdir already configured
2876 if test -f $srcdir/config.status
; then
2877 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2881 # test whether we have cygpath
2882 if test -z "$CYGPATH_W"; then
2883 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2884 CYGPATH_W
='cygpath -w'
2891 # Define the identity of the package.
2892 PACKAGE
='pve-cluster'
2896 cat >>confdefs.h
<<_ACEOF
2897 #define PACKAGE "$PACKAGE"
2901 cat >>confdefs.h
<<_ACEOF
2902 #define VERSION "$VERSION"
2905 # Some tools Automake needs.
2907 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2910 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2913 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2916 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2919 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2921 # For better backward compatibility. To be removed once Automake 1.9.x
2922 # dies out for good. For more background, see:
2923 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2924 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2925 mkdir_p
='$(MKDIR_P)'
2927 # We need awk for the "check" target. The system "awk" is bad on
2929 # Always define AMTAR for backward compatibility. Yes, it's still used
2930 # in the wild :-( We should find a proper way to deprecate it ...
2934 # We'll loop over all known methods to create a tar archive until one works.
2935 _am_tools
='gnutar pax cpio none'
2937 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2944 # POSIX will say in a future version that running "rm -f" with no argument
2945 # is OK; and we want to be able to make that assumption in our Makefile
2946 # recipes. So use an aggressive probe to check that the usage we want is
2947 # actually supported "in the wild" to an acceptable degree.
2948 # See automake bug#10828.
2949 # To make any issue more visible, cause the running configure to be aborted
2950 # by default if the 'rm' program in use doesn't match our expectations; the
2951 # user can still override this though.
2952 if rm -f && rm -fr && rm -rf; then : OK
; else
2956 Your 'rm' program seems unable to run without file operands specified
2957 on the command line, even when the '-f' option is present. This is contrary
2958 to the behaviour of most rm programs out there, and not conforming with
2959 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2961 Please tell bug-automake@gnu.org about your system, including the value
2962 of your $PATH and any error possibly output before this message. This
2963 can help us improve future automake versions.
2966 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2967 echo 'Configuration will proceed anyway, since you have set the' >&2
2968 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2972 Aborting the configuration process, to ensure you take notice of the issue.
2974 You can download and install GNU coreutils to get an 'rm' implementation
2975 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2977 If you want to complete the configuration process using your problematic
2978 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2979 to "yes", and re-run configure.
2982 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2988 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2989 # Check whether --enable-maintainer-mode was given.
2990 if test "${enable_maintainer_mode+set}" = set; then :
2991 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2993 USE_MAINTAINER_MODE
=no
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2997 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2998 if test $USE_MAINTAINER_MODE = yes; then
2999 MAINTAINER_MODE_TRUE
=
3000 MAINTAINER_MODE_FALSE
='#'
3002 MAINTAINER_MODE_TRUE
='#'
3003 MAINTAINER_MODE_FALSE
=
3006 MAINT
=$MAINTAINER_MODE_TRUE
3012 ac_config_headers
="$ac_config_headers config.h"
3017 # Checks for programs.
3019 ac_cpp
='$CPP $CPPFLAGS'
3020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_CC+:} false
; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC
="$CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3062 if test -z "$ac_cv_prog_CC"; then
3064 # Extract the first word of "gcc", so it can be a program name with args.
3065 set dummy gcc
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$ac_ct_CC"; then
3072 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_prog_ac_ct_CC
="gcc"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3092 if test -n "$ac_ct_CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3094 $as_echo "$ac_ct_CC" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3100 if test "x$ac_ct_CC" = x
; then
3103 case $cross_compiling:$ac_tool_warned in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned
=yes ;;
3115 if test -z "$CC"; then
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3118 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if ${ac_cv_prog_CC+:} false
; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC
="$CC" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3156 if test -z "$CC"; then
3157 # Extract the first word of "cc", so it can be a program name with args.
3158 set dummy cc
; ac_word
=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_CC+:} false
; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3175 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3176 ac_prog_rejected
=yes
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test $ac_prog_rejected = yes; then
3188 # We found a bogon in the path, so make sure we never use it.
3189 set dummy
$ac_cv_prog_CC
3191 if test $# != 0; then
3192 # We chose a different compiler from the bogus one.
3193 # However, it has the same basename, so the bogon will be chosen
3194 # first if we set CC to just the basename; use the full file name.
3196 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3202 if test -n "$CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204 $as_echo "$CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3212 if test -z "$CC"; then
3213 if test -n "$ac_tool_prefix"; then
3214 for ac_prog
in cl.exe
3216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3217 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_CC+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$CC"; then
3224 ac_cv_prog_CC
="$CC" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 if test -n "$CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 $as_echo "$CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$CC" && break
3256 if test -z "$CC"; then
3258 for ac_prog
in cl.exe
3260 # Extract the first word of "$ac_prog", so it can be a program name with args.
3261 set dummy
$ac_prog; ac_word
=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$ac_ct_CC"; then
3268 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir
=.
3275 for ac_exec_ext
in '' $ac_executable_extensions; do
3276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_ac_ct_CC
="$ac_prog"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3288 if test -n "$ac_ct_CC"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3290 $as_echo "$ac_ct_CC" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 test -n "$ac_ct_CC" && break
3300 if test "x$ac_ct_CC" = x
; then
3303 case $cross_compiling:$ac_tool_warned in
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307 ac_tool_warned
=yes ;;
3316 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318 as_fn_error $?
"no acceptable C compiler found in \$PATH
3319 See \`config.log' for more details" "$LINENO" 5; }
3321 # Provide some information about the compiler.
3322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3325 for ac_option
in --version -v -V -qversion; do
3326 { { ac_try
="$ac_compiler $ac_option >&5"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3335 if test -s conftest.err; then
3337 ... rest of stderr output deleted ...
3338 10q' conftest.err >conftest.er1
3339 cat conftest.er1 >&5
3341 rm -f conftest.er1 conftest.err
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 ac_clean_files_save=$ac_clean_files
3358 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3359 # Try to create an executable without -o first, disregard a.out.
3360 # It will help us diagnose broken compilers, and finding out an intuition
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3363 $as_echo_n "checking whether the C compiler works... " >&6; }
3364 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3366 # The possible output files:
3367 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3370 for ac_file in $ac_files
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379 if { { ac_try="$ac_link_default"
3381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3382 *) ac_try_echo
=$ac_try;;
3384 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link_default") 2>&5
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }; then :
3390 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3391 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3392 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3393 # so that the user can short-circuit this test for compilers unknown to
3395 for ac_file
in $ac_files ''
3397 test -f "$ac_file" ||
continue
3399 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3402 # We found the default executable, but exeext='' is most
3406 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3408 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410 # We set ac_cv_exeext here because the later test for it is not
3411 # safe: cross compilers may not add the suffix if given an `-o'
3412 # argument, so we may need to know it at that point already.
3413 # Even if this section looks crufty: it has the advantage of
3420 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3425 if test -z "$ac_file"; then :
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.
$ac_ext >&5
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error
77 "C compiler cannot create executables
3434 See \`config.log' for more details" "$LINENO" 5; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3437 $as_echo "yes" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3440 $as_echo_n "checking for C compiler default output file name... " >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3442 $as_echo "$ac_file" >&6; }
3443 ac_exeext
=$ac_cv_exeext
3445 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3446 ac_clean_files
=$ac_clean_files_save
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3448 $as_echo_n "checking for suffix of executables... " >&6; }
3449 if { { ac_try
="$ac_link"
3451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_link") 2>&5
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }; then :
3460 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3461 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3462 # work properly (i.e., refer to `conftest.exe'), while it won't with
3464 for ac_file
in conftest.exe conftest conftest.
*; do
3465 test -f "$ac_file" ||
continue
3467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3468 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3477 See \`config.log' for more details" "$LINENO" 5; }
3479 rm -f conftest conftest
$ac_cv_exeext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3481 $as_echo "$ac_cv_exeext" >&6; }
3483 rm -f conftest.
$ac_ext
3484 EXEEXT
=$ac_cv_exeext
3486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3492 FILE *f = fopen ("conftest.out", "w");
3493 return ferror (f) || fclose (f) != 0;
3499 ac_clean_files
="$ac_clean_files conftest.out"
3500 # Check that the compiler produces executables we can run. If not, either
3501 # the compiler is broken, or we cross compile.
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3503 $as_echo_n "checking whether we are cross compiling... " >&6; }
3504 if test "$cross_compiling" != yes; then
3505 { { ac_try
="$ac_link"
3507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_link") 2>&5
3514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515 test $ac_status = 0; }
3516 if { ac_try='./conftest$ac_cv_exeext'
3517 { { case "(($ac_try" in
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_try") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; }; then
3529 if test "$cross_compiling" = maybe
; then
3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $?
"cannot run C compiled programs.
3535 If you meant to cross compile, use \`--host'.
3536 See \`config.log' for more details" "$LINENO" 5; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3541 $as_echo "$cross_compiling" >&6; }
3543 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3544 ac_clean_files
=$ac_clean_files_save
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3546 $as_echo_n "checking for suffix of object files... " >&6; }
3547 if ${ac_cv_objext+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 rm -f conftest.o conftest.obj
3562 if { { ac_try
="$ac_compile"
3564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 $as_echo "$ac_try_echo"; } >&5
3569 (eval "$ac_compile") 2>&5
3571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 test $ac_status = 0; }; then :
3573 for ac_file in conftest.o conftest.obj conftest.*; do
3574 test -f "$ac_file" || continue;
3576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3577 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582 $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.$ac_ext >&5
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3588 See \
`config.log' for more details" "$LINENO" 5; }
3590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3593 $as_echo "$ac_cv_objext" >&6; }
3594 OBJEXT=$ac_cv_objext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3597 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3598 if ${ac_cv_c_compiler_gnu+:} false; then :
3599 $as_echo_n "(cached) " >&6
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3615 if ac_fn_c_try_compile "$LINENO"; then :
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3625 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3626 if test $ac_compiler_gnu = yes; then
3631 ac_test_CFLAGS=${CFLAGS+set}
3632 ac_save_CFLAGS=$CFLAGS
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3634 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3635 if ${ac_cv_prog_cc_g+:} false; then :
3636 $as_echo_n "(cached) " >&6
3638 ac_save_c_werror_flag=$ac_c_werror_flag
3639 ac_c_werror_flag=yes
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 if ac_fn_c_try_compile "$LINENO"; then :
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3684 if ac_fn_c_try_compile "$LINENO"; then :
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 ac_c_werror_flag=$ac_save_c_werror_flag
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3695 $as_echo "$ac_cv_prog_cc_g" >&6; }
3696 if test "$ac_test_CFLAGS" = set; then
3697 CFLAGS=$ac_save_CFLAGS
3698 elif test $ac_cv_prog_cc_g = yes; then
3699 if test "$GCC" = yes; then
3705 if test "$GCC" = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3712 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3713 if ${ac_cv_prog_cc_c89+:} false; then :
3714 $as_echo_n "(cached) " >&6
3716 ac_cv_prog_cc_c89=no
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3724 struct buf { int x; };
3725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3726 static char *e (p, i)
3732 static char *f (char * (*g) (char **, int), char **p, ...)
3737 s = g (p, va_arg (v,int));
3742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3743 function prototypes and stuff, but not '\xHH' hex character constants.
3744 These don't provoke an error unfortunately, instead are silently treated
3745 as 'x'. The following induces an error, until -std is added to get
3746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3747 array size at least. It's necessary to write '\x00'==0 to get something
3748 that's true only with -std. */
3749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3752 inside strings and character constants. */
3754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3756 int test (int i, double x);
3757 struct s1 {int (*f) (int a);};
3758 struct s2 {int (*f) (double a);};
3759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3773 CC="$ac_save_CC $ac_arg"
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 ac_cv_prog_cc_c89=$ac_arg
3777 rm -f core conftest.err conftest.$ac_objext
3778 test "x$ac_cv_prog_cc_c89" != "xno" && break
3780 rm -f conftest.$ac_ext
3785 case "x$ac_cv_prog_cc_c89" in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3788 $as_echo "none needed" >&6; } ;;
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3791 $as_echo "unsupported" >&6; } ;;
3793 CC="$CC $ac_cv_prog_cc_c89"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3797 if test "x$ac_cv_prog_cc_c89" != xno; then :
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3813 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3814 if ${am_cv_prog_cc_c_o+:} false; then :
3815 $as_echo_n "(cached) " >&6
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 # Make sure it works both with $CC and with simple cc.
3829 # Following AC_PROG_CC_C_O, we do the test twice because some
3830 # compilers refuse to overwrite an existing .o file with -o,
3831 # though they will create one.
3832 am_cv_prog_cc_c_o=yes
3834 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3835 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } \
3839 && test -f conftest2.$ac_objext; then
3842 am_cv_prog_cc_c_o=no
3846 rm -f core conftest*
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3850 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3851 if test "$am_cv_prog_cc_c_o" != yes; then
3852 # Losing compiler, so override with the script.
3853 # FIXME: It is wrong to rewrite CC.
3854 # But if we don't then we get into trouble of one sort or another.
3855 # A longer-term fix would be to have automake use am__CC in this case,
3856 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3857 CC="$am_aux_dir/compile $CC"
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3865 DEPDIR="${am__leading_dot}deps"
3867 ac_config_commands="$ac_config_commands depfiles"
3870 am_make=${MAKE-make}
3871 cat > confinc << 'END'
3873 @echo this is the am__doit target
3876 # If we don't find an include directive, just comment out the code.
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3878 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3882 # First try GNU make style include.
3883 echo "include confinc" > confmf
3884 # Ignore all kinds of additional output from 'make'.
3885 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3886 *the\ am__doit\ target*)
3892 # Now try BSD make style include.
3893 if test "$am__include" = "#"; then
3894 echo '.include "confinc"' > confmf
3895 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3896 *the\ am__doit\ target*)
3897 am__include=.include
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3906 $as_echo "$_am_result" >&6; }
3907 rm -f confinc confmf
3909 # Check whether --enable-dependency-tracking was given.
3910 if test "${enable_dependency_tracking+set}" = set; then :
3911 enableval=$enable_dependency_tracking;
3914 if test "x$enable_dependency_tracking" != xno; then
3915 am_depcomp="$ac_aux_dir/depcomp"
3919 if test "x$enable_dependency_tracking" != xno; then
3929 depcc="$CC" am_compiler_list=
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3932 $as_echo_n "checking dependency style of $depcc... " >&6; }
3933 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3937 # We make a subdir and do the tests there. Otherwise we can end up
3938 # making bogus files that we don't know about and never remove. For
3939 # instance it was reported that on HP-UX the gcc test will end up
3940 # making a dummy file named 'D' -- because '-MD' means "put the output
3944 # Copy depcomp to subdir because otherwise we won't find it if we're
3945 # using a relative directory.
3946 cp "$am_depcomp" conftest.dir
3948 # We will build objects and dependencies in a subdirectory because
3949 # it helps to detect inapplicable dependency modes. For instance
3950 # both Tru64's cc and ICC support -MD to output dependencies as a
3951 # side effect of compilation, but ICC will put the dependencies in
3952 # the current directory while Tru64 will put them in the object
3956 am_cv_CC_dependencies_compiler_type=none
3957 if test "$am_compiler_list" = ""; then
3958 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3961 case " $depcc " in #(
3962 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3965 for depmode in $am_compiler_list; do
3966 # Setup a source with many dependencies, because some compilers
3967 # like to wrap large dependency lists on column 80 (with \), and
3968 # we should not choose a depcomp mode which is confused by this.
3970 # We need to recreate these files for each test, as the compiler may
3971 # overwrite some of them when testing with obscure command lines.
3972 # This happens at least with the AIX C compiler.
3974 for i in 1 2 3 4 5 6; do
3975 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3976 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3977 # Solaris 10 /bin/sh.
3978 echo '/* dummy */' > sub/conftst$i.h
3980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3982 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3983 # mode. It turns out that the SunPro C++ compiler does not properly
3984 # handle '-M -o', and we need to detect this. Also, some Intel
3985 # versions had trouble with output in subdirs.
3986 am__obj=sub/conftest.${OBJEXT-o}
3987 am__minus_obj="-o $am__obj"
3990 # This depmode causes a compiler race in universal mode.
3991 test "$am__universal" = false || continue
3994 # After this tag, mechanisms are not by side-effect, so they'll
3995 # only be used when explicitly requested.
3996 if test "x$enable_dependency_tracking" = xyes; then
4002 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4003 # This compiler won't grok '-c -o', but also, the minuso test has
4004 # not run yet. These depmodes are late enough in the game, and
4005 # so weak that their functioning should not be impacted.
4006 am__obj=conftest.${OBJEXT-o}
4011 if depmode=$depmode \
4012 source=sub/conftest.c object=$am__obj \
4013 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4014 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4015 >/dev/null 2>conftest.err &&
4016 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4017 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4018 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4019 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4020 # icc doesn't choke on unknown options, it will just issue warnings
4021 # or remarks (even with -Werror). So we grep stderr for any message
4022 # that says an option was ignored or not supported.
4023 # When given -MP, icc 7.0 and 7.1 complain thusly:
4024 # icc: Command line warning: ignoring option '-M'; no argument required
4025 # The diagnosis changed in icc 8.0:
4026 # icc: Command line remark: option '-MP' not supported
4027 if (grep 'ignoring option' conftest.err ||
4028 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4029 am_cv_CC_dependencies_compiler_type=$depmode
4038 am_cv_CC_dependencies_compiler_type=none
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4043 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4044 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4047 test "x$enable_dependency_tracking" != xno \
4048 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4050 am__fastdepCC_FALSE='#'
4052 am__fastdepCC_TRUE='#'
4053 am__fastdepCC_FALSE=
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4059 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_RANLIB+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$RANLIB"; then
4066 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 RANLIB=$ac_cv_prog_RANLIB
4086 if test -n "$RANLIB"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4088 $as_echo "$RANLIB" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4096 if test -z "$ac_cv_prog_RANLIB"; then
4097 ac_ct_RANLIB=$RANLIB
4098 # Extract the first word of "ranlib", so it can be a program name with args.
4099 set dummy ranlib; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$ac_ct_RANLIB"; then
4106 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir=.
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_RANLIB="ranlib"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4126 if test -n "$ac_ct_RANLIB"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4128 $as_echo "$ac_ct_RANLIB" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4134 if test "x$ac_ct_RANLIB" = x; then
4137 case $cross_compiling:$ac_tool_warned in
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141 ac_tool_warned=yes ;;
4143 RANLIB=$ac_ct_RANLIB
4146 RANLIB="$ac_cv_prog_RANLIB"
4152 if test -n "$ac_tool_prefix"; then
4153 for ac_prog in ar lib "link -lib"
4155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_AR+:} false; then :
4160 $as_echo_n "(cached) " >&6
4162 if test -n "$AR"; then
4163 ac_cv_prog_AR="$AR" # Let the user override the test.
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 if test -n "$AR"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4185 $as_echo "$AR" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$AR" && break
4195 if test -z "$AR"; then
4197 for ac_prog in ar lib "link -lib"
4199 # Extract the first word of "$ac_prog", so it can be a program name with args.
4200 set dummy $ac_prog; ac_word=$2
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4202 $as_echo_n "checking for $ac_word... " >&6; }
4203 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4204 $as_echo_n "(cached) " >&6
4206 if test -n "$ac_ct_AR"; then
4207 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir=.
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4216 ac_cv_prog_ac_ct_AR="$ac_prog"
4217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4227 if test -n "$ac_ct_AR"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4229 $as_echo "$ac_ct_AR" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4236 test -n "$ac_ct_AR" && break
4239 if test "x$ac_ct_AR" = x; then
4242 case $cross_compiling:$ac_tool_warned in
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4246 ac_tool_warned=yes ;;
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4255 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4256 if ${am_cv_ar_interface+:} false; then :
4257 $as_echo_n "(cached) " >&6
4260 ac_cpp='$CPP $CPPFLAGS'
4261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4265 am_cv_ar_interface=ar
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4268 int some_variable = 0;
4270 if ac_fn_c_try_compile "$LINENO"; then :
4271 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4272 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4273 (eval $am_ar_try) 2>&5
4275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276 test $ac_status = 0; }
4277 if test "$ac_status" -eq 0; then
4278 am_cv_ar_interface=ar
4280 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4281 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4282 (eval $am_ar_try) 2>&5
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }
4286 if test "$ac_status" -eq 0; then
4287 am_cv_ar_interface=lib
4289 am_cv_ar_interface=unknown
4292 rm -f conftest.lib libconftest.a
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4304 $as_echo "$am_cv_ar_interface" >&6; }
4306 case $am_cv_ar_interface in
4310 # Microsoft lib, so override with the ar-lib wrapper script.
4311 # FIXME: It is wrong to rewrite AR.
4312 # But if we don't then we get into trouble of one sort or another.
4313 # A longer-term fix would be to have automake use am__AR in this case,
4314 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4316 AR="$am_aux_dir/ar-lib $AR"
4319 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4324 # Checks for libraries.
4333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4334 if test -n "$ac_tool_prefix"; then
4335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4340 $as_echo_n "(cached) " >&6
4344 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4366 if test -n "$PKG_CONFIG"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4368 $as_echo "$PKG_CONFIG" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4376 if test -z "$ac_cv_path_PKG_CONFIG"; then
4377 ac_pt_PKG_CONFIG=$PKG_CONFIG
4378 # Extract the first word of "pkg-config", so it can be a program name with args.
4379 set dummy pkg-config; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 case $ac_pt_PKG_CONFIG in
4387 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4409 if test -n "$ac_pt_PKG_CONFIG"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4411 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4417 if test "x$ac_pt_PKG_CONFIG" = x; then
4420 case $cross_compiling:$ac_tool_warned in
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4424 ac_tool_warned=yes ;;
4426 PKG_CONFIG=$ac_pt_PKG_CONFIG
4429 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4433 if test -n "$PKG_CONFIG"; then
4434 _pkg_min_version=0.9.0
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4436 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4437 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439 $as_echo "yes" >&6; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
4449 $as_echo_n "checking for CHECK... " >&6; }
4451 if test -n "$CHECK_CFLAGS"; then
4452 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
4453 elif test -n "$PKG_CONFIG"; then
4454 if test -n "$PKG_CONFIG" && \
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4456 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4459 test $ac_status = 0; }; then
4460 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev
/null
`
4461 test "x$?" != "x0" && pkg_failed=yes
4468 if test -n "$CHECK_LIBS"; then
4469 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
4470 elif test -n "$PKG_CONFIG"; then
4471 if test -n "$PKG_CONFIG" && \
4472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4473 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4476 test $ac_status = 0; }; then
4477 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev
/null
`
4478 test "x$?" != "x0" && pkg_failed=yes
4488 if test $pkg_failed = yes; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490 $as_echo "no" >&6; }
4492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4493 _pkg_short_errors_supported=yes
4495 _pkg_short_errors_supported=no
4497 if test $_pkg_short_errors_supported = yes; then
4498 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4500 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4502 # Put the nasty error message in config.log where it belongs
4503 echo "$CHECK_PKG_ERRORS" >&5
4505 as_fn_error $? "check not found" "$LINENO" 5
4506 elif test $pkg_failed = untried; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4509 as_fn_error $? "check not found" "$LINENO" 5
4511 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
4512 CHECK_LIBS=$pkg_cv_CHECK_LIBS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4514 $as_echo "yes" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRRD" >&5
4521 $as_echo_n "checking for LIBRRD... " >&6; }
4523 if test -n "$LIBRRD_CFLAGS"; then
4524 pkg_cv_LIBRRD_CFLAGS="$LIBRRD_CFLAGS"
4525 elif test -n "$PKG_CONFIG"; then
4526 if test -n "$PKG_CONFIG" && \
4527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librrd >= 1.4.3\""; } >&5
4528 ($PKG_CONFIG --exists --print-errors "librrd >= 1.4.3") 2>&5
4530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }; then
4532 pkg_cv_LIBRRD_CFLAGS=`$PKG_CONFIG --cflags "librrd >= 1.4.3" 2>/dev
/null
`
4533 test "x$?" != "x0" && pkg_failed=yes
4540 if test -n "$LIBRRD_LIBS"; then
4541 pkg_cv_LIBRRD_LIBS="$LIBRRD_LIBS"
4542 elif test -n "$PKG_CONFIG"; then
4543 if test -n "$PKG_CONFIG" && \
4544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librrd >= 1.4.3\""; } >&5
4545 ($PKG_CONFIG --exists --print-errors "librrd >= 1.4.3") 2>&5
4547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4548 test $ac_status = 0; }; then
4549 pkg_cv_LIBRRD_LIBS=`$PKG_CONFIG --libs "librrd >= 1.4.3" 2>/dev
/null
`
4550 test "x$?" != "x0" && pkg_failed=yes
4560 if test $pkg_failed = yes; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4565 _pkg_short_errors_supported=yes
4567 _pkg_short_errors_supported=no
4569 if test $_pkg_short_errors_supported = yes; then
4570 LIBRRD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librrd >= 1.4.3" 2>&1`
4572 LIBRRD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librrd >= 1.4.3" 2>&1`
4574 # Put the nasty error message in config.log where it belongs
4575 echo "$LIBRRD_PKG_ERRORS" >&5
4577 as_fn_error $? "librrd not found" "$LINENO" 5
4578 elif test $pkg_failed = untried; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4581 as_fn_error $? "librrd not found" "$LINENO" 5
4583 LIBRRD_CFLAGS=$pkg_cv_LIBRRD_CFLAGS
4584 LIBRRD_LIBS=$pkg_cv_LIBRRD_LIBS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4586 $as_echo "yes" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4595 $as_echo_n "checking for GLIB... " >&6; }
4597 if test -n "$GLIB_CFLAGS"; then
4598 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4599 elif test -n "$PKG_CONFIG"; then
4600 if test -n "$PKG_CONFIG" && \
4601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1\""; } >&5
4602 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1") 2>&5
4604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4605 test $ac_status = 0; }; then
4606 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>/dev
/null
`
4607 test "x$?" != "x0" && pkg_failed=yes
4614 if test -n "$GLIB_LIBS"; then
4615 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4616 elif test -n "$PKG_CONFIG"; then
4617 if test -n "$PKG_CONFIG" && \
4618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1\""; } >&5
4619 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1") 2>&5
4621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4622 test $ac_status = 0; }; then
4623 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>/dev
/null
`
4624 test "x$?" != "x0" && pkg_failed=yes
4634 if test $pkg_failed = yes; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4639 _pkg_short_errors_supported=yes
4641 _pkg_short_errors_supported=no
4643 if test $_pkg_short_errors_supported = yes; then
4644 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>&1`
4646 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>&1`
4648 # Put the nasty error message in config.log where it belongs
4649 echo "$GLIB_PKG_ERRORS" >&5
4651 as_fn_error $? "glib not found" "$LINENO" 5
4652 elif test $pkg_failed = untried; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4655 as_fn_error $? "glib not found" "$LINENO" 5
4657 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4658 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4660 $as_echo "yes" >&6; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
4669 $as_echo_n "checking for FUSE... " >&6; }
4671 if test -n "$FUSE_CFLAGS"; then
4672 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
4673 elif test -n "$PKG_CONFIG"; then
4674 if test -n "$PKG_CONFIG" && \
4675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.7.4\""; } >&5
4676 ($PKG_CONFIG --exists --print-errors "fuse >= 2.7.4") 2>&5
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }; then
4680 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.7.4" 2>/dev
/null
`
4681 test "x$?" != "x0" && pkg_failed=yes
4688 if test -n "$FUSE_LIBS"; then
4689 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
4690 elif test -n "$PKG_CONFIG"; then
4691 if test -n "$PKG_CONFIG" && \
4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.7.4\""; } >&5
4693 ($PKG_CONFIG --exists --print-errors "fuse >= 2.7.4") 2>&5
4695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696 test $ac_status = 0; }; then
4697 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse >= 2.7.4" 2>/dev
/null
`
4698 test "x$?" != "x0" && pkg_failed=yes
4708 if test $pkg_failed = yes; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4713 _pkg_short_errors_supported=yes
4715 _pkg_short_errors_supported=no
4717 if test $_pkg_short_errors_supported = yes; then
4718 FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.7.4" 2>&1`
4720 FUSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.7.4" 2>&1`
4722 # Put the nasty error message in config.log where it belongs
4723 echo "$FUSE_PKG_ERRORS" >&5
4725 as_fn_error $? "fuse not found" "$LINENO" 5
4726 elif test $pkg_failed = untried; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4729 as_fn_error $? "fuse not found" "$LINENO" 5
4731 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
4732 FUSE_LIBS=$pkg_cv_FUSE_LIBS
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4734 $as_echo "yes" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COROSYNC" >&5
4743 $as_echo_n "checking for COROSYNC... " >&6; }
4745 if test -n "$COROSYNC_CFLAGS"; then
4746 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
4747 elif test -n "$PKG_CONFIG"; then
4748 if test -n "$PKG_CONFIG" && \
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4\""; } >&5
4750 ($PKG_CONFIG --exists --print-errors "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4") 2>&5
4752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4753 test $ac_status = 0; }; then
4754 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>/dev
/null
`
4755 test "x$?" != "x0" && pkg_failed=yes
4762 if test -n "$COROSYNC_LIBS"; then
4763 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
4764 elif test -n "$PKG_CONFIG"; then
4765 if test -n "$PKG_CONFIG" && \
4766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4\""; } >&5
4767 ($PKG_CONFIG --exists --print-errors "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4") 2>&5
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }; then
4771 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>/dev
/null
`
4772 test "x$?" != "x0" && pkg_failed=yes
4782 if test $pkg_failed = yes; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4787 _pkg_short_errors_supported=yes
4789 _pkg_short_errors_supported=no
4791 if test $_pkg_short_errors_supported = yes; then
4792 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>&1`
4794 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>&1`
4796 # Put the nasty error message in config.log where it belongs
4797 echo "$COROSYNC_PKG_ERRORS" >&5
4799 as_fn_error $? "corosync not found" "$LINENO" 5
4800 elif test $pkg_failed = untried; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 as_fn_error $? "corosync not found" "$LINENO" 5
4805 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
4806 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4808 $as_echo "yes" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QB" >&5
4817 $as_echo_n "checking for QB... " >&6; }
4819 if test -n "$QB_CFLAGS"; then
4820 pkg_cv_QB_CFLAGS="$QB_CFLAGS"
4821 elif test -n "$PKG_CONFIG"; then
4822 if test -n "$PKG_CONFIG" && \
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqb\""; } >&5
4824 ($PKG_CONFIG --exists --print-errors "libqb") 2>&5
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }; then
4828 pkg_cv_QB_CFLAGS=`$PKG_CONFIG --cflags "libqb" 2>/dev
/null
`
4829 test "x$?" != "x0" && pkg_failed=yes
4836 if test -n "$QB_LIBS"; then
4837 pkg_cv_QB_LIBS="$QB_LIBS"
4838 elif test -n "$PKG_CONFIG"; then
4839 if test -n "$PKG_CONFIG" && \
4840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqb\""; } >&5
4841 ($PKG_CONFIG --exists --print-errors "libqb") 2>&5
4843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4844 test $ac_status = 0; }; then
4845 pkg_cv_QB_LIBS=`$PKG_CONFIG --libs "libqb" 2>/dev
/null
`
4846 test "x$?" != "x0" && pkg_failed=yes
4856 if test $pkg_failed = yes; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4861 _pkg_short_errors_supported=yes
4863 _pkg_short_errors_supported=no
4865 if test $_pkg_short_errors_supported = yes; then
4866 QB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqb" 2>&1`
4868 QB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqb" 2>&1`
4870 # Put the nasty error message in config.log where it belongs
4871 echo "$QB_PKG_ERRORS" >&5
4873 as_fn_error $? "libqb not found" "$LINENO" 5
4874 elif test $pkg_failed = untried; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4877 as_fn_error $? "libqb not found" "$LINENO" 5
4879 QB_CFLAGS=$pkg_cv_QB_CFLAGS
4880 QB_LIBS=$pkg_cv_QB_LIBS
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
4891 $as_echo_n "checking for SQLITE3... " >&6; }
4893 if test -n "$SQLITE3_CFLAGS"; then
4894 pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
4895 elif test -n "$PKG_CONFIG"; then
4896 if test -n "$PKG_CONFIG" && \
4897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4898 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4901 test $ac_status = 0; }; then
4902 pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev
/null
`
4903 test "x$?" != "x0" && pkg_failed=yes
4910 if test -n "$SQLITE3_LIBS"; then
4911 pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
4912 elif test -n "$PKG_CONFIG"; then
4913 if test -n "$PKG_CONFIG" && \
4914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4915 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4918 test $ac_status = 0; }; then
4919 pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev
/null
`
4920 test "x$?" != "x0" && pkg_failed=yes
4930 if test $pkg_failed = yes; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4935 _pkg_short_errors_supported=yes
4937 _pkg_short_errors_supported=no
4939 if test $_pkg_short_errors_supported = yes; then
4940 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
4942 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
4944 # Put the nasty error message in config.log where it belongs
4945 echo "$SQLITE3_PKG_ERRORS" >&5
4947 as_fn_error $? "sqlite3 not found" "$LINENO" 5
4948 elif test $pkg_failed = untried; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 as_fn_error $? "sqlite3 not found" "$LINENO" 5
4953 SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
4954 SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4956 $as_echo "yes" >&6; }
4962 # Checks for header files.
4964 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4965 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4967 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4968 if eval \${$as_ac_Header+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973 #include <sys/types.h>
4985 if ac_fn_c_try_compile "$LINENO"; then :
4986 eval "$as_ac_Header=yes"
4988 eval "$as_ac_Header=no"
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992 eval ac_res=\$$as_ac_Header
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4994 $as_echo "$ac_res" >&6; }
4995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4996 cat >>confdefs.h <<_ACEOF
4997 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
5000 ac_header_dirent=$ac_hdr; break
5004 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5005 if test $ac_header_dirent = dirent.h; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5007 $as_echo_n "checking for library containing opendir... " >&6; }
5008 if ${ac_cv_search_opendir+:} false; then :
5009 $as_echo_n "(cached) " >&6
5011 ac_func_search_save_LIBS=$LIBS
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5015 /* Override any GCC internal prototype to avoid an error.
5016 Use char because int might match the return type of a GCC
5017 builtin and then its argument prototype would still apply. */
5030 for ac_lib in '' dir; do
5031 if test -z "$ac_lib"; then
5032 ac_res="none required"
5035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5037 if ac_fn_c_try_link "$LINENO"; then :
5038 ac_cv_search_opendir=$ac_res
5040 rm -f core conftest.err conftest.$ac_objext \
5042 if ${ac_cv_search_opendir+:} false; then :
5046 if ${ac_cv_search_opendir+:} false; then :
5049 ac_cv_search_opendir=no
5052 LIBS=$ac_func_search_save_LIBS
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5055 $as_echo "$ac_cv_search_opendir" >&6; }
5056 ac_res=$ac_cv_search_opendir
5057 if test "$ac_res" != no; then :
5058 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5064 $as_echo_n "checking for library containing opendir... " >&6; }
5065 if ${ac_cv_search_opendir+:} false; then :
5066 $as_echo_n "(cached) " >&6
5068 ac_func_search_save_LIBS=$LIBS
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5072 /* Override any GCC internal prototype to avoid an error.
5073 Use char because int might match the return type of a GCC
5074 builtin and then its argument prototype would still apply. */
5087 for ac_lib in '' x; do
5088 if test -z "$ac_lib"; then
5089 ac_res="none required"
5092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5094 if ac_fn_c_try_link "$LINENO"; then :
5095 ac_cv_search_opendir=$ac_res
5097 rm -f core conftest.err conftest.$ac_objext \
5099 if ${ac_cv_search_opendir+:} false; then :
5103 if ${ac_cv_search_opendir+:} false; then :
5106 ac_cv_search_opendir=no
5109 LIBS=$ac_func_search_save_LIBS
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5112 $as_echo "$ac_cv_search_opendir" >&6; }
5113 ac_res=$ac_cv_search_opendir
5114 if test "$ac_res" != no; then :
5115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5122 ac_cpp='$CPP $CPPFLAGS'
5123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5128 # On Suns, sometimes $CPP names a directory.
5129 if test -n "$CPP" && test -d "$CPP"; then
5132 if test -z "$CPP"; then
5133 if ${ac_cv_prog_CPP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5136 # Double quotes because CPP needs to be expanded
5137 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5140 for ac_c_preproc_warn_flag in '' yes
5142 # Use a header file that comes with gcc, so configuring glibc
5143 # with a fresh cross-compiler works.
5144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5145 # <limits.h> exists even on freestanding compilers.
5146 # On the NeXT, cc -E runs the code through the compiler's parser,
5147 # not just through cpp. "Syntax error" is here to catch this case.
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5151 # include <limits.h>
5153 # include <assert.h>
5157 if ac_fn_c_try_cpp "$LINENO"; then :
5160 # Broken: fails on valid input.
5163 rm -f conftest.err conftest.i conftest.$ac_ext
5165 # OK, works on sane cases. Now check whether nonexistent headers
5166 # can be detected and how.
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5169 #include <ac_nonexistent.h>
5171 if ac_fn_c_try_cpp "$LINENO"; then :
5172 # Broken: success on invalid input.
5175 # Passes both tests.
5179 rm -f conftest.err conftest.i conftest.$ac_ext
5182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5183 rm -f conftest.i conftest.err conftest.
$ac_ext
5184 if $ac_preproc_ok; then :
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5197 $as_echo "$CPP" >&6; }
5199 for ac_c_preproc_warn_flag
in '' yes
5201 # Use a header file that comes with gcc, so configuring glibc
5202 # with a fresh cross-compiler works.
5203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5204 # <limits.h> exists even on freestanding compilers.
5205 # On the NeXT, cc -E runs the code through the compiler's parser,
5206 # not just through cpp. "Syntax error" is here to catch this case.
5207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5210 # include <limits.h>
5212 # include <assert.h>
5216 if ac_fn_c_try_cpp
"$LINENO"; then :
5219 # Broken: fails on valid input.
5222 rm -f conftest.err conftest.i conftest.
$ac_ext
5224 # OK, works on sane cases. Now check whether nonexistent headers
5225 # can be detected and how.
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5228 #include <ac_nonexistent.h>
5230 if ac_fn_c_try_cpp
"$LINENO"; then :
5231 # Broken: success on invalid input.
5234 # Passes both tests.
5238 rm -f conftest.err conftest.i conftest.
$ac_ext
5241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5242 rm -f conftest.i conftest.err conftest.
$ac_ext
5243 if $ac_preproc_ok; then :
5246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5248 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5249 See \`config.log' for more details" "$LINENO" 5; }
5253 ac_cpp
='$CPP $CPPFLAGS'
5254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5260 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5261 if ${ac_cv_path_GREP+:} false
; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -z "$GREP"; then
5265 ac_path_GREP_found
=false
5266 # Loop through the user's path and test for each of PROGNAME-LIST
5267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5268 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5271 test -z "$as_dir" && as_dir
=.
5272 for ac_prog
in grep ggrep
; do
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5275 as_fn_executable_p
"$ac_path_GREP" ||
continue
5276 # Check for GNU ac_path_GREP and select it if it is found.
5277 # Check for GNU $ac_path_GREP
5278 case `"$ac_path_GREP" --version 2>&1` in
5280 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5283 $as_echo_n 0123456789 >"conftest.in"
5286 cat "conftest.in" "conftest.in" >"conftest.tmp"
5287 mv "conftest.tmp" "conftest.in"
5288 cp "conftest.in" "conftest.nl"
5289 $as_echo 'GREP' >> "conftest.nl"
5290 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5291 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5292 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5293 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5294 # Best one so far, save it but keep looking for a better one
5295 ac_cv_path_GREP
="$ac_path_GREP"
5296 ac_path_GREP_max
=$ac_count
5298 # 10*(2^10) chars as input seems more than enough
5299 test $ac_count -gt 10 && break
5301 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5304 $ac_path_GREP_found && break 3
5309 if test -z "$ac_cv_path_GREP"; then
5310 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5313 ac_cv_path_GREP
=$GREP
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5318 $as_echo "$ac_cv_path_GREP" >&6; }
5319 GREP
="$ac_cv_path_GREP"
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5323 $as_echo_n "checking for egrep... " >&6; }
5324 if ${ac_cv_path_EGREP+:} false
; then :
5325 $as_echo_n "(cached) " >&6
5327 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5328 then ac_cv_path_EGREP
="$GREP -E"
5330 if test -z "$EGREP"; then
5331 ac_path_EGREP_found
=false
5332 # Loop through the user's path and test for each of PROGNAME-LIST
5333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5337 test -z "$as_dir" && as_dir
=.
5338 for ac_prog
in egrep; do
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5341 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5342 # Check for GNU ac_path_EGREP and select it if it is found.
5343 # Check for GNU $ac_path_EGREP
5344 case `"$ac_path_EGREP" --version 2>&1` in
5346 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5349 $as_echo_n 0123456789 >"conftest.in"
5352 cat "conftest.in" "conftest.in" >"conftest.tmp"
5353 mv "conftest.tmp" "conftest.in"
5354 cp "conftest.in" "conftest.nl"
5355 $as_echo 'EGREP' >> "conftest.nl"
5356 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5357 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5358 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5359 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5360 # Best one so far, save it but keep looking for a better one
5361 ac_cv_path_EGREP
="$ac_path_EGREP"
5362 ac_path_EGREP_max
=$ac_count
5364 # 10*(2^10) chars as input seems more than enough
5365 test $ac_count -gt 10 && break
5367 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5370 $ac_path_EGREP_found && break 3
5375 if test -z "$ac_cv_path_EGREP"; then
5376 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5379 ac_cv_path_EGREP
=$EGREP
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5385 $as_echo "$ac_cv_path_EGREP" >&6; }
5386 EGREP
="$ac_cv_path_EGREP"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5390 $as_echo_n "checking for ANSI C header files... " >&6; }
5391 if ${ac_cv_header_stdc+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5409 if ac_fn_c_try_compile
"$LINENO"; then :
5410 ac_cv_header_stdc
=yes
5412 ac_cv_header_stdc
=no
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 if test $ac_cv_header_stdc = yes; then
5417 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5424 $EGREP "memchr" >/dev
/null
2>&1; then :
5427 ac_cv_header_stdc
=no
5433 if test $ac_cv_header_stdc = yes; then
5434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5441 $EGREP "free" >/dev
/null
2>&1; then :
5444 ac_cv_header_stdc
=no
5450 if test $ac_cv_header_stdc = yes; then
5451 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5452 if test "$cross_compiling" = yes; then :
5455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5459 #if ((' ' & 0x0FF) == 0x020)
5460 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5461 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5463 # define ISLOWER(c) \
5464 (('a' <= (c) && (c) <= 'i') \
5465 || ('j' <= (c) && (c) <= 'r') \
5466 || ('s' <= (c) && (c) <= 'z'))
5467 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5470 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5475 for (i = 0; i < 256; i++)
5476 if (XOR (islower (i), ISLOWER (i))
5477 || toupper (i) != TOUPPER (i))
5482 if ac_fn_c_try_run
"$LINENO"; then :
5485 ac_cv_header_stdc
=no
5487 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5488 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5494 $as_echo "$ac_cv_header_stdc" >&6; }
5495 if test $ac_cv_header_stdc = yes; then
5497 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5501 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5502 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5503 inttypes.h stdint.h unistd.h
5505 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5506 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5508 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5509 cat >>confdefs.h
<<_ACEOF
5510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5518 for ac_header
in fcntl.h stdlib.h string.h sys
/file.h sys
/mount.h sys
/statvfs.h syslog.h unistd.h
5520 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5521 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5522 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5523 cat >>confdefs.h
<<_ACEOF
5524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5532 # Checks for typedefs, structures, and compiler characteristics.
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5534 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5535 if ${ac_cv_c_const+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5546 /* Ultrix mips cc rejects this sort of thing. */
5547 typedef int charset[2];
5548 const charset cs = { 0, 0 };
5549 /* SunOS 4.1.1 cc rejects this. */
5550 char const *const *pcpcc;
5552 /* NEC SVR4.0.2 mips cc rejects this. */
5553 struct point {int x, y;};
5554 static struct point const zero = {0,0};
5555 /* AIX XL C 1.02.0.0 rejects this.
5556 It does not let you subtract one const X* pointer from another in
5557 an arm of an if-expression whose if-part is not a constant
5559 const char *g = "string";
5560 pcpcc = &g + (g ? g-g : 0);
5561 /* HPUX 7.0 cc rejects these. */
5563 ppc = (char**) pcpcc;
5564 pcpcc = (char const *const *) ppc;
5565 { /* SCO 3.2v4 cc rejects this sort of thing. */
5568 char const *s = 0 ? (char *) 0 : (char const *) 0;
5573 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5575 const int *foo = &x[0];
5578 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5579 typedef const int *iptr;
5583 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5584 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5585 struct s { int j; const int *ap[3]; } bx;
5586 struct s *b = &bx; b->j = 5;
5588 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5592 return !cs[0] && !zero.x;
5599 if ac_fn_c_try_compile
"$LINENO"; then :
5604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5607 $as_echo "$ac_cv_c_const" >&6; }
5608 if test $ac_cv_c_const = no
; then
5610 $as_echo "#define const /**/" >>confdefs.h
5614 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5615 if test "x$ac_cv_type_mode_t" = xyes
; then :
5619 cat >>confdefs.h
<<_ACEOF
5625 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5626 if test "x$ac_cv_type_off_t" = xyes
; then :
5630 cat >>confdefs.h
<<_ACEOF
5631 #define off_t long int
5636 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5637 if test "x$ac_cv_type_size_t" = xyes
; then :
5641 cat >>confdefs.h
<<_ACEOF
5642 #define size_t unsigned int
5647 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5648 if test "x$ac_cv_type_ssize_t" = xyes
; then :
5652 cat >>confdefs.h
<<_ACEOF
5658 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
5659 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5661 cat >>confdefs.h
<<_ACEOF
5662 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5666 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
5669 case " $LIBOBJS " in
5670 *" fileblocks.$ac_objext "* ) ;;
5671 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5679 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5680 if ${ac_cv_header_time+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5685 #include <sys/types.h>
5686 #include <sys/time.h>
5692 if ((struct tm *) 0)
5698 if ac_fn_c_try_compile
"$LINENO"; then :
5699 ac_cv_header_time
=yes
5701 ac_cv_header_time
=no
5703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5706 $as_echo "$ac_cv_header_time" >&6; }
5707 if test $ac_cv_header_time = yes; then
5709 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5713 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5714 case $ac_cv_c_uint32_t in #(
5718 $as_echo "#define _UINT32_T 1" >>confdefs.h
5721 cat >>confdefs.h
<<_ACEOF
5722 #define uint32_t $ac_cv_c_uint32_t
5727 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5728 case $ac_cv_c_uint64_t in #(
5732 $as_echo "#define _UINT64_T 1" >>confdefs.h
5735 cat >>confdefs.h
<<_ACEOF
5736 #define uint64_t $ac_cv_c_uint64_t
5742 # Checks for library functions.
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5744 $as_echo_n "checking whether closedir returns void... " >&6; }
5745 if ${ac_cv_func_closedir_void+:} false
; then :
5746 $as_echo_n "(cached) " >&6
5748 if test "$cross_compiling" = yes; then :
5749 ac_cv_func_closedir_void
=yes
5751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5753 $ac_includes_default
5754 #include <$ac_header_dirent>
5762 return closedir (opendir (".")) != 0;
5767 if ac_fn_c_try_run
"$LINENO"; then :
5768 ac_cv_func_closedir_void
=no
5770 ac_cv_func_closedir_void
=yes
5772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5778 $as_echo "$ac_cv_func_closedir_void" >&6; }
5779 if test $ac_cv_func_closedir_void = yes; then
5781 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5786 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5787 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5788 $as_echo_n "(cached) " >&6
5790 rm -f conftest.sym conftest.
file
5792 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5793 if test "$cross_compiling" = yes; then :
5794 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5798 $ac_includes_default
5803 /* Linux will dereference the symlink and fail, as required by POSIX.
5804 That is better in the sense that it means we will not
5805 have to compile and use the lstat wrapper. */
5806 return lstat ("conftest.sym/", &sbuf) == 0;
5811 if ac_fn_c_try_run
"$LINENO"; then :
5812 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5814 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5816 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5817 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5821 # If the `ln -s' command failed, then we probably don't even
5822 # have an lstat function.
5823 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5825 rm -f conftest.sym conftest.
file
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5829 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5831 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5833 cat >>confdefs.h
<<_ACEOF
5834 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5838 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
5839 case " $LIBOBJS " in
5840 *" lstat.$ac_objext "* ) ;;
5841 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
5848 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
5849 if ${ac_cv_func_lstat_empty_string_bug+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 if test "$cross_compiling" = yes; then :
5853 ac_cv_func_lstat_empty_string_bug
=yes
5855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5857 $ac_includes_default
5862 return lstat ("", &sbuf) == 0;
5867 if ac_fn_c_try_run
"$LINENO"; then :
5868 ac_cv_func_lstat_empty_string_bug
=no
5870 ac_cv_func_lstat_empty_string_bug
=yes
5872 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5873 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
5878 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
5879 if test $ac_cv_func_lstat_empty_string_bug = yes; then
5880 case " $LIBOBJS " in
5881 *" lstat.$ac_objext "* ) ;;
5882 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5887 cat >>confdefs.h
<<_ACEOF
5888 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5894 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5895 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 rm -f conftest.sym conftest.
file
5900 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5901 if test "$cross_compiling" = yes; then :
5902 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5906 $ac_includes_default
5911 /* Linux will dereference the symlink and fail, as required by POSIX.
5912 That is better in the sense that it means we will not
5913 have to compile and use the lstat wrapper. */
5914 return lstat ("conftest.sym/", &sbuf) == 0;
5919 if ac_fn_c_try_run
"$LINENO"; then :
5920 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5922 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5924 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5925 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5929 # If the `ln -s' command failed, then we probably don't even
5930 # have an lstat function.
5931 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5933 rm -f conftest.sym conftest.
file
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5937 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5939 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5941 cat >>confdefs.h
<<_ACEOF
5942 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5946 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
5947 case " $LIBOBJS " in
5948 *" lstat.$ac_objext "* ) ;;
5949 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
5956 $as_echo_n "checking for working memcmp... " >&6; }
5957 if ${ac_cv_func_memcmp_working+:} false
; then :
5958 $as_echo_n "(cached) " >&6
5960 if test "$cross_compiling" = yes; then :
5961 ac_cv_func_memcmp_working
=no
5963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 $ac_includes_default
5970 /* Some versions of memcmp are not 8-bit clean. */
5971 char c0 = '\100', c1 = '\200', c2 = '\201';
5972 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5975 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5976 or more and with at least one buffer not starting on a 4-byte boundary.
5977 William Lewis provided this test program. */
5982 for (i = 0; i < 4; i++)
5986 strcpy (a, "--------01111111");
5987 strcpy (b, "--------10000000");
5988 if (memcmp (a, b, 16) >= 0)
5998 if ac_fn_c_try_run
"$LINENO"; then :
5999 ac_cv_func_memcmp_working
=yes
6001 ac_cv_func_memcmp_working
=no
6003 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6004 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
6009 $as_echo "$ac_cv_func_memcmp_working" >&6; }
6010 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
6011 *" memcmp.$ac_objext "* ) ;;
6012 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
6017 for ac_header
in sys
/select.h sys
/socket.h
6019 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6020 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6021 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6022 cat >>confdefs.h
<<_ACEOF
6023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
6031 $as_echo_n "checking types of arguments for select... " >&6; }
6032 if ${ac_cv_func_select_args+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
6036 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6037 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 $ac_includes_default
6041 #ifdef HAVE_SYS_SELECT_H
6042 # include <sys/select.h>
6044 #ifdef HAVE_SYS_SOCKET_H
6045 # include <sys/socket.h>
6051 extern int select ($ac_arg1,
6052 $ac_arg234, $ac_arg234, $ac_arg234,
6058 if ac_fn_c_try_compile
"$LINENO"; then :
6059 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 # Provide a safe default value.
6066 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
6070 $as_echo "$ac_cv_func_select_args" >&6; }
6071 ac_save_IFS
=$IFS; IFS
=','
6072 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6076 cat >>confdefs.h
<<_ACEOF
6077 #define SELECT_TYPE_ARG1 $1
6081 cat >>confdefs.h
<<_ACEOF
6082 #define SELECT_TYPE_ARG234 ($2)
6086 cat >>confdefs.h
<<_ACEOF
6087 #define SELECT_TYPE_ARG5 ($3)
6092 for ac_func
in memset mkdir
rmdir select strdup strerror
6094 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6095 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6096 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6097 cat >>confdefs.h
<<_ACEOF
6098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6105 ac_config_files
="$ac_config_files Makefile src/Makefile PVE/Makefile"
6107 cat >confcache
<<\_ACEOF
6108 # This file is a shell script that caches the results of configure
6109 # tests run on this system so they can be shared between configure
6110 # scripts and configure runs, see configure's option --config-cache.
6111 # It is not useful on other systems. If it contains results you don't
6112 # want to keep, you may remove or edit it.
6114 # config.status only pays attention to the cache file if you give it
6115 # the --recheck option to rerun configure.
6117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6123 # The following way of writing the cache mishandles newlines in values,
6124 # but we know of no workaround that is simple, portable, and efficient.
6125 # So, we kill variables containing newlines.
6126 # Ultrix sh set writes to stderr and can't be redirected directly,
6127 # and sets the high bit in the cache file unless we assign to the vars.
6129 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6130 eval ac_val
=\$
$ac_var
6134 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6138 _ | IFS | as_nl
) ;; #(
6139 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6140 *) { eval $ac_var=; unset $ac_var;} ;;
6146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6147 *${as_nl}ac_space
=\
*)
6148 # `set' does not quote correctly, so add quotes: double-quote
6149 # substitution turns \\\\ into \\, and sed turns \\ into \.
6152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6155 # `set' quotes correctly as required by POSIX, so do not add quotes.
6156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6169 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6170 if test -w "$cache_file"; then
6171 if test "x$cache_file" != "x/dev/null"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6173 $as_echo "$as_me: updating cache $cache_file" >&6;}
6174 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6175 cat confcache
>"$cache_file"
6177 case $cache_file in #(
6179 mv -f confcache
"$cache_file"$$
&&
6180 mv -f "$cache_file"$$
"$cache_file" ;; #(
6182 mv -f confcache
"$cache_file" ;;
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6193 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6194 # Let make expand exec_prefix.
6195 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6197 DEFS
=-DHAVE_CONFIG_H
6202 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6203 # 1. Remove the extension, and $U if already installed.
6204 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6205 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6206 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6207 # will be set to the directory where LIBOBJS objects are built.
6208 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6209 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6213 LTLIBOBJS
=$ac_ltlibobjs
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6217 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6218 if test -n "$am_sleep_pid"; then
6219 # Hide warnings about reused PIDs.
6220 wait $am_sleep_pid 2>/dev
/null
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6223 $as_echo "done" >&6; }
6224 if test -n "$EXEEXT"; then
6226 am__EXEEXT_FALSE
='#'
6232 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6233 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6236 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6237 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6240 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6241 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6245 : "${CONFIG_STATUS=./config.status}"
6247 ac_clean_files_save
=$ac_clean_files
6248 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6254 # Generated by $as_me.
6255 # Run this file to recreate the current configuration.
6256 # Compiler output produced by configure, useful for debugging
6257 # configure, is in config.log if it exists.
6263 SHELL=\${CONFIG_SHELL-$SHELL}
6266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6267 ## -------------------- ##
6268 ## M4sh Initialization. ##
6269 ## -------------------- ##
6271 # Be more Bourne compatible
6272 DUALCASE
=1; export DUALCASE
# for MKS sh
6273 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6277 # is contrary to our usage. Disable this feature.
6278 alias -g '${1+"$@"}'='"$@"'
6279 setopt NO_GLOB_SUBST
6281 case `(set -o) 2>/dev/null` in #(
6293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6294 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6297 # Prefer a ksh shell builtin over an external printf program on Solaris,
6298 # but without wasting forks for bash or zsh.
6299 if test -z "$BASH_VERSION$ZSH_VERSION" \
6300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6301 as_echo='print
-r --'
6302 as_echo_n='print
-rn --'
6303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6304 as_echo='printf %s
\n'
6305 as_echo_n='printf %s
'
6307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6308 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6309 as_echo_n='/usr
/ucb
/echo -n'
6311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6312 as_echo_n_body='eval
6316 expr "X$arg" : "X\\(.*\\)$as_nl";
6317 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6319 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6321 export as_echo_n_body
6322 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6325 as_echo='sh
-c $as_echo_body as_echo
'
6328 # The user is always right.
6329 if test "${PATH_SEPARATOR+set}" != set; then
6331 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6332 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6339 # We need space, tab and new line, in precisely that order. Quoting is
6340 # there to prevent editors from complaining about space-tab.
6341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6342 # splitting by setting IFS to empty value.)
6345 # Find who we are. Look in the path if we contain no directory separator.
6348 *[\\/]* ) as_myself=$0 ;;
6349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6360 # We did not find ourselves, most probably we were run as `sh COMMAND'
6361 # in which case we are not to be found in the path.
6362 if test "x$as_myself" = x
; then
6365 if test ! -f "$as_myself"; then
6366 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6370 # Unset variables that we do not need and which cause bugs (e.g. in
6371 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6372 # suppresses any "Segmentation fault" message there. '((' could
6373 # trigger a bug in pdksh 5.2.14.
6374 for as_var
in BASH_ENV ENV MAIL MAILPATH
6375 do eval test x\
${$as_var+set} = xset \
6376 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6389 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6392 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6393 # ----------------------------------------
6394 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6395 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6396 # script with STATUS, using 1 if that was 0.
6399 as_status
=$1; test $as_status -eq 0 && as_status
=1
6401 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6402 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6404 $as_echo "$as_me: error: $2" >&2
6405 as_fn_exit
$as_status
6409 # as_fn_set_status STATUS
6410 # -----------------------
6411 # Set $? to STATUS, without forking.
6415 } # as_fn_set_status
6419 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6429 # Portably unset VAR.
6432 { eval $1=; unset $1;}
6434 as_unset
=as_fn_unset
6435 # as_fn_append VAR VALUE
6436 # ----------------------
6437 # Append the text in VALUE to the end of the definition contained in VAR. Take
6438 # advantage of any shell optimizations that allow amortized linear growth over
6439 # repeated appends, instead of the typical quadratic growth present in naive
6441 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6442 eval 'as_fn_append ()
6453 # as_fn_arith ARG...
6454 # ------------------
6455 # Perform arithmetic evaluation on the ARGs, and store the result in the
6456 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6457 # must be portable across $(()) and expr.
6458 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6459 eval 'as_fn_arith ()
6466 as_val
=`expr "$@" || test $? -eq 1`
6471 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6472 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6478 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6479 as_basename
=basename
6484 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6490 as_me
=`$as_basename -- "$0" ||
6491 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6492 X"$0" : 'X\(//\)$' \| \
6493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6495 sed '/^.*\/\([^/][^/]*\)\/*$/{
6509 # Avoid depending upon Character Ranges.
6510 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6511 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6512 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6513 as_cr_digits
='0123456789'
6514 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6516 ECHO_C
= ECHO_N
= ECHO_T
=
6517 case `echo -n x` in #(((((
6519 case `echo 'xy\c'` in
6520 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6522 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6529 rm -f conf$$ conf$$.exe conf$$.
file
6530 if test -d conf$$.dir
; then
6531 rm -f conf$$.dir
/conf$$.
file
6534 mkdir conf$$.dir
2>/dev
/null
6536 if (echo >conf$$.
file) 2>/dev
/null
; then
6537 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6539 # ... but there are two gotchas:
6540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6542 # In both cases, we have to default to `cp -pR'.
6543 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6545 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6553 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6554 rmdir conf$$.dir
2>/dev
/null
6559 # Create "$as_dir" as a directory, including parents if necessary.
6564 -*) as_dir
=.
/$as_dir;;
6566 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6570 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6571 *) as_qdir
=$as_dir;;
6573 as_dirs
="'$as_qdir' $as_dirs"
6574 as_dir
=`$as_dirname -- "$as_dir" ||
6575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6576 X"$as_dir" : 'X\(//\)[^/]' \| \
6577 X"$as_dir" : 'X\(//\)$' \| \
6578 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6579 $as_echo X"$as_dir" |
6580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6597 test -d "$as_dir" && break
6599 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6600 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6604 if mkdir
-p .
2>/dev
/null
; then
6605 as_mkdir_p
='mkdir -p "$as_dir"'
6607 test -d .
/-p && rmdir .
/-p
6612 # as_fn_executable_p FILE
6613 # -----------------------
6614 # Test if FILE is an executable regular file.
6615 as_fn_executable_p
()
6617 test -f "$1" && test -x "$1"
6618 } # as_fn_executable_p
6620 as_executable_p
=as_fn_executable_p
6622 # Sed expression to map a string onto a valid CPP name.
6623 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6625 # Sed expression to map a string onto a valid variable name.
6626 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6630 ## ----------------------------------- ##
6631 ## Main body of $CONFIG_STATUS script. ##
6632 ## ----------------------------------- ##
6634 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6637 # Save the log message, to keep $0 and so on meaningful, and to
6638 # report actual input values of CONFIG_FILES etc. instead of their
6639 # values after options handling.
6641 This file was extended by pve-cluster $as_me 1.0, which was
6642 generated by GNU Autoconf 2.69. Invocation command line was
6644 CONFIG_FILES = $CONFIG_FILES
6645 CONFIG_HEADERS = $CONFIG_HEADERS
6646 CONFIG_LINKS = $CONFIG_LINKS
6647 CONFIG_COMMANDS = $CONFIG_COMMANDS
6650 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6655 case $ac_config_files in *"
6656 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6659 case $ac_config_headers in *"
6660 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6665 # Files that config.status was made for.
6666 config_files="$ac_config_files"
6667 config_headers="$ac_config_headers"
6668 config_commands="$ac_config_commands"
6672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6674 \`$as_me' instantiates files and other configuration actions
6675 from templates according to the current configuration. Unless the files
6676 and actions are specified as TAGs, all are instantiated by default.
6678 Usage: $0 [OPTION]... [TAG]...
6680 -h, --help print this help, then exit
6681 -V, --version print version number and configuration settings, then exit
6682 --config print configuration, then exit
6683 -q, --quiet, --silent
6684 do not print progress messages
6685 -d, --debug don't remove temporary files
6686 --recheck update $as_me by reconfiguring in the same conditions
6687 --file=FILE[:TEMPLATE]
6688 instantiate the configuration file FILE
6689 --header=FILE[:TEMPLATE]
6690 instantiate the configuration header FILE
6692 Configuration files:
6695 Configuration headers:
6698 Configuration commands:
6701 Report bugs to <support@proxmox.com>."
6704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6705 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6707 pve-cluster config.status 1.0
6708 configured by $0, generated by GNU Autoconf 2.69,
6709 with options \\"\$ac_cs_config\\"
6711 Copyright (C) 2012 Free Software Foundation, Inc.
6712 This config.status script is free software; the Free Software Foundation
6713 gives unlimited permission to copy, distribute and modify it."
6720 test -n "\$AWK" || AWK=awk
6723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6724 # The default lists apply if the user does not specify any file.
6730 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6731 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6735 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6747 # Handling of the options.
6748 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6750 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6751 $as_echo "$ac_cs_version"; exit ;;
6752 --config |
--confi |
--conf |
--con |
--co |
--c )
6753 $as_echo "$ac_cs_config"; exit ;;
6754 --debug |
--debu |
--deb |
--de |
--d |
-d )
6756 --file |
--fil |
--fi |
--f )
6759 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6760 '') as_fn_error $?
"missing file argument" ;;
6762 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6763 ac_need_defaults
=false
;;
6764 --header |
--heade |
--head |
--hea )
6767 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6769 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6770 ac_need_defaults
=false
;;
6772 # Conflict between --help and --header
6773 as_fn_error $?
"ambiguous option: \`$1'
6774 Try \`$0 --help' for more information.";;
6775 --help |
--hel |
-h )
6776 $as_echo "$ac_cs_usage"; exit ;;
6777 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6778 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6782 -*) as_fn_error $?
"unrecognized option: \`$1'
6783 Try \`$0 --help' for more information." ;;
6785 *) as_fn_append ac_config_targets
" $1"
6786 ac_need_defaults
=false
;;
6792 ac_configure_extra_args
=
6794 if $ac_cs_silent; then
6796 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6801 if \$ac_cs_recheck; then
6802 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6804 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6805 CONFIG_SHELL='$SHELL'
6811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6815 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6816 ## Running $as_me. ##
6822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6826 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6832 # Handling of arguments.
6833 for ac_config_target
in $ac_config_targets
6835 case $ac_config_target in
6836 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6837 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6838 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6839 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6840 "PVE/Makefile") CONFIG_FILES
="$CONFIG_FILES PVE/Makefile" ;;
6842 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6847 # If the user did not use the arguments to specify the items to instantiate,
6848 # then the envvar interface is used. Set only those that are not.
6849 # We use the long form for the default assignment because of an extremely
6850 # bizarre bug on SunOS 4.1.3.
6851 if $ac_need_defaults; then
6852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6853 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6857 # Have a temporary directory for convenience. Make it in the build tree
6858 # simply because there is no reason against having it here, and in addition,
6859 # creating and moving files from /tmp can sometimes cause problems.
6860 # Hook for its removal unless debugging.
6861 # Note that there is a small window in which the directory will not be cleaned:
6862 # after its creation but before its name has been assigned to `$tmp'.
6866 trap 'exit_status=$?
6868 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6870 trap 'as_fn_exit 1' 1 2 13 15
6872 # Create a (secure) tmp directory for tmp files.
6875 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6879 tmp
=.
/conf$$
-$RANDOM
6880 (umask 077 && mkdir
"$tmp")
6881 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6884 # Set up the scripts for CONFIG_FILES section.
6885 # No need to generate them if there are no CONFIG_FILES.
6886 # This happens for instance with `./config.status config.h'.
6887 if test -n "$CONFIG_FILES"; then
6890 ac_cr
=`echo X | tr X '\015'`
6891 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6892 # But we know of no other shell where ac_cr would be empty at this
6893 # point, so we can use a bashism as a fallback.
6894 if test "x$ac_cr" = x
; then
6895 eval ac_cr
=\$
\'\\r
\'
6897 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6898 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6904 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6909 echo "cat >conf$$subs.awk <<_ACEOF" &&
6910 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6913 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6914 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6916 for ac_last_try in false false false false false :; do
6917 . ./conf$$subs.sh ||
6918 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6920 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6921 if test $ac_delim_n = $ac_delim_num; then
6923 elif $ac_last_try; then
6924 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6926 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6932 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6936 s/^/S["/; s
/!.
*/"]=/
6946 s/\(.\{148\}\)..*/\1/
6948 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6953 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6960 s/\(.\{148\}\)..*/\1/
6962 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6966 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6971 ' <conf$$subs.awk | sed '
6976 ' >>$CONFIG_STATUS || ac_write_fail=1
6977 rm -f conf$$subs.awk
6978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6980 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6981 for (key in S) S_is_set[key] = 1
6987 nfields = split(line, field, "@
")
6989 len = length(field[1])
6990 for (i = 2; i < nfields; i++) {
6992 keylen = length(key)
6993 if (S_is_set[key]) {
6995 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6996 len += length(value) + length(field[++i])
7007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7008 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7009 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7012 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7013 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7016 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7017 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7018 # trailing colons and then remove the whole line if VPATH becomes empty
7019 # (actually we leave an empty line to preserve line numbers).
7020 if test "x
$srcdir" = x.; then
7021 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7040 fi # test -n "$CONFIG_FILES"
7042 # Set up the scripts for CONFIG_HEADERS section.
7043 # No need to generate them if there are no CONFIG_HEADERS.
7044 # This happens for instance with `./config.status Makefile'.
7045 if test -n "$CONFIG_HEADERS"; then
7046 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7050 # Transform confdefs.h into an awk script `defines.awk', embedded as
7051 # here-document in config.status, that substitutes the proper values into
7052 # config.h.in to produce config.h.
7054 # Create a delimiter string that does not exist in confdefs.h, to ease
7055 # handling of long lines.
7057 for ac_last_try in false false :; do
7058 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7059 if test -z "$ac_tt"; then
7061 elif $ac_last_try; then
7062 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7064 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7068 # For the awk script, D is an array of macro values keyed by name,
7069 # likewise P contains macro parameters if any. Preserve backslash
7070 # newline sequences.
7072 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7074 s/.\{148\}/&'"$ac_delim"'/g
7077 s/^[ ]*#[ ]*define[ ][ ]*/ /
7084 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7086 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7090 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7091 D["\
1"]=" \
3\\\\\\n
"\\/p
7093 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7098 s/.\{148\}/&'"$ac_delim"'/g
7103 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7106 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7108 ' <confdefs.h | sed '
7109 s/'"$ac_delim"'/"\\\
7110 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7113 for (key in D) D_is_set[key] = 1
7116 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7118 split(line, arg, " ")
7119 if (arg[1] == "#") {
7123 defundef
= substr
(arg
[1], 2)
7126 split(mac1
, mac2
, "(") #)
7128 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7129 if (D_is_set
[macro
]) {
7130 # Preserve the white space surrounding the "#".
7131 print prefix
"define", macro P
[macro
] D
[macro
]
7134 # Replace #undef with comments. This is necessary, for example,
7135 # in the case of _POSIX_SOURCE, which is predefined and required
7136 # on some systems where configure will not decide to define it.
7137 if (defundef
== "undef") {
7138 print
"/*", prefix defundef
, macro
, "*/"
7146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7147 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7148 fi # test -n "$CONFIG_HEADERS"
7151 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7156 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7158 case $ac_mode$ac_tag in
7160 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7161 :[FH
]-) ac_tag
=-:-;;
7162 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7179 -) ac_f
="$ac_tmp/stdin";;
7180 *) # Look for the file first in the build tree, then in the source tree
7181 # (if the path is not absolute). The absolute path cannot be DOS-style,
7182 # because $ac_f cannot contain `:'.
7186 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7188 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7190 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7191 as_fn_append ac_file_inputs
" '$ac_f'"
7194 # Let's still pretend it is `configure' which instantiates (i.e., don't
7195 # use $as_me), people would be surprised to read:
7196 # /* config.h. Generated by config.status. */
7197 configure_input
='Generated from '`
7198 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7200 if test x
"$ac_file" != x-
; then
7201 configure_input
="$ac_file. $configure_input"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7203 $as_echo "$as_me: creating $ac_file" >&6;}
7205 # Neutralize special characters interpreted by sed in replacement strings.
7206 case $configure_input in #(
7207 *\
&* |
*\|
* |
*\\* )
7208 ac_sed_conf_input
=`$as_echo "$configure_input" |
7209 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7210 *) ac_sed_conf_input
=$configure_input;;
7214 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7215 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7220 ac_dir
=`$as_dirname -- "$ac_file" ||
7221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7222 X"$ac_file" : 'X\(//\)[^/]' \| \
7223 X"$ac_file" : 'X\(//\)$' \| \
7224 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7225 $as_echo X"$ac_file" |
7226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7243 as_dir
="$ac_dir"; as_fn_mkdir_p
7247 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7249 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7250 # A ".." for each directory in $ac_dir_suffix.
7251 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7252 case $ac_top_builddir_sub in
7253 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7254 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7257 ac_abs_top_builddir
=$ac_pwd
7258 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7259 # for backward compatibility:
7260 ac_top_builddir
=$ac_top_build_prefix
7263 .
) # We are building in place.
7265 ac_top_srcdir
=$ac_top_builddir_sub
7266 ac_abs_top_srcdir
=$ac_pwd ;;
7267 [\\/]* | ?
:[\\/]* ) # Absolute name.
7268 ac_srcdir
=$srcdir$ac_dir_suffix;
7269 ac_top_srcdir
=$srcdir
7270 ac_abs_top_srcdir
=$srcdir ;;
7272 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7273 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7274 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7276 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7286 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7287 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7291 [\\/$
]* | ?
:[\\/]* ) ;;
7292 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7297 # If the template does not know about datarootdir, expand it.
7298 # FIXME: This hack should be removed a few years after 2.60.
7299 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7310 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7311 *datarootdir
*) ac_datarootdir_seen
=yes;;
7312 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7314 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7317 ac_datarootdir_hack='
7318 s&@datadir@&$datadir&g
7319 s&@docdir@&$docdir&g
7320 s&@infodir@&$infodir&g
7321 s&@localedir@&$localedir&g
7322 s&@mandir@&$mandir&g
7323 s&\\\${datarootdir}&$datarootdir&g' ;;
7327 # Neutralize VPATH when `$srcdir' = `.'.
7328 # Shell code in configure.ac might set extrasub.
7329 # FIXME: do we really want to maintain this feature?
7330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7331 ac_sed_extra="$ac_vpsub
7334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7336 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7337 s|@configure_input@|
$ac_sed_conf_input|
;t t
7338 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7339 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7340 s
&@srcdir@
&$ac_srcdir&;t t
7341 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7342 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7343 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7344 s
&@builddir@
&$ac_builddir&;t t
7345 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7346 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7347 s
&@INSTALL@
&$ac_INSTALL&;t t
7348 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7349 $ac_datarootdir_hack
7351 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7352 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7354 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7355 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7356 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7357 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7359 which seems to be undefined. Please make sure it is defined" >&5
7360 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7361 which seems to be undefined. Please make sure it is defined" >&2;}
7363 rm -f "$ac_tmp/stdin"
7365 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7366 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7374 if test x"$ac_file" != x-; then
7376 $as_echo "/* $configure_input */" \
7377 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7378 } >"$ac_tmp/config.h" \
7379 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7380 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7382 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7385 mv "$ac_tmp/config.h" "$ac_file" \
7386 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7389 $as_echo "/* $configure_input */" \
7390 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7391 || as_fn_error $? "could not create -" "$LINENO" 5
7393 # Compute "$ac_file"'s index
in $config_headers.
7396 for _am_header
in $config_headers :; do
7398 $_am_arg |
$_am_arg:* )
7401 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7404 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7405 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7406 X"$_am_arg" : 'X\(//\)[^/]' \| \
7407 X"$_am_arg" : 'X\(//\)$' \| \
7408 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7409 $as_echo X"$_am_arg" |
7410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7426 s/.*/./; q'`/stamp-h
$_am_stamp_count
7429 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7430 $as_echo "$as_me: executing $ac_file commands" >&6;}
7435 case $ac_file$ac_mode in
7436 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7437 # Older Autoconf quotes --file arguments for eval, but not when files
7438 # are listed without --file. Let's play safe and only enable the eval
7439 # if we detect the quoting.
7440 case $CONFIG_FILES in
7441 *\'*) eval set x
"$CONFIG_FILES" ;;
7442 *) set x
$CONFIG_FILES ;;
7447 # Strip MF so we end up with the name of the file.
7448 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7449 # Check whether this is an Automake generated Makefile or not.
7450 # We used to match only the files named 'Makefile.in', but
7451 # some people rename them; so instead we look at the file content.
7452 # Grep'ing the first line is not enough: some people post-process
7453 # each Makefile.in and add a new line on top of each file to say so.
7454 # Grep'ing the whole file is not good either: AIX grep has a line
7455 # limit of 2048, but all sed's we know have understand at least 4000.
7456 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7457 dirpart
=`$as_dirname -- "$mf" ||
7458 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7459 X"$mf" : 'X\(//\)[^/]' \| \
7460 X"$mf" : 'X\(//\)$' \| \
7461 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7483 # Extract the definition of DEPDIR, am__include, and am__quote
7484 # from the Makefile without running 'make'.
7485 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7486 test -z "$DEPDIR" && continue
7487 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7488 test -z "$am__include" && continue
7489 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7490 # Find all dependency output files, they are included files with
7491 # $(DEPDIR) in their names. We invoke sed twice because it is the
7492 # simplest approach to changing $(DEPDIR) to its actual value in the
7494 for file in `sed -n "
7495 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7496 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7497 # Make sure the directory exists.
7498 test -f "$dirpart/$file" && continue
7499 fdir
=`$as_dirname -- "$file" ||
7500 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7501 X"$file" : 'X\(//\)[^/]' \| \
7502 X"$file" : 'X\(//\)$' \| \
7503 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7522 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7523 # echo "creating $dirpart/$file"
7524 echo '# dummy' > "$dirpart/$file"
7536 ac_clean_files
=$ac_clean_files_save
7538 test $ac_write_fail = 0 ||
7539 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7542 # configure is writing to config.log, and then calls config.status.
7543 # config.status does its own redirection, appending to config.log.
7544 # Unfortunately, on DOS this fails, as config.log is still kept open
7545 # by configure, so config.status won't be able to write to it; its
7546 # output is simply discarded. So we exec the FD to /dev/null,
7547 # effectively closing config.log, so it can be properly (re)opened and
7548 # appended to by config.status. When coming back to configure, we
7549 # need to make the FD available again.
7550 if test "$no_create" != yes; then
7552 ac_config_status_args
=
7553 test "$silent" = yes &&
7554 ac_config_status_args
="$ac_config_status_args --quiet"
7556 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7558 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7559 # would make configure fail if this is the last instruction.
7560 $ac_cs_success || as_fn_exit
1
7562 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7564 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}