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
675 MAINTAINER_MODE_FALSE
689 INSTALL_STRIP_PROGRAM
731 program_transform_name
744 enable_option_checking
746 enable_maintainer_mode
747 enable_dependency_tracking
749 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $?
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $?
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures pve-cluster 1.0 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/pve-cluster]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1379 if test -n "$ac_init_help"; then
1380 case $ac_init_help in
1381 short | recursive
) echo "Configuration of pve-cluster 1.0:";;
1386 --disable-option-checking ignore unrecognized
--enable/--with options
1387 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1388 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1389 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1390 --disable-silent-rules verbose build output
(undo
: "make V=0")
1391 --enable-maintainer-mode
1392 enable make rules and dependencies not useful
(and
1393 sometimes confusing
) to the casual installer
1394 --enable-dependency-tracking
1395 do not reject slow dependency extractors
1396 --disable-dependency-tracking
1397 speeds up one-time build
1399 Some influential environment variables
:
1400 CC C compiler
command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1403 nonstandard directory
<lib dir
>
1404 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1405 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1406 you have headers
in a nonstandard directory
<include dir
>
1407 PKG_CONFIG path to pkg-config utility
1409 directories to add to pkg-config
's search path
1411 path overriding pkg-config's built-in search path
1413 C compiler flags
for CHECK
, overriding pkg-config
1414 CHECK_LIBS linker flags
for CHECK
, overriding pkg-config
1416 C compiler flags
for LIBRRD
, overriding pkg-config
1417 LIBRRD_LIBS linker flags
for LIBRRD
, overriding pkg-config
1418 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1419 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1420 FUSE_CFLAGS C compiler flags
for FUSE
, overriding pkg-config
1421 FUSE_LIBS linker flags
for FUSE
, overriding pkg-config
1423 C compiler flags
for COROSYNC
, overriding pkg-config
1425 linker flags
for COROSYNC
, overriding pkg-config
1426 QB_CFLAGS C compiler flags
for QB
, overriding pkg-config
1427 QB_LIBS linker flags
for QB
, overriding pkg-config
1429 C compiler flags
for SQLITE3
, overriding pkg-config
1431 linker flags
for SQLITE3
, overriding pkg-config
1434 Use these variables to override the choices made by
`configure' or to help
1435 it to find libraries and programs with nonstandard names/locations.
1437 Report bugs to <support@proxmox.com>.
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445 test -d "$ac_dir" ||
1446 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1454 # A ".." for each directory in $ac_dir_suffix.
1455 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1456 case $ac_top_builddir_sub in
1457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461 ac_abs_top_builddir=$ac_pwd
1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir=$ac_top_build_prefix
1467 .) # We are building in place.
1469 ac_top_srcdir=$ac_top_builddir_sub
1470 ac_abs_top_srcdir=$ac_pwd ;;
1471 [\\/]* | ?:[\\/]* ) # Absolute name.
1472 ac_srcdir=$srcdir$ac_dir_suffix;
1473 ac_top_srcdir=$srcdir
1474 ac_abs_top_srcdir=$srcdir ;;
1476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477 ac_top_srcdir=$ac_top_build_prefix$srcdir
1478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482 cd "$ac_dir" || { ac_status=$?; continue; }
1483 # Check for guested configure.
1484 if test -f "$ac_srcdir/configure.gnu"; then
1486 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487 elif test -f "$ac_srcdir/configure"; then
1489 $SHELL "$ac_srcdir/configure" --help=recursive
1491 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 cd "$ac_pwd" || { ac_status=$?; break; }
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1500 pve-cluster configure 1.0
1501 generated by GNU Autoconf 2.69
1503 Copyright (C) 2012 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it.
1510 ## ------------------------ ##
1511 ## Autoconf initialization. ##
1512 ## ------------------------ ##
1514 # ac_fn_c_try_compile LINENO
1515 # --------------------------
1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1517 ac_fn_c_try_compile ()
1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520 rm -f conftest.$ac_objext
1521 if { { ac_try="$ac_compile"
1523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1524 *) ac_try_echo
=$ac_try;;
1526 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_compile") 2>conftest.err
1530 if test -s conftest.err
; then
1531 grep -v '^ *+' conftest.err
>conftest.er1
1532 cat conftest.er1
>&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } && {
1537 test -z "$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1539 } && test -s conftest.
$ac_objext; then :
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.
$ac_ext >&5
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548 as_fn_set_status
$ac_retval
1550 } # ac_fn_c_try_compile
1552 # ac_fn_c_try_link LINENO
1553 # -----------------------
1554 # Try to link conftest.$ac_ext, and return whether this succeeded.
1557 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1558 rm -f conftest.
$ac_objext conftest
$ac_exeext
1559 if { { ac_try
="$ac_link"
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_link") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest$ac_exeext && {
1578 test "$cross_compiling" = yes ||
1579 test -x conftest$ac_exeext
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1588 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1589 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1590 # interfere with the next link command; also delete a directory that is
1591 # left behind by Apple's compiler. We do this before executing the actions.
1592 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status $ac_retval
1596 } # ac_fn_c_try_link
1598 # ac_fn_c_try_cpp LINENO
1599 # ----------------------
1600 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if { { ac_try="$ac_cpp conftest.$ac_ext"
1606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1607 *) ac_try_echo
=$ac_try;;
1609 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1613 if test -s conftest.err
; then
1614 grep -v '^ *+' conftest.err
>conftest.er1
1615 cat conftest.er1
>&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } > conftest.i
&& {
1620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.
$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status
$ac_retval
1635 # ac_fn_c_try_run LINENO
1636 # ----------------------
1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1638 # that executables *can* be run.
1641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1642 if { { ac_try
="$ac_link"
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_link") 2>&5
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1653 { { case "(($ac_try" in
1654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1655 *) ac_try_echo
=$ac_try;;
1657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_try") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; }; }; then :
1665 $as_echo "$as_me: program exited with status $ac_status" >&5
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.
$ac_ext >&5
1669 ac_retval
=$ac_status
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status
$ac_retval
1677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1680 # the include files in INCLUDES and setting the cache variable VAR
1682 ac_fn_c_check_header_mongrel
()
1684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1685 if eval \
${$3+:} false
; then :
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval \
${$3+:} false
; then :
1689 $as_echo_n "(cached) " >&6
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1695 # Is the header compilable?
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1697 $as_echo_n "checking $2 usability... " >&6; }
1698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1703 if ac_fn_c_try_compile
"$LINENO"; then :
1704 ac_header_compiler
=yes
1706 ac_header_compiler
=no
1708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1710 $as_echo "$ac_header_compiler" >&6; }
1712 # Is the header present?
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1714 $as_echo_n "checking $2 presence... " >&6; }
1715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1719 if ac_fn_c_try_cpp
"$LINENO"; then :
1720 ac_header_preproc
=yes
1722 ac_header_preproc
=no
1724 rm -f conftest.err conftest.i conftest.
$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1726 $as_echo "$ac_header_preproc" >&6; }
1728 # So? What about this header?
1729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1747 ( $as_echo "## ---------------------------------- ##
1748 ## Report this to support@proxmox.com ##
1749 ## ---------------------------------- ##"
1750 ) |
sed "s/^/$as_me: WARNING: /" >&2
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \
${$3+:} false
; then :
1756 $as_echo_n "(cached) " >&6
1758 eval "$3=\$ac_header_compiler"
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_header_mongrel
1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists and can be compiled using the include files in
1771 # INCLUDES, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_compile
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval \
${$3+:} false
; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile
"$LINENO"; then :
1790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } # ac_fn_c_check_header_compile
1799 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1800 # -------------------------------------------
1801 # Tests whether TYPE exists after having included INCLUDES, setting cache
1802 # variable VAR accordingly.
1803 ac_fn_c_check_type
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \
${$3+:} false
; then :
1809 $as_echo_n "(cached) " >&6
1812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1824 if ac_fn_c_try_compile
"$LINENO"; then :
1825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1837 if ac_fn_c_try_compile
"$LINENO"; then :
1842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 } # ac_fn_c_check_type
1853 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1854 # ----------------------------------------------------
1855 # Tries to find if the field MEMBER exists in type AGGR, after including
1856 # INCLUDES, setting cache variable VAR accordingly.
1857 ac_fn_c_check_member
()
1859 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1861 $as_echo_n "checking for $2.$3... " >&6; }
1862 if eval \
${$4+:} false
; then :
1863 $as_echo_n "(cached) " >&6
1865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1878 if ac_fn_c_try_compile
"$LINENO"; then :
1881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1888 if (sizeof ac_aggr.$3)
1894 if ac_fn_c_try_compile
"$LINENO"; then :
1899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 } # ac_fn_c_check_member
1910 # ac_fn_c_find_uintX_t LINENO BITS VAR
1911 # ------------------------------------
1912 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1914 ac_fn_c_find_uintX_t
()
1916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1918 $as_echo_n "checking for uint$2_t... " >&6; }
1919 if eval \
${$3+:} false
; then :
1920 $as_echo_n "(cached) " >&6
1923 # Order is important - never check a type that is potentially smaller
1924 # than half of the expected target width.
1925 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1926 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1929 $ac_includes_default
1933 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1935 return test_array [0];
1941 if ac_fn_c_try_compile
"$LINENO"; then :
1946 eval "$3=\$ac_type" ;;
1949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1950 if eval test \"x\$
"$3"\" = x
"no"; then :
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 } # ac_fn_c_find_uintX_t
1964 # ac_fn_c_check_func LINENO FUNC VAR
1965 # ----------------------------------
1966 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1967 ac_fn_c_check_func
()
1969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \
${$3+:} false
; then :
1973 $as_echo_n "(cached) " >&6
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1977 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1979 #define $2 innocuous_$2
1981 /* System header to define __stub macros and hopefully few prototypes,
1982 which can conflict with char $2 (); below.
1983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1984 <limits.h> exists even on freestanding compilers. */
1987 # include <limits.h>
1989 # include <assert.h>
1994 /* Override any GCC internal prototype to avoid an error.
1995 Use char because int might match the return type of a GCC
1996 builtin and then its argument prototype would still apply. */
2001 /* The GNU C library defines this for functions which it implements
2002 to always fail with ENOSYS. Some functions are actually named
2003 something starting with __ and the normal name is an alias. */
2004 #if defined __stub_$2 || defined __stub___$2
2016 if ac_fn_c_try_link
"$LINENO"; then :
2021 rm -f core conftest.err conftest.
$ac_objext \
2022 conftest
$ac_exeext conftest.
$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 } # ac_fn_c_check_func
2030 cat >config.log
<<_ACEOF
2031 This file contains any messages produced by compilers while
2032 running configure, to aid debugging if configure makes a mistake.
2034 It was created by pve-cluster $as_me 1.0, which was
2035 generated by GNU Autoconf 2.69. Invocation command line was
2047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir
=.
2071 $as_echo "PATH: $as_dir"
2087 # Keep a trace of the command line.
2088 # Strip out --no-create and --no-recursion so they do not pile up.
2089 # Strip out --silent because we don't want to record it for future runs.
2090 # Also quote any args containing shell meta-characters.
2091 # Make two passes to allow for proper duplicate-argument suppression.
2095 ac_must_keep_next
=false
2101 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2102 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2103 |
-silent |
--silent |
--silen |
--sile |
--sil)
2106 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2109 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2111 as_fn_append ac_configure_args1
" '$ac_arg'"
2112 if test $ac_must_keep_next = true
; then
2113 ac_must_keep_next
=false
# Got value, back to normal.
2116 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2117 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2118 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2119 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2120 case "$ac_configure_args0 " in
2121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2124 -* ) ac_must_keep_next
=true
;;
2127 as_fn_append ac_configure_args
" '$ac_arg'"
2132 { ac_configure_args0
=; unset ac_configure_args0
;}
2133 { ac_configure_args1
=; unset ac_configure_args1
;}
2135 # When interrupted or exit'd, cleanup temporary files, and complete
2136 # config.log. We remove comments because anyway the quotes in there
2137 # would cause problems or look ugly.
2138 # WARNING: Use '\'' to represent an apostrophe within the trap.
2139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2140 trap 'exit_status=$?
2141 # Save into config.log some information that might help in debugging.
2145 $as_echo "## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##"
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2162 *) { eval $ac_var=; unset $ac_var;} ;;
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 $as_echo "## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##"
2185 for ac_var in $ac_subst_vars
2187 eval ac_val=\$$ac_var
2189 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 $as_echo "$ac_var='\''$ac_val'\''"
2195 if test -n "$ac_subst_files"; then
2196 $as_echo "## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##"
2200 for ac_var
in $ac_subst_files
2202 eval ac_val
=\$
$ac_var
2204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 $as_echo "$ac_var='\''$ac_val'\''"
2211 if test -s confdefs.h; then
2212 $as_echo "## ----------- ##
2219 test "$ac_signal" != 0 &&
2220 $as_echo "$as_me: caught signal $ac_signal"
2221 $as_echo "$as_me: exit $exit_status"
2223 rm -f core *.core core.conftest.* &&
2224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2227 for ac_signal
in 1 2 13 15; do
2228 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2233 rm -f -r conftest
* confdefs.h
2235 $as_echo "/* confdefs.h */" > confdefs.h
2237 # Predefined preprocessor variables.
2239 cat >>confdefs.h
<<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 cat >>confdefs.h
<<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_STRING "$PACKAGE_STRING"
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_URL "$PACKAGE_URL"
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer an explicitly selected file to automatically selected ones.
2268 if test -n "$CONFIG_SITE"; then
2269 # We do not want a PATH search for config.site.
2270 case $CONFIG_SITE in #((
2271 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2272 */*) ac_site_file1
=$CONFIG_SITE;;
2273 *) ac_site_file1
=.
/$CONFIG_SITE;;
2275 elif test "x$prefix" != xNONE
; then
2276 ac_site_file1
=$prefix/share
/config.site
2277 ac_site_file2
=$prefix/etc
/config.site
2279 ac_site_file1
=$ac_default_prefix/share
/config.site
2280 ac_site_file2
=$ac_default_prefix/etc
/config.site
2282 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2284 test "x$ac_site_file" = xNONE
&& continue
2285 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2288 sed 's/^/| /' "$ac_site_file" >&5
2290 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2292 as_fn_error $?
"failed to load site script $ac_site_file
2293 See \`config.log' for more details" "$LINENO" 5; }
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special files
2299 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2300 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2302 $as_echo "$as_me: loading cache $cache_file" >&6;}
2304 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2305 *) .
"./$cache_file";;
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2310 $as_echo "$as_me: creating cache $cache_file" >&6;}
2314 # Check that the precious variables saved in the cache have kept the same
2316 ac_cache_corrupted
=false
2317 for ac_var
in $ac_precious_vars; do
2318 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2319 eval ac_new_set
=\
$ac_env_${ac_var}_set
2320 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2321 eval ac_new_val
=\
$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted
=: ;;
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted
=: ;;
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 # differences in whitespace do not lead to failure.
2335 ac_old_val_w
=`echo x $ac_old_val`
2336 ac_new_val_w
=`echo x $ac_new_val`
2337 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 ac_cache_corrupted
=:
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2344 eval $ac_var=\
$ac_old_val
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2347 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2349 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2352 # Pass precious variables to config.status.
2353 if test "$ac_new_set" = set; then
2355 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2356 *) ac_arg
=$ac_var=$ac_new_val ;;
2358 case " $ac_configure_args " in
2359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2360 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2364 if $ac_cache_corrupted; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2369 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2371 ## -------------------- ##
2372 ## Main body of script. ##
2373 ## -------------------- ##
2376 ac_cpp
='$CPP $CPPFLAGS'
2377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2382 am__api_version
='1.14'
2385 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2386 if test -f "$ac_dir/install-sh"; then
2388 ac_install_sh
="$ac_aux_dir/install-sh -c"
2390 elif test -f "$ac_dir/install.sh"; then
2392 ac_install_sh
="$ac_aux_dir/install.sh -c"
2394 elif test -f "$ac_dir/shtool"; then
2396 ac_install_sh
="$ac_aux_dir/shtool install -c"
2400 if test -z "$ac_aux_dir"; then
2401 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2404 # These three variables are undocumented and unsupported,
2405 # and are intended to be withdrawn in a future Autoconf release.
2406 # They can cause serious problems if a builder's source tree is in a directory
2407 # whose full name contains unusual characters.
2408 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2409 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2410 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2413 # Find a good install program. We prefer a C program (faster),
2414 # so one script is as good as another. But avoid the broken or
2415 # incompatible versions:
2416 # SysV /etc/install, /usr/sbin/install
2417 # SunOS /usr/etc/install
2418 # IRIX /sbin/install
2420 # AmigaOS /C/install, which installs bootblocks on floppy discs
2421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424 # OS/2's system install, which has a completely different semantic
2425 # ./install, which can be erroneously created by make from ./install.sh.
2426 # Reject install programs that cannot install multiple files.
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2429 if test -z "$INSTALL"; then
2430 if ${ac_cv_path_install+:} false
; then :
2431 $as_echo_n "(cached) " >&6
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 # Account for people who put trailing slashes in PATH elements.
2439 case $as_dir/ in #((
2440 .
/ | .
// |
/[cC
]/* | \
2441 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2442 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2445 # OSF1 and SCO ODT 3.0 have their own names for install.
2446 # Don't use installbsd from OSF since it installs stuff as root
2448 for ac_prog
in ginstall scoinst
install; do
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2451 if test $ac_prog = install &&
2452 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2453 # AIX install. It has an incompatible calling convention.
2455 elif test $ac_prog = install &&
2456 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2457 # program-specific install script used by HP pwplus--don't use.
2460 rm -rf conftest.one conftest.two conftest.dir
2461 echo one
> conftest.one
2462 echo two
> conftest.two
2464 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2465 test -s conftest.one
&& test -s conftest.two
&&
2466 test -s conftest.dir
/conftest.one
&&
2467 test -s conftest.dir
/conftest.two
2469 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2482 rm -rf conftest.one conftest.two conftest.dir
2485 if test "${ac_cv_path_install+set}" = set; then
2486 INSTALL
=$ac_cv_path_install
2488 # As a last resort, use the slow shell script. Don't cache a
2489 # value for INSTALL within a source directory, because that will
2490 # break other packages using the cache if that directory is
2491 # removed, or if the value is a relative name.
2492 INSTALL
=$ac_install_sh
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496 $as_echo "$INSTALL" >&6; }
2498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499 # It thinks the first close brace ends the variable substitution.
2500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507 $as_echo_n "checking whether build environment is sane... " >&6; }
2508 # Reject unsafe characters in $srcdir or the absolute working directory
2509 # name. Accept space and tab only in the latter.
2513 *[\\\"\
#\$\&\'\`$am_lf]*)
2514 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2517 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2518 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2521 # Do 'set' in a subshell so we don't clobber the current shell's
2522 # arguments. Must try -L first in case configure is actually a
2523 # symlink; some systems play weird games with the mod time of symlinks
2524 # (eg FreeBSD returns the mod time of the symlink's containing
2528 for am_try
in 1 2; do
2529 echo "timestamp, slept: $am_has_slept" > conftest.
file
2530 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531 if test "$*" = "X"; then
2533 set X
`ls -t "$srcdir/configure" conftest.file`
2535 if test "$*" != "X $srcdir/configure conftest.file" \
2536 && test "$*" != "X conftest.file $srcdir/configure"; then
2538 # If neither matched, then we have a broken ls. This can happen
2539 # if, for instance, CONFIG_SHELL is bash and it inherits a
2540 # broken ls alias from the environment. This has actually
2541 # happened. Such a system could not be considered "sane".
2542 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2543 alias in your environment" "$LINENO" 5
2545 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2552 test "$2" = conftest.
file
2558 as_fn_error $?
"newly created file is older than distributed files!
2559 Check your system clock" "$LINENO" 5
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2562 $as_echo "yes" >&6; }
2563 # If we didn't sleep, we still need to ensure time stamps of config.status and
2564 # generated files are strictly newer.
2566 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2573 test "$program_prefix" != NONE
&&
2574 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2575 # Use a double $ so make ignores it.
2576 test "$program_suffix" != NONE
&&
2577 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2578 # Double any \ or $.
2579 # By default was `s,x,x', remove it if useless.
2580 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2581 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2583 # Expand $ac_aux_dir to an absolute path.
2584 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2586 if test x
"${MISSING+set}" != xset
; then
2589 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2591 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2594 # Use eval to expand $SHELL
2595 if eval "$MISSING --is-lightweight"; then
2596 am_missing_run
="$MISSING "
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2600 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2603 if test x
"${install_sh}" != xset
; then
2606 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2608 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2612 # Installed binaries are usually stripped using 'strip' when the user
2613 # run "make install-strip". However 'strip' might not be the right
2614 # tool to use in cross-compilation environments, therefore Automake
2615 # will honor the 'STRIP' environment variable to overrule this program.
2616 if test "$cross_compiling" != no
; then
2617 if test -n "$ac_tool_prefix"; then
2618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2619 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_STRIP+:} false
; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$STRIP"; then
2626 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 STRIP
=$ac_cv_prog_STRIP
2646 if test -n "$STRIP"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2648 $as_echo "$STRIP" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2656 if test -z "$ac_cv_prog_STRIP"; then
2658 # Extract the first word of "strip", so it can be a program name with args.
2659 set dummy strip
; ac_word
=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$ac_ct_STRIP"; then
2666 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2675 ac_cv_prog_ac_ct_STRIP
="strip"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2686 if test -n "$ac_ct_STRIP"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2688 $as_echo "$ac_ct_STRIP" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2694 if test "x$ac_ct_STRIP" = x
; then
2697 case $cross_compiling:$ac_tool_warned in
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2701 ac_tool_warned
=yes ;;
2706 STRIP
="$ac_cv_prog_STRIP"
2710 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2713 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2714 if test -z "$MKDIR_P"; then
2715 if ${ac_cv_path_mkdir+:} false
; then :
2716 $as_echo_n "(cached) " >&6
2718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2722 test -z "$as_dir" && as_dir
=.
2723 for ac_prog
in mkdir gmkdir
; do
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2726 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2727 'mkdir (GNU coreutils) '* | \
2728 'mkdir (coreutils) '* | \
2729 'mkdir (fileutils) '4.1*)
2730 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2740 test -d .
/--version && rmdir .
/--version
2741 if test "${ac_cv_path_mkdir+set}" = set; then
2742 MKDIR_P
="$ac_cv_path_mkdir -p"
2744 # As a last resort, use the slow shell script. Don't cache a
2745 # value for MKDIR_P within a source directory, because that will
2746 # break other packages using the cache if that directory is
2747 # removed, or if the value is a relative name.
2748 MKDIR_P
="$ac_install_sh -d"
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2752 $as_echo "$MKDIR_P" >&6; }
2754 for ac_prog
in gawk mawk nawk
awk
2756 # Extract the first word of "$ac_prog", so it can be a program name with args.
2757 set dummy
$ac_prog; ac_word
=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_AWK+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 if test -n "$AWK"; then
2764 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir
=.
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2773 ac_cv_prog_AWK
="$ac_prog"
2774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 if test -n "$AWK"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2786 $as_echo "$AWK" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2793 test -n "$AWK" && break
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2797 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2799 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2800 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2801 $as_echo_n "(cached) " >&6
2803 cat >conftest.
make <<\_ACEOF
2806 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2808 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2809 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2811 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2813 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2817 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2819 $as_echo "yes" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2824 SET_MAKE
="MAKE=${MAKE-make}"
2827 rm -rf .tst
2>/dev
/null
2828 mkdir .tst
2>/dev
/null
2829 if test -d .tst
; then
2834 rmdir .tst
2>/dev
/null
2836 # Check whether --enable-silent-rules was given.
2837 if test "${enable_silent_rules+set}" = set; then :
2838 enableval
=$enable_silent_rules;
2841 case $enable_silent_rules in # (((
2842 yes) AM_DEFAULT_VERBOSITY
=0;;
2843 no
) AM_DEFAULT_VERBOSITY
=1;;
2844 *) AM_DEFAULT_VERBOSITY
=1;;
2846 am_make
=${MAKE-make}
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2848 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2849 if ${am_cv_make_support_nested_variables+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 if $as_echo 'TRUE=$(BAR$(V))
2858 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2859 am_cv_make_support_nested_variables
=yes
2861 am_cv_make_support_nested_variables
=no
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2865 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2866 if test $am_cv_make_support_nested_variables = yes; then
2868 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2870 AM_V
=$AM_DEFAULT_VERBOSITY
2871 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2875 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2876 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2877 # is not polluted with repeated "-I."
2878 am__isrc
=' -I$(srcdir)'
2879 # test to see if srcdir already configured
2880 if test -f $srcdir/config.status
; then
2881 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2885 # test whether we have cygpath
2886 if test -z "$CYGPATH_W"; then
2887 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2888 CYGPATH_W
='cygpath -w'
2895 # Define the identity of the package.
2896 PACKAGE
='pve-cluster'
2900 cat >>confdefs.h
<<_ACEOF
2901 #define PACKAGE "$PACKAGE"
2905 cat >>confdefs.h
<<_ACEOF
2906 #define VERSION "$VERSION"
2909 # Some tools Automake needs.
2911 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2914 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2917 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2920 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2923 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2925 # For better backward compatibility. To be removed once Automake 1.9.x
2926 # dies out for good. For more background, see:
2927 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2928 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2929 mkdir_p
='$(MKDIR_P)'
2931 # We need awk for the "check" target. The system "awk" is bad on
2933 # Always define AMTAR for backward compatibility. Yes, it's still used
2934 # in the wild :-( We should find a proper way to deprecate it ...
2938 # We'll loop over all known methods to create a tar archive until one works.
2939 _am_tools
='gnutar pax cpio none'
2941 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2948 # POSIX will say in a future version that running "rm -f" with no argument
2949 # is OK; and we want to be able to make that assumption in our Makefile
2950 # recipes. So use an aggressive probe to check that the usage we want is
2951 # actually supported "in the wild" to an acceptable degree.
2952 # See automake bug#10828.
2953 # To make any issue more visible, cause the running configure to be aborted
2954 # by default if the 'rm' program in use doesn't match our expectations; the
2955 # user can still override this though.
2956 if rm -f && rm -fr && rm -rf; then : OK
; else
2960 Your 'rm' program seems unable to run without file operands specified
2961 on the command line, even when the '-f' option is present. This is contrary
2962 to the behaviour of most rm programs out there, and not conforming with
2963 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2965 Please tell bug-automake@gnu.org about your system, including the value
2966 of your $PATH and any error possibly output before this message. This
2967 can help us improve future automake versions.
2970 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2971 echo 'Configuration will proceed anyway, since you have set the' >&2
2972 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2976 Aborting the configuration process, to ensure you take notice of the issue.
2978 You can download and install GNU coreutils to get an 'rm' implementation
2979 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2981 If you want to complete the configuration process using your problematic
2982 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2983 to "yes", and re-run configure.
2986 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2992 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2993 # Check whether --enable-maintainer-mode was given.
2994 if test "${enable_maintainer_mode+set}" = set; then :
2995 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2997 USE_MAINTAINER_MODE
=no
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3001 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3002 if test $USE_MAINTAINER_MODE = yes; then
3003 MAINTAINER_MODE_TRUE
=
3004 MAINTAINER_MODE_FALSE
='#'
3006 MAINTAINER_MODE_TRUE
='#'
3007 MAINTAINER_MODE_FALSE
=
3010 MAINT
=$MAINTAINER_MODE_TRUE
3016 ac_config_headers
="$ac_config_headers config.h"
3021 # Checks for programs.
3023 ac_cpp
='$CPP $CPPFLAGS'
3024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3045 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$ac_cv_prog_CC"; then
3068 # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc
; ac_word
=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$ac_ct_CC"; then
3076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir
=.
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3085 ac_cv_prog_ac_ct_CC
="gcc"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3104 if test "x$ac_ct_CC" = x
; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned
=yes ;;
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC
="$CC" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc
; ac_word
=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false
; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC
="$CC" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180 ac_prog_rejected
=yes
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test $ac_prog_rejected = yes; then
3192 # We found a bogon in the path, so make sure we never use it.
3193 set dummy
$ac_cv_prog_CC
3195 if test $# != 0; then
3196 # We chose a different compiler from the bogus one.
3197 # However, it has the same basename, so the bogon will be chosen
3198 # first if we set CC to just the basename; use the full file name.
3200 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 for ac_prog
in cl.exe
3220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false
; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$CC" && break
3260 if test -z "$CC"; then
3262 for ac_prog
in cl.exe
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy
$ac_prog; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_ac_ct_CC
="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$ac_ct_CC" && break
3304 if test "x$ac_ct_CC" = x
; then
3307 case $cross_compiling:$ac_tool_warned in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned
=yes ;;
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $?
"no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3329 for ac_option
in --version -v -V -qversion; do
3330 { { ac_try
="$ac_compiler $ac_option >&5"
3332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3339 if test -s conftest.err; then
3341 ... rest of stderr output deleted ...
3342 10q' conftest.err >conftest.er1
3343 cat conftest.er1 >&5
3345 rm -f conftest.er1 conftest.err
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3374 for ac_file in $ac_files
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3383 if { { ac_try="$ac_link_default"
3385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3386 *) ac_try_echo
=$ac_try;;
3388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link_default") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3399 for ac_file
in $ac_files ''
3401 test -f "$ac_file" ||
continue
3403 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3406 # We found the default executable, but exeext='' is most
3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3412 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 # We set ac_cv_exeext here because the later test for it is not
3415 # safe: cross compilers may not add the suffix if given an `-o'
3416 # argument, so we may need to know it at that point already.
3417 # Even if this section looks crufty: it has the advantage of
3424 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3429 if test -z "$ac_file"; then :
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error
77 "C compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext
=$ac_cv_exeext
3449 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3450 ac_clean_files
=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try
="$ac_link"
3455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3465 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3468 for ac_file
in conftest.exe conftest conftest.
*; do
3469 test -f "$ac_file" ||
continue
3471 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3472 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3483 rm -f conftest conftest
$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3487 rm -f conftest.
$ac_ext
3488 EXEEXT
=$ac_cv_exeext
3490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3496 FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3503 ac_clean_files
="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run. If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509 { { ac_try
="$ac_link"
3511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_link") 2>&5
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }
3520 if { ac_try='./conftest$ac_cv_exeext'
3521 { { case "(($ac_try" in
3522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3523 *) ac_try_echo
=$ac_try;;
3525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_try") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; }; then
3533 if test "$cross_compiling" = maybe
; then
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $?
"cannot run C compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3547 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3548 ac_clean_files
=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false
; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try
="$ac_compile"
3568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_compile") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 for ac_file in conftest.o conftest.obj conftest.*; do
3578 test -f "$ac_file" || continue;
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3592 See \
`config.log' for more details" "$LINENO" 5; }
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602 if ${ac_cv_c_compiler_gnu+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3619 if ac_fn_c_try_compile "$LINENO"; then :
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3635 ac_test_CFLAGS=${CFLAGS+set}
3636 ac_save_CFLAGS=$CFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3639 if ${ac_cv_prog_cc_g+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 ac_save_c_werror_flag=$ac_c_werror_flag
3643 ac_c_werror_flag=yes
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3672 if ac_fn_c_try_compile "$LINENO"; then :
3675 ac_c_werror_flag=$ac_save_c_werror_flag
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_c_werror_flag=$ac_save_c_werror_flag
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
3700 if test "$ac_test_CFLAGS" = set; then
3701 CFLAGS=$ac_save_CFLAGS
3702 elif test $ac_cv_prog_cc_g = yes; then
3703 if test "$GCC" = yes; then
3709 if test "$GCC" = yes; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717 if ${ac_cv_prog_cc_c89+:} false; then :
3718 $as_echo_n "(cached) " >&6
3720 ac_cv_prog_cc_c89=no
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3728 struct buf { int x; };
3729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3730 static char *e (p, i)
3736 static char *f (char * (*g) (char **, int), char **p, ...)
3741 s = g (p, va_arg (v,int));
3746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3747 function prototypes and stuff, but not '\xHH' hex character constants.
3748 These don't provoke an error unfortunately, instead are silently treated
3749 as 'x'. The following induces an error, until -std is added to get
3750 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3751 array size at least. It's necessary to write '\x00'==0 to get something
3752 that's true only with -std. */
3753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3756 inside strings and character constants. */
3758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3760 int test (int i, double x);
3761 struct s1 {int (*f) (int a);};
3762 struct s2 {int (*f) (double a);};
3763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3775 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777 CC="$ac_save_CC $ac_arg"
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779 ac_cv_prog_cc_c89=$ac_arg
3781 rm -f core conftest.err conftest.$ac_objext
3782 test "x$ac_cv_prog_cc_c89" != "xno" && break
3784 rm -f conftest.$ac_ext
3789 case "x$ac_cv_prog_cc_c89" in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792 $as_echo "none needed" >&6; } ;;
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3795 $as_echo "unsupported" >&6; } ;;
3797 CC="$CC $ac_cv_prog_cc_c89"
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3799 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3801 if test "x$ac_cv_prog_cc_c89" != xno; then :
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812 ac_cpp='$CPP $CPPFLAGS'
3813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3817 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3818 if ${am_cv_prog_cc_c_o+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 # Make sure it works both with $CC and with simple cc.
3833 # Following AC_PROG_CC_C_O, we do the test twice because some
3834 # compilers refuse to overwrite an existing .o file with -o,
3835 # though they will create one.
3836 am_cv_prog_cc_c_o=yes
3838 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3839 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } \
3843 && test -f conftest2.$ac_objext; then
3846 am_cv_prog_cc_c_o=no
3850 rm -f core conftest*
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3854 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3855 if test "$am_cv_prog_cc_c_o" != yes; then
3856 # Losing compiler, so override with the script.
3857 # FIXME: It is wrong to rewrite CC.
3858 # But if we don't then we get into trouble of one sort or another.
3859 # A longer-term fix would be to have automake use am__CC in this case,
3860 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3861 CC="$am_aux_dir/compile $CC"
3864 ac_cpp='$CPP $CPPFLAGS'
3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 DEPDIR="${am__leading_dot}deps"
3871 ac_config_commands="$ac_config_commands depfiles"
3874 am_make=${MAKE-make}
3875 cat > confinc << 'END'
3877 @echo this is the am__doit target
3880 # If we don't find an include directive, just comment out the code.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3882 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3886 # First try GNU make style include.
3887 echo "include confinc" > confmf
3888 # Ignore all kinds of additional output from 'make'.
3889 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3890 *the\ am__doit\ target*)
3896 # Now try BSD make style include.
3897 if test "$am__include" = "#"; then
3898 echo '.include "confinc"' > confmf
3899 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3900 *the\ am__doit\ target*)
3901 am__include=.include
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3910 $as_echo "$_am_result" >&6; }
3911 rm -f confinc confmf
3913 # Check whether --enable-dependency-tracking was given.
3914 if test "${enable_dependency_tracking+set}" = set; then :
3915 enableval=$enable_dependency_tracking;
3918 if test "x$enable_dependency_tracking" != xno; then
3919 am_depcomp="$ac_aux_dir/depcomp"
3923 if test "x$enable_dependency_tracking" != xno; then
3933 depcc="$CC" am_compiler_list=
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3936 $as_echo_n "checking dependency style of $depcc... " >&6; }
3937 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3941 # We make a subdir and do the tests there. Otherwise we can end up
3942 # making bogus files that we don't know about and never remove. For
3943 # instance it was reported that on HP-UX the gcc test will end up
3944 # making a dummy file named 'D' -- because '-MD' means "put the output
3948 # Copy depcomp to subdir because otherwise we won't find it if we're
3949 # using a relative directory.
3950 cp "$am_depcomp" conftest.dir
3952 # We will build objects and dependencies in a subdirectory because
3953 # it helps to detect inapplicable dependency modes. For instance
3954 # both Tru64's cc and ICC support -MD to output dependencies as a
3955 # side effect of compilation, but ICC will put the dependencies in
3956 # the current directory while Tru64 will put them in the object
3960 am_cv_CC_dependencies_compiler_type=none
3961 if test "$am_compiler_list" = ""; then
3962 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3965 case " $depcc " in #(
3966 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3969 for depmode in $am_compiler_list; do
3970 # Setup a source with many dependencies, because some compilers
3971 # like to wrap large dependency lists on column 80 (with \), and
3972 # we should not choose a depcomp mode which is confused by this.
3974 # We need to recreate these files for each test, as the compiler may
3975 # overwrite some of them when testing with obscure command lines.
3976 # This happens at least with the AIX C compiler.
3978 for i in 1 2 3 4 5 6; do
3979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3980 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3981 # Solaris 10 /bin/sh.
3982 echo '/* dummy */' > sub/conftst$i.h
3984 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3986 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3987 # mode. It turns out that the SunPro C++ compiler does not properly
3988 # handle '-M -o', and we need to detect this. Also, some Intel
3989 # versions had trouble with output in subdirs.
3990 am__obj=sub/conftest.${OBJEXT-o}
3991 am__minus_obj="-o $am__obj"
3994 # This depmode causes a compiler race in universal mode.
3995 test "$am__universal" = false || continue
3998 # After this tag, mechanisms are not by side-effect, so they'll
3999 # only be used when explicitly requested.
4000 if test "x$enable_dependency_tracking" = xyes; then
4006 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4007 # This compiler won't grok '-c -o', but also, the minuso test has
4008 # not run yet. These depmodes are late enough in the game, and
4009 # so weak that their functioning should not be impacted.
4010 am__obj=conftest.${OBJEXT-o}
4015 if depmode=$depmode \
4016 source=sub/conftest.c object=$am__obj \
4017 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4018 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4019 >/dev/null 2>conftest.err &&
4020 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4021 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4022 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4023 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4024 # icc doesn't choke on unknown options, it will just issue warnings
4025 # or remarks (even with -Werror). So we grep stderr for any message
4026 # that says an option was ignored or not supported.
4027 # When given -MP, icc 7.0 and 7.1 complain thusly:
4028 # icc: Command line warning: ignoring option '-M'; no argument required
4029 # The diagnosis changed in icc 8.0:
4030 # icc: Command line remark: option '-MP' not supported
4031 if (grep 'ignoring option' conftest.err ||
4032 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4033 am_cv_CC_dependencies_compiler_type=$depmode
4042 am_cv_CC_dependencies_compiler_type=none
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4047 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4048 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4051 test "x$enable_dependency_tracking" != xno \
4052 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4054 am__fastdepCC_FALSE='#'
4056 am__fastdepCC_TRUE='#'
4057 am__fastdepCC_FALSE=
4061 if test -n "$ac_tool_prefix"; then
4062 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4063 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_RANLIB+:} false; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -n "$RANLIB"; then
4070 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 RANLIB=$ac_cv_prog_RANLIB
4090 if test -n "$RANLIB"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4092 $as_echo "$RANLIB" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4100 if test -z "$ac_cv_prog_RANLIB"; then
4101 ac_ct_RANLIB=$RANLIB
4102 # Extract the first word of "ranlib", so it can be a program name with args.
4103 set dummy ranlib; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4107 $as_echo_n "(cached) " >&6
4109 if test -n "$ac_ct_RANLIB"; then
4110 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir=.
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_ac_ct_RANLIB="ranlib"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4130 if test -n "$ac_ct_RANLIB"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4132 $as_echo "$ac_ct_RANLIB" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4138 if test "x$ac_ct_RANLIB" = x; then
4141 case $cross_compiling:$ac_tool_warned in
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4145 ac_tool_warned=yes ;;
4147 RANLIB=$ac_ct_RANLIB
4150 RANLIB="$ac_cv_prog_RANLIB"
4156 if test -n "$ac_tool_prefix"; then
4157 for ac_prog in ar lib "link -lib"
4159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4162 $as_echo_n "checking for $ac_word... " >&6; }
4163 if ${ac_cv_prog_AR+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 if test -n "$AR"; then
4167 ac_cv_prog_AR="$AR" # Let the user override the test.
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 if test -n "$AR"; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4189 $as_echo "$AR" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192 $as_echo "no" >&6; }
4196 test -n "$AR" && break
4199 if test -z "$AR"; then
4201 for ac_prog in ar lib "link -lib"
4203 # Extract the first word of "$ac_prog", so it can be a program name with args.
4204 set dummy $ac_prog; ac_word=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$ac_ct_AR"; then
4211 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir=.
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_ac_ct_AR="$ac_prog"
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4231 if test -n "$ac_ct_AR"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4233 $as_echo "$ac_ct_AR" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4240 test -n "$ac_ct_AR" && break
4243 if test "x$ac_ct_AR" = x; then
4246 case $cross_compiling:$ac_tool_warned in
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4250 ac_tool_warned=yes ;;
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4259 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4260 if ${am_cv_ar_interface+:} false; then :
4261 $as_echo_n "(cached) " >&6
4264 ac_cpp='$CPP $CPPFLAGS'
4265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269 am_cv_ar_interface=ar
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4272 int some_variable = 0;
4274 if ac_fn_c_try_compile "$LINENO"; then :
4275 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4276 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4277 (eval $am_ar_try) 2>&5
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }
4281 if test "$ac_status" -eq 0; then
4282 am_cv_ar_interface=ar
4284 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4285 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4286 (eval $am_ar_try) 2>&5
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }
4290 if test "$ac_status" -eq 0; then
4291 am_cv_ar_interface=lib
4293 am_cv_ar_interface=unknown
4296 rm -f conftest.lib libconftest.a
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 ac_cpp='$CPP $CPPFLAGS'
4302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4308 $as_echo "$am_cv_ar_interface" >&6; }
4310 case $am_cv_ar_interface in
4314 # Microsoft lib, so override with the ar-lib wrapper script.
4315 # FIXME: It is wrong to rewrite AR.
4316 # But if we don't then we get into trouble of one sort or another.
4317 # A longer-term fix would be to have automake use am__AR in this case,
4318 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4320 AR="$am_aux_dir/ar-lib $AR"
4323 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4328 # Checks for libraries.
4337 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4338 if test -n "$ac_tool_prefix"; then
4339 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4340 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4344 $as_echo_n "(cached) " >&6
4348 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4358 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4370 if test -n "$PKG_CONFIG"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4372 $as_echo "$PKG_CONFIG" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4380 if test -z "$ac_cv_path_PKG_CONFIG"; then
4381 ac_pt_PKG_CONFIG=$PKG_CONFIG
4382 # Extract the first word of "pkg-config", so it can be a program name with args.
4383 set dummy pkg-config; ac_word=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4387 $as_echo_n "(cached) " >&6
4389 case $ac_pt_PKG_CONFIG in
4391 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4413 if test -n "$ac_pt_PKG_CONFIG"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4415 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_pt_PKG_CONFIG" = x; then
4424 case $cross_compiling:$ac_tool_warned in
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4430 PKG_CONFIG=$ac_pt_PKG_CONFIG
4433 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4437 if test -n "$PKG_CONFIG"; then
4438 _pkg_min_version=0.9.0
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4440 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4441 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 $as_echo "yes" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
4453 $as_echo_n "checking for CHECK... " >&6; }
4455 if test -n "$CHECK_CFLAGS"; then
4456 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
4457 elif test -n "$PKG_CONFIG"; then
4458 if test -n "$PKG_CONFIG" && \
4459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4460 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4463 test $ac_status = 0; }; then
4464 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev
/null
`
4465 test "x$?" != "x0" && pkg_failed=yes
4472 if test -n "$CHECK_LIBS"; then
4473 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
4474 elif test -n "$PKG_CONFIG"; then
4475 if test -n "$PKG_CONFIG" && \
4476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4477 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4480 test $ac_status = 0; }; then
4481 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev
/null
`
4482 test "x$?" != "x0" && pkg_failed=yes
4492 if test $pkg_failed = yes; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4497 _pkg_short_errors_supported=yes
4499 _pkg_short_errors_supported=no
4501 if test $_pkg_short_errors_supported = yes; then
4502 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4504 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4506 # Put the nasty error message in config.log where it belongs
4507 echo "$CHECK_PKG_ERRORS" >&5
4509 as_fn_error $? "check not found" "$LINENO" 5
4510 elif test $pkg_failed = untried; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4513 as_fn_error $? "check not found" "$LINENO" 5
4515 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
4516 CHECK_LIBS=$pkg_cv_CHECK_LIBS
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4518 $as_echo "yes" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRRD" >&5
4525 $as_echo_n "checking for LIBRRD... " >&6; }
4527 if test -n "$LIBRRD_CFLAGS"; then
4528 pkg_cv_LIBRRD_CFLAGS="$LIBRRD_CFLAGS"
4529 elif test -n "$PKG_CONFIG"; then
4530 if test -n "$PKG_CONFIG" && \
4531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librrd >= 1.4.3\""; } >&5
4532 ($PKG_CONFIG --exists --print-errors "librrd >= 1.4.3") 2>&5
4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }; then
4536 pkg_cv_LIBRRD_CFLAGS=`$PKG_CONFIG --cflags "librrd >= 1.4.3" 2>/dev
/null
`
4537 test "x$?" != "x0" && pkg_failed=yes
4544 if test -n "$LIBRRD_LIBS"; then
4545 pkg_cv_LIBRRD_LIBS="$LIBRRD_LIBS"
4546 elif test -n "$PKG_CONFIG"; then
4547 if test -n "$PKG_CONFIG" && \
4548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librrd >= 1.4.3\""; } >&5
4549 ($PKG_CONFIG --exists --print-errors "librrd >= 1.4.3") 2>&5
4551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }; then
4553 pkg_cv_LIBRRD_LIBS=`$PKG_CONFIG --libs "librrd >= 1.4.3" 2>/dev
/null
`
4554 test "x$?" != "x0" && pkg_failed=yes
4564 if test $pkg_failed = yes; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4569 _pkg_short_errors_supported=yes
4571 _pkg_short_errors_supported=no
4573 if test $_pkg_short_errors_supported = yes; then
4574 LIBRRD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librrd >= 1.4.3" 2>&1`
4576 LIBRRD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librrd >= 1.4.3" 2>&1`
4578 # Put the nasty error message in config.log where it belongs
4579 echo "$LIBRRD_PKG_ERRORS" >&5
4581 as_fn_error $? "librrd not found" "$LINENO" 5
4582 elif test $pkg_failed = untried; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4585 as_fn_error $? "librrd not found" "$LINENO" 5
4587 LIBRRD_CFLAGS=$pkg_cv_LIBRRD_CFLAGS
4588 LIBRRD_LIBS=$pkg_cv_LIBRRD_LIBS
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4599 $as_echo_n "checking for GLIB... " >&6; }
4601 if test -n "$GLIB_CFLAGS"; then
4602 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4603 elif test -n "$PKG_CONFIG"; then
4604 if test -n "$PKG_CONFIG" && \
4605 { { $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
4606 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1") 2>&5
4608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4609 test $ac_status = 0; }; then
4610 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>/dev
/null
`
4611 test "x$?" != "x0" && pkg_failed=yes
4618 if test -n "$GLIB_LIBS"; then
4619 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4620 elif test -n "$PKG_CONFIG"; then
4621 if test -n "$PKG_CONFIG" && \
4622 { { $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
4623 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1") 2>&5
4625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4626 test $ac_status = 0; }; then
4627 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>/dev
/null
`
4628 test "x$?" != "x0" && pkg_failed=yes
4638 if test $pkg_failed = yes; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4643 _pkg_short_errors_supported=yes
4645 _pkg_short_errors_supported=no
4647 if test $_pkg_short_errors_supported = yes; then
4648 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`
4650 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.42.1 gthread-2.0 >= 2.42.1" 2>&1`
4652 # Put the nasty error message in config.log where it belongs
4653 echo "$GLIB_PKG_ERRORS" >&5
4655 as_fn_error $? "glib not found" "$LINENO" 5
4656 elif test $pkg_failed = untried; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4659 as_fn_error $? "glib not found" "$LINENO" 5
4661 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4662 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4664 $as_echo "yes" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
4673 $as_echo_n "checking for FUSE... " >&6; }
4675 if test -n "$FUSE_CFLAGS"; then
4676 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
4677 elif test -n "$PKG_CONFIG"; then
4678 if test -n "$PKG_CONFIG" && \
4679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.7.4\""; } >&5
4680 ($PKG_CONFIG --exists --print-errors "fuse >= 2.7.4") 2>&5
4682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4683 test $ac_status = 0; }; then
4684 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.7.4" 2>/dev
/null
`
4685 test "x$?" != "x0" && pkg_failed=yes
4692 if test -n "$FUSE_LIBS"; then
4693 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
4694 elif test -n "$PKG_CONFIG"; then
4695 if test -n "$PKG_CONFIG" && \
4696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.7.4\""; } >&5
4697 ($PKG_CONFIG --exists --print-errors "fuse >= 2.7.4") 2>&5
4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700 test $ac_status = 0; }; then
4701 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse >= 2.7.4" 2>/dev
/null
`
4702 test "x$?" != "x0" && pkg_failed=yes
4712 if test $pkg_failed = yes; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4717 _pkg_short_errors_supported=yes
4719 _pkg_short_errors_supported=no
4721 if test $_pkg_short_errors_supported = yes; then
4722 FUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.7.4" 2>&1`
4724 FUSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.7.4" 2>&1`
4726 # Put the nasty error message in config.log where it belongs
4727 echo "$FUSE_PKG_ERRORS" >&5
4729 as_fn_error $? "fuse not found" "$LINENO" 5
4730 elif test $pkg_failed = untried; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4733 as_fn_error $? "fuse not found" "$LINENO" 5
4735 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
4736 FUSE_LIBS=$pkg_cv_FUSE_LIBS
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4738 $as_echo "yes" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COROSYNC" >&5
4747 $as_echo_n "checking for COROSYNC... " >&6; }
4749 if test -n "$COROSYNC_CFLAGS"; then
4750 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
4751 elif test -n "$PKG_CONFIG"; then
4752 if test -n "$PKG_CONFIG" && \
4753 { { $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
4754 ($PKG_CONFIG --exists --print-errors "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4") 2>&5
4756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4757 test $ac_status = 0; }; then
4758 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>/dev
/null
`
4759 test "x$?" != "x0" && pkg_failed=yes
4766 if test -n "$COROSYNC_LIBS"; then
4767 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
4768 elif test -n "$PKG_CONFIG"; then
4769 if test -n "$PKG_CONFIG" && \
4770 { { $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
4771 ($PKG_CONFIG --exists --print-errors "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4") 2>&5
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; }; then
4775 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>/dev
/null
`
4776 test "x$?" != "x0" && pkg_failed=yes
4786 if test $pkg_failed = yes; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4791 _pkg_short_errors_supported=yes
4793 _pkg_short_errors_supported=no
4795 if test $_pkg_short_errors_supported = yes; then
4796 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`
4798 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libquorum >= 2.3.4 libcpg >= 2.3.4 libcmap >= 2.3.4" 2>&1`
4800 # Put the nasty error message in config.log where it belongs
4801 echo "$COROSYNC_PKG_ERRORS" >&5
4803 as_fn_error $? "corosync not found" "$LINENO" 5
4804 elif test $pkg_failed = untried; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4807 as_fn_error $? "corosync not found" "$LINENO" 5
4809 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
4810 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4812 $as_echo "yes" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QB" >&5
4821 $as_echo_n "checking for QB... " >&6; }
4823 if test -n "$QB_CFLAGS"; then
4824 pkg_cv_QB_CFLAGS="$QB_CFLAGS"
4825 elif test -n "$PKG_CONFIG"; then
4826 if test -n "$PKG_CONFIG" && \
4827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqb\""; } >&5
4828 ($PKG_CONFIG --exists --print-errors "libqb") 2>&5
4830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4831 test $ac_status = 0; }; then
4832 pkg_cv_QB_CFLAGS=`$PKG_CONFIG --cflags "libqb" 2>/dev
/null
`
4833 test "x$?" != "x0" && pkg_failed=yes
4840 if test -n "$QB_LIBS"; then
4841 pkg_cv_QB_LIBS="$QB_LIBS"
4842 elif test -n "$PKG_CONFIG"; then
4843 if test -n "$PKG_CONFIG" && \
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqb\""; } >&5
4845 ($PKG_CONFIG --exists --print-errors "libqb") 2>&5
4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848 test $ac_status = 0; }; then
4849 pkg_cv_QB_LIBS=`$PKG_CONFIG --libs "libqb" 2>/dev
/null
`
4850 test "x$?" != "x0" && pkg_failed=yes
4860 if test $pkg_failed = yes; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4865 _pkg_short_errors_supported=yes
4867 _pkg_short_errors_supported=no
4869 if test $_pkg_short_errors_supported = yes; then
4870 QB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqb" 2>&1`
4872 QB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqb" 2>&1`
4874 # Put the nasty error message in config.log where it belongs
4875 echo "$QB_PKG_ERRORS" >&5
4877 as_fn_error $? "libqb not found" "$LINENO" 5
4878 elif test $pkg_failed = untried; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 as_fn_error $? "libqb not found" "$LINENO" 5
4883 QB_CFLAGS=$pkg_cv_QB_CFLAGS
4884 QB_LIBS=$pkg_cv_QB_LIBS
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4886 $as_echo "yes" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
4895 $as_echo_n "checking for SQLITE3... " >&6; }
4897 if test -n "$SQLITE3_CFLAGS"; then
4898 pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
4899 elif test -n "$PKG_CONFIG"; then
4900 if test -n "$PKG_CONFIG" && \
4901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4902 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4905 test $ac_status = 0; }; then
4906 pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev
/null
`
4907 test "x$?" != "x0" && pkg_failed=yes
4914 if test -n "$SQLITE3_LIBS"; then
4915 pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
4916 elif test -n "$PKG_CONFIG"; then
4917 if test -n "$PKG_CONFIG" && \
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
4919 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }; then
4923 pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev
/null
`
4924 test "x$?" != "x0" && pkg_failed=yes
4934 if test $pkg_failed = yes; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4939 _pkg_short_errors_supported=yes
4941 _pkg_short_errors_supported=no
4943 if test $_pkg_short_errors_supported = yes; then
4944 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
4946 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
4948 # Put the nasty error message in config.log where it belongs
4949 echo "$SQLITE3_PKG_ERRORS" >&5
4951 as_fn_error $? "sqlite3 not found" "$LINENO" 5
4952 elif test $pkg_failed = untried; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $? "sqlite3 not found" "$LINENO" 5
4957 SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
4958 SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 $as_echo "yes" >&6; }
4966 # Extract the first word of "perl", so it can be a program name with args.
4967 set dummy perl; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_path_PERL+:} false; then :
4971 $as_echo_n "(cached) " >&6
4975 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
4997 PERL=$ac_cv_path_PERL
4998 if test -n "$PERL"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5000 $as_echo "$PERL" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 if test "x${PERL}" = xno; then
5008 as_fn_error $? "perl not found" "$LINENO" 5
5012 PERL_INC="$(perl -MExtUtils::Embed -e perl_inc)"
5013 PERL_VENDORLIB="$(perl -MConfig -e 'print $Config{vendorlibexp}')"
5014 PERL_INSTALLARCHLIB="$(perl -MConfig -e 'print $Config{installarchlib}')"
5019 # Checks for header files.
5021 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5022 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5024 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5025 if eval \${$as_ac_Header+:} false; then :
5026 $as_echo_n "(cached) " >&6
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #include <sys/types.h>
5042 if ac_fn_c_try_compile "$LINENO"; then :
5043 eval "$as_ac_Header=yes"
5045 eval "$as_ac_Header=no"
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 eval ac_res=\$$as_ac_Header
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5051 $as_echo "$ac_res" >&6; }
5052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5053 cat >>confdefs.h <<_ACEOF
5054 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
5057 ac_header_dirent=$ac_hdr; break
5061 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5062 if test $ac_header_dirent = dirent.h; then
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 '' dir; 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"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5121 $as_echo_n "checking for library containing opendir... " >&6; }
5122 if ${ac_cv_search_opendir+:} false; then :
5123 $as_echo_n "(cached) " >&6
5125 ac_func_search_save_LIBS=$LIBS
5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5129 /* Override any GCC internal prototype to avoid an error.
5130 Use char because int might match the return type of a GCC
5131 builtin and then its argument prototype would still apply. */
5144 for ac_lib in '' x; do
5145 if test -z "$ac_lib"; then
5146 ac_res="none required"
5149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5151 if ac_fn_c_try_link "$LINENO"; then :
5152 ac_cv_search_opendir=$ac_res
5154 rm -f core conftest.err conftest.$ac_objext \
5156 if ${ac_cv_search_opendir+:} false; then :
5160 if ${ac_cv_search_opendir+:} false; then :
5163 ac_cv_search_opendir=no
5166 LIBS=$ac_func_search_save_LIBS
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5169 $as_echo "$ac_cv_search_opendir" >&6; }
5170 ac_res=$ac_cv_search_opendir
5171 if test "$ac_res" != no; then :
5172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5179 ac_cpp='$CPP $CPPFLAGS'
5180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5184 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5185 # On Suns, sometimes $CPP names a directory.
5186 if test -n "$CPP" && test -d "$CPP"; then
5189 if test -z "$CPP"; then
5190 if ${ac_cv_prog_CPP+:} false; then :
5191 $as_echo_n "(cached) " >&6
5193 # Double quotes because CPP needs to be expanded
5194 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5197 for ac_c_preproc_warn_flag in '' yes
5199 # Use a header file that comes with gcc, so configuring glibc
5200 # with a fresh cross-compiler works.
5201 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5202 # <limits.h> exists even on freestanding compilers.
5203 # On the NeXT, cc -E runs the code through the compiler's parser,
5204 # not just through cpp. "Syntax error" is here to catch this case.
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5208 # include <limits.h>
5210 # include <assert.h>
5214 if ac_fn_c_try_cpp "$LINENO"; then :
5217 # Broken: fails on valid input.
5220 rm -f conftest.err conftest.i conftest.$ac_ext
5222 # OK, works on sane cases. Now check whether nonexistent headers
5223 # can be detected and how.
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5226 #include <ac_nonexistent.h>
5228 if ac_fn_c_try_cpp "$LINENO"; then :
5229 # Broken: success on invalid input.
5232 # Passes both tests.
5236 rm -f conftest.err conftest.i conftest.$ac_ext
5239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5240 rm -f conftest.i conftest.err conftest.
$ac_ext
5241 if $ac_preproc_ok; then :
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5254 $as_echo "$CPP" >&6; }
5256 for ac_c_preproc_warn_flag
in '' yes
5258 # Use a header file that comes with gcc, so configuring glibc
5259 # with a fresh cross-compiler works.
5260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5261 # <limits.h> exists even on freestanding compilers.
5262 # On the NeXT, cc -E runs the code through the compiler's parser,
5263 # not just through cpp. "Syntax error" is here to catch this case.
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5267 # include <limits.h>
5269 # include <assert.h>
5273 if ac_fn_c_try_cpp
"$LINENO"; then :
5276 # Broken: fails on valid input.
5279 rm -f conftest.err conftest.i conftest.
$ac_ext
5281 # OK, works on sane cases. Now check whether nonexistent headers
5282 # can be detected and how.
5283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5285 #include <ac_nonexistent.h>
5287 if ac_fn_c_try_cpp
"$LINENO"; then :
5288 # Broken: success on invalid input.
5291 # Passes both tests.
5295 rm -f conftest.err conftest.i conftest.
$ac_ext
5298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5299 rm -f conftest.i conftest.err conftest.
$ac_ext
5300 if $ac_preproc_ok; then :
5303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5306 See \`config.log' for more details" "$LINENO" 5; }
5310 ac_cpp
='$CPP $CPPFLAGS'
5311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5317 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5318 if ${ac_cv_path_GREP+:} false
; then :
5319 $as_echo_n "(cached) " >&6
5321 if test -z "$GREP"; then
5322 ac_path_GREP_found
=false
5323 # Loop through the user's path and test for each of PROGNAME-LIST
5324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5328 test -z "$as_dir" && as_dir
=.
5329 for ac_prog
in grep ggrep
; do
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5332 as_fn_executable_p
"$ac_path_GREP" ||
continue
5333 # Check for GNU ac_path_GREP and select it if it is found.
5334 # Check for GNU $ac_path_GREP
5335 case `"$ac_path_GREP" --version 2>&1` in
5337 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5340 $as_echo_n 0123456789 >"conftest.in"
5343 cat "conftest.in" "conftest.in" >"conftest.tmp"
5344 mv "conftest.tmp" "conftest.in"
5345 cp "conftest.in" "conftest.nl"
5346 $as_echo 'GREP' >> "conftest.nl"
5347 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5348 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5349 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5350 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_GREP
="$ac_path_GREP"
5353 ac_path_GREP_max
=$ac_count
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5358 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5361 $ac_path_GREP_found && break 3
5366 if test -z "$ac_cv_path_GREP"; then
5367 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5370 ac_cv_path_GREP
=$GREP
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5375 $as_echo "$ac_cv_path_GREP" >&6; }
5376 GREP
="$ac_cv_path_GREP"
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5380 $as_echo_n "checking for egrep... " >&6; }
5381 if ${ac_cv_path_EGREP+:} false
; then :
5382 $as_echo_n "(cached) " >&6
5384 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5385 then ac_cv_path_EGREP
="$GREP -E"
5387 if test -z "$EGREP"; then
5388 ac_path_EGREP_found
=false
5389 # Loop through the user's path and test for each of PROGNAME-LIST
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_prog
in egrep; do
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5398 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5399 # Check for GNU ac_path_EGREP and select it if it is found.
5400 # Check for GNU $ac_path_EGREP
5401 case `"$ac_path_EGREP" --version 2>&1` in
5403 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5406 $as_echo_n 0123456789 >"conftest.in"
5409 cat "conftest.in" "conftest.in" >"conftest.tmp"
5410 mv "conftest.tmp" "conftest.in"
5411 cp "conftest.in" "conftest.nl"
5412 $as_echo 'EGREP' >> "conftest.nl"
5413 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5414 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5415 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5416 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5417 # Best one so far, save it but keep looking for a better one
5418 ac_cv_path_EGREP
="$ac_path_EGREP"
5419 ac_path_EGREP_max
=$ac_count
5421 # 10*(2^10) chars as input seems more than enough
5422 test $ac_count -gt 10 && break
5424 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5427 $ac_path_EGREP_found && break 3
5432 if test -z "$ac_cv_path_EGREP"; then
5433 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5436 ac_cv_path_EGREP
=$EGREP
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5442 $as_echo "$ac_cv_path_EGREP" >&6; }
5443 EGREP
="$ac_cv_path_EGREP"
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5447 $as_echo_n "checking for ANSI C header files... " >&6; }
5448 if ${ac_cv_header_stdc+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5466 if ac_fn_c_try_compile
"$LINENO"; then :
5467 ac_cv_header_stdc
=yes
5469 ac_cv_header_stdc
=no
5471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 if test $ac_cv_header_stdc = yes; then
5474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5481 $EGREP "memchr" >/dev
/null
2>&1; then :
5484 ac_cv_header_stdc
=no
5490 if test $ac_cv_header_stdc = yes; then
5491 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5498 $EGREP "free" >/dev
/null
2>&1; then :
5501 ac_cv_header_stdc
=no
5507 if test $ac_cv_header_stdc = yes; then
5508 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5509 if test "$cross_compiling" = yes; then :
5512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5516 #if ((' ' & 0x0FF) == 0x020)
5517 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5518 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5520 # define ISLOWER(c) \
5521 (('a' <= (c) && (c) <= 'i') \
5522 || ('j' <= (c) && (c) <= 'r') \
5523 || ('s' <= (c) && (c) <= 'z'))
5524 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5527 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5532 for (i = 0; i < 256; i++)
5533 if (XOR (islower (i), ISLOWER (i))
5534 || toupper (i) != TOUPPER (i))
5539 if ac_fn_c_try_run
"$LINENO"; then :
5542 ac_cv_header_stdc
=no
5544 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5545 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5551 $as_echo "$ac_cv_header_stdc" >&6; }
5552 if test $ac_cv_header_stdc = yes; then
5554 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5558 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5559 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5560 inttypes.h stdint.h unistd.h
5562 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5563 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5565 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5566 cat >>confdefs.h
<<_ACEOF
5567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5575 for ac_header
in fcntl.h stdlib.h string.h sys
/file.h sys
/mount.h sys
/statvfs.h syslog.h unistd.h
5577 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5578 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5579 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5580 cat >>confdefs.h
<<_ACEOF
5581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5589 # Checks for typedefs, structures, and compiler characteristics.
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5591 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5592 if ${ac_cv_c_const+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5603 /* Ultrix mips cc rejects this sort of thing. */
5604 typedef int charset[2];
5605 const charset cs = { 0, 0 };
5606 /* SunOS 4.1.1 cc rejects this. */
5607 char const *const *pcpcc;
5609 /* NEC SVR4.0.2 mips cc rejects this. */
5610 struct point {int x, y;};
5611 static struct point const zero = {0,0};
5612 /* AIX XL C 1.02.0.0 rejects this.
5613 It does not let you subtract one const X* pointer from another in
5614 an arm of an if-expression whose if-part is not a constant
5616 const char *g = "string";
5617 pcpcc = &g + (g ? g-g : 0);
5618 /* HPUX 7.0 cc rejects these. */
5620 ppc = (char**) pcpcc;
5621 pcpcc = (char const *const *) ppc;
5622 { /* SCO 3.2v4 cc rejects this sort of thing. */
5625 char const *s = 0 ? (char *) 0 : (char const *) 0;
5630 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5632 const int *foo = &x[0];
5635 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5636 typedef const int *iptr;
5640 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5641 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5642 struct s { int j; const int *ap[3]; } bx;
5643 struct s *b = &bx; b->j = 5;
5645 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5649 return !cs[0] && !zero.x;
5656 if ac_fn_c_try_compile
"$LINENO"; then :
5661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5664 $as_echo "$ac_cv_c_const" >&6; }
5665 if test $ac_cv_c_const = no
; then
5667 $as_echo "#define const /**/" >>confdefs.h
5671 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5672 if test "x$ac_cv_type_mode_t" = xyes
; then :
5676 cat >>confdefs.h
<<_ACEOF
5682 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5683 if test "x$ac_cv_type_off_t" = xyes
; then :
5687 cat >>confdefs.h
<<_ACEOF
5688 #define off_t long int
5693 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5694 if test "x$ac_cv_type_size_t" = xyes
; then :
5698 cat >>confdefs.h
<<_ACEOF
5699 #define size_t unsigned int
5704 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5705 if test "x$ac_cv_type_ssize_t" = xyes
; then :
5709 cat >>confdefs.h
<<_ACEOF
5715 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
5716 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5718 cat >>confdefs.h
<<_ACEOF
5719 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5723 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
5726 case " $LIBOBJS " in
5727 *" fileblocks.$ac_objext "* ) ;;
5728 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5736 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5737 if ${ac_cv_header_time+:} false
; then :
5738 $as_echo_n "(cached) " >&6
5740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5742 #include <sys/types.h>
5743 #include <sys/time.h>
5749 if ((struct tm *) 0)
5755 if ac_fn_c_try_compile
"$LINENO"; then :
5756 ac_cv_header_time
=yes
5758 ac_cv_header_time
=no
5760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5763 $as_echo "$ac_cv_header_time" >&6; }
5764 if test $ac_cv_header_time = yes; then
5766 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5770 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5771 case $ac_cv_c_uint32_t in #(
5775 $as_echo "#define _UINT32_T 1" >>confdefs.h
5778 cat >>confdefs.h
<<_ACEOF
5779 #define uint32_t $ac_cv_c_uint32_t
5784 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5785 case $ac_cv_c_uint64_t in #(
5789 $as_echo "#define _UINT64_T 1" >>confdefs.h
5792 cat >>confdefs.h
<<_ACEOF
5793 #define uint64_t $ac_cv_c_uint64_t
5799 # Checks for library functions.
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5801 $as_echo_n "checking whether closedir returns void... " >&6; }
5802 if ${ac_cv_func_closedir_void+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 if test "$cross_compiling" = yes; then :
5806 ac_cv_func_closedir_void
=yes
5808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5810 $ac_includes_default
5811 #include <$ac_header_dirent>
5819 return closedir (opendir (".")) != 0;
5824 if ac_fn_c_try_run
"$LINENO"; then :
5825 ac_cv_func_closedir_void
=no
5827 ac_cv_func_closedir_void
=yes
5829 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5830 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5835 $as_echo "$ac_cv_func_closedir_void" >&6; }
5836 if test $ac_cv_func_closedir_void = yes; then
5838 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5843 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5844 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5847 rm -f conftest.sym conftest.
file
5849 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5850 if test "$cross_compiling" = yes; then :
5851 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5855 $ac_includes_default
5860 /* Linux will dereference the symlink and fail, as required by POSIX.
5861 That is better in the sense that it means we will not
5862 have to compile and use the lstat wrapper. */
5863 return lstat ("conftest.sym/", &sbuf) == 0;
5868 if ac_fn_c_try_run
"$LINENO"; then :
5869 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5871 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5873 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5874 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5878 # If the `ln -s' command failed, then we probably don't even
5879 # have an lstat function.
5880 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5882 rm -f conftest.sym conftest.
file
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5886 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5888 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5890 cat >>confdefs.h
<<_ACEOF
5891 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5895 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
5896 case " $LIBOBJS " in
5897 *" lstat.$ac_objext "* ) ;;
5898 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
5905 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
5906 if ${ac_cv_func_lstat_empty_string_bug+:} false
; then :
5907 $as_echo_n "(cached) " >&6
5909 if test "$cross_compiling" = yes; then :
5910 ac_cv_func_lstat_empty_string_bug
=yes
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 $ac_includes_default
5919 return lstat ("", &sbuf) == 0;
5924 if ac_fn_c_try_run
"$LINENO"; then :
5925 ac_cv_func_lstat_empty_string_bug
=no
5927 ac_cv_func_lstat_empty_string_bug
=yes
5929 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5930 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
5935 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
5936 if test $ac_cv_func_lstat_empty_string_bug = yes; then
5937 case " $LIBOBJS " in
5938 *" lstat.$ac_objext "* ) ;;
5939 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5944 cat >>confdefs.h
<<_ACEOF
5945 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5951 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5952 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5953 $as_echo_n "(cached) " >&6
5955 rm -f conftest.sym conftest.
file
5957 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5958 if test "$cross_compiling" = yes; then :
5959 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5963 $ac_includes_default
5968 /* Linux will dereference the symlink and fail, as required by POSIX.
5969 That is better in the sense that it means we will not
5970 have to compile and use the lstat wrapper. */
5971 return lstat ("conftest.sym/", &sbuf) == 0;
5976 if ac_fn_c_try_run
"$LINENO"; then :
5977 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5979 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5981 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5982 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5986 # If the `ln -s' command failed, then we probably don't even
5987 # have an lstat function.
5988 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5990 rm -f conftest.sym conftest.
file
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5994 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5996 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5998 cat >>confdefs.h
<<_ACEOF
5999 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6003 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
6004 case " $LIBOBJS " in
6005 *" lstat.$ac_objext "* ) ;;
6006 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
6013 $as_echo_n "checking for working memcmp... " >&6; }
6014 if ${ac_cv_func_memcmp_working+:} false
; then :
6015 $as_echo_n "(cached) " >&6
6017 if test "$cross_compiling" = yes; then :
6018 ac_cv_func_memcmp_working
=no
6020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6022 $ac_includes_default
6027 /* Some versions of memcmp are not 8-bit clean. */
6028 char c0 = '\100', c1 = '\200', c2 = '\201';
6029 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6032 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6033 or more and with at least one buffer not starting on a 4-byte boundary.
6034 William Lewis provided this test program. */
6039 for (i = 0; i < 4; i++)
6043 strcpy (a, "--------01111111");
6044 strcpy (b, "--------10000000");
6045 if (memcmp (a, b, 16) >= 0)
6055 if ac_fn_c_try_run
"$LINENO"; then :
6056 ac_cv_func_memcmp_working
=yes
6058 ac_cv_func_memcmp_working
=no
6060 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6061 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
6066 $as_echo "$ac_cv_func_memcmp_working" >&6; }
6067 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
6068 *" memcmp.$ac_objext "* ) ;;
6069 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
6074 for ac_header
in sys
/select.h sys
/socket.h
6076 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6077 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6078 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6079 cat >>confdefs.h
<<_ACEOF
6080 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
6088 $as_echo_n "checking types of arguments for select... " >&6; }
6089 if ${ac_cv_func_select_args+:} false
; then :
6090 $as_echo_n "(cached) " >&6
6092 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
6093 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6094 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
6095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6097 $ac_includes_default
6098 #ifdef HAVE_SYS_SELECT_H
6099 # include <sys/select.h>
6101 #ifdef HAVE_SYS_SOCKET_H
6102 # include <sys/socket.h>
6108 extern int select ($ac_arg1,
6109 $ac_arg234, $ac_arg234, $ac_arg234,
6115 if ac_fn_c_try_compile
"$LINENO"; then :
6116 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 # Provide a safe default value.
6123 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
6127 $as_echo "$ac_cv_func_select_args" >&6; }
6128 ac_save_IFS
=$IFS; IFS
=','
6129 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6133 cat >>confdefs.h
<<_ACEOF
6134 #define SELECT_TYPE_ARG1 $1
6138 cat >>confdefs.h
<<_ACEOF
6139 #define SELECT_TYPE_ARG234 ($2)
6143 cat >>confdefs.h
<<_ACEOF
6144 #define SELECT_TYPE_ARG5 ($3)
6149 for ac_func
in memset mkdir
rmdir select strdup strerror
6151 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6152 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6153 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6154 cat >>confdefs.h
<<_ACEOF
6155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6162 ac_config_files
="$ac_config_files Makefile src/Makefile PVE/Makefile"
6164 cat >confcache
<<\_ACEOF
6165 # This file is a shell script that caches the results of configure
6166 # tests run on this system so they can be shared between configure
6167 # scripts and configure runs, see configure's option --config-cache.
6168 # It is not useful on other systems. If it contains results you don't
6169 # want to keep, you may remove or edit it.
6171 # config.status only pays attention to the cache file if you give it
6172 # the --recheck option to rerun configure.
6174 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6175 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6180 # The following way of writing the cache mishandles newlines in values,
6181 # but we know of no workaround that is simple, portable, and efficient.
6182 # So, we kill variables containing newlines.
6183 # Ultrix sh set writes to stderr and can't be redirected directly,
6184 # and sets the high bit in the cache file unless we assign to the vars.
6186 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6187 eval ac_val
=\$
$ac_var
6191 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6195 _ | IFS | as_nl
) ;; #(
6196 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6197 *) { eval $ac_var=; unset $ac_var;} ;;
6203 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6204 *${as_nl}ac_space
=\
*)
6205 # `set' does not quote correctly, so add quotes: double-quote
6206 # substitution turns \\\\ into \\, and sed turns \\ into \.
6209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6212 # `set' quotes correctly as required by POSIX, so do not add quotes.
6213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6226 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6227 if test -w "$cache_file"; then
6228 if test "x$cache_file" != "x/dev/null"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6230 $as_echo "$as_me: updating cache $cache_file" >&6;}
6231 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6232 cat confcache
>"$cache_file"
6234 case $cache_file in #(
6236 mv -f confcache
"$cache_file"$$
&&
6237 mv -f "$cache_file"$$
"$cache_file" ;; #(
6239 mv -f confcache
"$cache_file" ;;
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6245 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6250 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6251 # Let make expand exec_prefix.
6252 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6254 DEFS
=-DHAVE_CONFIG_H
6259 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6260 # 1. Remove the extension, and $U if already installed.
6261 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6262 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6263 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6264 # will be set to the directory where LIBOBJS objects are built.
6265 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6266 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6270 LTLIBOBJS
=$ac_ltlibobjs
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6274 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6275 if test -n "$am_sleep_pid"; then
6276 # Hide warnings about reused PIDs.
6277 wait $am_sleep_pid 2>/dev
/null
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6280 $as_echo "done" >&6; }
6281 if test -n "$EXEEXT"; then
6283 am__EXEEXT_FALSE
='#'
6289 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6290 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6293 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6294 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6297 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6298 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6302 : "${CONFIG_STATUS=./config.status}"
6304 ac_clean_files_save
=$ac_clean_files
6305 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6311 # Generated by $as_me.
6312 # Run this file to recreate the current configuration.
6313 # Compiler output produced by configure, useful for debugging
6314 # configure, is in config.log if it exists.
6320 SHELL=\${CONFIG_SHELL-$SHELL}
6323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6324 ## -------------------- ##
6325 ## M4sh Initialization. ##
6326 ## -------------------- ##
6328 # Be more Bourne compatible
6329 DUALCASE
=1; export DUALCASE
# for MKS sh
6330 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6334 # is contrary to our usage. Disable this feature.
6335 alias -g '${1+"$@"}'='"$@"'
6336 setopt NO_GLOB_SUBST
6338 case `(set -o) 2>/dev/null` in #(
6350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6351 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6354 # Prefer a ksh shell builtin over an external printf program on Solaris,
6355 # but without wasting forks for bash or zsh.
6356 if test -z "$BASH_VERSION$ZSH_VERSION" \
6357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6358 as_echo='print
-r --'
6359 as_echo_n='print
-rn --'
6360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6361 as_echo='printf %s
\n'
6362 as_echo_n='printf %s
'
6364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6365 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6366 as_echo_n='/usr
/ucb
/echo -n'
6368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6369 as_echo_n_body='eval
6373 expr "X$arg" : "X\\(.*\\)$as_nl";
6374 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6376 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6378 export as_echo_n_body
6379 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6382 as_echo='sh
-c $as_echo_body as_echo
'
6385 # The user is always right.
6386 if test "${PATH_SEPARATOR+set}" != set; then
6388 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6389 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6396 # We need space, tab and new line, in precisely that order. Quoting is
6397 # there to prevent editors from complaining about space-tab.
6398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6399 # splitting by setting IFS to empty value.)
6402 # Find who we are. Look in the path if we contain no directory separator.
6405 *[\\/]* ) as_myself=$0 ;;
6406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir=.
6411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6417 # We did not find ourselves, most probably we were run as `sh COMMAND'
6418 # in which case we are not to be found in the path.
6419 if test "x$as_myself" = x
; then
6422 if test ! -f "$as_myself"; then
6423 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6427 # Unset variables that we do not need and which cause bugs (e.g. in
6428 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6429 # suppresses any "Segmentation fault" message there. '((' could
6430 # trigger a bug in pdksh 5.2.14.
6431 for as_var
in BASH_ENV ENV MAIL MAILPATH
6432 do eval test x\
${$as_var+set} = xset \
6433 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6446 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6449 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6450 # ----------------------------------------
6451 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6452 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6453 # script with STATUS, using 1 if that was 0.
6456 as_status
=$1; test $as_status -eq 0 && as_status
=1
6458 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6459 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6461 $as_echo "$as_me: error: $2" >&2
6462 as_fn_exit
$as_status
6466 # as_fn_set_status STATUS
6467 # -----------------------
6468 # Set $? to STATUS, without forking.
6472 } # as_fn_set_status
6476 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6486 # Portably unset VAR.
6489 { eval $1=; unset $1;}
6491 as_unset
=as_fn_unset
6492 # as_fn_append VAR VALUE
6493 # ----------------------
6494 # Append the text in VALUE to the end of the definition contained in VAR. Take
6495 # advantage of any shell optimizations that allow amortized linear growth over
6496 # repeated appends, instead of the typical quadratic growth present in naive
6498 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6499 eval 'as_fn_append ()
6510 # as_fn_arith ARG...
6511 # ------------------
6512 # Perform arithmetic evaluation on the ARGs, and store the result in the
6513 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6514 # must be portable across $(()) and expr.
6515 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6516 eval 'as_fn_arith ()
6523 as_val
=`expr "$@" || test $? -eq 1`
6528 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6529 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6535 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6536 as_basename
=basename
6541 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6547 as_me
=`$as_basename -- "$0" ||
6548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6549 X"$0" : 'X\(//\)$' \| \
6550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6552 sed '/^.*\/\([^/][^/]*\)\/*$/{
6566 # Avoid depending upon Character Ranges.
6567 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6568 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6569 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6570 as_cr_digits
='0123456789'
6571 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6573 ECHO_C
= ECHO_N
= ECHO_T
=
6574 case `echo -n x` in #(((((
6576 case `echo 'xy\c'` in
6577 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6579 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6586 rm -f conf$$ conf$$.exe conf$$.
file
6587 if test -d conf$$.dir
; then
6588 rm -f conf$$.dir
/conf$$.
file
6591 mkdir conf$$.dir
2>/dev
/null
6593 if (echo >conf$$.
file) 2>/dev
/null
; then
6594 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6596 # ... but there are two gotchas:
6597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6599 # In both cases, we have to default to `cp -pR'.
6600 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6602 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6610 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6611 rmdir conf$$.dir
2>/dev
/null
6616 # Create "$as_dir" as a directory, including parents if necessary.
6621 -*) as_dir
=.
/$as_dir;;
6623 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6627 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6628 *) as_qdir
=$as_dir;;
6630 as_dirs
="'$as_qdir' $as_dirs"
6631 as_dir
=`$as_dirname -- "$as_dir" ||
6632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6633 X"$as_dir" : 'X\(//\)[^/]' \| \
6634 X"$as_dir" : 'X\(//\)$' \| \
6635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6636 $as_echo X"$as_dir" |
6637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6654 test -d "$as_dir" && break
6656 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6657 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6661 if mkdir
-p .
2>/dev
/null
; then
6662 as_mkdir_p
='mkdir -p "$as_dir"'
6664 test -d .
/-p && rmdir .
/-p
6669 # as_fn_executable_p FILE
6670 # -----------------------
6671 # Test if FILE is an executable regular file.
6672 as_fn_executable_p
()
6674 test -f "$1" && test -x "$1"
6675 } # as_fn_executable_p
6677 as_executable_p
=as_fn_executable_p
6679 # Sed expression to map a string onto a valid CPP name.
6680 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6682 # Sed expression to map a string onto a valid variable name.
6683 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6687 ## ----------------------------------- ##
6688 ## Main body of $CONFIG_STATUS script. ##
6689 ## ----------------------------------- ##
6691 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6694 # Save the log message, to keep $0 and so on meaningful, and to
6695 # report actual input values of CONFIG_FILES etc. instead of their
6696 # values after options handling.
6698 This file was extended by pve-cluster $as_me 1.0, which was
6699 generated by GNU Autoconf 2.69. Invocation command line was
6701 CONFIG_FILES = $CONFIG_FILES
6702 CONFIG_HEADERS = $CONFIG_HEADERS
6703 CONFIG_LINKS = $CONFIG_LINKS
6704 CONFIG_COMMANDS = $CONFIG_COMMANDS
6707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6712 case $ac_config_files in *"
6713 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6716 case $ac_config_headers in *"
6717 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6722 # Files that config.status was made for.
6723 config_files="$ac_config_files"
6724 config_headers="$ac_config_headers"
6725 config_commands="$ac_config_commands"
6729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6731 \`$as_me' instantiates files and other configuration actions
6732 from templates according to the current configuration. Unless the files
6733 and actions are specified as TAGs, all are instantiated by default.
6735 Usage: $0 [OPTION]... [TAG]...
6737 -h, --help print this help, then exit
6738 -V, --version print version number and configuration settings, then exit
6739 --config print configuration, then exit
6740 -q, --quiet, --silent
6741 do not print progress messages
6742 -d, --debug don't remove temporary files
6743 --recheck update $as_me by reconfiguring in the same conditions
6744 --file=FILE[:TEMPLATE]
6745 instantiate the configuration file FILE
6746 --header=FILE[:TEMPLATE]
6747 instantiate the configuration header FILE
6749 Configuration files:
6752 Configuration headers:
6755 Configuration commands:
6758 Report bugs to <support@proxmox.com>."
6761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6762 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6764 pve-cluster config.status 1.0
6765 configured by $0, generated by GNU Autoconf 2.69,
6766 with options \\"\$ac_cs_config\\"
6768 Copyright (C) 2012 Free Software Foundation, Inc.
6769 This config.status script is free software; the Free Software Foundation
6770 gives unlimited permission to copy, distribute and modify it."
6777 test -n "\$AWK" || AWK=awk
6780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6781 # The default lists apply if the user does not specify any file.
6787 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6788 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6792 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6804 # Handling of the options.
6805 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6807 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6808 $as_echo "$ac_cs_version"; exit ;;
6809 --config |
--confi |
--conf |
--con |
--co |
--c )
6810 $as_echo "$ac_cs_config"; exit ;;
6811 --debug |
--debu |
--deb |
--de |
--d |
-d )
6813 --file |
--fil |
--fi |
--f )
6816 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6817 '') as_fn_error $?
"missing file argument" ;;
6819 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6820 ac_need_defaults
=false
;;
6821 --header |
--heade |
--head |
--hea )
6824 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6826 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6827 ac_need_defaults
=false
;;
6829 # Conflict between --help and --header
6830 as_fn_error $?
"ambiguous option: \`$1'
6831 Try \`$0 --help' for more information.";;
6832 --help |
--hel |
-h )
6833 $as_echo "$ac_cs_usage"; exit ;;
6834 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6835 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6839 -*) as_fn_error $?
"unrecognized option: \`$1'
6840 Try \`$0 --help' for more information." ;;
6842 *) as_fn_append ac_config_targets
" $1"
6843 ac_need_defaults
=false
;;
6849 ac_configure_extra_args
=
6851 if $ac_cs_silent; then
6853 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6858 if \$ac_cs_recheck; then
6859 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6861 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6862 CONFIG_SHELL='$SHELL'
6868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6872 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6873 ## Running $as_me. ##
6879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6883 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6889 # Handling of arguments.
6890 for ac_config_target
in $ac_config_targets
6892 case $ac_config_target in
6893 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6894 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6895 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6896 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6897 "PVE/Makefile") CONFIG_FILES
="$CONFIG_FILES PVE/Makefile" ;;
6899 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6904 # If the user did not use the arguments to specify the items to instantiate,
6905 # then the envvar interface is used. Set only those that are not.
6906 # We use the long form for the default assignment because of an extremely
6907 # bizarre bug on SunOS 4.1.3.
6908 if $ac_need_defaults; then
6909 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6910 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6911 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6914 # Have a temporary directory for convenience. Make it in the build tree
6915 # simply because there is no reason against having it here, and in addition,
6916 # creating and moving files from /tmp can sometimes cause problems.
6917 # Hook for its removal unless debugging.
6918 # Note that there is a small window in which the directory will not be cleaned:
6919 # after its creation but before its name has been assigned to `$tmp'.
6923 trap 'exit_status=$?
6925 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6927 trap 'as_fn_exit 1' 1 2 13 15
6929 # Create a (secure) tmp directory for tmp files.
6932 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6936 tmp
=.
/conf$$
-$RANDOM
6937 (umask 077 && mkdir
"$tmp")
6938 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6941 # Set up the scripts for CONFIG_FILES section.
6942 # No need to generate them if there are no CONFIG_FILES.
6943 # This happens for instance with `./config.status config.h'.
6944 if test -n "$CONFIG_FILES"; then
6947 ac_cr
=`echo X | tr X '\015'`
6948 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6949 # But we know of no other shell where ac_cr would be empty at this
6950 # point, so we can use a bashism as a fallback.
6951 if test "x$ac_cr" = x
; then
6952 eval ac_cr
=\$
\'\\r
\'
6954 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6955 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6961 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6966 echo "cat >conf$$subs.awk <<_ACEOF" &&
6967 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6970 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6971 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6973 for ac_last_try in false false false false false :; do
6974 . ./conf$$subs.sh ||
6975 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6977 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6978 if test $ac_delim_n = $ac_delim_num; then
6980 elif $ac_last_try; then
6981 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6983 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6989 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6993 s/^/S["/; s
/!.
*/"]=/
7003 s/\(.\{148\}\)..*/\1/
7005 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7010 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7017 s/\(.\{148\}\)..*/\1/
7019 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7023 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7028 ' <conf$$subs.awk | sed '
7033 ' >>$CONFIG_STATUS || ac_write_fail=1
7034 rm -f conf$$subs.awk
7035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7037 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7038 for (key in S) S_is_set[key] = 1
7044 nfields = split(line, field, "@
")
7046 len = length(field[1])
7047 for (i = 2; i < nfields; i++) {
7049 keylen = length(key)
7050 if (S_is_set[key]) {
7052 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7053 len += length(value) + length(field[++i])
7064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7065 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7066 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7069 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7070 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7073 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7074 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7075 # trailing colons and then remove the whole line if VPATH becomes empty
7076 # (actually we leave an empty line to preserve line numbers).
7077 if test "x
$srcdir" = x.; then
7078 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7097 fi # test -n "$CONFIG_FILES"
7099 # Set up the scripts for CONFIG_HEADERS section.
7100 # No need to generate them if there are no CONFIG_HEADERS.
7101 # This happens for instance with `./config.status Makefile'.
7102 if test -n "$CONFIG_HEADERS"; then
7103 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7107 # Transform confdefs.h into an awk script `defines.awk', embedded as
7108 # here-document in config.status, that substitutes the proper values into
7109 # config.h.in to produce config.h.
7111 # Create a delimiter string that does not exist in confdefs.h, to ease
7112 # handling of long lines.
7114 for ac_last_try in false false :; do
7115 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7116 if test -z "$ac_tt"; then
7118 elif $ac_last_try; then
7119 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7121 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7125 # For the awk script, D is an array of macro values keyed by name,
7126 # likewise P contains macro parameters if any. Preserve backslash
7127 # newline sequences.
7129 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7131 s/.\{148\}/&'"$ac_delim"'/g
7134 s/^[ ]*#[ ]*define[ ][ ]*/ /
7141 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7143 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7147 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7148 D["\
1"]=" \
3\\\\\\n
"\\/p
7150 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7155 s/.\{148\}/&'"$ac_delim"'/g
7160 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7163 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7165 ' <confdefs.h | sed '
7166 s/'"$ac_delim"'/"\\\
7167 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7170 for (key in D) D_is_set[key] = 1
7173 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7175 split(line, arg, " ")
7176 if (arg[1] == "#") {
7180 defundef
= substr
(arg
[1], 2)
7183 split(mac1
, mac2
, "(") #)
7185 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7186 if (D_is_set
[macro
]) {
7187 # Preserve the white space surrounding the "#".
7188 print prefix
"define", macro P
[macro
] D
[macro
]
7191 # Replace #undef with comments. This is necessary, for example,
7192 # in the case of _POSIX_SOURCE, which is predefined and required
7193 # on some systems where configure will not decide to define it.
7194 if (defundef
== "undef") {
7195 print
"/*", prefix defundef
, macro
, "*/"
7203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7204 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7205 fi # test -n "$CONFIG_HEADERS"
7208 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7213 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7215 case $ac_mode$ac_tag in
7217 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7218 :[FH
]-) ac_tag
=-:-;;
7219 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7236 -) ac_f
="$ac_tmp/stdin";;
7237 *) # Look for the file first in the build tree, then in the source tree
7238 # (if the path is not absolute). The absolute path cannot be DOS-style,
7239 # because $ac_f cannot contain `:'.
7243 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7245 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7247 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7248 as_fn_append ac_file_inputs
" '$ac_f'"
7251 # Let's still pretend it is `configure' which instantiates (i.e., don't
7252 # use $as_me), people would be surprised to read:
7253 # /* config.h. Generated by config.status. */
7254 configure_input
='Generated from '`
7255 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7257 if test x
"$ac_file" != x-
; then
7258 configure_input
="$ac_file. $configure_input"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7260 $as_echo "$as_me: creating $ac_file" >&6;}
7262 # Neutralize special characters interpreted by sed in replacement strings.
7263 case $configure_input in #(
7264 *\
&* |
*\|
* |
*\\* )
7265 ac_sed_conf_input
=`$as_echo "$configure_input" |
7266 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7267 *) ac_sed_conf_input
=$configure_input;;
7271 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7272 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7277 ac_dir
=`$as_dirname -- "$ac_file" ||
7278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7279 X"$ac_file" : 'X\(//\)[^/]' \| \
7280 X"$ac_file" : 'X\(//\)$' \| \
7281 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7282 $as_echo X"$ac_file" |
7283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7300 as_dir
="$ac_dir"; as_fn_mkdir_p
7304 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7306 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7307 # A ".." for each directory in $ac_dir_suffix.
7308 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7309 case $ac_top_builddir_sub in
7310 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7311 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7314 ac_abs_top_builddir
=$ac_pwd
7315 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7316 # for backward compatibility:
7317 ac_top_builddir
=$ac_top_build_prefix
7320 .
) # We are building in place.
7322 ac_top_srcdir
=$ac_top_builddir_sub
7323 ac_abs_top_srcdir
=$ac_pwd ;;
7324 [\\/]* | ?
:[\\/]* ) # Absolute name.
7325 ac_srcdir
=$srcdir$ac_dir_suffix;
7326 ac_top_srcdir
=$srcdir
7327 ac_abs_top_srcdir
=$srcdir ;;
7329 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7330 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7331 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7333 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7343 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7344 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7348 [\\/$
]* | ?
:[\\/]* ) ;;
7349 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7354 # If the template does not know about datarootdir, expand it.
7355 # FIXME: This hack should be removed a few years after 2.60.
7356 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7367 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7368 *datarootdir
*) ac_datarootdir_seen
=yes;;
7369 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7371 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7374 ac_datarootdir_hack='
7375 s&@datadir@&$datadir&g
7376 s&@docdir@&$docdir&g
7377 s&@infodir@&$infodir&g
7378 s&@localedir@&$localedir&g
7379 s&@mandir@&$mandir&g
7380 s&\\\${datarootdir}&$datarootdir&g' ;;
7384 # Neutralize VPATH when `$srcdir' = `.'.
7385 # Shell code in configure.ac might set extrasub.
7386 # FIXME: do we really want to maintain this feature?
7387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7388 ac_sed_extra="$ac_vpsub
7391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7393 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7394 s|@configure_input@|
$ac_sed_conf_input|
;t t
7395 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7396 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7397 s
&@srcdir@
&$ac_srcdir&;t t
7398 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7399 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7400 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7401 s
&@builddir@
&$ac_builddir&;t t
7402 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7403 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7404 s
&@INSTALL@
&$ac_INSTALL&;t t
7405 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7406 $ac_datarootdir_hack
7408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7409 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7412 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7414 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7416 which seems to be undefined. Please make sure it is defined" >&5
7417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7418 which seems to be undefined. Please make sure it is defined" >&2;}
7420 rm -f "$ac_tmp/stdin"
7422 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7423 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7431 if test x"$ac_file" != x-; then
7433 $as_echo "/* $configure_input */" \
7434 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7435 } >"$ac_tmp/config.h" \
7436 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7437 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7439 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7442 mv "$ac_tmp/config.h" "$ac_file" \
7443 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7446 $as_echo "/* $configure_input */" \
7447 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7448 || as_fn_error $? "could not create -" "$LINENO" 5
7450 # Compute "$ac_file"'s index
in $config_headers.
7453 for _am_header
in $config_headers :; do
7455 $_am_arg |
$_am_arg:* )
7458 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7461 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7462 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7463 X"$_am_arg" : 'X\(//\)[^/]' \| \
7464 X"$_am_arg" : 'X\(//\)$' \| \
7465 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7466 $as_echo X"$_am_arg" |
7467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7483 s/.*/./; q'`/stamp-h
$_am_stamp_count
7486 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7487 $as_echo "$as_me: executing $ac_file commands" >&6;}
7492 case $ac_file$ac_mode in
7493 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7494 # Older Autoconf quotes --file arguments for eval, but not when files
7495 # are listed without --file. Let's play safe and only enable the eval
7496 # if we detect the quoting.
7497 case $CONFIG_FILES in
7498 *\'*) eval set x
"$CONFIG_FILES" ;;
7499 *) set x
$CONFIG_FILES ;;
7504 # Strip MF so we end up with the name of the file.
7505 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7506 # Check whether this is an Automake generated Makefile or not.
7507 # We used to match only the files named 'Makefile.in', but
7508 # some people rename them; so instead we look at the file content.
7509 # Grep'ing the first line is not enough: some people post-process
7510 # each Makefile.in and add a new line on top of each file to say so.
7511 # Grep'ing the whole file is not good either: AIX grep has a line
7512 # limit of 2048, but all sed's we know have understand at least 4000.
7513 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7514 dirpart
=`$as_dirname -- "$mf" ||
7515 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7516 X"$mf" : 'X\(//\)[^/]' \| \
7517 X"$mf" : 'X\(//\)$' \| \
7518 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7540 # Extract the definition of DEPDIR, am__include, and am__quote
7541 # from the Makefile without running 'make'.
7542 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7543 test -z "$DEPDIR" && continue
7544 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7545 test -z "$am__include" && continue
7546 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7547 # Find all dependency output files, they are included files with
7548 # $(DEPDIR) in their names. We invoke sed twice because it is the
7549 # simplest approach to changing $(DEPDIR) to its actual value in the
7551 for file in `sed -n "
7552 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7553 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7554 # Make sure the directory exists.
7555 test -f "$dirpart/$file" && continue
7556 fdir
=`$as_dirname -- "$file" ||
7557 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7558 X"$file" : 'X\(//\)[^/]' \| \
7559 X"$file" : 'X\(//\)$' \| \
7560 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7579 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7580 # echo "creating $dirpart/$file"
7581 echo '# dummy' > "$dirpart/$file"
7593 ac_clean_files
=$ac_clean_files_save
7595 test $ac_write_fail = 0 ||
7596 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7599 # configure is writing to config.log, and then calls config.status.
7600 # config.status does its own redirection, appending to config.log.
7601 # Unfortunately, on DOS this fails, as config.log is still kept open
7602 # by configure, so config.status won't be able to write to it; its
7603 # output is simply discarded. So we exec the FD to /dev/null,
7604 # effectively closing config.log, so it can be properly (re)opened and
7605 # appended to by config.status. When coming back to configure, we
7606 # need to make the FD available again.
7607 if test "$no_create" != yes; then
7609 ac_config_status_args
=
7610 test "$silent" = yes &&
7611 ac_config_status_args
="$ac_config_status_args --quiet"
7613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7616 # would make configure fail if this is the last instruction.
7617 $ac_cs_success || as_fn_exit
1
7619 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7621 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}