2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="lib/device/dev-cache.h"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_default_prefix
=/usr
596 ac_subst_vars
='LTLIBOBJS
610 UDEV_HAS_BUILTIN_BLKID
663 DEFAULT_DATA_ALIGNMENT
665 DEFAULT_BACKUP_SUBDIR
666 DEFAULT_ARCHIVE_SUBDIR
781 program_transform_name
794 enable_option_checking
802 with_default_name_mangling
820 with_cmirrord_pidfile
849 with_systemdsystemunitdir
851 with_dmeventd_pidfile
854 with_default_system_dir
855 with_default_archive_subdir
856 with_default_backup_subdir
857 with_default_cache_subdir
858 with_default_locking_dir
859 with_default_data_alignment
862 ac_precious_vars
='build_alias
900 # Initialize some variables set by options.
902 ac_init_version
=false
903 ac_unrecognized_opts
=
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1006 as_fn_error $?
"invalid feature name: $ac_useropt"
1007 ac_useropt_orig
=$ac_useropt
1008 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_
$ac_useropt"
1013 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep
=', ';;
1016 eval enable_
$ac_useropt=no
;;
1018 -docdir |
--docdir |
--docdi |
--doc |
--do)
1020 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1021 docdir
=$ac_optarg ;;
1023 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1025 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1026 dvidir
=$ac_optarg ;;
1028 -enable-* |
--enable-*)
1029 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1032 as_fn_error $?
"invalid feature name: $ac_useropt"
1033 ac_useropt_orig
=$ac_useropt
1034 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_
$ac_useropt"
1039 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep
=', ';;
1042 eval enable_
$ac_useropt=\
$ac_optarg ;;
1044 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1045 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1046 |
--exec |
--exe |
--ex)
1047 ac_prev
=exec_prefix
;;
1048 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1049 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1050 |
--exec=* |
--exe=* |
--ex=*)
1051 exec_prefix
=$ac_optarg ;;
1053 -gas |
--gas |
--ga |
--g)
1054 # Obsolete; use --with-gas.
1057 -help |
--help |
--hel |
--he |
-h)
1058 ac_init_help
=long
;;
1059 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1060 ac_init_help
=recursive
;;
1061 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1062 ac_init_help
=short
;;
1064 -host |
--host |
--hos |
--ho)
1065 ac_prev
=host_alias
;;
1066 -host=* |
--host=* |
--hos=* |
--ho=*)
1067 host_alias
=$ac_optarg ;;
1069 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1071 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1073 htmldir
=$ac_optarg ;;
1075 -includedir |
--includedir |
--includedi |
--included |
--include \
1076 |
--includ |
--inclu |
--incl |
--inc)
1077 ac_prev
=includedir
;;
1078 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1079 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1080 includedir
=$ac_optarg ;;
1082 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1084 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1085 infodir
=$ac_optarg ;;
1087 -libdir |
--libdir |
--libdi |
--libd)
1089 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1090 libdir
=$ac_optarg ;;
1092 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1093 |
--libexe |
--libex |
--libe)
1094 ac_prev
=libexecdir
;;
1095 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1096 |
--libexe=* |
--libex=* |
--libe=*)
1097 libexecdir
=$ac_optarg ;;
1099 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1100 ac_prev
=localedir
;;
1101 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1102 localedir
=$ac_optarg ;;
1104 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1105 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1106 ac_prev
=localstatedir
;;
1107 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1108 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1109 localstatedir
=$ac_optarg ;;
1111 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1113 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1114 mandir
=$ac_optarg ;;
1116 -nfp |
--nfp |
--nf)
1117 # Obsolete; use --without-fp.
1120 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1121 |
--no-cr |
--no-c |
-n)
1124 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1125 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1128 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1129 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1130 |
--oldin |
--oldi |
--old |
--ol |
--o)
1131 ac_prev
=oldincludedir
;;
1132 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1133 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1134 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1135 oldincludedir
=$ac_optarg ;;
1137 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1139 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1140 prefix
=$ac_optarg ;;
1142 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1143 |
--program-pre |
--program-pr |
--program-p)
1144 ac_prev
=program_prefix
;;
1145 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1146 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1147 program_prefix
=$ac_optarg ;;
1149 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1150 |
--program-suf |
--program-su |
--program-s)
1151 ac_prev
=program_suffix
;;
1152 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1153 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1154 program_suffix
=$ac_optarg ;;
1156 -program-transform-name |
--program-transform-name \
1157 |
--program-transform-nam |
--program-transform-na \
1158 |
--program-transform-n |
--program-transform- \
1159 |
--program-transform |
--program-transfor \
1160 |
--program-transfo |
--program-transf \
1161 |
--program-trans |
--program-tran \
1162 |
--progr-tra |
--program-tr |
--program-t)
1163 ac_prev
=program_transform_name
;;
1164 -program-transform-name=* |
--program-transform-name=* \
1165 |
--program-transform-nam=* |
--program-transform-na=* \
1166 |
--program-transform-n=* |
--program-transform-=* \
1167 |
--program-transform=* |
--program-transfor=* \
1168 |
--program-transfo=* |
--program-transf=* \
1169 |
--program-trans=* |
--program-tran=* \
1170 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1171 program_transform_name
=$ac_optarg ;;
1173 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1175 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1176 pdfdir
=$ac_optarg ;;
1178 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1180 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1184 |
-silent |
--silent |
--silen |
--sile |
--sil)
1187 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1189 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1191 sbindir
=$ac_optarg ;;
1193 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1194 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1195 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1197 ac_prev
=sharedstatedir
;;
1198 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1199 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1200 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1202 sharedstatedir
=$ac_optarg ;;
1204 -site |
--site |
--sit)
1206 -site=* |
--site=* |
--sit=*)
1209 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1211 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1212 srcdir
=$ac_optarg ;;
1214 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1215 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1216 ac_prev
=sysconfdir
;;
1217 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1218 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1219 sysconfdir
=$ac_optarg ;;
1221 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1222 ac_prev
=target_alias
;;
1223 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1224 target_alias
=$ac_optarg ;;
1226 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1229 -version |
--version |
--versio |
--versi |
--vers |
-V)
1230 ac_init_version
=: ;;
1233 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error $?
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=\
$ac_optarg ;;
1248 -without-* |
--without-*)
1249 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 as_fn_error $?
"invalid package name: $ac_useropt"
1253 ac_useropt_orig
=$ac_useropt
1254 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260 ac_unrecognized_sep
=', ';;
1262 eval with_
$ac_useropt=no
;;
1265 # Obsolete; use --with-x.
1268 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1269 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1270 ac_prev
=x_includes
;;
1271 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1272 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1273 x_includes
=$ac_optarg ;;
1275 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1276 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1277 ac_prev
=x_libraries
;;
1278 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1279 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1280 x_libraries
=$ac_optarg ;;
1282 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1287 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 case $ac_envvar in #(
1290 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1291 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1293 eval $ac_envvar=\
$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 if test -n "$ac_prev"; then
1308 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1309 as_fn_error $?
"missing argument to $ac_option"
1312 if test -n "$ac_unrecognized_opts"; then
1313 case $enable_option_checking in
1315 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 # Check all directory arguments for consistency.
1321 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val
=\$
$ac_var
1327 # Remove trailing slashes.
1330 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331 eval $ac_var=\
$ac_val;;
1333 # Be sure to have absolute directory names.
1335 [\\/$
]* | ?
:[\\/]* ) continue;;
1336 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1338 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1346 target
=$target_alias
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x
; then
1350 if test "x$build_alias" = x
; then
1351 cross_compiling
=maybe
1352 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1353 If a cross compiler is detected then cross compile mode will be used" >&2
1354 elif test "x$build_alias" != "x$host_alias"; then
1360 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1362 test "$silent" = yes && exec 6>/dev
/null
1365 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1366 ac_ls_di
=`ls -di .` &&
1367 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1368 as_fn_error $?
"working directory cannot be determined"
1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370 as_fn_error $?
"pwd does not report name of working directory"
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375 ac_srcdir_defaulted
=yes
1376 # Try the directory containing this script, then the parent directory.
1377 ac_confdir
=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$as_myself" : 'X\(//\)[^/]' \| \
1380 X"$as_myself" : 'X\(//\)$' \| \
1381 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1405 ac_srcdir_defaulted
=no
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1409 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1411 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1423 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1425 for ac_var
in $ac_precious_vars; do
1426 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1428 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1433 # Report the --help message.
1435 if test "$ac_init_help" = "long"; then
1436 # Omit some internal or obsolete options to make the list less imposing.
1437 # This message is too long to be a string in the A/UX 3.1 sh.
1439 \`configure' configures this package to adapt to many kinds of systems.
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE. See below for descriptions of some of the useful variables.
1446 Defaults for the options are specified in brackets.
1449 -h, --help display this help and exit
1450 --help=short display options specific to this package
1451 --help=recursive display the short help of all the included packages
1452 -V, --version display version information and exit
1453 -q, --quiet, --silent do not print \`checking ...' messages
1454 --cache-file=FILE cache test results in FILE [disabled]
1455 -C, --config-cache alias for \`--cache-file=config.cache'
1456 -n, --no-create do not create output files
1457 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1459 Installation directories:
1460 --prefix=PREFIX install architecture-independent files in PREFIX
1461 [$ac_default_prefix]
1462 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1470 For better control, use the options below.
1472 Fine tuning of the installation directories:
1473 --bindir=DIR user executables [EPREFIX/bin]
1474 --sbindir=DIR system admin executables [EPREFIX/sbin]
1475 --libexecdir=DIR program executables [EPREFIX/libexec]
1476 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1477 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1478 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1479 --libdir=DIR object code libraries [EPREFIX/lib]
1480 --includedir=DIR C header files [PREFIX/include]
1481 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1482 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1483 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1484 --infodir=DIR info documentation [DATAROOTDIR/info]
1485 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1486 --mandir=DIR man documentation [DATAROOTDIR/man]
1487 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1488 --htmldir=DIR html documentation [DOCDIR]
1489 --dvidir=DIR dvi documentation [DOCDIR]
1490 --pdfdir=DIR pdf documentation [DOCDIR]
1491 --psdir=DIR ps documentation [DOCDIR]
1497 --build=BUILD configure
for building on BUILD
[guessed
]
1498 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1499 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1503 if test -n "$ac_init_help"; then
1508 --disable-option-checking ignore unrecognized
--enable/--with options
1509 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1510 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1511 --enable-static_link use this to link the tools to their libraries
1512 statically
(default is dynamic linking
1513 --enable-lvm1_fallback use this to fall back and use LVM1 binaries
if
1514 device-mapper is missing from the kernel
1515 --disable-readline disable readline support
1516 --enable-realtime enable realtime
clock support
1517 --enable-ocf enable Open Cluster Framework
(OCF
) compliant
1519 --enable-cmirrord enable the cluster mirror log daemon
1520 --enable-debug enable debugging
1521 --enable-profiling gather gcov profiling data
1522 --enable-testing enable testing targets
in the makefile
1523 --enable-valgrind-pool enable valgrind awareness of pools
1524 --disable-devmapper disable LVM2 device-mapper interaction
1525 --enable-lvmetad enable the LVM Metadata Daemon
1526 --enable-udev_sync enable synchronisation with udev processing
1527 --enable-udev_rules install rule files needed
for udev synchronisation
1528 --enable-compat enable support
for old device-mapper versions
1529 --enable-units-compat enable output compatibility with old versions that
1530 that
do not use KiB-style unit suffixes
1531 --disable-driver disable calls to device-mapper
in the kernel
1532 --disable-o_direct disable O_DIRECT
1533 --enable-applib build application library
1534 --enable-cmdlib build shared
command library
1535 --enable-pkgconfig install pkgconfig support
1536 --enable-write_install install user writable files
1537 --disable-fsadm disable fsadm
1538 --enable-dmeventd enable the device-mapper event daemon
1539 --disable-selinux disable selinux support
1540 --enable-nls enable Native Language Support
1543 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1544 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1545 --with-user=USER
set the owner of installed files
[[USER
=]]
1546 --with-group=GROUP
set the group owner of installed files
[[GROUP
=]]
1547 --with-device-uid=UID
set the owner used
for new device nodes
[[UID
=0]]
1548 --with-device-gid=GID
set the group used
for new device nodes
[[GID
=0]]
1549 --with-device-mode=MODE
set the mode used
for new device nodes
[[MODE
=0600]]
1550 --with-device-nodes-on=ON
1551 create nodes on resume or create
[[ON
=resume
]]
1552 --with-default-name-mangling=MANGLING
1553 default name mangling
: auto
/none
/hex
1555 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1557 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1559 --with-cluster=TYPE cluster LVM locking support
: internal
/shared
/none
1561 --with-snapshots=TYPE snapshot support
: internal
/shared
/none
1563 --with-mirrors=TYPE mirror support
: internal
/shared
/none
1565 --with-raid=TYPE mirror support
: internal
/shared
/none
1567 --with-replicators=TYPE replicator support
: internal
/shared
/none
1569 --with-thin=TYPE thin provisioning support
: internal
/shared
/none
1571 --with-thin-check=PATH thin_check tool
: [[autodetect
]]
1572 --with-ocfdir=DIR
install OCF files
in DIR
1573 [[PREFIX
/lib
/ocf
/resource.d
/lvm2
]]
1574 --with-clvmd=TYPE build cluster LVM Daemon
1575 The following cluster manager combinations are valid
:
1576 * cman
(RHEL5 or equivalent
)
1577 * cman
,corosync
,openais
(or selection of them
)
1578 * singlenode
(localhost only
)
1580 * none
(disable build
)
1582 --with-clvmd-pidfile=PATH
1583 clvmd pidfile
[[/var
/run
/clvmd.pid
]]
1584 --with-cmirrord-pidfile=PATH
1585 cmirrord pidfile
[[/var
/run
/cmirrord.pid
]]
1586 --with-optimisation=OPT C optimisation flag
[[OPT
=-O2]]
1587 --with-localedir=DIR translation files
in DIR
[[PREFIX
/share
/locale
]]
1588 --with-confdir=DIR configuration files
in DIR
[[/etc
]]
1589 --with-staticdir=DIR static binaries
in DIR
[[EPREFIX
/sbin
]]
1590 --with-usrlibdir=DIR usrlib
in DIR
[[PREFIX
/lib
]]
1591 --with-usrsbindir=DIR usrsbin executables
in DIR
[[PREFIX
/sbin
]]
1592 --with-udev-prefix=UPREFIX
1593 install udev rule files
in UPREFIX
[[EPREFIX
]]
1594 --with-udevdir=DIR udev rules
in DIR
[[UPREFIX
/lib
/udev
/rules.d
]]
1595 --with-systemdsystemunitdir=DIR
1596 systemd service files
in DIR
1597 --with-tmpfilesdir=DIR
install configuration files
for management of
1598 volatile files and directories
in DIR
1599 [[SYSCONFDIR
/tmpfiles.d
]]
1600 --with-dmeventd-pidfile=PATH
1601 dmeventd pidfile
[[/var
/run
/dmeventd.pid
]]
1602 --with-dmeventd-path=PATH
1603 dmeventd path
[[EPREFIX
/sbin
/dmeventd
]]
1604 --with-default-run-dir=DIR Default run directory
[/var
/run
/lvm
]
1605 --with-default-system-dir=DIR
1606 default LVM system directory
[[/etc
/lvm
]]
1607 --with-default-archive-subdir=SUBDIR
1608 default metadata archive subdir
[[archive
]]
1609 --with-default-backup-subdir=SUBDIR
1610 default metadata backup subdir
[[backup
]]
1611 --with-default-cache-subdir=SUBDIR
1612 default metadata cache subdir
[[cache
]]
1613 --with-default-locking-dir=DIR
1614 default locking directory
[[/var
/lock
/lvm
]]
1615 --with-default-data-alignment=NUM
1616 set the default data alignment
in MiB
[[1]]
1617 --with-interface=IFACE choose kernel interface
(ioctl
) [[ioctl
]]
1619 Some influential environment variables
:
1620 CC C compiler
command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1623 nonstandard directory
<lib dir
>
1624 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1625 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1626 you have headers
in a nonstandard directory
<include dir
>
1628 PKG_CONFIG path to pkg-config utility
1630 directories to add to pkg-config
's search path
1632 path overriding pkg-config's built-in search path
1633 PKGCONFIGINIT_CFLAGS
1634 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1636 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1637 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1638 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1640 C compiler flags
for COROSYNC
, overriding pkg-config
1642 linker flags
for COROSYNC
, overriding pkg-config
1644 C compiler flags
for QUORUM
, overriding pkg-config
1645 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1647 C compiler flags
for SALCK
, overriding pkg-config
1648 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1650 C compiler flags
for CONFDB
, overriding pkg-config
1651 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1652 CMAP_CFLAGS C compiler flags
for CMAP
, overriding pkg-config
1653 CMAP_LIBS linker flags
for CMAP
, overriding pkg-config
1654 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1655 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1656 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1657 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1659 C compiler flags
for SACKPT
, overriding pkg-config
1660 SACKPT_LIBS linker flags
for SACKPT
, overriding pkg-config
1662 C compiler flags
for CUNIT
, overriding pkg-config
1663 CUNIT_LIBS linker flags
for CUNIT
, overriding pkg-config
1664 UDEV_CFLAGS C compiler flags
for UDEV
, overriding pkg-config
1665 UDEV_LIBS linker flags
for UDEV
, overriding pkg-config
1667 Use these variables to override the choices made by
`configure' or to help
1668 it to find libraries and programs with nonstandard names/locations.
1670 Report bugs to the package provider.
1675 if test "$ac_init_help" = "recursive"; then
1676 # If there are subdirs, report their specific --help.
1677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1678 test -d "$ac_dir" ||
1679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1686 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1687 # A ".." for each directory in $ac_dir_suffix.
1688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1689 case $ac_top_builddir_sub in
1690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1694 ac_abs_top_builddir=$ac_pwd
1695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1696 # for backward compatibility:
1697 ac_top_builddir=$ac_top_build_prefix
1700 .) # We are building in place.
1702 ac_top_srcdir=$ac_top_builddir_sub
1703 ac_abs_top_srcdir=$ac_pwd ;;
1704 [\\/]* | ?:[\\/]* ) # Absolute name.
1705 ac_srcdir=$srcdir$ac_dir_suffix;
1706 ac_top_srcdir=$srcdir
1707 ac_abs_top_srcdir=$srcdir ;;
1709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1710 ac_top_srcdir=$ac_top_build_prefix$srcdir
1711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1715 cd "$ac_dir" || { ac_status=$?; continue; }
1716 # Check for guested configure.
1717 if test -f "$ac_srcdir/configure.gnu"; then
1719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1720 elif test -f "$ac_srcdir/configure"; then
1722 $SHELL "$ac_srcdir/configure" --help=recursive
1724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1726 cd "$ac_pwd" || { ac_status=$?; break; }
1730 test -n "$ac_init_help" && exit $ac_status
1731 if $ac_init_version; then
1734 generated by GNU Autoconf 2.66
1736 Copyright (C) 2010 Free Software Foundation, Inc.
1737 This configure script is free software; the Free Software Foundation
1738 gives unlimited permission to copy, distribute and modify it.
1743 ## ------------------------ ##
1744 ## Autoconf initialization. ##
1745 ## ------------------------ ##
1747 # ac_fn_c_try_compile LINENO
1748 # --------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_c_try_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext
1754 if { { ac_try="$ac_compile"
1756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1757 *) ac_try_echo
=$ac_try;;
1759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1763 if test -s conftest.err
; then
1764 grep -v '^ *+' conftest.err
>conftest.er1
1765 cat conftest.er1
>&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.
$ac_objext; then :
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.
$ac_ext >&5
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 as_fn_set_status
$ac_retval
1783 } # ac_fn_c_try_compile
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev/null && {
1807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 as_fn_set_status $ac_retval
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1838 if test -s conftest.err
; then
1839 grep -v '^ *+' conftest.err
>conftest.er1
1840 cat conftest.er1
>&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest
$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 $as_test_x conftest
$ac_exeext
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1869 # -------------------------------------------------------
1870 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1871 # the include files in INCLUDES and setting the cache variable VAR
1873 ac_fn_c_check_header_mongrel
()
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 if eval "test \"\${$3+set}\"" = set; then :
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval "test \"\${$3+set}\"" = set; then :
1880 $as_echo_n "(cached) " >&6
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1886 # Is the header compilable?
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1888 $as_echo_n "checking $2 usability... " >&6; }
1889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1894 if ac_fn_c_try_compile
"$LINENO"; then :
1895 ac_header_compiler
=yes
1897 ac_header_compiler
=no
1899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1901 $as_echo "$ac_header_compiler" >&6; }
1903 # Is the header present?
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1905 $as_echo_n "checking $2 presence... " >&6; }
1906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1910 if ac_fn_c_try_cpp
"$LINENO"; then :
1911 ac_header_preproc
=yes
1913 ac_header_preproc
=no
1915 rm -f conftest.err conftest.
$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1917 $as_echo "$ac_header_preproc" >&6; }
1919 # So? What about this header?
1920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1923 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1929 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1931 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1933 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1935 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval "test \"\${$3+set}\"" = set; then :
1943 $as_echo_n "(cached) " >&6
1945 eval "$3=\$ac_header_compiler"
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1953 } # ac_fn_c_check_header_mongrel
1955 # ac_fn_c_try_run LINENO
1956 # ----------------------
1957 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1958 # that executables *can* be run.
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 if { { ac_try
="$ac_link"
1964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_link") 2>&5
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1973 { { case "(($ac_try" in
1974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1975 *) ac_try_echo
=$ac_try;;
1977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_try") 2>&5
1981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; }; }; then :
1985 $as_echo "$as_me: program exited with status $ac_status" >&5
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.
$ac_ext >&5
1989 ac_retval
=$ac_status
1991 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1993 as_fn_set_status
$ac_retval
1997 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists and can be compiled using the include files in
2000 # INCLUDES, setting the cache variable VAR accordingly.
2001 ac_fn_c_check_header_compile
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005 $as_echo_n "checking for $2... " >&6; }
2006 if eval "test \"\${$3+set}\"" = set; then :
2007 $as_echo_n "(cached) " >&6
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2026 } # ac_fn_c_check_header_compile
2028 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2029 # ----------------------------------------------------
2030 # Tries to find if the field MEMBER exists in type AGGR, after including
2031 # INCLUDES, setting cache variable VAR accordingly.
2032 ac_fn_c_check_member
()
2034 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2036 $as_echo_n "checking for $2.$3... " >&6; }
2037 if eval "test \"\${$4+set}\"" = set; then :
2038 $as_echo_n "(cached) " >&6
2040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2053 if ac_fn_c_try_compile
"$LINENO"; then :
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2063 if (sizeof ac_aggr.$3)
2069 if ac_fn_c_try_compile
"$LINENO"; then :
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2081 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2083 } # ac_fn_c_check_member
2085 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2086 # -------------------------------------------
2087 # Tests whether TYPE exists after having included INCLUDES, setting cache
2088 # variable VAR accordingly.
2089 ac_fn_c_check_type
()
2091 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if eval "test \"\${$3+set}\"" = set; then :
2095 $as_echo_n "(cached) " >&6
2098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2110 if ac_fn_c_try_compile
"$LINENO"; then :
2111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2123 if ac_fn_c_try_compile
"$LINENO"; then :
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2137 } # ac_fn_c_check_type
2139 # ac_fn_c_find_intX_t LINENO BITS VAR
2140 # -----------------------------------
2141 # Finds a signed integer type with width BITS, setting cache variable VAR
2143 ac_fn_c_find_intX_t
()
2145 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2147 $as_echo_n "checking for int$2_t... " >&6; }
2148 if eval "test \"\${$3+set}\"" = set; then :
2149 $as_echo_n "(cached) " >&6
2152 # Order is important - never check a type that is potentially smaller
2153 # than half of the expected target width.
2154 for ac_type
in int
$2_t 'int' 'long int' \
2155 'long long int' 'short int' 'signed char'; do
2156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2158 $ac_includes_default
2159 enum { N = $2 / 2 - 1 };
2163 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2170 if ac_fn_c_try_compile
"$LINENO"; then :
2171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2173 $ac_includes_default
2174 enum { N = $2 / 2 - 1 };
2178 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2179 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2186 if ac_fn_c_try_compile
"$LINENO"; then :
2193 eval "$3=\$ac_type" ;;
2196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2199 if eval test \"x\$
"$3"\" = x
"no"; then :
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2208 $as_echo "$ac_res" >&6; }
2209 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2211 } # ac_fn_c_find_intX_t
2213 # ac_fn_c_find_uintX_t LINENO BITS VAR
2214 # ------------------------------------
2215 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2217 ac_fn_c_find_uintX_t
()
2219 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2221 $as_echo_n "checking for uint$2_t... " >&6; }
2222 if eval "test \"\${$3+set}\"" = set; then :
2223 $as_echo_n "(cached) " >&6
2226 # Order is important - never check a type that is potentially smaller
2227 # than half of the expected target width.
2228 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
2229 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2232 $ac_includes_default
2236 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2243 if ac_fn_c_try_compile
"$LINENO"; then :
2248 eval "$3=\$ac_type" ;;
2251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2252 if eval test \"x\$
"$3"\" = x
"no"; then :
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2261 $as_echo "$ac_res" >&6; }
2262 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2264 } # ac_fn_c_find_uintX_t
2266 # ac_fn_c_check_func LINENO FUNC VAR
2267 # ----------------------------------
2268 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2269 ac_fn_c_check_func
()
2271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval "test \"\${$3+set}\"" = set; then :
2275 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2279 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2281 #define $2 innocuous_$2
2283 /* System header to define __stub macros and hopefully few prototypes,
2284 which can conflict with char $2 (); below.
2285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2286 <limits.h> exists even on freestanding compilers. */
2289 # include <limits.h>
2291 # include <assert.h>
2296 /* Override any GCC internal prototype to avoid an error.
2297 Use char because int might match the return type of a GCC
2298 builtin and then its argument prototype would still apply. */
2303 /* The GNU C library defines this for functions which it implements
2304 to always fail with ENOSYS. Some functions are actually named
2305 something starting with __ and the normal name is an alias. */
2306 #if defined __stub_$2 || defined __stub___$2
2318 if ac_fn_c_try_link
"$LINENO"; then :
2323 rm -f core conftest.err conftest.
$ac_objext \
2324 conftest
$ac_exeext conftest.
$ac_ext
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2328 $as_echo "$ac_res" >&6; }
2329 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2331 } # ac_fn_c_check_func
2332 cat >config.log
<<_ACEOF
2333 This file contains any messages produced by compilers while
2334 running configure, to aid debugging if configure makes a mistake.
2336 It was created by $as_me, which was
2337 generated by GNU Autoconf 2.66. Invocation command line was
2349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2361 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir
=.
2373 $as_echo "PATH: $as_dir"
2389 # Keep a trace of the command line.
2390 # Strip out --no-create and --no-recursion so they do not pile up.
2391 # Strip out --silent because we don't want to record it for future runs.
2392 # Also quote any args containing shell meta-characters.
2393 # Make two passes to allow for proper duplicate-argument suppression.
2397 ac_must_keep_next
=false
2403 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2404 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2405 |
-silent |
--silent |
--silen |
--sile |
--sil)
2408 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2413 as_fn_append ac_configure_args1
" '$ac_arg'"
2414 if test $ac_must_keep_next = true
; then
2415 ac_must_keep_next
=false
# Got value, back to normal.
2418 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2419 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2420 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2421 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2422 case "$ac_configure_args0 " in
2423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2426 -* ) ac_must_keep_next
=true
;;
2429 as_fn_append ac_configure_args
" '$ac_arg'"
2434 { ac_configure_args0
=; unset ac_configure_args0
;}
2435 { ac_configure_args1
=; unset ac_configure_args1
;}
2437 # When interrupted or exit'd, cleanup temporary files, and complete
2438 # config.log. We remove comments because anyway the quotes in there
2439 # would cause problems or look ugly.
2440 # WARNING: Use '\'' to represent an apostrophe within the trap.
2441 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2442 trap 'exit_status=$?
2443 # Save into config.log some information that might help in debugging.
2447 $as_echo "## ---------------- ##
2448 ## Cache variables. ##
2449 ## ---------------- ##"
2451 # The following way of writing the cache mishandles newlines in values,
2453 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2454 eval ac_val=\$$ac_var
2458 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2462 _ | IFS | as_nl) ;; #(
2463 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2464 *) { eval $ac_var=; unset $ac_var;} ;;
2469 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2470 *${as_nl}ac_space=\ *)
2472 "s/'\''/'\''\\\\'\'''\''/g;
2473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2483 $as_echo "## ----------------- ##
2484 ## Output variables. ##
2485 ## ----------------- ##"
2487 for ac_var in $ac_subst_vars
2489 eval ac_val=\$$ac_var
2491 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493 $as_echo "$ac_var='\''$ac_val'\''"
2497 if test -n "$ac_subst_files"; then
2498 $as_echo "## ------------------- ##
2499 ## File substitutions. ##
2500 ## ------------------- ##"
2502 for ac_var
in $ac_subst_files
2504 eval ac_val
=\$
$ac_var
2506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2508 $as_echo "$ac_var='\''$ac_val'\''"
2513 if test -s confdefs.h; then
2514 $as_echo "## ----------- ##
2521 test "$ac_signal" != 0 &&
2522 $as_echo "$as_me: caught signal $ac_signal"
2523 $as_echo "$as_me: exit $exit_status"
2525 rm -f core *.core core.conftest.* &&
2526 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2529 for ac_signal
in 1 2 13 15; do
2530 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2534 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2535 rm -f -r conftest
* confdefs.h
2537 $as_echo "/* confdefs.h */" > confdefs.h
2539 # Predefined preprocessor variables.
2541 cat >>confdefs.h
<<_ACEOF
2542 #define PACKAGE_NAME "$PACKAGE_NAME"
2545 cat >>confdefs.h
<<_ACEOF
2546 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2549 cat >>confdefs.h
<<_ACEOF
2550 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2553 cat >>confdefs.h
<<_ACEOF
2554 #define PACKAGE_STRING "$PACKAGE_STRING"
2557 cat >>confdefs.h
<<_ACEOF
2558 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2561 cat >>confdefs.h
<<_ACEOF
2562 #define PACKAGE_URL "$PACKAGE_URL"
2566 # Let the site file select an alternate cache file if it wants to.
2567 # Prefer an explicitly selected file to automatically selected ones.
2570 if test -n "$CONFIG_SITE"; then
2571 # We do not want a PATH search for config.site.
2572 case $CONFIG_SITE in #((
2573 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2574 */*) ac_site_file1
=$CONFIG_SITE;;
2575 *) ac_site_file1
=.
/$CONFIG_SITE;;
2577 elif test "x$prefix" != xNONE
; then
2578 ac_site_file1
=$prefix/share
/config.site
2579 ac_site_file2
=$prefix/etc
/config.site
2581 ac_site_file1
=$ac_default_prefix/share
/config.site
2582 ac_site_file2
=$ac_default_prefix/etc
/config.site
2584 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2586 test "x$ac_site_file" = xNONE
&& continue
2587 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2589 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2590 sed 's/^/| /' "$ac_site_file" >&5
2592 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 as_fn_error $?
"failed to load site script $ac_site_file
2595 See \`config.log' for more details" "$LINENO" 5; }
2599 if test -r "$cache_file"; then
2600 # Some versions of bash will fail to source /dev/null (special files
2601 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2602 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2604 $as_echo "$as_me: loading cache $cache_file" >&6;}
2606 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2607 *) .
"./$cache_file";;
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2612 $as_echo "$as_me: creating cache $cache_file" >&6;}
2616 as_fn_append ac_header_list
" stdlib.h"
2617 as_fn_append ac_header_list
" unistd.h"
2618 as_fn_append ac_header_list
" sys/param.h"
2619 # Check that the precious variables saved in the cache have kept the same
2621 ac_cache_corrupted
=false
2622 for ac_var
in $ac_precious_vars; do
2623 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2624 eval ac_new_set
=\
$ac_env_${ac_var}_set
2625 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2626 eval ac_new_val
=\
$ac_env_${ac_var}_value
2627 case $ac_old_set,$ac_new_set in
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2630 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2631 ac_cache_corrupted
=: ;;
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2634 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2635 ac_cache_corrupted
=: ;;
2638 if test "x$ac_old_val" != "x$ac_new_val"; then
2639 # differences in whitespace do not lead to failure.
2640 ac_old_val_w
=`echo x $ac_old_val`
2641 ac_new_val_w
=`echo x $ac_new_val`
2642 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2644 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2645 ac_cache_corrupted
=:
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2648 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2649 eval $ac_var=\
$ac_old_val
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2652 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2654 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2657 # Pass precious variables to config.status.
2658 if test "$ac_new_set" = set; then
2660 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2661 *) ac_arg
=$ac_var=$ac_new_val ;;
2663 case " $ac_configure_args " in
2664 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2665 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2669 if $ac_cache_corrupted; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2673 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2674 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2676 ## -------------------- ##
2677 ## Main body of script. ##
2678 ## -------------------- ##
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2688 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2691 ################################################################################
2693 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2694 if test -f "$ac_dir/install-sh"; then
2696 ac_install_sh
="$ac_aux_dir/install-sh -c"
2698 elif test -f "$ac_dir/install.sh"; then
2700 ac_install_sh
="$ac_aux_dir/install.sh -c"
2702 elif test -f "$ac_dir/shtool"; then
2704 ac_install_sh
="$ac_aux_dir/shtool install -c"
2708 if test -z "$ac_aux_dir"; then
2709 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2712 # These three variables are undocumented and unsupported,
2713 # and are intended to be withdrawn in a future Autoconf release.
2714 # They can cause serious problems if a builder's source tree is in a directory
2715 # whose full name contains unusual characters.
2716 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2717 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2718 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2722 ################################################################################
2723 # Make sure we can run config.sub.
2724 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2725 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2728 $as_echo_n "checking build system type... " >&6; }
2729 if test "${ac_cv_build+set}" = set; then :
2730 $as_echo_n "(cached) " >&6
2732 ac_build_alias
=$build_alias
2733 test "x$ac_build_alias" = x
&&
2734 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2735 test "x$ac_build_alias" = x
&&
2736 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2737 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2738 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2742 $as_echo "$ac_cv_build" >&6; }
2743 case $ac_cv_build in
2745 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2748 ac_save_IFS
=$IFS; IFS
='-'
2754 # Remember, the first character of IFS is used to create $*,
2755 # except with old shells:
2758 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2762 $as_echo_n "checking host system type... " >&6; }
2763 if test "${ac_cv_host+set}" = set; then :
2764 $as_echo_n "(cached) " >&6
2766 if test "x$host_alias" = x
; then
2767 ac_cv_host
=$ac_cv_build
2769 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2770 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2775 $as_echo "$ac_cv_host" >&6; }
2778 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2781 ac_save_IFS
=$IFS; IFS
='-'
2787 # Remember, the first character of IFS is used to create $*,
2788 # except with old shells:
2791 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2795 $as_echo_n "checking target system type... " >&6; }
2796 if test "${ac_cv_target+set}" = set; then :
2797 $as_echo_n "(cached) " >&6
2799 if test "x$target_alias" = x
; then
2800 ac_cv_target
=$ac_cv_host
2802 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2803 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2808 $as_echo "$ac_cv_target" >&6; }
2809 case $ac_cv_target in
2811 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2813 target
=$ac_cv_target
2814 ac_save_IFS
=$IFS; IFS
='-'
2820 # Remember, the first character of IFS is used to create $*,
2821 # except with old shells:
2824 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2827 # The aliases save the names the user supplied, while $host etc.
2828 # will get canonicalized.
2829 test -n "$target_alias" &&
2830 test "$program_prefix$program_suffix$program_transform_name" = \
2832 program_prefix
=${target_alias}-
2837 COPTIMISE_FLAG
="-O2"
2838 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2839 ELDFLAGS
="-Wl,--export-dynamic"
2840 # FIXME Generate list and use --dynamic-list=.dlopen.sym
2841 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2842 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2843 LDDEPS
="$LDDEPS .export.sym"
2854 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2855 COPTIMISE_FLAG
="-O2"
2856 CLDFLAGS
="$CLDFLAGS"
2858 CLDWHOLEARCHIVE
="-all_load"
2870 ################################################################################
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2872 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2873 if test "${ac_cv_path_SED+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2876 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2877 for ac_i
in 1 2 3 4 5 6 7; do
2878 ac_script
="$ac_script$as_nl$ac_script"
2880 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2881 { ac_script
=; unset ac_script
;}
2882 if test -z "$SED"; then
2883 ac_path_SED_found
=false
2884 # Loop through the user's path and test for each of PROGNAME-LIST
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_prog
in sed gsed
; do
2891 for ac_exec_ext
in '' $ac_executable_extensions; do
2892 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2893 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2894 # Check for GNU ac_path_SED and select it if it is found.
2895 # Check for GNU $ac_path_SED
2896 case `"$ac_path_SED" --version 2>&1` in
2898 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2901 $as_echo_n 0123456789 >"conftest.in"
2904 cat "conftest.in" "conftest.in" >"conftest.tmp"
2905 mv "conftest.tmp" "conftest.in"
2906 cp "conftest.in" "conftest.nl"
2907 $as_echo '' >> "conftest.nl"
2908 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2909 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2910 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2911 if test $ac_count -gt ${ac_path_SED_max-0}; then
2912 # Best one so far, save it but keep looking for a better one
2913 ac_cv_path_SED
="$ac_path_SED"
2914 ac_path_SED_max
=$ac_count
2916 # 10*(2^10) chars as input seems more than enough
2917 test $ac_count -gt 10 && break
2919 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2922 $ac_path_SED_found && break 3
2927 if test -z "$ac_cv_path_SED"; then
2928 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2936 $as_echo "$ac_cv_path_SED" >&6; }
2937 SED
="$ac_cv_path_SED"
2940 for ac_prog
in gawk mawk nawk
awk
2942 # Extract the first word of "$ac_prog", so it can be a program name with args.
2943 set dummy
$ac_prog; ac_word
=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if test "${ac_cv_prog_AWK+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$AWK"; then
2950 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_AWK
="$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$AWK"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2972 $as_echo "$AWK" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2979 test -n "$AWK" && break
2983 ac_cpp
='$CPP $CPPFLAGS'
2984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2987 if test -n "$ac_tool_prefix"; then
2988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_CC+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3026 if test -z "$ac_cv_prog_CC"; then
3028 # Extract the first word of "gcc", so it can be a program name with args.
3029 set dummy 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$ac_ct_CC"; then
3036 ac_cv_prog_ac_ct_CC
="$ac_ct_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_ac_ct_CC
="gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3056 if test -n "$ac_ct_CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3058 $as_echo "$ac_ct_CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3064 if test "x$ac_ct_CC" = x
; then
3067 case $cross_compiling:$ac_tool_warned in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071 ac_tool_warned
=yes ;;
3079 if test -z "$CC"; then
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3082 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if test "${ac_cv_prog_CC+set}" = set; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC
="$CC" # Let the user override the test.
3091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir
=.
3096 for ac_exec_ext
in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3120 if test -z "$CC"; then
3121 # Extract the first word of "cc", so it can be a program name with args.
3122 set dummy 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 test "${ac_cv_prog_CC+set}" = set; 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.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3140 ac_prog_rejected
=yes
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test $ac_prog_rejected = yes; then
3152 # We found a bogon in the path, so make sure we never use it.
3153 set dummy
$ac_cv_prog_CC
3155 if test $# != 0; then
3156 # We chose a different compiler from the bogus one.
3157 # However, it has the same basename, so the bogon will be chosen
3158 # first if we set CC to just the basename; use the full file name.
3160 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3166 if test -n "$CC"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168 $as_echo "$CC" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3176 if test -z "$CC"; then
3177 if test -n "$ac_tool_prefix"; then
3178 for ac_prog
in cl.exe
3180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_CC+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$CC"; then
3188 ac_cv_prog_CC
="$CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3217 test -n "$CC" && break
3220 if test -z "$CC"; then
3222 for ac_prog
in cl.exe
3224 # Extract the first word of "$ac_prog", so it can be a program name with args.
3225 set dummy
$ac_prog; ac_word
=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$ac_ct_CC"; then
3232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_ac_ct_CC
="$ac_prog"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254 $as_echo "$ac_ct_CC" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3261 test -n "$ac_ct_CC" && break
3264 if test "x$ac_ct_CC" = x
; then
3267 case $cross_compiling:$ac_tool_warned in
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271 ac_tool_warned
=yes ;;
3280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $?
"no acceptable C compiler found in \$PATH
3283 See \`config.log' for more details" "$LINENO" 5; }
3285 # Provide some information about the compiler.
3286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3289 for ac_option
in --version -v -V -qversion; do
3290 { { ac_try
="$ac_compiler $ac_option >&5"
3292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3299 if test -s conftest.err; then
3301 ... rest of stderr output deleted ...
3302 10q' conftest.err >conftest.er1
3303 cat conftest.er1 >&5
3305 rm -f conftest.er1 conftest.err
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3321 ac_clean_files_save=$ac_clean_files
3322 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3323 # Try to create an executable without -o first, disregard a.out.
3324 # It will help us diagnose broken compilers, and finding out an intuition
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3327 $as_echo_n "checking whether the C compiler works... " >&6; }
3328 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3330 # The possible output files:
3331 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3334 for ac_file in $ac_files
3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3338 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3343 if { { ac_try="$ac_link_default"
3345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3346 *) ac_try_echo
=$ac_try;;
3348 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link_default") 2>&5
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }; then :
3354 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3355 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3356 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3357 # so that the user can short-circuit this test for compilers unknown to
3359 for ac_file
in $ac_files ''
3361 test -f "$ac_file" ||
continue
3363 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3366 # We found the default executable, but exeext='' is most
3370 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3372 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3374 # We set ac_cv_exeext here because the later test for it is not
3375 # safe: cross compilers may not add the suffix if given an `-o'
3376 # argument, so we may need to know it at that point already.
3377 # Even if this section looks crufty: it has the advantage of
3384 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3389 if test -z "$ac_file"; then :
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3392 $as_echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.
$ac_ext >&5
3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error
77 "C compiler cannot create executables
3398 See \`config.log' for more details" "$LINENO" 5; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 $as_echo "yes" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3404 $as_echo_n "checking for C compiler default output file name... " >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3406 $as_echo "$ac_file" >&6; }
3407 ac_exeext
=$ac_cv_exeext
3409 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3410 ac_clean_files
=$ac_clean_files_save
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3412 $as_echo_n "checking for suffix of executables... " >&6; }
3413 if { { ac_try
="$ac_link"
3415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_link") 2>&5
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }; then :
3424 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3425 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3426 # work properly (i.e., refer to `conftest.exe'), while it won't with
3428 for ac_file
in conftest.exe conftest conftest.
*; do
3429 test -f "$ac_file" ||
continue
3431 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3432 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3441 See \`config.log' for more details" "$LINENO" 5; }
3443 rm -f conftest conftest
$ac_cv_exeext
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3445 $as_echo "$ac_cv_exeext" >&6; }
3447 rm -f conftest.
$ac_ext
3448 EXEEXT
=$ac_cv_exeext
3450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3456 FILE *f = fopen ("conftest.out", "w");
3457 return ferror (f) || fclose (f) != 0;
3463 ac_clean_files
="$ac_clean_files conftest.out"
3464 # Check that the compiler produces executables we can run. If not, either
3465 # the compiler is broken, or we cross compile.
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3467 $as_echo_n "checking whether we are cross compiling... " >&6; }
3468 if test "$cross_compiling" != yes; then
3469 { { ac_try
="$ac_link"
3471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476 (eval "$ac_link") 2>&5
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }
3480 if { ac_try='./conftest$ac_cv_exeext'
3481 { { case "(($ac_try" in
3482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3483 *) ac_try_echo
=$ac_try;;
3485 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_try") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; }; then
3493 if test "$cross_compiling" = maybe
; then
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error $?
"cannot run C compiled programs.
3499 If you meant to cross compile, use \`--host'.
3500 See \`config.log' for more details" "$LINENO" 5; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3505 $as_echo "$cross_compiling" >&6; }
3507 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3508 ac_clean_files
=$ac_clean_files_save
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3510 $as_echo_n "checking for suffix of object files... " >&6; }
3511 if test "${ac_cv_objext+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3525 rm -f conftest.o conftest.obj
3526 if { { ac_try
="$ac_compile"
3528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533 (eval "$ac_compile") 2>&5
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }; then :
3537 for ac_file in conftest.o conftest.obj conftest.*; do
3538 test -f "$ac_file" || continue;
3540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3541 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3546 $as_echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3552 See \
`config.log' for more details" "$LINENO" 5; }
3554 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3557 $as_echo "$ac_cv_objext" >&6; }
3558 OBJEXT=$ac_cv_objext
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3561 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3562 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3579 if ac_fn_c_try_compile "$LINENO"; then :
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3589 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3590 if test $ac_compiler_gnu = yes; then
3595 ac_test_CFLAGS=${CFLAGS+set}
3596 ac_save_CFLAGS=$CFLAGS
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3598 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3599 if test "${ac_cv_prog_cc_g+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3602 ac_save_c_werror_flag=$ac_c_werror_flag
3603 ac_c_werror_flag=yes
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_c_try_compile "$LINENO"; then :
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 if ac_fn_c_try_compile "$LINENO"; then :
3635 ac_c_werror_flag=$ac_save_c_werror_flag
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 if ac_fn_c_try_compile "$LINENO"; then :
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_c_werror_flag=$ac_save_c_werror_flag
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3659 $as_echo "$ac_cv_prog_cc_g" >&6; }
3660 if test "$ac_test_CFLAGS" = set; then
3661 CFLAGS=$ac_save_CFLAGS
3662 elif test $ac_cv_prog_cc_g = yes; then
3663 if test "$GCC" = yes; then
3669 if test "$GCC" = yes; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3676 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3677 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 ac_cv_prog_cc_c89=no
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3686 #include <sys/types.h>
3687 #include <sys/stat.h>
3688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3689 struct buf { int x; };
3690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3691 static char *e (p, i)
3697 static char *f (char * (*g) (char **, int), char **p, ...)
3702 s = g (p, va_arg (v,int));
3707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3708 function prototypes and stuff, but not '\xHH' hex character constants.
3709 These don't provoke an error unfortunately, instead are silently treated
3710 as 'x'. The following induces an error, until -std is added to get
3711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3712 array size at least. It's necessary to write '\x00'==0 to get something
3713 that's true only with -std. */
3714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717 inside strings and character constants. */
3719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3721 int test (int i, double x);
3722 struct s1 {int (*f) (int a);};
3723 struct s2 {int (*f) (double a);};
3724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3738 CC="$ac_save_CC $ac_arg"
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 ac_cv_prog_cc_c89=$ac_arg
3742 rm -f core conftest.err conftest.$ac_objext
3743 test "x$ac_cv_prog_cc_c89" != "xno" && break
3745 rm -f conftest.$ac_ext
3750 case "x$ac_cv_prog_cc_c89" in
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3753 $as_echo "none needed" >&6; } ;;
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3756 $as_echo "unsupported" >&6; } ;;
3758 CC="$CC $ac_cv_prog_cc_c89"
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3762 if test "x$ac_cv_prog_cc_c89" != xno; then :
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 ac_cpp='$CPP $CPPFLAGS'
3776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3780 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3781 # On Suns, sometimes $CPP names a directory.
3782 if test -n "$CPP" && test -d "$CPP"; then
3785 if test -z "$CPP"; then
3786 if test "${ac_cv_prog_CPP+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3789 # Double quotes because CPP needs to be expanded
3790 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3793 for ac_c_preproc_warn_flag in '' yes
3795 # Use a header file that comes with gcc, so configuring glibc
3796 # with a fresh cross-compiler works.
3797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3798 # <limits.h> exists even on freestanding compilers.
3799 # On the NeXT, cc -E runs the code through the compiler's parser,
3800 # not just through cpp. "Syntax error" is here to catch this case.
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3804 # include <limits.h>
3806 # include <assert.h>
3810 if ac_fn_c_try_cpp "$LINENO"; then :
3813 # Broken: fails on valid input.
3816 rm -f conftest.err conftest.$ac_ext
3818 # OK, works on sane cases. Now check whether nonexistent headers
3819 # can be detected and how.
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3822 #include <ac_nonexistent.h>
3824 if ac_fn_c_try_cpp "$LINENO"; then :
3825 # Broken: success on invalid input.
3828 # Passes both tests.
3832 rm -f conftest.err conftest.$ac_ext
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3836 rm -f conftest.err conftest.
$ac_ext
3837 if $ac_preproc_ok; then :
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3850 $as_echo "$CPP" >&6; }
3852 for ac_c_preproc_warn_flag
in '' yes
3854 # Use a header file that comes with gcc, so configuring glibc
3855 # with a fresh cross-compiler works.
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 # <limits.h> exists even on freestanding compilers.
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
3859 # not just through cpp. "Syntax error" is here to catch this case.
3860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3863 # include <limits.h>
3865 # include <assert.h>
3869 if ac_fn_c_try_cpp
"$LINENO"; then :
3872 # Broken: fails on valid input.
3875 rm -f conftest.err conftest.
$ac_ext
3877 # OK, works on sane cases. Now check whether nonexistent headers
3878 # can be detected and how.
3879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881 #include <ac_nonexistent.h>
3883 if ac_fn_c_try_cpp
"$LINENO"; then :
3884 # Broken: success on invalid input.
3887 # Passes both tests.
3891 rm -f conftest.err conftest.
$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.
$ac_ext
3896 if $ac_preproc_ok; then :
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details" "$LINENO" 5; }
3906 ac_cpp
='$CPP $CPPFLAGS'
3907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3914 if test "${ac_cv_path_GREP+set}" = set; then :
3915 $as_echo_n "(cached) " >&6
3917 if test -z "$GREP"; then
3918 ac_path_GREP_found
=false
3919 # Loop through the user's path and test for each of PROGNAME-LIST
3920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3924 test -z "$as_dir" && as_dir
=.
3925 for ac_prog
in grep ggrep
; do
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3928 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3929 # Check for GNU ac_path_GREP and select it if it is found.
3930 # Check for GNU $ac_path_GREP
3931 case `"$ac_path_GREP" --version 2>&1` in
3933 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3936 $as_echo_n 0123456789 >"conftest.in"
3939 cat "conftest.in" "conftest.in" >"conftest.tmp"
3940 mv "conftest.tmp" "conftest.in"
3941 cp "conftest.in" "conftest.nl"
3942 $as_echo 'GREP' >> "conftest.nl"
3943 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3944 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3945 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3946 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3947 # Best one so far, save it but keep looking for a better one
3948 ac_cv_path_GREP
="$ac_path_GREP"
3949 ac_path_GREP_max
=$ac_count
3951 # 10*(2^10) chars as input seems more than enough
3952 test $ac_count -gt 10 && break
3954 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3957 $ac_path_GREP_found && break 3
3962 if test -z "$ac_cv_path_GREP"; then
3963 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3966 ac_cv_path_GREP
=$GREP
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3971 $as_echo "$ac_cv_path_GREP" >&6; }
3972 GREP
="$ac_cv_path_GREP"
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3976 $as_echo_n "checking for egrep... " >&6; }
3977 if test "${ac_cv_path_EGREP+set}" = set; then :
3978 $as_echo_n "(cached) " >&6
3980 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3981 then ac_cv_path_EGREP
="$GREP -E"
3983 if test -z "$EGREP"; then
3984 ac_path_EGREP_found
=false
3985 # Loop through the user's path and test for each of PROGNAME-LIST
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3987 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_prog
in egrep; do
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3994 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3995 # Check for GNU ac_path_EGREP and select it if it is found.
3996 # Check for GNU $ac_path_EGREP
3997 case `"$ac_path_EGREP" --version 2>&1` in
3999 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4002 $as_echo_n 0123456789 >"conftest.in"
4005 cat "conftest.in" "conftest.in" >"conftest.tmp"
4006 mv "conftest.tmp" "conftest.in"
4007 cp "conftest.in" "conftest.nl"
4008 $as_echo 'EGREP' >> "conftest.nl"
4009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4010 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4011 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4013 # Best one so far, save it but keep looking for a better one
4014 ac_cv_path_EGREP
="$ac_path_EGREP"
4015 ac_path_EGREP_max
=$ac_count
4017 # 10*(2^10) chars as input seems more than enough
4018 test $ac_count -gt 10 && break
4020 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4023 $ac_path_EGREP_found && break 3
4028 if test -z "$ac_cv_path_EGREP"; then
4029 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4032 ac_cv_path_EGREP
=$EGREP
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4038 $as_echo "$ac_cv_path_EGREP" >&6; }
4039 EGREP
="$ac_cv_path_EGREP"
4042 if test $ac_cv_c_compiler_gnu = yes; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
4044 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4045 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
4046 $as_echo_n "(cached) " >&6
4048 ac_pattern
="Autoconf.*'x'"
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4055 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
4056 ac_cv_prog_gcc_traditional
=yes
4058 ac_cv_prog_gcc_traditional
=no
4063 if test $ac_cv_prog_gcc_traditional = no
; then
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4070 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
4071 ac_cv_prog_gcc_traditional
=yes
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
4078 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4079 if test $ac_cv_prog_gcc_traditional = yes; then
4080 CC
="$CC -traditional"
4084 # Find a good install program. We prefer a C program (faster),
4085 # so one script is as good as another. But avoid the broken or
4086 # incompatible versions:
4087 # SysV /etc/install, /usr/sbin/install
4088 # SunOS /usr/etc/install
4089 # IRIX /sbin/install
4091 # AmigaOS /C/install, which installs bootblocks on floppy discs
4092 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4093 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4094 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4095 # OS/2's system install, which has a completely different semantic
4096 # ./install, which can be erroneously created by make from ./install.sh.
4097 # Reject install programs that cannot install multiple files.
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4099 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4100 if test -z "$INSTALL"; then
4101 if test "${ac_cv_path_install+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir
=.
4109 # Account for people who put trailing slashes in PATH elements.
4110 case $as_dir/ in #((
4111 .
/ | .
// |
/[cC
]/* | \
4112 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4113 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4116 # OSF1 and SCO ODT 3.0 have their own names for install.
4117 # Don't use installbsd from OSF since it installs stuff as root
4119 for ac_prog
in ginstall scoinst
install; do
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4122 if test $ac_prog = install &&
4123 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4124 # AIX install. It has an incompatible calling convention.
4126 elif test $ac_prog = install &&
4127 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4128 # program-specific install script used by HP pwplus--don't use.
4131 rm -rf conftest.one conftest.two conftest.dir
4132 echo one
> conftest.one
4133 echo two
> conftest.two
4135 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4136 test -s conftest.one
&& test -s conftest.two
&&
4137 test -s conftest.dir
/conftest.one
&&
4138 test -s conftest.dir
/conftest.two
4140 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4153 rm -rf conftest.one conftest.two conftest.dir
4156 if test "${ac_cv_path_install+set}" = set; then
4157 INSTALL
=$ac_cv_path_install
4159 # As a last resort, use the slow shell script. Don't cache a
4160 # value for INSTALL within a source directory, because that will
4161 # break other packages using the cache if that directory is
4162 # removed, or if the value is a relative name.
4163 INSTALL
=$ac_install_sh
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4167 $as_echo "$INSTALL" >&6; }
4169 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4170 # It thinks the first close brace ends the variable substitution.
4171 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4173 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4175 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4178 $as_echo_n "checking whether ln -s works... " >&6; }
4180 if test "$LN_S" = "ln -s"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4182 $as_echo "yes" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4185 $as_echo "no, using $LN_S" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4189 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4191 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4192 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4193 $as_echo_n "(cached) " >&6
4195 cat >conftest.
make <<\_ACEOF
4198 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4200 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4201 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4203 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4205 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4209 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4211 $as_echo "yes" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4216 SET_MAKE
="MAKE=${MAKE-make}"
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4221 if test -z "$MKDIR_P"; then
4222 if test "${ac_cv_path_mkdir+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_prog
in mkdir gmkdir
; do
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4233 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4234 'mkdir (GNU coreutils) '* | \
4235 'mkdir (coreutils) '* | \
4236 'mkdir (fileutils) '4.1*)
4237 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4247 test -d .
/--version && rmdir .
/--version
4248 if test "${ac_cv_path_mkdir+set}" = set; then
4249 MKDIR_P
="$ac_cv_path_mkdir -p"
4251 # As a last resort, use the slow shell script. Don't cache a
4252 # value for MKDIR_P within a source directory, because that will
4253 # break other packages using the cache if that directory is
4254 # removed, or if the value is a relative name.
4255 MKDIR_P
="$ac_install_sh -d"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4259 $as_echo "$MKDIR_P" >&6; }
4261 if test -n "$ac_tool_prefix"; then
4262 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4263 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$RANLIB"; then
4270 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 RANLIB
=$ac_cv_prog_RANLIB
4290 if test -n "$RANLIB"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4292 $as_echo "$RANLIB" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4300 if test -z "$ac_cv_prog_RANLIB"; then
4301 ac_ct_RANLIB
=$RANLIB
4302 # Extract the first word of "ranlib", so it can be a program name with args.
4303 set dummy ranlib
; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$ac_ct_RANLIB"; then
4310 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4330 if test -n "$ac_ct_RANLIB"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4332 $as_echo "$ac_ct_RANLIB" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4338 if test "x$ac_ct_RANLIB" = x
; then
4341 case $cross_compiling:$ac_tool_warned in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4345 ac_tool_warned
=yes ;;
4347 RANLIB
=$ac_ct_RANLIB
4350 RANLIB
="$ac_cv_prog_RANLIB"
4353 # Extract the first word of "cflow", so it can be a program name with args.
4354 set dummy cflow
; ac_word
=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then :
4358 $as_echo_n "(cached) " >&6
4362 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4384 if test -n "$CFLOW_CMD"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLOW_CMD" >&5
4386 $as_echo "$CFLOW_CMD" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4393 # Extract the first word of "cscope", so it can be a program name with args.
4394 set dummy cscope
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then :
4398 $as_echo_n "(cached) " >&6
4402 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4424 if test -n "$CSCOPE_CMD"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSCOPE_CMD" >&5
4426 $as_echo "$CSCOPE_CMD" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4434 ################################################################################
4436 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4437 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4439 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4440 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445 #include <sys/types.h>
4457 if ac_fn_c_try_compile
"$LINENO"; then :
4458 eval "$as_ac_Header=yes"
4460 eval "$as_ac_Header=no"
4462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4464 eval ac_res
=\$
$as_ac_Header
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4466 $as_echo "$ac_res" >&6; }
4467 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4468 cat >>confdefs.h
<<_ACEOF
4469 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4472 ac_header_dirent
=$ac_hdr; break
4476 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4477 if test $ac_header_dirent = dirent.h
; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4479 $as_echo_n "checking for library containing opendir... " >&6; }
4480 if test "${ac_cv_search_opendir+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 ac_func_search_save_LIBS
=$LIBS
4484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4487 /* Override any GCC internal prototype to avoid an error.
4488 Use char because int might match the return type of a GCC
4489 builtin and then its argument prototype would still apply. */
4502 for ac_lib
in '' dir
; do
4503 if test -z "$ac_lib"; then
4504 ac_res
="none required"
4507 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4509 if ac_fn_c_try_link
"$LINENO"; then :
4510 ac_cv_search_opendir
=$ac_res
4512 rm -f core conftest.err conftest.
$ac_objext \
4514 if test "${ac_cv_search_opendir+set}" = set; then :
4518 if test "${ac_cv_search_opendir+set}" = set; then :
4521 ac_cv_search_opendir
=no
4524 LIBS
=$ac_func_search_save_LIBS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4527 $as_echo "$ac_cv_search_opendir" >&6; }
4528 ac_res
=$ac_cv_search_opendir
4529 if test "$ac_res" != no
; then :
4530 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4536 $as_echo_n "checking for library containing opendir... " >&6; }
4537 if test "${ac_cv_search_opendir+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 ac_func_search_save_LIBS
=$LIBS
4541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4544 /* Override any GCC internal prototype to avoid an error.
4545 Use char because int might match the return type of a GCC
4546 builtin and then its argument prototype would still apply. */
4559 for ac_lib
in '' x
; do
4560 if test -z "$ac_lib"; then
4561 ac_res
="none required"
4564 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4566 if ac_fn_c_try_link
"$LINENO"; then :
4567 ac_cv_search_opendir
=$ac_res
4569 rm -f core conftest.err conftest.
$ac_objext \
4571 if test "${ac_cv_search_opendir+set}" = set; then :
4575 if test "${ac_cv_search_opendir+set}" = set; then :
4578 ac_cv_search_opendir
=no
4581 LIBS
=$ac_func_search_save_LIBS
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4584 $as_echo "$ac_cv_search_opendir" >&6; }
4585 ac_res
=$ac_cv_search_opendir
4586 if test "$ac_res" != no
; then :
4587 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4594 $as_echo_n "checking for ANSI C header files... " >&6; }
4595 if test "${ac_cv_header_stdc+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4613 if ac_fn_c_try_compile
"$LINENO"; then :
4614 ac_cv_header_stdc
=yes
4616 ac_cv_header_stdc
=no
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 if test $ac_cv_header_stdc = yes; then
4621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4628 $EGREP "memchr" >/dev
/null
2>&1; then :
4631 ac_cv_header_stdc
=no
4637 if test $ac_cv_header_stdc = yes; then
4638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4645 $EGREP "free" >/dev
/null
2>&1; then :
4648 ac_cv_header_stdc
=no
4654 if test $ac_cv_header_stdc = yes; then
4655 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4656 if test "$cross_compiling" = yes; then :
4659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 #if ((' ' & 0x0FF) == 0x020)
4664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4667 # define ISLOWER(c) \
4668 (('a' <= (c) && (c) <= 'i') \
4669 || ('j' <= (c) && (c) <= 'r') \
4670 || ('s' <= (c) && (c) <= 'z'))
4671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4679 for (i = 0; i < 256; i++)
4680 if (XOR (islower (i), ISLOWER (i))
4681 || toupper (i) != TOUPPER (i))
4686 if ac_fn_c_try_run
"$LINENO"; then :
4689 ac_cv_header_stdc
=no
4691 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4692 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4698 $as_echo "$ac_cv_header_stdc" >&6; }
4699 if test $ac_cv_header_stdc = yes; then
4701 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4705 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4706 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4707 inttypes.h stdint.h unistd.h
4709 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4710 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4713 cat >>confdefs.h
<<_ACEOF
4714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
4723 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4724 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then :
4725 $as_echo_n "(cached) " >&6
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4729 #include <sys/types.h>
4733 return makedev(0, 0);
4738 if ac_fn_c_try_link
"$LINENO"; then :
4739 ac_cv_header_sys_types_h_makedev
=yes
4741 ac_cv_header_sys_types_h_makedev
=no
4743 rm -f core conftest.err conftest.
$ac_objext \
4744 conftest
$ac_exeext conftest.
$ac_ext
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
4748 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4750 if test $ac_cv_header_sys_types_h_makedev = no
; then
4751 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
4752 if test "x$ac_cv_header_sys_mkdev_h" = x
""yes; then :
4754 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
4760 if test $ac_cv_header_sys_mkdev_h = no
; then
4761 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4762 if test "x$ac_cv_header_sys_sysmacros_h" = x
""yes; then :
4764 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4773 $as_echo_n "checking for ANSI C header files... " >&6; }
4774 if test "${ac_cv_header_stdc+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4792 if ac_fn_c_try_compile
"$LINENO"; then :
4793 ac_cv_header_stdc
=yes
4795 ac_cv_header_stdc
=no
4797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 if test $ac_cv_header_stdc = yes; then
4800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4807 $EGREP "memchr" >/dev
/null
2>&1; then :
4810 ac_cv_header_stdc
=no
4816 if test $ac_cv_header_stdc = yes; then
4817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4824 $EGREP "free" >/dev
/null
2>&1; then :
4827 ac_cv_header_stdc
=no
4833 if test $ac_cv_header_stdc = yes; then
4834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4835 if test "$cross_compiling" = yes; then :
4838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4842 #if ((' ' & 0x0FF) == 0x020)
4843 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4844 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4846 # define ISLOWER(c) \
4847 (('a' <= (c) && (c) <= 'i') \
4848 || ('j' <= (c) && (c) <= 'r') \
4849 || ('s' <= (c) && (c) <= 'z'))
4850 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4853 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4858 for (i = 0; i < 256; i++)
4859 if (XOR (islower (i), ISLOWER (i))
4860 || toupper (i) != TOUPPER (i))
4865 if ac_fn_c_try_run
"$LINENO"; then :
4868 ac_cv_header_stdc
=no
4870 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4871 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4877 $as_echo "$ac_cv_header_stdc" >&6; }
4878 if test $ac_cv_header_stdc = yes; then
4880 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4885 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4886 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4891 #include <sys/types.h>
4892 #include <sys/wait.h>
4894 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4897 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4905 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4910 if ac_fn_c_try_compile
"$LINENO"; then :
4911 ac_cv_header_sys_wait_h
=yes
4913 ac_cv_header_sys_wait_h
=no
4915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4918 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4919 if test $ac_cv_header_sys_wait_h = yes; then
4921 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4926 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4927 if test "${ac_cv_header_time+set}" = set; then :
4928 $as_echo_n "(cached) " >&6
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932 #include <sys/types.h>
4933 #include <sys/time.h>
4939 if ((struct tm *) 0)
4945 if ac_fn_c_try_compile
"$LINENO"; then :
4946 ac_cv_header_time
=yes
4948 ac_cv_header_time
=no
4950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4953 $as_echo "$ac_cv_header_time" >&6; }
4954 if test $ac_cv_header_time = yes; then
4956 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4961 for ac_header
in locale.h stddef.h syslog.h sys
/file.h sys
/time.h assert.h \
4962 langinfo.h libgen.h signal.h sys
/mman.h sys
/resource.h sys
/utsname.h \
4965 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4966 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4967 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4968 cat >>confdefs.h
<<_ACEOF
4969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4973 as_fn_error $?
"bailing out" "$LINENO" 5
4981 for ac_header
in asm
/byteorder.h linux
/fs.h malloc.h
4983 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4984 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4985 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4986 cat >>confdefs.h
<<_ACEOF
4987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4991 as_fn_error $?
"bailing out" "$LINENO" 5
4997 for ac_header
in machine
/endian.h sys
/disk.h
4999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5000 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5001 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5002 cat >>confdefs.h
<<_ACEOF
5003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5007 as_fn_error $?
"bailing out" "$LINENO" 5
5014 for ac_header
in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5015 stdarg.h stdio.h stdlib.h string.h sys
/ioctl.h sys
/param.h sys
/stat.h \
5016 sys
/types.h unistd.h
5018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5019 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5021 cat >>confdefs.h
<<_ACEOF
5022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5026 as_fn_error $?
"bailing out" "$LINENO" 5
5031 for ac_header
in termios.h sys
/statvfs.h
5033 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5034 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5035 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5036 cat >>confdefs.h
<<_ACEOF
5037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5045 ################################################################################
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5047 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5048 if test "${ac_cv_c_const+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5057 /* FIXME: Include the comments suggested by Paul. */
5059 /* Ultrix mips cc rejects this. */
5060 typedef int charset[2];
5062 /* SunOS 4.1.1 cc rejects this. */
5063 char const *const *pcpcc;
5065 /* NEC SVR4.0.2 mips cc rejects this. */
5066 struct point {int x, y;};
5067 static struct point const zero = {0,0};
5068 /* AIX XL C 1.02.0.0 rejects this.
5069 It does not let you subtract one const X* pointer from another in
5070 an arm of an if-expression whose if-part is not a constant
5072 const char *g = "string";
5073 pcpcc = &g + (g ? g-g : 0);
5074 /* HPUX 7.0 cc rejects these. */
5076 ppc = (char**) pcpcc;
5077 pcpcc = (char const *const *) ppc;
5078 { /* SCO 3.2v4 cc rejects this. */
5080 char const *s = 0 ? (char *) 0 : (char const *) 0;
5085 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5087 const int *foo = &x[0];
5090 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5091 typedef const int *iptr;
5095 { /* AIX XL C 1.02.0.0 rejects this saying
5096 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5097 struct s { int j; const int *ap[3]; };
5098 struct s *b; b->j = 5;
5100 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5104 return !cs[0] && !zero.x;
5111 if ac_fn_c_try_compile
"$LINENO"; then :
5116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5119 $as_echo "$ac_cv_c_const" >&6; }
5120 if test $ac_cv_c_const = no
; then
5122 $as_echo "#define const /**/" >>confdefs.h
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5127 $as_echo_n "checking for inline... " >&6; }
5128 if test "${ac_cv_c_inline+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5132 for ac_kw
in inline __inline__ __inline
; do
5133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5137 static $ac_kw foo_t static_foo () {return 0; }
5138 $ac_kw foo_t foo () {return 0; }
5142 if ac_fn_c_try_compile
"$LINENO"; then :
5143 ac_cv_c_inline
=$ac_kw
5145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5146 test "$ac_cv_c_inline" != no
&& break
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5151 $as_echo "$ac_cv_c_inline" >&6; }
5153 case $ac_cv_c_inline in
5156 case $ac_cv_c_inline in
5158 *) ac_val
=$ac_cv_c_inline;;
5160 cat >>confdefs.h
<<_ACEOF
5162 #define inline $ac_val
5168 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
5169 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
5171 cat >>confdefs.h
<<_ACEOF
5172 #define HAVE_STRUCT_STAT_ST_RDEV 1
5178 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5179 if test "x$ac_cv_type_off_t" = x
""yes; then :
5183 cat >>confdefs.h
<<_ACEOF
5184 #define off_t long int
5189 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5190 if test "x$ac_cv_type_pid_t" = x
""yes; then :
5194 cat >>confdefs.h
<<_ACEOF
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5201 $as_echo_n "checking return type of signal handlers... " >&6; }
5202 if test "${ac_cv_type_signal+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <sys/types.h>
5213 return *(signal (0, 0)) (0) == 1;
5218 if ac_fn_c_try_compile
"$LINENO"; then :
5219 ac_cv_type_signal
=int
5221 ac_cv_type_signal
=void
5223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5226 $as_echo "$ac_cv_type_signal" >&6; }
5228 cat >>confdefs.h
<<_ACEOF
5229 #define RETSIGTYPE $ac_cv_type_signal
5233 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5234 if test "x$ac_cv_type_size_t" = x
""yes; then :
5238 cat >>confdefs.h
<<_ACEOF
5239 #define size_t unsigned int
5244 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5245 if test "x$ac_cv_type_mode_t" = x
""yes; then :
5249 cat >>confdefs.h
<<_ACEOF
5255 ac_fn_c_find_intX_t
"$LINENO" "8" "ac_cv_c_int8_t"
5256 case $ac_cv_c_int8_t in #(
5260 cat >>confdefs.h
<<_ACEOF
5261 #define int8_t $ac_cv_c_int8_t
5266 ac_fn_c_find_intX_t
"$LINENO" "16" "ac_cv_c_int16_t"
5267 case $ac_cv_c_int16_t in #(
5271 cat >>confdefs.h
<<_ACEOF
5272 #define int16_t $ac_cv_c_int16_t
5277 ac_fn_c_find_intX_t
"$LINENO" "32" "ac_cv_c_int32_t"
5278 case $ac_cv_c_int32_t in #(
5282 cat >>confdefs.h
<<_ACEOF
5283 #define int32_t $ac_cv_c_int32_t
5288 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
5289 case $ac_cv_c_int64_t in #(
5293 cat >>confdefs.h
<<_ACEOF
5294 #define int64_t $ac_cv_c_int64_t
5299 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5300 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
5304 cat >>confdefs.h
<<_ACEOF
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5311 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5312 if test "${ac_cv_type_uid_t+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5317 #include <sys/types.h>
5320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5321 $EGREP "uid_t" >/dev
/null
2>&1; then :
5322 ac_cv_type_uid_t
=yes
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5330 $as_echo "$ac_cv_type_uid_t" >&6; }
5331 if test $ac_cv_type_uid_t = no
; then
5333 $as_echo "#define uid_t int" >>confdefs.h
5336 $as_echo "#define gid_t int" >>confdefs.h
5340 ac_fn_c_find_uintX_t
"$LINENO" "8" "ac_cv_c_uint8_t"
5341 case $ac_cv_c_uint8_t in #(
5345 $as_echo "#define _UINT8_T 1" >>confdefs.h
5348 cat >>confdefs.h
<<_ACEOF
5349 #define uint8_t $ac_cv_c_uint8_t
5354 ac_fn_c_find_uintX_t
"$LINENO" "16" "ac_cv_c_uint16_t"
5355 case $ac_cv_c_uint16_t in #(
5360 cat >>confdefs.h
<<_ACEOF
5361 #define uint16_t $ac_cv_c_uint16_t
5366 ac_fn_c_find_uintX_t
"$LINENO" "32" "ac_cv_c_uint32_t"
5367 case $ac_cv_c_uint32_t in #(
5371 $as_echo "#define _UINT32_T 1" >>confdefs.h
5374 cat >>confdefs.h
<<_ACEOF
5375 #define uint32_t $ac_cv_c_uint32_t
5380 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5381 case $ac_cv_c_uint64_t in #(
5385 $as_echo "#define _UINT64_T 1" >>confdefs.h
5388 cat >>confdefs.h
<<_ACEOF
5389 #define uint64_t $ac_cv_c_uint64_t
5394 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
5395 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
5397 cat >>confdefs.h
<<_ACEOF
5398 #define HAVE_STRUCT_STAT_ST_RDEV 1
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5405 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5406 if test "${ac_cv_struct_tm+set}" = set; then :
5407 $as_echo_n "(cached) " >&6
5409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5411 #include <sys/types.h>
5418 int *p = &tm.tm_sec;
5424 if ac_fn_c_try_compile
"$LINENO"; then :
5425 ac_cv_struct_tm
=time.h
5427 ac_cv_struct_tm
=sys
/time.h
5429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5432 $as_echo "$ac_cv_struct_tm" >&6; }
5433 if test $ac_cv_struct_tm = sys
/time.h
; then
5435 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5440 ################################################################################
5441 for ac_func
in ftruncate gethostname getpagesize \
5442 gettimeofday memset mkdir
mkfifo rmdir munmap nl_langinfo setenv setlocale \
5443 strcasecmp strchr strcspn strspn strdup strncasecmp strerror strrchr \
5444 strstr strtol strtoul uname
5446 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5447 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5448 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5449 cat >>confdefs.h
<<_ACEOF
5450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5454 as_fn_error $?
"bailing out" "$LINENO" 5
5458 for ac_func
in siginterrupt
5460 ac_fn_c_check_func
"$LINENO" "siginterrupt" "ac_cv_func_siginterrupt"
5461 if test "x$ac_cv_func_siginterrupt" = x
""yes; then :
5462 cat >>confdefs.h
<<_ACEOF
5463 #define HAVE_SIGINTERRUPT 1
5469 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5470 # for constant arguments. Useless!
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5472 $as_echo_n "checking for working alloca.h... " >&6; }
5473 if test "${ac_cv_working_alloca_h+set}" = set; then :
5474 $as_echo_n "(cached) " >&6
5476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5482 char *p = (char *) alloca (2 * sizeof (int));
5488 if ac_fn_c_try_link
"$LINENO"; then :
5489 ac_cv_working_alloca_h
=yes
5491 ac_cv_working_alloca_h
=no
5493 rm -f core conftest.err conftest.
$ac_objext \
5494 conftest
$ac_exeext conftest.
$ac_ext
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5497 $as_echo "$ac_cv_working_alloca_h" >&6; }
5498 if test $ac_cv_working_alloca_h = yes; then
5500 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5505 $as_echo_n "checking for alloca... " >&6; }
5506 if test "${ac_cv_func_alloca_works+set}" = set; then :
5507 $as_echo_n "(cached) " >&6
5509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5512 # define alloca __builtin_alloca
5515 # include <malloc.h>
5516 # define alloca _alloca
5518 # ifdef HAVE_ALLOCA_H
5519 # include <alloca.h>
5524 # ifndef alloca /* predefined by HP cc +Olibcalls */
5535 char *p = (char *) alloca (1);
5541 if ac_fn_c_try_link
"$LINENO"; then :
5542 ac_cv_func_alloca_works
=yes
5544 ac_cv_func_alloca_works
=no
5546 rm -f core conftest.err conftest.
$ac_objext \
5547 conftest
$ac_exeext conftest.
$ac_ext
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5550 $as_echo "$ac_cv_func_alloca_works" >&6; }
5552 if test $ac_cv_func_alloca_works = yes; then
5554 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5557 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5558 # that cause trouble. Some versions do not even contain alloca or
5559 # contain a buggy version. If you still want to use their alloca,
5560 # use ar to extract alloca.o from them instead of compiling alloca.c.
5562 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5564 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5568 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5569 if test "${ac_cv_os_cray+set}" = set; then :
5570 $as_echo_n "(cached) " >&6
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 #if defined CRAY && ! defined CRAY2
5581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5582 $EGREP "webecray" >/dev
/null
2>&1; then :
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5591 $as_echo "$ac_cv_os_cray" >&6; }
5592 if test $ac_cv_os_cray = yes; then
5593 for ac_func
in _getb67 GETB67 getb67
; do
5594 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5595 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5596 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5598 cat >>confdefs.h
<<_ACEOF
5599 #define CRAY_STACKSEG_END $ac_func
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5609 $as_echo_n "checking stack direction for C alloca... " >&6; }
5610 if test "${ac_cv_c_stack_direction+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 if test "$cross_compiling" = yes; then :
5614 ac_cv_c_stack_direction
=0
5616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5618 $ac_includes_default
5620 find_stack_direction ()
5622 static char *addr = 0;
5627 return find_stack_direction ();
5630 return (&dummy > addr) ? 1 : -1;
5636 return find_stack_direction () < 0;
5639 if ac_fn_c_try_run
"$LINENO"; then :
5640 ac_cv_c_stack_direction
=1
5642 ac_cv_c_stack_direction
=-1
5644 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5645 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5650 $as_echo "$ac_cv_c_stack_direction" >&6; }
5651 cat >>confdefs.h
<<_ACEOF
5652 #define STACK_DIRECTION $ac_cv_c_stack_direction
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5659 $as_echo_n "checking whether closedir returns void... " >&6; }
5660 if test "${ac_cv_func_closedir_void+set}" = set; then :
5661 $as_echo_n "(cached) " >&6
5663 if test "$cross_compiling" = yes; then :
5664 ac_cv_func_closedir_void
=yes
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5668 $ac_includes_default
5669 #include <$ac_header_dirent>
5677 return closedir (opendir (".")) != 0;
5682 if ac_fn_c_try_run
"$LINENO"; then :
5683 ac_cv_func_closedir_void
=no
5685 ac_cv_func_closedir_void
=yes
5687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5693 $as_echo "$ac_cv_func_closedir_void" >&6; }
5694 if test $ac_cv_func_closedir_void = yes; then
5696 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5700 for ac_header
in unistd.h
5702 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5703 if test "x$ac_cv_header_unistd_h" = x
""yes; then :
5704 cat >>confdefs.h
<<_ACEOF
5705 #define HAVE_UNISTD_H 1
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
5713 $as_echo_n "checking for working chown... " >&6; }
5714 if test "${ac_cv_func_chown_works+set}" = set; then :
5715 $as_echo_n "(cached) " >&6
5717 if test "$cross_compiling" = yes; then :
5718 ac_cv_func_chown_works
=no
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5722 $ac_includes_default
5728 char *f = "conftest.chown";
5729 struct stat before, after;
5731 if (creat (f, 0600) < 0)
5733 if (stat (f, &before) < 0)
5735 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
5737 if (stat (f, &after) < 0)
5739 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
5745 if ac_fn_c_try_run
"$LINENO"; then :
5746 ac_cv_func_chown_works
=yes
5748 ac_cv_func_chown_works
=no
5750 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5751 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5754 rm -f conftest.chown
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
5758 $as_echo "$ac_cv_func_chown_works" >&6; }
5759 if test $ac_cv_func_chown_works = yes; then
5761 $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
5765 for ac_header
in vfork.h
5767 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5768 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
5769 cat >>confdefs.h
<<_ACEOF
5770 #define HAVE_VFORK_H 1
5777 for ac_func
in fork vfork
5779 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5780 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5781 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5782 cat >>confdefs.h
<<_ACEOF
5783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5789 if test "x$ac_cv_func_fork" = xyes
; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5791 $as_echo_n "checking for working fork... " >&6; }
5792 if test "${ac_cv_func_fork_works+set}" = set; then :
5793 $as_echo_n "(cached) " >&6
5795 if test "$cross_compiling" = yes; then :
5796 ac_cv_func_fork_works
=cross
5798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5800 $ac_includes_default
5805 /* By Ruediger Kuhlmann. */
5812 if ac_fn_c_try_run
"$LINENO"; then :
5813 ac_cv_func_fork_works
=yes
5815 ac_cv_func_fork_works
=no
5817 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5818 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5823 $as_echo "$ac_cv_func_fork_works" >&6; }
5826 ac_cv_func_fork_works
=$ac_cv_func_fork
5828 if test "x$ac_cv_func_fork_works" = xcross
; then
5830 *-*-amigaos* |
*-*-msdosdjgpp*)
5831 # Override, as these systems have only a dummy fork() stub
5832 ac_cv_func_fork_works
=no
5835 ac_cv_func_fork_works
=yes
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5839 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5841 ac_cv_func_vfork_works
=$ac_cv_func_vfork
5842 if test "x$ac_cv_func_vfork" = xyes
; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5844 $as_echo_n "checking for working vfork... " >&6; }
5845 if test "${ac_cv_func_vfork_works+set}" = set; then :
5846 $as_echo_n "(cached) " >&6
5848 if test "$cross_compiling" = yes; then :
5849 ac_cv_func_vfork_works
=cross
5851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5853 /* Thanks to Paul Eggert for this test. */
5854 $ac_includes_default
5855 #include <sys/wait.h>
5859 /* On some sparc systems, changes by the child to local and incoming
5860 argument registers are propagated back to the parent. The compiler
5861 is told about this with #include <vfork.h>, but some compilers
5862 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5863 static variable whose address is put into a register that is
5864 clobbered by the vfork. */
5867 sparc_address_test (int arg)
5869 sparc_address_test (arg) int arg;
5890 pid_t parent = getpid ();
5893 sparc_address_test (0);
5898 /* Here is another test for sparc vfork register problems. This
5899 test uses lots of local variables, at least as many local
5900 variables as main has allocated so far including compiler
5901 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5902 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5903 reuse the register of parent for one of the local variables,
5904 since it will think that parent can't possibly be used any more
5905 in this routine. Assigning to the local variable will thus
5906 munge parent in the parent process. */
5908 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5909 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5910 /* Convince the compiler that p..p7 are live; otherwise, it might
5911 use the same hardware register for all 8 local variables. */
5912 if (p != p1 || p != p2 || p != p3 || p != p4
5913 || p != p5 || p != p6 || p != p7)
5916 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5917 from child file descriptors. If the child closes a descriptor
5918 before it execs or exits, this munges the parent's descriptor
5919 as well. Test for this by closing stdout in the child. */
5920 _exit(close(fileno(stdout)) != 0);
5925 while (wait(&status) != child)
5928 /* Was there some problem with vforking? */
5931 /* Did the child fail? (This shouldn't happen.) */
5934 /* Did the vfork/compiler bug occur? */
5935 || parent != getpid()
5937 /* Did the file descriptor bug occur? */
5938 || fstat(fileno(stdout), &st) != 0
5943 if ac_fn_c_try_run
"$LINENO"; then :
5944 ac_cv_func_vfork_works
=yes
5946 ac_cv_func_vfork_works
=no
5948 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5949 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5954 $as_echo "$ac_cv_func_vfork_works" >&6; }
5957 if test "x$ac_cv_func_fork_works" = xcross
; then
5958 ac_cv_func_vfork_works
=$ac_cv_func_vfork
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5960 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5963 if test "x$ac_cv_func_vfork_works" = xyes
; then
5965 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5969 $as_echo "#define vfork fork" >>confdefs.h
5972 if test "x$ac_cv_func_fork_works" = xyes
; then
5974 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5979 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5980 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
5981 $as_echo_n "(cached) " >&6
5983 rm -f conftest.sym conftest.
file
5985 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5986 if test "$cross_compiling" = yes; then :
5987 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5991 $ac_includes_default
5996 /* Linux will dereference the symlink and fail, as required by POSIX.
5997 That is better in the sense that it means we will not
5998 have to compile and use the lstat wrapper. */
5999 return lstat ("conftest.sym/", &sbuf) == 0;
6004 if ac_fn_c_try_run
"$LINENO"; then :
6005 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
6007 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6009 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6010 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6014 # If the `ln -s' command failed, then we probably don't even
6015 # have an lstat function.
6016 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6018 rm -f conftest.sym conftest.
file
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6022 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
6024 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6026 cat >>confdefs.h
<<_ACEOF
6027 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6031 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
6032 case " $LIBOBJS " in
6033 *" lstat.$ac_objext "* ) ;;
6034 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
6041 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
6042 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
6043 $as_echo_n "(cached) " >&6
6045 if test "$cross_compiling" = yes; then :
6046 ac_cv_func_lstat_empty_string_bug
=yes
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 $ac_includes_default
6055 return lstat ("", &sbuf) == 0;
6060 if ac_fn_c_try_run
"$LINENO"; then :
6061 ac_cv_func_lstat_empty_string_bug
=no
6063 ac_cv_func_lstat_empty_string_bug
=yes
6065 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6066 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
6071 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
6072 if test $ac_cv_func_lstat_empty_string_bug = yes; then
6073 case " $LIBOBJS " in
6074 *" lstat.$ac_objext "* ) ;;
6075 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
6080 cat >>confdefs.h
<<_ACEOF
6081 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
6086 for ac_header
in stdlib.h
6088 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6089 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
6090 cat >>confdefs.h
<<_ACEOF
6091 #define HAVE_STDLIB_H 1
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6099 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6100 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
6101 $as_echo_n "(cached) " >&6
6103 if test "$cross_compiling" = yes; then :
6104 ac_cv_func_malloc_0_nonnull
=no
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6109 # include <stdlib.h>
6117 return ! malloc (0);
6122 if ac_fn_c_try_run
"$LINENO"; then :
6123 ac_cv_func_malloc_0_nonnull
=yes
6125 ac_cv_func_malloc_0_nonnull
=no
6127 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6128 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6133 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6134 if test $ac_cv_func_malloc_0_nonnull = yes; then :
6136 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6139 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
6141 case " $LIBOBJS " in
6142 *" malloc.$ac_objext "* ) ;;
6143 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
6148 $as_echo "#define malloc rpl_malloc" >>confdefs.h
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
6154 $as_echo_n "checking for working memcmp... " >&6; }
6155 if test "${ac_cv_func_memcmp_working+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6158 if test "$cross_compiling" = yes; then :
6159 ac_cv_func_memcmp_working
=no
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 $ac_includes_default
6168 /* Some versions of memcmp are not 8-bit clean. */
6169 char c0 = '\100', c1 = '\200', c2 = '\201';
6170 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6173 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6174 or more and with at least one buffer not starting on a 4-byte boundary.
6175 William Lewis provided this test program. */
6180 for (i = 0; i < 4; i++)
6184 strcpy (a, "--------01111111");
6185 strcpy (b, "--------10000000");
6186 if (memcmp (a, b, 16) >= 0)
6196 if ac_fn_c_try_run
"$LINENO"; then :
6197 ac_cv_func_memcmp_working
=yes
6199 ac_cv_func_memcmp_working
=no
6201 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6202 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
6207 $as_echo "$ac_cv_func_memcmp_working" >&6; }
6208 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
6209 *" memcmp.$ac_objext "* ) ;;
6210 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
6218 for ac_header
in $ac_header_list
6220 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6221 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6223 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6224 cat >>confdefs.h
<<_ACEOF
6225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6239 for ac_func
in getpagesize
6241 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6242 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6243 cat >>confdefs.h
<<_ACEOF
6244 #define HAVE_GETPAGESIZE 1
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6251 $as_echo_n "checking for working mmap... " >&6; }
6252 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6253 $as_echo_n "(cached) " >&6
6255 if test "$cross_compiling" = yes; then :
6256 ac_cv_func_mmap_fixed_mapped
=no
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 $ac_includes_default
6261 /* malloc might have been renamed as rpl_malloc. */
6264 /* Thanks to Mike Haertel and Jim Avera for this test.
6265 Here is a matrix of mmap possibilities:
6266 mmap private not fixed
6267 mmap private fixed at somewhere currently unmapped
6268 mmap private fixed at somewhere already mapped
6269 mmap shared not fixed
6270 mmap shared fixed at somewhere currently unmapped
6271 mmap shared fixed at somewhere already mapped
6272 For private mappings, we should verify that changes cannot be read()
6273 back from the file, nor mmap's back from the file at a different
6274 address. (There have been systems where private was not correctly
6275 implemented like the infamous i386 svr4.0, and systems where the
6276 VM page cache was not coherent with the file system buffer cache
6277 like early versions of FreeBSD and possibly contemporary NetBSD.)
6278 For shared mappings, we should conversely verify that changes get
6279 propagated back to all the places they're supposed to be.
6281 Grep wants private fixed already mapped.
6282 The main things grep needs to know about mmap are:
6283 * does it exist and is it safe to write into the mmap'd area
6284 * how to use it (BSD variants) */
6287 #include <sys/mman.h>
6289 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6293 /* This mess was copied from the GNU getpagesize.h. */
6294 #ifndef HAVE_GETPAGESIZE
6295 # ifdef _SC_PAGESIZE
6296 # define getpagesize() sysconf(_SC_PAGESIZE)
6297 # else /* no _SC_PAGESIZE */
6298 # ifdef HAVE_SYS_PARAM_H
6299 # include <sys/param.h>
6300 # ifdef EXEC_PAGESIZE
6301 # define getpagesize() EXEC_PAGESIZE
6302 # else /* no EXEC_PAGESIZE */
6304 # define getpagesize() NBPG * CLSIZE
6307 # endif /* no CLSIZE */
6308 # else /* no NBPG */
6310 # define getpagesize() NBPC
6311 # else /* no NBPC */
6313 # define getpagesize() PAGESIZE
6314 # endif /* PAGESIZE */
6315 # endif /* no NBPC */
6316 # endif /* no NBPG */
6317 # endif /* no EXEC_PAGESIZE */
6318 # else /* no HAVE_SYS_PARAM_H */
6319 # define getpagesize() 8192 /* punt totally */
6320 # endif /* no HAVE_SYS_PARAM_H */
6321 # endif /* no _SC_PAGESIZE */
6323 #endif /* no HAVE_GETPAGESIZE */
6328 char *data, *data2, *data3;
6333 pagesize = getpagesize ();
6335 /* First, make a file with some known garbage in it. */
6336 data = (char *) malloc (pagesize);
6339 for (i = 0; i < pagesize; ++i)
6340 *(data + i) = rand ();
6342 fd = creat ("conftest.mmap", 0600);
6345 if (write (fd, data, pagesize) != pagesize)
6349 /* Next, check that the tail of a page is zero-filled. File must have
6350 non-zero length, otherwise we risk SIGBUS for entire page. */
6351 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6355 if (write (fd2, cdata2, 1) != 1)
6357 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6358 if (data2 == MAP_FAILED)
6360 for (i = 0; i < pagesize; ++i)
6364 if (munmap (data2, pagesize))
6367 /* Next, try to mmap the file at a fixed address which already has
6368 something else allocated at it. If we can, also make sure that
6369 we see the same garbage. */
6370 fd = open ("conftest.mmap", O_RDWR);
6373 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6374 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6376 for (i = 0; i < pagesize; ++i)
6377 if (*(data + i) != *(data2 + i))
6380 /* Finally, make sure that changes to the mapped area do not
6381 percolate back to the file as seen by read(). (This is a bug on
6382 some variants of i386 svr4.0.) */
6383 for (i = 0; i < pagesize; ++i)
6384 *(data2 + i) = *(data2 + i) + 1;
6385 data3 = (char *) malloc (pagesize);
6388 if (read (fd, data3, pagesize) != pagesize)
6390 for (i = 0; i < pagesize; ++i)
6391 if (*(data + i) != *(data3 + i))
6397 if ac_fn_c_try_run
"$LINENO"; then :
6398 ac_cv_func_mmap_fixed_mapped
=yes
6400 ac_cv_func_mmap_fixed_mapped
=no
6402 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6403 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6408 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6409 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6411 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6414 rm -f conftest.mmap conftest.txt
6416 for ac_header
in stdlib.h
6418 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6419 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
6420 cat >>confdefs.h
<<_ACEOF
6421 #define HAVE_STDLIB_H 1
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6429 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6430 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
6431 $as_echo_n "(cached) " >&6
6433 if test "$cross_compiling" = yes; then :
6434 ac_cv_func_realloc_0_nonnull
=no
6436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6439 # include <stdlib.h>
6447 return ! realloc (0, 0);
6452 if ac_fn_c_try_run
"$LINENO"; then :
6453 ac_cv_func_realloc_0_nonnull
=yes
6455 ac_cv_func_realloc_0_nonnull
=no
6457 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6458 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6463 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6464 if test $ac_cv_func_realloc_0_nonnull = yes; then :
6466 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
6469 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
6471 case " $LIBOBJS " in
6472 *" realloc.$ac_objext "* ) ;;
6473 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
6478 $as_echo "#define realloc rpl_realloc" >>confdefs.h
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
6484 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
6485 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
6486 $as_echo_n "(cached) " >&6
6488 if test "$cross_compiling" = yes; then :
6489 ac_cv_func_stat_empty_string_bug
=yes
6491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 $ac_includes_default
6498 return stat ("", &sbuf) == 0;
6503 if ac_fn_c_try_run
"$LINENO"; then :
6504 ac_cv_func_stat_empty_string_bug
=no
6506 ac_cv_func_stat_empty_string_bug
=yes
6508 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6509 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
6514 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
6515 if test $ac_cv_func_stat_empty_string_bug = yes; then
6516 case " $LIBOBJS " in
6517 *" stat.$ac_objext "* ) ;;
6518 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
6523 cat >>confdefs.h
<<_ACEOF
6524 #define HAVE_STAT_EMPTY_STRING_BUG 1
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
6530 $as_echo_n "checking for working strtod... " >&6; }
6531 if test "${ac_cv_func_strtod+set}" = set; then :
6532 $as_echo_n "(cached) " >&6
6534 if test "$cross_compiling" = yes; then :
6535 ac_cv_func_strtod
=no
6537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6540 $ac_includes_default
6548 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
6549 char *string = " +69";
6552 value = strtod (string, &term);
6553 if (value != 69 || term != (string + 4))
6558 /* Under Solaris 2.4, strtod returns the wrong value for the
6559 terminating character under some conditions. */
6560 char *string = "NaN";
6562 strtod (string, &term);
6563 if (term != string && *(term - 1) == 0)
6570 if ac_fn_c_try_run
"$LINENO"; then :
6571 ac_cv_func_strtod
=yes
6573 ac_cv_func_strtod
=no
6575 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6576 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
6581 $as_echo "$ac_cv_func_strtod" >&6; }
6582 if test $ac_cv_func_strtod = no
; then
6583 case " $LIBOBJS " in
6584 *" strtod.$ac_objext "* ) ;;
6585 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
6589 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
6590 if test "x$ac_cv_func_pow" = x
""yes; then :
6594 if test $ac_cv_func_pow = no
; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
6596 $as_echo_n "checking for pow in -lm... " >&6; }
6597 if test "${ac_cv_lib_m_pow+set}" = set; then :
6598 $as_echo_n "(cached) " >&6
6600 ac_check_lib_save_LIBS
=$LIBS
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6620 if ac_fn_c_try_link
"$LINENO"; then :
6625 rm -f core conftest.err conftest.
$ac_objext \
6626 conftest
$ac_exeext conftest.
$ac_ext
6627 LIBS
=$ac_check_lib_save_LIBS
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
6630 $as_echo "$ac_cv_lib_m_pow" >&6; }
6631 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
6635 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
6642 for ac_func
in vprintf
6644 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
6645 if test "x$ac_cv_func_vprintf" = x
""yes; then :
6646 cat >>confdefs.h
<<_ACEOF
6647 #define HAVE_VPRINTF 1
6650 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
6651 if test "x$ac_cv_func__doprnt" = x
""yes; then :
6653 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
6662 ################################################################################
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use static linking" >&5
6664 $as_echo_n "checking whether to use static linking... " >&6; }
6665 # Check whether --enable-static_link was given.
6666 if test "${enable_static_link+set}" = set; then :
6667 enableval
=$enable_static_link; STATIC_LINK
=$enableval
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STATIC_LINK" >&5
6673 $as_echo "$STATIC_LINK" >&6; }
6675 ################################################################################
6678 ################################################################################
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file owner" >&5
6680 $as_echo_n "checking file owner... " >&6; }
6682 # Check whether --with-user was given.
6683 if test "${with_user+set}" = set; then :
6684 withval
=$with_user; OWNER
=$withval
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OWNER" >&5
6688 $as_echo "$OWNER" >&6; }
6690 if test x
$OWNER != x
; then
6691 INSTALL
="$INSTALL -o $OWNER"
6694 ################################################################################
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group owner" >&5
6696 $as_echo_n "checking group owner... " >&6; }
6698 # Check whether --with-group was given.
6699 if test "${with_group+set}" = set; then :
6700 withval
=$with_group; GROUP
=$withval
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROUP" >&5
6704 $as_echo "$GROUP" >&6; }
6706 if test x
$GROUP != x
; then
6707 INSTALL
="$INSTALL -g $GROUP"
6710 ################################################################################
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking device node uid" >&5
6712 $as_echo_n "checking device node uid... " >&6; }
6715 # Check whether --with-device-uid was given.
6716 if test "${with_device_uid+set}" = set; then :
6717 withval
=$with_device_uid; DM_DEVICE_UID
=$withval
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DM_DEVICE_UID" >&5
6723 $as_echo "$DM_DEVICE_UID" >&6; }
6725 ################################################################################
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking device node gid" >&5
6727 $as_echo_n "checking device node gid... " >&6; }
6730 # Check whether --with-device-gid was given.
6731 if test "${with_device_gid+set}" = set; then :
6732 withval
=$with_device_gid; DM_DEVICE_GID
=$withval
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DM_DEVICE_GID" >&5
6738 $as_echo "$DM_DEVICE_GID" >&6; }
6740 ################################################################################
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking device node mode" >&5
6742 $as_echo_n "checking device node mode... " >&6; }
6745 # Check whether --with-device-mode was given.
6746 if test "${with_device_mode+set}" = set; then :
6747 withval
=$with_device_mode; DM_DEVICE_MODE
=$withval
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DM_DEVICE_MODE" >&5
6753 $as_echo "$DM_DEVICE_MODE" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking when to create device nodes" >&5
6756 $as_echo_n "checking when to create device nodes... " >&6; }
6758 # Check whether --with-device-nodes-on was given.
6759 if test "${with_device_nodes_on+set}" = set; then :
6760 withval
=$with_device_nodes_on; ADD_NODE
=$withval
6766 resume
) add_on
=DM_ADD_NODE_ON_RESUME
;;
6767 create
) add_on
=DM_ADD_NODE_ON_CREATE
;;
6768 *) as_fn_error $?
"--with-device-nodes-on parameter invalid" "$LINENO" 5;;
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: on $ADD_NODE" >&5
6771 $as_echo "on $ADD_NODE" >&6; }
6773 cat >>confdefs.h
<<_ACEOF
6774 #define DEFAULT_DM_ADD_NODE $add_on
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default name mangling" >&5
6779 $as_echo_n "checking default name mangling... " >&6; }
6781 # Check whether --with-default-name-mangling was given.
6782 if test "${with_default_name_mangling+set}" = set; then :
6783 withval
=$with_default_name_mangling; MANGLING
=$withval
6789 auto
) mangling
=DM_STRING_MANGLING_AUTO
;;
6790 disabled
) mangling
=DM_STRING_MANGLING_NONE
;;
6791 hex
) mangling
=DM_STRING_MANGLING_HEX
;;
6792 *) as_fn_error $?
"--with-default-name-mangling parameter invalid" "$LINENO" 5;;
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANGLING" >&5
6795 $as_echo "$MANGLING" >&6; }
6797 cat >>confdefs.h
<<_ACEOF
6798 #define DEFAULT_DM_NAME_MANGLING $mangling
6802 ################################################################################
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable lvm1 fallback" >&5
6804 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
6805 # Check whether --enable-lvm1_fallback was given.
6806 if test "${enable_lvm1_fallback+set}" = set; then :
6807 enableval
=$enable_lvm1_fallback; LVM1_FALLBACK
=$enableval
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVM1_FALLBACK" >&5
6813 $as_echo "$LVM1_FALLBACK" >&6; }
6815 if test x
$LVM1_FALLBACK = xyes
; then
6817 $as_echo "#define LVM1_FALLBACK 1" >>confdefs.h
6821 ################################################################################
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include support for lvm1 metadata" >&5
6823 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
6825 # Check whether --with-lvm1 was given.
6826 if test "${with_lvm1+set}" = set; then :
6827 withval
=$with_lvm1; LVM1
=$withval
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVM1" >&5
6833 $as_echo "$LVM1" >&6; }
6835 if [ "x$LVM1" != xnone
-a "x$LVM1" != xinternal
-a "x$LVM1" != xshared
];
6836 then as_fn_error $?
"--with-lvm1 parameter invalid
6840 if test x
$LVM1 = xinternal
; then
6842 $as_echo "#define LVM1_INTERNAL 1" >>confdefs.h
6846 ################################################################################
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include support for GFS pool metadata" >&5
6848 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
6850 # Check whether --with-pool was given.
6851 if test "${with_pool+set}" = set; then :
6852 withval
=$with_pool; POOL
=$withval
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POOL" >&5
6858 $as_echo "$POOL" >&6; }
6860 if [ "x$POOL" != xnone
-a "x$POOL" != xinternal
-a "x$POOL" != xshared
];
6861 then as_fn_error $?
"--with-pool parameter invalid
6865 if test x
$POOL = xinternal
; then
6867 $as_echo "#define POOL_INTERNAL 1" >>confdefs.h
6871 ################################################################################
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include support for cluster locking" >&5
6873 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
6875 # Check whether --with-cluster was given.
6876 if test "${with_cluster+set}" = set; then :
6877 withval
=$with_cluster; CLUSTER
=$withval
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLUSTER" >&5
6881 $as_echo "$CLUSTER" >&6; }
6883 if [ "x$CLUSTER" != xnone
-a "x$CLUSTER" != xinternal
-a "x$CLUSTER" != xshared
];
6884 then as_fn_error $?
"--with-cluster parameter invalid
6888 if test x
$CLUSTER = xinternal
; then
6890 $as_echo "#define CLUSTER_LOCKING_INTERNAL 1" >>confdefs.h
6894 ################################################################################
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include snapshots" >&5
6896 $as_echo_n "checking whether to include snapshots... " >&6; }
6898 # Check whether --with-snapshots was given.
6899 if test "${with_snapshots+set}" = set; then :
6900 withval
=$with_snapshots; SNAPSHOTS
=$withval
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SNAPSHOTS" >&5
6906 $as_echo "$SNAPSHOTS" >&6; }
6908 if [ "x$SNAPSHOTS" != xnone
-a "x$SNAPSHOTS" != xinternal
-a "x$SNAPSHOTS" != xshared
];
6909 then as_fn_error $?
"--with-snapshots parameter invalid
6913 if test x
$SNAPSHOTS = xinternal
; then
6915 $as_echo "#define SNAPSHOT_INTERNAL 1" >>confdefs.h
6919 ################################################################################
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include mirrors" >&5
6921 $as_echo_n "checking whether to include mirrors... " >&6; }
6923 # Check whether --with-mirrors was given.
6924 if test "${with_mirrors+set}" = set; then :
6925 withval
=$with_mirrors; MIRRORS
=$withval
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIRRORS" >&5
6931 $as_echo "$MIRRORS" >&6; }
6933 if [ "x$MIRRORS" != xnone
-a "x$MIRRORS" != xinternal
-a "x$MIRRORS" != xshared
];
6934 then as_fn_error $?
"--with-mirrors parameter invalid
6938 if test x
$MIRRORS = xinternal
; then
6940 $as_echo "#define MIRRORED_INTERNAL 1" >>confdefs.h
6944 ################################################################################
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include raid" >&5
6946 $as_echo_n "checking whether to include raid... " >&6; }
6948 # Check whether --with-raid was given.
6949 if test "${with_raid+set}" = set; then :
6950 withval
=$with_raid; RAID
=$withval
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAID" >&5
6956 $as_echo "$RAID" >&6; }
6958 if [ "x$RAID" != xnone
-a "x$RAID" != xinternal
-a "x$RAID" != xshared
];
6959 then as_fn_error $?
"--with-raid parameter invalid
6963 if test x
$RAID = xinternal
; then
6965 $as_echo "#define RAID_INTERNAL 1" >>confdefs.h
6969 ################################################################################
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include replicators" >&5
6971 $as_echo_n "checking whether to include replicators... " >&6; }
6973 # Check whether --with-replicators was given.
6974 if test "${with_replicators+set}" = set; then :
6975 withval
=$with_replicators; REPLICATORS
=$withval
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REPLICATORS" >&5
6981 $as_echo "$REPLICATORS" >&6; }
6983 case "$REPLICATORS" in
6986 $as_echo "#define REPLICATOR_INTERNAL 1" >>confdefs.h
6988 *) as_fn_error $?
"--with-replicators parameter invalid ($REPLICATORS)" "$LINENO" 5 ;;
6991 ################################################################################
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include thin provisioning" >&5
6993 $as_echo_n "checking whether to include thin provisioning... " >&6; }
6995 # Check whether --with-thin was given.
6996 if test "${with_thin+set}" = set; then :
6997 withval
=$with_thin; THIN
=$withval
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THIN" >&5
7003 $as_echo "$THIN" >&6; }
7008 $as_echo "#define THIN_INTERNAL 1" >>confdefs.h
7010 *) as_fn_error $?
"--with-thin parameter invalid ($THIN)" "$LINENO" 5 ;;
7016 # Check whether --with-thin-check was given.
7017 if test "${with_thin_check+set}" = set; then :
7018 withval
=$with_thin_check; THIN_CHECK_CMD
=$withval
7020 THIN_CHECK_CMD
="autodetect"
7023 # Empty means a config way to ignore thin checking
7024 if test "$THIN_CHECK_CMD" = "autodetect"; then
7025 # Extract the first word of "thin_check", so it can be a program name with args.
7026 set dummy thin_check
; ac_word
=$2
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028 $as_echo_n "checking for $ac_word... " >&6; }
7029 if test "${ac_cv_path_THIN_CHECK_CMD+set}" = set; then :
7030 $as_echo_n "(cached) " >&6
7032 case $THIN_CHECK_CMD in
7034 ac_cv_path_THIN_CHECK_CMD
="$THIN_CHECK_CMD" # Let the user override the test with a path.
7037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir
=.
7042 for ac_exec_ext
in '' $ac_executable_extensions; do
7043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044 ac_cv_path_THIN_CHECK_CMD
="$as_dir/$ac_word$ac_exec_ext"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 THIN_CHECK_CMD
=$ac_cv_path_THIN_CHECK_CMD
7056 if test -n "$THIN_CHECK_CMD"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THIN_CHECK_CMD" >&5
7058 $as_echo "$THIN_CHECK_CMD" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7065 test -z "$THIN_CHECK_CMD" && as_fn_error $?
"thin_check not found in path $PATH" "$LINENO" 5
7071 cat >>confdefs.h
<<_ACEOF
7072 #define THIN_CHECK_CMD "$THIN_CHECK_CMD"
7077 ################################################################################
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable readline" >&5
7079 $as_echo_n "checking whether to enable readline... " >&6; }
7080 # Check whether --enable-readline was given.
7081 if test "${enable_readline+set}" = set; then :
7082 enableval
=$enable_readline; READLINE
=$enableval
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE" >&5
7088 $as_echo "$READLINE" >&6; }
7090 ################################################################################
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable realtime support" >&5
7092 $as_echo_n "checking whether to enable realtime support... " >&6; }
7093 # Check whether --enable-realtime was given.
7094 if test "${enable_realtime+set}" = set; then :
7095 enableval
=$enable_realtime; REALTIME
=$enableval
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REALTIME" >&5
7099 $as_echo "$REALTIME" >&6; }
7101 ################################################################################
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OCF resource agents" >&5
7103 $as_echo_n "checking whether to enable OCF resource agents... " >&6; }
7104 # Check whether --enable-ocf was given.
7105 if test "${enable_ocf+set}" = set; then :
7106 enableval
=$enable_ocf; OCF
=$enableval
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCF" >&5
7112 $as_echo "$OCF" >&6; }
7114 # Check whether --with-ocfdir was given.
7115 if test "${with_ocfdir+set}" = set; then :
7116 withval
=$with_ocfdir; OCFDIR
=$withval
7118 OCFDIR
='${prefix}/lib/ocf/resource.d/lvm2'
7122 ################################################################################
7130 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7133 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7137 $as_echo_n "(cached) " >&6
7141 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7163 if test -n "$PKG_CONFIG"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7165 $as_echo "$PKG_CONFIG" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7173 if test -z "$ac_cv_path_PKG_CONFIG"; then
7174 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7175 # Extract the first word of "pkg-config", so it can be a program name with args.
7176 set dummy pkg-config
; ac_word
=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7180 $as_echo_n "(cached) " >&6
7182 case $ac_pt_PKG_CONFIG in
7184 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir
=.
7192 for ac_exec_ext
in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7206 if test -n "$ac_pt_PKG_CONFIG"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7208 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7214 if test "x$ac_pt_PKG_CONFIG" = x
; then
7217 case $cross_compiling:$ac_tool_warned in
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned
=yes ;;
7223 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7226 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7230 if test -n "$PKG_CONFIG"; then
7231 _pkg_min_version
=0.9.0
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7233 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7234 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7236 $as_echo "yes" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKGCONFIGINIT" >&5
7246 $as_echo_n "checking for PKGCONFIGINIT... " >&6; }
7248 if test -n "$PKGCONFIGINIT_CFLAGS"; then
7249 pkg_cv_PKGCONFIGINIT_CFLAGS
="$PKGCONFIGINIT_CFLAGS"
7250 elif test -n "$PKG_CONFIG"; then
7251 if test -n "$PKG_CONFIG" && \
7252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\""; } >&5
7253 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; }; then
7257 pkg_cv_PKGCONFIGINIT_CFLAGS
=`$PKG_CONFIG --cflags "pkgconfiginit" 2>/dev/null`
7264 if test -n "$PKGCONFIGINIT_LIBS"; then
7265 pkg_cv_PKGCONFIGINIT_LIBS
="$PKGCONFIGINIT_LIBS"
7266 elif test -n "$PKG_CONFIG"; then
7267 if test -n "$PKG_CONFIG" && \
7268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\""; } >&5
7269 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
7271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7272 test $ac_status = 0; }; then
7273 pkg_cv_PKGCONFIGINIT_LIBS
=`$PKG_CONFIG --libs "pkgconfiginit" 2>/dev/null`
7283 if test $pkg_failed = yes; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 $as_echo "no" >&6; }
7287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7288 _pkg_short_errors_supported
=yes
7290 _pkg_short_errors_supported
=no
7292 if test $_pkg_short_errors_supported = yes; then
7293 PKGCONFIGINIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
7295 PKGCONFIGINIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
7297 # Put the nasty error message in config.log where it belongs
7298 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pkg-config initialized" >&5
7301 $as_echo "pkg-config initialized" >&6; }
7302 elif test $pkg_failed = untried
; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pkg-config initialized" >&5
7306 $as_echo "pkg-config initialized" >&6; }
7308 PKGCONFIGINIT_CFLAGS
=$pkg_cv_PKGCONFIGINIT_CFLAGS
7309 PKGCONFIGINIT_LIBS
=$pkg_cv_PKGCONFIGINIT_LIBS
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7311 $as_echo "yes" >&6; }
7317 ################################################################################
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build cluster LVM daemon" >&5
7319 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
7321 # Check whether --with-clvmd was given.
7322 if test "${with_clvmd+set}" = set; then :
7323 withval
=$with_clvmd; CLVMD
=$withval
7328 if test x
$CLVMD = xyes
; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLVMD" >&5
7332 $as_echo "$CLVMD" >&6; }
7334 if test x
$CLVMD != xnone
&& test x
$CLUSTER = xnone
; then
7338 if test x
$CLVMD != xnone
&& test x
$PKGCONFIG_INIT != x1
; then
7343 CLVMD_NEEDS_QDISKD
=no
7345 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
7346 as_fn_error $?
"Since version 2.02.87 GULM locking is no longer supported." "$LINENO" 5;
7348 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
7350 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS cman"
7351 CLVMD_NEEDS_QDISKD
=yes
7353 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
7355 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS corosync"
7357 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
7359 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS openais"
7361 if test x
$CLVMD_NEEDS_QDISKD != xno
; then
7362 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS qdiskd"
7370 as_fn_error $?
"bailing out" "$LINENO" 5
7373 if test x
$CLVMD = xall
; then
7374 bailout
=soft_bailout
7379 bailout
=hard_bailout
7382 check_lib_no_libs
() {
7388 as_ac_Lib
=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" | $as_tr_sh`
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
7390 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
7391 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7392 $as_echo_n "(cached) " >&6
7394 ac_check_lib_save_LIBS
=$LIBS
7395 LIBS
="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
7396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7399 /* Override any GCC internal prototype to avoid an error.
7400 Use char because int might match the return type of a GCC
7401 builtin and then its argument prototype would still apply. */
7405 char $lib_no_libs_arg2 ();
7409 return $lib_no_libs_arg2 ();
7414 if ac_fn_c_try_link
"$LINENO"; then :
7415 eval "$as_ac_Lib=yes"
7417 eval "$as_ac_Lib=no"
7419 rm -f core conftest.err conftest.
$ac_objext \
7420 conftest
$ac_exeext conftest.
$ac_ext
7421 LIBS
=$ac_check_lib_save_LIBS
7423 eval ac_res
=\$
$as_ac_Lib
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7425 $as_echo "$ac_res" >&6; }
7426 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
7427 cat >>confdefs.h
<<_ACEOF
7428 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
7431 LIBS
="-l$lib_no_libs_arg1 $LIBS"
7437 LIBS
=$ac_check_lib_save_LIBS
7440 if test x
$BUILDCMAN = xyes
; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CMAN" >&5
7444 $as_echo_n "checking for CMAN... " >&6; }
7446 if test -n "$CMAN_CFLAGS"; then
7447 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
7448 elif test -n "$PKG_CONFIG"; then
7449 if test -n "$PKG_CONFIG" && \
7450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcman\""; } >&5
7451 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454 test $ac_status = 0; }; then
7455 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
7462 if test -n "$CMAN_LIBS"; then
7463 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
7464 elif test -n "$PKG_CONFIG"; then
7465 if test -n "$PKG_CONFIG" && \
7466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcman\""; } >&5
7467 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
7469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7470 test $ac_status = 0; }; then
7471 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
7481 if test $pkg_failed = yes; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7486 _pkg_short_errors_supported
=yes
7488 _pkg_short_errors_supported
=no
7490 if test $_pkg_short_errors_supported = yes; then
7491 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
7493 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
7495 # Put the nasty error message in config.log where it belongs
7496 echo "$CMAN_PKG_ERRORS" >&5
7499 for ac_header
in libcman.h
7501 ac_fn_c_check_header_mongrel
"$LINENO" "libcman.h" "ac_cv_header_libcman_h" "$ac_includes_default"
7502 if test "x$ac_cv_header_libcman_h" = x
""yes; then :
7503 cat >>confdefs.h
<<_ACEOF
7504 #define HAVE_LIBCMAN_H 1
7513 check_lib_no_libs cman cman_init
7514 if test $NOTFOUND = 0; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libcman, using -lcman" >&5
7516 $as_echo "no pkg for libcman, using -lcman" >&6; }
7520 elif test $pkg_failed = untried
; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7524 for ac_header
in libcman.h
7526 ac_fn_c_check_header_mongrel
"$LINENO" "libcman.h" "ac_cv_header_libcman_h" "$ac_includes_default"
7527 if test "x$ac_cv_header_libcman_h" = x
""yes; then :
7528 cat >>confdefs.h
<<_ACEOF
7529 #define HAVE_LIBCMAN_H 1
7538 check_lib_no_libs cman cman_init
7539 if test $NOTFOUND = 0; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libcman, using -lcman" >&5
7541 $as_echo "no pkg for libcman, using -lcman" >&6; }
7546 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
7547 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7549 $as_echo "yes" >&6; }
7556 if test x
$BUILDCOROSYNC = xyes || \
7557 test x
$BUILDOPENAIS = xyes
; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COROSYNC" >&5
7561 $as_echo_n "checking for COROSYNC... " >&6; }
7563 if test -n "$COROSYNC_CFLAGS"; then
7564 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
7565 elif test -n "$PKG_CONFIG"; then
7566 if test -n "$PKG_CONFIG" && \
7567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"corosync\""; } >&5
7568 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
7570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7571 test $ac_status = 0; }; then
7572 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
7579 if test -n "$COROSYNC_LIBS"; then
7580 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
7581 elif test -n "$PKG_CONFIG"; then
7582 if test -n "$PKG_CONFIG" && \
7583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"corosync\""; } >&5
7584 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
7586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7587 test $ac_status = 0; }; then
7588 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
7598 if test $pkg_failed = yes; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7603 _pkg_short_errors_supported
=yes
7605 _pkg_short_errors_supported
=no
7607 if test $_pkg_short_errors_supported = yes; then
7608 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
7610 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
7612 # Put the nasty error message in config.log where it belongs
7613 echo "$COROSYNC_PKG_ERRORS" >&5
7616 elif test $pkg_failed = untried
; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
7622 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7624 $as_echo "yes" >&6; }
7631 if test x
$BUILDCOROSYNC = xyes
; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QUORUM" >&5
7635 $as_echo_n "checking for QUORUM... " >&6; }
7637 if test -n "$QUORUM_CFLAGS"; then
7638 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
7639 elif test -n "$PKG_CONFIG"; then
7640 if test -n "$PKG_CONFIG" && \
7641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquorum\""; } >&5
7642 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
7644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7645 test $ac_status = 0; }; then
7646 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
7653 if test -n "$QUORUM_LIBS"; then
7654 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
7655 elif test -n "$PKG_CONFIG"; then
7656 if test -n "$PKG_CONFIG" && \
7657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquorum\""; } >&5
7658 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
7660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7661 test $ac_status = 0; }; then
7662 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
7672 if test $pkg_failed = yes; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7677 _pkg_short_errors_supported
=yes
7679 _pkg_short_errors_supported
=no
7681 if test $_pkg_short_errors_supported = yes; then
7682 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
7684 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
7686 # Put the nasty error message in config.log where it belongs
7687 echo "$QUORUM_PKG_ERRORS" >&5
7690 elif test $pkg_failed = untried
; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7695 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
7696 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7698 $as_echo "yes" >&6; }
7705 if test x
$BUILDOPENAIS = xyes
; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SALCK" >&5
7709 $as_echo_n "checking for SALCK... " >&6; }
7711 if test -n "$SALCK_CFLAGS"; then
7712 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
7713 elif test -n "$PKG_CONFIG"; then
7714 if test -n "$PKG_CONFIG" && \
7715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSaLck\""; } >&5
7716 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
7718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7719 test $ac_status = 0; }; then
7720 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
7727 if test -n "$SALCK_LIBS"; then
7728 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
7729 elif test -n "$PKG_CONFIG"; then
7730 if test -n "$PKG_CONFIG" && \
7731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSaLck\""; } >&5
7732 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
7734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7735 test $ac_status = 0; }; then
7736 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
7746 if test $pkg_failed = yes; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7751 _pkg_short_errors_supported
=yes
7753 _pkg_short_errors_supported
=no
7755 if test $_pkg_short_errors_supported = yes; then
7756 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
7758 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
7760 # Put the nasty error message in config.log where it belongs
7761 echo "$SALCK_PKG_ERRORS" >&5
7764 elif test $pkg_failed = untried
; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7766 $as_echo "no" >&6; }
7769 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
7770 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7772 $as_echo "yes" >&6; }
7780 if test x
$CHECKCONFDB = xyes
; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CONFDB" >&5
7784 $as_echo_n "checking for CONFDB... " >&6; }
7786 if test -n "$CONFDB_CFLAGS"; then
7787 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
7788 elif test -n "$PKG_CONFIG"; then
7789 if test -n "$PKG_CONFIG" && \
7790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfdb\""; } >&5
7791 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
7793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7794 test $ac_status = 0; }; then
7795 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
7802 if test -n "$CONFDB_LIBS"; then
7803 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
7804 elif test -n "$PKG_CONFIG"; then
7805 if test -n "$PKG_CONFIG" && \
7806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libconfdb\""; } >&5
7807 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
7809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7810 test $ac_status = 0; }; then
7811 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
7821 if test $pkg_failed = yes; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823 $as_echo "no" >&6; }
7825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7826 _pkg_short_errors_supported
=yes
7828 _pkg_short_errors_supported
=no
7830 if test $_pkg_short_errors_supported = yes; then
7831 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
7833 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
7835 # Put the nasty error message in config.log where it belongs
7836 echo "$CONFDB_PKG_ERRORS" >&5
7839 elif test $pkg_failed = untried
; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7844 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
7845 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7847 $as_echo "yes" >&6; }
7851 for ac_header
in corosync
/confdb.h
7853 ac_fn_c_check_header_mongrel
"$LINENO" "corosync/confdb.h" "ac_cv_header_corosync_confdb_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_corosync_confdb_h" = x
""yes; then :
7855 cat >>confdefs.h
<<_ACEOF
7856 #define HAVE_COROSYNC_CONFDB_H 1
7866 if test x
$HAVE_CONFDB != xyes
&& \
7867 test x
$HAVE_CONFDB_H = xyes
; then
7868 check_lib_no_libs confdb confdb_initialize
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for confdb, using -lconfdb" >&5
7870 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
7871 CONFDB_LIBS
="-lconfdb"
7877 if test x
$CHECKCMAP = xyes
; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CMAP" >&5
7881 $as_echo_n "checking for CMAP... " >&6; }
7883 if test -n "$CMAP_CFLAGS"; then
7884 pkg_cv_CMAP_CFLAGS
="$CMAP_CFLAGS"
7885 elif test -n "$PKG_CONFIG"; then
7886 if test -n "$PKG_CONFIG" && \
7887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcmap\""; } >&5
7888 ($PKG_CONFIG --exists --print-errors "libcmap") 2>&5
7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7891 test $ac_status = 0; }; then
7892 pkg_cv_CMAP_CFLAGS
=`$PKG_CONFIG --cflags "libcmap" 2>/dev/null`
7899 if test -n "$CMAP_LIBS"; then
7900 pkg_cv_CMAP_LIBS
="$CMAP_LIBS"
7901 elif test -n "$PKG_CONFIG"; then
7902 if test -n "$PKG_CONFIG" && \
7903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcmap\""; } >&5
7904 ($PKG_CONFIG --exists --print-errors "libcmap") 2>&5
7906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7907 test $ac_status = 0; }; then
7908 pkg_cv_CMAP_LIBS
=`$PKG_CONFIG --libs "libcmap" 2>/dev/null`
7918 if test $pkg_failed = yes; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7923 _pkg_short_errors_supported
=yes
7925 _pkg_short_errors_supported
=no
7927 if test $_pkg_short_errors_supported = yes; then
7928 CMAP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcmap" 2>&1`
7930 CMAP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcmap" 2>&1`
7932 # Put the nasty error message in config.log where it belongs
7933 echo "$CMAP_PKG_ERRORS" >&5
7936 elif test $pkg_failed = untried
; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7941 CMAP_CFLAGS
=$pkg_cv_CMAP_CFLAGS
7942 CMAP_LIBS
=$pkg_cv_CMAP_LIBS
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7944 $as_echo "yes" >&6; }
7948 for ac_header
in corosync
/cmap.h
7950 ac_fn_c_check_header_mongrel
"$LINENO" "corosync/cmap.h" "ac_cv_header_corosync_cmap_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_corosync_cmap_h" = x
""yes; then :
7952 cat >>confdefs.h
<<_ACEOF
7953 #define HAVE_COROSYNC_CMAP_H 1
7963 if test x
$HAVE_CMAP != xyes
&& \
7964 test x
$HAVE_CMAP_H = xyes
; then
7965 check_lib_no_libs cmap cmap_initialize
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for cmap, using -lcmap" >&5
7967 $as_echo "no pkg for cmap, using -lcmap" >&6; }
7973 if test x
$BUILDCOROSYNC = xyes
; then
7974 if test x
$HAVE_CMAP != xyes
&& \
7975 test x
$HAVE_CONFDB != xyes
&& \
7976 test x
$CLVMD != xall
; then
7977 as_fn_error $?
"bailing out... cmap (corosync >= 2.0) or confdb (corosync < 2.0) library is required" "$LINENO" 5
7981 if test x
$CHECKCPG = xyes
; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPG" >&5
7985 $as_echo_n "checking for CPG... " >&6; }
7987 if test -n "$CPG_CFLAGS"; then
7988 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
7989 elif test -n "$PKG_CONFIG"; then
7990 if test -n "$PKG_CONFIG" && \
7991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpg\""; } >&5
7992 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
7994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7995 test $ac_status = 0; }; then
7996 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
8003 if test -n "$CPG_LIBS"; then
8004 pkg_cv_CPG_LIBS
="$CPG_LIBS"
8005 elif test -n "$PKG_CONFIG"; then
8006 if test -n "$PKG_CONFIG" && \
8007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpg\""; } >&5
8008 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
8010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8011 test $ac_status = 0; }; then
8012 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
8022 if test $pkg_failed = yes; then
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8027 _pkg_short_errors_supported
=yes
8029 _pkg_short_errors_supported
=no
8031 if test $_pkg_short_errors_supported = yes; then
8032 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
8034 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
8036 # Put the nasty error message in config.log where it belongs
8037 echo "$CPG_PKG_ERRORS" >&5
8040 elif test $pkg_failed = untried
; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8045 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
8046 CPG_LIBS
=$pkg_cv_CPG_LIBS
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8048 $as_echo "yes" >&6; }
8053 if test x
$CHECKDLM = xyes
; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLM" >&5
8057 $as_echo_n "checking for DLM... " >&6; }
8059 if test -n "$DLM_CFLAGS"; then
8060 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
8061 elif test -n "$PKG_CONFIG"; then
8062 if test -n "$PKG_CONFIG" && \
8063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdlm\""; } >&5
8064 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
8066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8067 test $ac_status = 0; }; then
8068 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
8075 if test -n "$DLM_LIBS"; then
8076 pkg_cv_DLM_LIBS
="$DLM_LIBS"
8077 elif test -n "$PKG_CONFIG"; then
8078 if test -n "$PKG_CONFIG" && \
8079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdlm\""; } >&5
8080 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083 test $ac_status = 0; }; then
8084 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
8094 if test $pkg_failed = yes; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8099 _pkg_short_errors_supported
=yes
8101 _pkg_short_errors_supported
=no
8103 if test $_pkg_short_errors_supported = yes; then
8104 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
8106 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
8108 # Put the nasty error message in config.log where it belongs
8109 echo "$DLM_PKG_ERRORS" >&5
8112 for ac_header
in libdlm.h
8114 ac_fn_c_check_header_mongrel
"$LINENO" "libdlm.h" "ac_cv_header_libdlm_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_libdlm_h" = x
""yes; then :
8116 cat >>confdefs.h
<<_ACEOF
8117 #define HAVE_LIBDLM_H 1
8126 check_lib_no_libs dlm dlm_lock
-lpthread
8127 if test $NOTFOUND = 0; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libdlm, using -ldlm" >&5
8129 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
8130 DLM_LIBS
="-ldlm -lpthread"
8133 elif test $pkg_failed = untried
; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8137 for ac_header
in libdlm.h
8139 ac_fn_c_check_header_mongrel
"$LINENO" "libdlm.h" "ac_cv_header_libdlm_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_libdlm_h" = x
""yes; then :
8141 cat >>confdefs.h
<<_ACEOF
8142 #define HAVE_LIBDLM_H 1
8151 check_lib_no_libs dlm dlm_lock
-lpthread
8152 if test $NOTFOUND = 0; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pkg for libdlm, using -ldlm" >&5
8154 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
8155 DLM_LIBS
="-ldlm -lpthread"
8159 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
8160 DLM_LIBS
=$pkg_cv_DLM_LIBS
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8162 $as_echo "yes" >&6; }
8167 if test x
$CLVMD = xall
; then
8170 CLVMD_NEEDS_QDISKD
=no
8171 if test x
$HAVE_CMAN = xyes
&& \
8172 test x
$HAVE_DLM = xyes
; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling clvmd cman cluster manager" >&5
8174 $as_echo "Enabling clvmd cman cluster manager" >&6; }
8176 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS cman"
8177 CLVMD_NEEDS_QDISKD
=yes
8179 if test x
$HAVE_COROSYNC = xyes
&& \
8180 test x
$HAVE_QUORUM = xyes
&& \
8181 test x
$HAVE_CPG = xyes
&& \
8182 test x
$HAVE_DLM = xyes
; then
8183 if test x
$HAVE_CONFDB = xyes ||
test x
$HAVE_CMAP = xyes
; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling clvmd corosync cluster manager" >&5
8185 $as_echo "Enabling clvmd corosync cluster manager" >&6; }
8186 CLVMD
="$CLVMD,corosync"
8187 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS corosync"
8190 if test x
$HAVE_COROSYNC = xyes
&& \
8191 test x
$HAVE_CPG = xyes
&& \
8192 test x
$HAVE_SALCK = xyes
; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling clvmd openais cluster manager" >&5
8194 $as_echo "Enabling clvmd openais cluster manager" >&6; }
8195 CLVMD
="$CLVMD,openais"
8196 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS openais"
8198 if test x
$CLVMD_NEEDS_QDISKD != xno
; then
8199 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS qdiskd"
8201 if test x
$CLVMD = xnone
; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling clvmd build. No cluster manager detected." >&5
8203 $as_echo "Disabling clvmd build. No cluster manager detected." >&6; }
8207 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
8208 if test x
$HAVE_CMAP = xyes
; then
8209 CLVMD_CMANAGERS
="$CLVMD_CMANAGERS dlm"
8213 ################################################################################
8214 if test "x$CLVMD" != xnone
; then
8216 # Check whether --with-clvmd-pidfile was given.
8217 if test "${with_clvmd_pidfile+set}" = set; then :
8218 withval
=$with_clvmd_pidfile; CLVMD_PIDFILE
=$withval
8220 CLVMD_PIDFILE
="/var/run/clvmd.pid"
8224 cat >>confdefs.h
<<_ACEOF
8225 #define CLVMD_PIDFILE "$CLVMD_PIDFILE"
8230 ################################################################################
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build cluster mirror log daemon" >&5
8232 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; }
8233 # Check whether --enable-cmirrord was given.
8234 if test "${enable_cmirrord+set}" = set; then :
8235 enableval
=$enable_cmirrord; CMIRRORD
=$enableval
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMIRRORD" >&5
8241 $as_echo "$CMIRRORD" >&6; }
8243 BUILD_CMIRRORD
=$CMIRRORD
8245 ################################################################################
8246 if test "x$BUILD_CMIRRORD" = xyes
; then
8248 # Check whether --with-cmirrord-pidfile was given.
8249 if test "${with_cmirrord_pidfile+set}" = set; then :
8250 withval
=$with_cmirrord_pidfile; CMIRRORD_PIDFILE
=$withval
8252 CMIRRORD_PIDFILE
="/var/run/cmirrord.pid"
8256 cat >>confdefs.h
<<_ACEOF
8257 #define CMIRRORD_PIDFILE "$CMIRRORD_PIDFILE"
8262 ################################################################################
8263 if [ "x$BUILD_CMIRRORD" = xyes
]; then
8264 if test x
$PKGCONFIG_INIT != x1
; then
8269 $as_echo "#define CMIRROR_HAS_CHECKPOINT 1" >>confdefs.h
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SACKPT" >&5
8274 $as_echo_n "checking for SACKPT... " >&6; }
8276 if test -n "$SACKPT_CFLAGS"; then
8277 pkg_cv_SACKPT_CFLAGS
="$SACKPT_CFLAGS"
8278 elif test -n "$PKG_CONFIG"; then
8279 if test -n "$PKG_CONFIG" && \
8280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\""; } >&5
8281 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
8283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8284 test $ac_status = 0; }; then
8285 pkg_cv_SACKPT_CFLAGS
=`$PKG_CONFIG --cflags "libSaCkpt" 2>/dev/null`
8292 if test -n "$SACKPT_LIBS"; then
8293 pkg_cv_SACKPT_LIBS
="$SACKPT_LIBS"
8294 elif test -n "$PKG_CONFIG"; then
8295 if test -n "$PKG_CONFIG" && \
8296 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\""; } >&5
8297 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
8299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8300 test $ac_status = 0; }; then
8301 pkg_cv_SACKPT_LIBS
=`$PKG_CONFIG --libs "libSaCkpt" 2>/dev/null`
8311 if test $pkg_failed = yes; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8316 _pkg_short_errors_supported
=yes
8318 _pkg_short_errors_supported
=no
8320 if test $_pkg_short_errors_supported = yes; then
8321 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt" 2>&1`
8323 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaCkpt" 2>&1`
8325 # Put the nasty error message in config.log where it belongs
8326 echo "$SACKPT_PKG_ERRORS" >&5
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no libSaCkpt, compiling without it" >&5
8329 $as_echo "no libSaCkpt, compiling without it" >&6; }
8331 $as_echo "#define CMIRROR_HAS_CHECKPOINT 0" >>confdefs.h
8333 elif test $pkg_failed = untried
; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no libSaCkpt, compiling without it" >&5
8337 $as_echo "no libSaCkpt, compiling without it" >&6; }
8339 $as_echo "#define CMIRROR_HAS_CHECKPOINT 0" >>confdefs.h
8342 SACKPT_CFLAGS
=$pkg_cv_SACKPT_CFLAGS
8343 SACKPT_LIBS
=$pkg_cv_SACKPT_LIBS
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8345 $as_echo "yes" >&6; }
8349 if test x
$HAVE_CPG != xyes
; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPG" >&5
8353 $as_echo_n "checking for CPG... " >&6; }
8355 if test -n "$CPG_CFLAGS"; then
8356 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
8357 elif test -n "$PKG_CONFIG"; then
8358 if test -n "$PKG_CONFIG" && \
8359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpg\""; } >&5
8360 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
8362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8363 test $ac_status = 0; }; then
8364 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
8371 if test -n "$CPG_LIBS"; then
8372 pkg_cv_CPG_LIBS
="$CPG_LIBS"
8373 elif test -n "$PKG_CONFIG"; then
8374 if test -n "$PKG_CONFIG" && \
8375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpg\""; } >&5
8376 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
8378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8379 test $ac_status = 0; }; then
8380 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
8390 if test $pkg_failed = yes; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8395 _pkg_short_errors_supported
=yes
8397 _pkg_short_errors_supported
=no
8399 if test $_pkg_short_errors_supported = yes; then
8400 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
8402 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
8404 # Put the nasty error message in config.log where it belongs
8405 echo "$CPG_PKG_ERRORS" >&5
8407 as_fn_error $?
"Package requirements (libcpg) were not met:
8411 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8412 installed software in a non-standard prefix.
8414 Alternatively, you may set the environment variables CPG_CFLAGS
8415 and CPG_LIBS to avoid the need to call pkg-config.
8416 See the pkg-config man page for more details." "$LINENO" 5
8418 elif test $pkg_failed = untried
; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8423 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8424 is in your PATH or set the PKG_CONFIG environment variable to the full
8427 Alternatively, you may set the environment variables CPG_CFLAGS
8428 and CPG_LIBS to avoid the need to call pkg-config.
8429 See the pkg-config man page for more details.
8431 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8432 See \`config.log' for more details" "$LINENO" 5; }
8435 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
8436 CPG_LIBS
=$pkg_cv_CPG_LIBS
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8438 $as_echo "yes" >&6; }
8444 ################################################################################
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
8446 $as_echo_n "checking whether to enable debugging... " >&6; }
8447 # Check whether --enable-debug was given.
8448 if test "${enable_debug+set}" = set; then :
8449 enableval
=$enable_debug; DEBUG
=$enableval
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
8455 $as_echo "$DEBUG" >&6; }
8457 if test x
$DEBUG = xyes
; then
8463 ################################################################################
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C optimisation flag" >&5
8465 $as_echo_n "checking for C optimisation flag... " >&6; }
8467 # Check whether --with-optimisation was given.
8468 if test "${with_optimisation+set}" = set; then :
8469 withval
=$with_optimisation; COPTIMISE_FLAG
=$withval
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COPTIMISE_FLAG" >&5
8473 $as_echo "$COPTIMISE_FLAG" >&6; }
8475 ################################################################################
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to gather gcov profiling data" >&5
8477 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
8478 # Check whether --enable-profiling was given.
8479 if test "${enable_profiling+set}" = set; then :
8480 enableval
=$enable_profiling; PROFILING
=$enableval
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILING" >&5
8486 $as_echo "$PROFILING" >&6; }
8488 if test "x$PROFILING" = xyes
; then
8489 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
8490 # Extract the first word of "lcov", so it can be a program name with args.
8491 set dummy lcov
; ac_word
=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8493 $as_echo_n "checking for $ac_word... " >&6; }
8494 if test "${ac_cv_path_LCOV+set}" = set; then :
8495 $as_echo_n "(cached) " >&6
8499 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
8502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8506 test -z "$as_dir" && as_dir
=.
8507 for ac_exec_ext
in '' $ac_executable_extensions; do
8508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8509 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8520 LCOV
=$ac_cv_path_LCOV
8521 if test -n "$LCOV"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
8523 $as_echo "$LCOV" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8530 # Extract the first word of "genhtml", so it can be a program name with args.
8531 set dummy genhtml
; ac_word
=$2
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8533 $as_echo_n "checking for $ac_word... " >&6; }
8534 if test "${ac_cv_path_GENHTML+set}" = set; then :
8535 $as_echo_n "(cached) " >&6
8539 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
8542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8546 test -z "$as_dir" && as_dir
=.
8547 for ac_exec_ext
in '' $ac_executable_extensions; do
8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8560 GENHTML
=$ac_cv_path_GENHTML
8561 if test -n "$GENHTML"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
8563 $as_echo "$GENHTML" >&6; }
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8566 $as_echo "no" >&6; }
8570 if test -z "$LCOV" -o -z "$GENHTML"; then
8571 as_fn_error $?
"lcov and genhtml are required for profiling" "$LINENO" 5
8573 # Extract the first word of "genpng", so it can be a program name with args.
8574 set dummy genpng
; ac_word
=$2
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8576 $as_echo_n "checking for $ac_word... " >&6; }
8577 if test "${ac_cv_path_GENPNG+set}" = set; then :
8578 $as_echo_n "(cached) " >&6
8582 ac_cv_path_GENPNG
="$GENPNG" # Let the user override the test with a path.
8585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir
=.
8590 for ac_exec_ext
in '' $ac_executable_extensions; do
8591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592 ac_cv_path_GENPNG
="$as_dir/$ac_word$ac_exec_ext"
8593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8603 GENPNG
=$ac_cv_path_GENPNG
8604 if test -n "$GENPNG"; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENPNG" >&5
8606 $as_echo "$GENPNG" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8609 $as_echo "no" >&6; }
8613 if test -n "$GENPNG"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $GENPNG has all required modules" >&5
8615 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
8616 if $GENPNG --help > /dev
/null
2>&1 ; then
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8618 $as_echo "ok" >&6; }
8619 GENHTML
="$GENHTML --frames"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported" >&5
8622 $as_echo "not supported" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GD.pm perl module is not installed" >&5
8624 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
8630 ################################################################################
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable unit testing" >&5
8632 $as_echo_n "checking whether to enable unit testing... " >&6; }
8633 # Check whether --enable-testing was given.
8634 if test "${enable_testing+set}" = set; then :
8635 enableval
=$enable_testing; TESTING
=$enableval
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TESTING" >&5
8641 $as_echo "$TESTING" >&6; }
8643 if test "$TESTING" = yes; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUNIT" >&5
8647 $as_echo_n "checking for CUNIT... " >&6; }
8649 if test -n "$CUNIT_CFLAGS"; then
8650 pkg_cv_CUNIT_CFLAGS
="$CUNIT_CFLAGS"
8651 elif test -n "$PKG_CONFIG"; then
8652 if test -n "$PKG_CONFIG" && \
8653 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cunit >= 2.0\""; } >&5
8654 ($PKG_CONFIG --exists --print-errors "cunit >= 2.0") 2>&5
8656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8657 test $ac_status = 0; }; then
8658 pkg_cv_CUNIT_CFLAGS
=`$PKG_CONFIG --cflags "cunit >= 2.0" 2>/dev/null`
8665 if test -n "$CUNIT_LIBS"; then
8666 pkg_cv_CUNIT_LIBS
="$CUNIT_LIBS"
8667 elif test -n "$PKG_CONFIG"; then
8668 if test -n "$PKG_CONFIG" && \
8669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cunit >= 2.0\""; } >&5
8670 ($PKG_CONFIG --exists --print-errors "cunit >= 2.0") 2>&5
8672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8673 test $ac_status = 0; }; then
8674 pkg_cv_CUNIT_LIBS
=`$PKG_CONFIG --libs "cunit >= 2.0" 2>/dev/null`
8684 if test $pkg_failed = yes; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8689 _pkg_short_errors_supported
=yes
8691 _pkg_short_errors_supported
=no
8693 if test $_pkg_short_errors_supported = yes; then
8694 CUNIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "cunit >= 2.0" 2>&1`
8696 CUNIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "cunit >= 2.0" 2>&1`
8698 # Put the nasty error message in config.log where it belongs
8699 echo "$CUNIT_PKG_ERRORS" >&5
8701 as_fn_error $?
"Package requirements (cunit >= 2.0) were not met:
8705 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8706 installed software in a non-standard prefix.
8708 Alternatively, you may set the environment variables CUNIT_CFLAGS
8709 and CUNIT_LIBS to avoid the need to call pkg-config.
8710 See the pkg-config man page for more details." "$LINENO" 5
8712 elif test $pkg_failed = untried
; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8717 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8718 is in your PATH or set the PKG_CONFIG environment variable to the full
8721 Alternatively, you may set the environment variables CUNIT_CFLAGS
8722 and CUNIT_LIBS to avoid the need to call pkg-config.
8723 See the pkg-config man page for more details.
8725 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8726 See \`config.log' for more details" "$LINENO" 5; }
8729 CUNIT_CFLAGS
=$pkg_cv_CUNIT_CFLAGS
8730 CUNIT_LIBS
=$pkg_cv_CUNIT_LIBS
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8732 $as_echo "yes" >&6; }
8737 ################################################################################
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable valgrind awareness of pools" >&5
8739 $as_echo_n "checking whether to enable valgrind awareness of pools... " >&6; }
8740 # Check whether --enable-valgrind_pool was given.
8741 if test "${enable_valgrind_pool+set}" = set; then :
8742 enableval
=$enable_valgrind_pool; VALGRIND_POOL
=$enableval
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_POOL" >&5
8748 $as_echo "$VALGRIND_POOL" >&6; }
8750 if test "$VALGRIND_POOL" = yes; then
8751 for ac_header
in valgrind
/memcheck.h
8753 ac_fn_c_check_header_mongrel
"$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8754 if test "x$ac_cv_header_valgrind_memcheck_h" = x
""yes; then :
8755 cat >>confdefs.h
<<_ACEOF
8756 #define HAVE_VALGRIND_MEMCHECK_H 1
8760 as_fn_error $?
"bailing out" "$LINENO" 5
8766 $as_echo "#define VALGRIND_POOL 1" >>confdefs.h
8770 ################################################################################
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use device-mapper" >&5
8772 $as_echo_n "checking whether to use device-mapper... " >&6; }
8773 # Check whether --enable-devmapper was given.
8774 if test "${enable_devmapper+set}" = set; then :
8775 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEVMAPPER" >&5
8779 $as_echo "$DEVMAPPER" >&6; }
8781 if test x
$DEVMAPPER = xyes
; then
8783 $as_echo "#define DEVMAPPER_SUPPORT 1" >>confdefs.h
8787 ################################################################################
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build LVMetaD" >&5
8789 $as_echo_n "checking whether to build LVMetaD... " >&6; }
8790 # Check whether --enable-lvmetad was given.
8791 if test "${enable_lvmetad+set}" = set; then :
8792 enableval
=$enable_lvmetad; LVMETAD
=$enableval
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVMETAD" >&5
8796 $as_echo "$LVMETAD" >&6; }
8798 BUILD_LVMETAD
=$LVMETAD
8800 if test x
$BUILD_LVMETAD = xyes
; then
8802 $as_echo "#define LVMETAD_SUPPORT 1" >>confdefs.h
8806 ################################################################################
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable synchronisation with udev processing" >&5
8808 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
8809 # Check whether --enable-udev_sync was given.
8810 if test "${enable_udev_sync+set}" = set; then :
8811 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEV_SYNC" >&5
8817 $as_echo "$UDEV_SYNC" >&6; }
8819 if test x
$UDEV_SYNC = xyes
; then
8820 if test x
$PKGCONFIG_INIT != x1
; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
8826 $as_echo_n "checking for UDEV... " >&6; }
8828 if test -n "$UDEV_CFLAGS"; then
8829 pkg_cv_UDEV_CFLAGS
="$UDEV_CFLAGS"
8830 elif test -n "$PKG_CONFIG"; then
8831 if test -n "$PKG_CONFIG" && \
8832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
8833 ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
8835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8836 test $ac_status = 0; }; then
8837 pkg_cv_UDEV_CFLAGS
=`$PKG_CONFIG --cflags "libudev >= 143" 2>/dev/null`
8844 if test -n "$UDEV_LIBS"; then
8845 pkg_cv_UDEV_LIBS
="$UDEV_LIBS"
8846 elif test -n "$PKG_CONFIG"; then
8847 if test -n "$PKG_CONFIG" && \
8848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
8849 ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
8851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8852 test $ac_status = 0; }; then
8853 pkg_cv_UDEV_LIBS
=`$PKG_CONFIG --libs "libudev >= 143" 2>/dev/null`
8863 if test $pkg_failed = yes; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8868 _pkg_short_errors_supported
=yes
8870 _pkg_short_errors_supported
=no
8872 if test $_pkg_short_errors_supported = yes; then
8873 UDEV_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libudev >= 143" 2>&1`
8875 UDEV_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libudev >= 143" 2>&1`
8877 # Put the nasty error message in config.log where it belongs
8878 echo "$UDEV_PKG_ERRORS" >&5
8880 as_fn_error $?
"Package requirements (libudev >= 143) were not met:
8884 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8885 installed software in a non-standard prefix.
8887 Alternatively, you may set the environment variables UDEV_CFLAGS
8888 and UDEV_LIBS to avoid the need to call pkg-config.
8889 See the pkg-config man page for more details." "$LINENO" 5
8891 elif test $pkg_failed = untried
; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8893 $as_echo "no" >&6; }
8894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8896 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
8897 is in your PATH or set the PKG_CONFIG environment variable to the full
8900 Alternatively, you may set the environment variables UDEV_CFLAGS
8901 and UDEV_LIBS to avoid the need to call pkg-config.
8902 See the pkg-config man page for more details.
8904 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8905 See \`config.log' for more details" "$LINENO" 5; }
8908 UDEV_CFLAGS
=$pkg_cv_UDEV_CFLAGS
8909 UDEV_LIBS
=$pkg_cv_UDEV_LIBS
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8911 $as_echo "yes" >&6; }
8915 $as_echo "#define UDEV_SYNC_SUPPORT 1" >>confdefs.h
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable installation of udev rules required for synchronisation" >&5
8920 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
8921 # Check whether --enable-udev_rules was given.
8922 if test "${enable_udev_rules+set}" = set; then :
8923 enableval
=$enable_udev_rules; UDEV_RULES
=$enableval
8925 UDEV_RULES
=$UDEV_SYNC
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEV_RULES" >&5
8929 $as_echo "$UDEV_RULES" >&6; }
8931 if test x
$UDEV_RULES = xyes
; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether udev supports builtin blkid" >&5
8933 $as_echo_n "checking whether udev supports builtin blkid... " >&6; }
8934 udev_version
=$
(udevadm info
--version 2>/dev
/null
)
8935 if test -n "$udev_version" && test "$udev_version" -ge 176; then
8936 UDEV_HAS_BUILTIN_BLKID
=yes
8938 UDEV_HAS_BUILTIN_BLKID
=no
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEV_HAS_BUILTIN_BLKID" >&5
8941 $as_echo "$UDEV_HAS_BUILTIN_BLKID" >&6; }
8944 ################################################################################
8945 # Check whether --enable-compat was given.
8946 if test "${enable_compat+set}" = set; then :
8947 enableval
=$enable_compat; DM_COMPAT
=$enableval
8953 if test x
$DM_COMPAT = xyes
; then
8954 as_fn_error $?
"--enable-compat is not currently supported.
8955 Since device-mapper version 1.02.66, only one version (4) of the device-mapper
8956 ioctl protocol is supported.
8960 ################################################################################
8961 # Check whether --enable-units-compat was given.
8962 if test "${enable_units_compat+set}" = set; then :
8963 enableval
=$enable_units_compat; UNITS_COMPAT
=$enableval
8969 if test x
$UNITS_COMPAT = xyes
; then
8971 $as_echo "#define DEFAULT_SI_UNIT_CONSISTENCY 0" >>confdefs.h
8975 ################################################################################
8976 # Check whether --enable-ioctl was given.
8977 if test "${enable_ioctl+set}" = set; then :
8978 enableval
=$enable_ioctl; DM_IOCTLS
=$enableval
8982 ################################################################################
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable O_DIRECT" >&5
8984 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
8985 # Check whether --enable-o_direct was given.
8986 if test "${enable_o_direct+set}" = set; then :
8987 enableval
=$enable_o_direct; ODIRECT
=$enableval
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ODIRECT" >&5
8991 $as_echo "$ODIRECT" >&6; }
8993 if test x
$ODIRECT = xyes
; then
8995 $as_echo "#define O_DIRECT_SUPPORT 1" >>confdefs.h
8999 ################################################################################
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build liblvm2app.so application library" >&5
9001 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
9002 # Check whether --enable-applib was given.
9003 if test "${enable_applib+set}" = set; then :
9004 enableval
=$enable_applib; APPLIB
=$enableval
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPLIB" >&5
9010 $as_echo "$APPLIB" >&6; }
9012 test x
$APPLIB = xyes \
9013 && LVM2APP_LIB
=-llvm2app \
9016 ################################################################################
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile liblvm2cmd.so" >&5
9018 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
9019 # Check whether --enable-cmdlib was given.
9020 if test "${enable_cmdlib+set}" = set; then :
9021 enableval
=$enable_cmdlib; CMDLIB
=$enableval
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMDLIB" >&5
9027 $as_echo "$CMDLIB" >&6; }
9029 test x
$CMDLIB = xyes \
9030 && LVM2CMD_LIB
=-llvm2cmd \
9033 ################################################################################
9034 # Check whether --enable-pkgconfig was given.
9035 if test "${enable_pkgconfig+set}" = set; then :
9036 enableval
=$enable_pkgconfig; PKGCONFIG
=$enableval
9042 ################################################################################
9043 # Check whether --enable-write_install was given.
9044 if test "${enable_write_install+set}" = set; then :
9045 enableval
=$enable_write_install; WRITE_INSTALL
=$enableval
9051 ################################################################################
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install fsadm" >&5
9053 $as_echo_n "checking whether to install fsadm... " >&6; }
9054 # Check whether --enable-fsadm was given.
9055 if test "${enable_fsadm+set}" = set; then :
9056 enableval
=$enable_fsadm; FSADM
=$enableval
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FSADM" >&5
9060 $as_echo "$FSADM" >&6; }
9062 ################################################################################
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use dmeventd" >&5
9064 $as_echo_n "checking whether to use dmeventd... " >&6; }
9065 # Check whether --enable-dmeventd was given.
9066 if test "${enable_dmeventd+set}" = set; then :
9067 enableval
=$enable_dmeventd; DMEVENTD
=$enableval
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DMEVENTD" >&5
9071 $as_echo "$DMEVENTD" >&6; }
9073 BUILD_DMEVENTD
=$DMEVENTD
9075 if test x
$DMEVENTD = xyes
; then
9076 if test x
$MIRRORS != xinternal
; then
9077 as_fn_error $?
"--enable-dmeventd currently requires --with-mirrors=internal
9080 if test x
$CMDLIB = xno
; then
9081 as_fn_error $?
"--enable-dmeventd requires --enable-cmdlib to be used as well
9086 if test x
$DMEVENTD = xyes
; then
9088 $as_echo "#define DMEVENTD 1" >>confdefs.h
9092 ################################################################################
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getline in -lc" >&5
9095 $as_echo_n "checking for getline in -lc... " >&6; }
9096 if test "${ac_cv_lib_c_getline+set}" = set; then :
9097 $as_echo_n "(cached) " >&6
9099 ac_check_lib_save_LIBS
=$LIBS
9101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9104 /* Override any GCC internal prototype to avoid an error.
9105 Use char because int might match the return type of a GCC
9106 builtin and then its argument prototype would still apply. */
9119 if ac_fn_c_try_link
"$LINENO"; then :
9120 ac_cv_lib_c_getline
=yes
9122 ac_cv_lib_c_getline
=no
9124 rm -f core conftest.err conftest.
$ac_objext \
9125 conftest
$ac_exeext conftest.
$ac_ext
9126 LIBS
=$ac_check_lib_save_LIBS
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getline" >&5
9129 $as_echo "$ac_cv_lib_c_getline" >&6; }
9130 if test "x$ac_cv_lib_c_getline" = x
""yes; then :
9132 $as_echo "#define HAVE_GETLINE 1" >>confdefs.h
9137 ################################################################################
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for canonicalize_file_name in -lc" >&5
9140 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
9141 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then :
9142 $as_echo_n "(cached) " >&6
9144 ac_check_lib_save_LIBS
=$LIBS
9146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9149 /* Override any GCC internal prototype to avoid an error.
9150 Use char because int might match the return type of a GCC
9151 builtin and then its argument prototype would still apply. */
9155 char canonicalize_file_name ();
9159 return canonicalize_file_name ();
9164 if ac_fn_c_try_link
"$LINENO"; then :
9165 ac_cv_lib_c_canonicalize_file_name
=yes
9167 ac_cv_lib_c_canonicalize_file_name
=no
9169 rm -f core conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 LIBS
=$ac_check_lib_save_LIBS
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9174 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
9175 if test "x$ac_cv_lib_c_canonicalize_file_name" = x
""yes; then :
9177 $as_echo "#define HAVE_CANONICALIZE_FILE_NAME 1" >>confdefs.h
9182 ################################################################################
9183 if [ "x$exec_prefix" = xNONE
-a "x$prefix" = xNONE
];
9184 then exec_prefix
="";
9187 ################################################################################
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9189 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9191 $as_echo_n "(cached) " >&6
9193 ac_check_lib_save_LIBS
=$LIBS
9195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9213 if ac_fn_c_try_link
"$LINENO"; then :
9214 ac_cv_lib_dl_dlopen
=yes
9216 ac_cv_lib_dl_dlopen
=no
9218 rm -f core conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_lib_save_LIBS
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9223 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9224 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9227 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
9238 ################################################################################
9239 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
9240 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
9241 -o "x$RAID" = xshared \
9242 \
) -a "x$STATIC_LINK" = xyes
];
9243 then as_fn_error $?
"Features cannot be 'shared' when building statically
9247 ################################################################################
9248 if [ "$DMEVENTD" = yes -o "$CLVMD" != none
] ; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
9250 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
9251 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then :
9252 $as_echo_n "(cached) " >&6
9254 ac_check_lib_save_LIBS
=$LIBS
9255 LIBS
="-lpthread $LIBS"
9256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9259 /* Override any GCC internal prototype to avoid an error.
9260 Use char because int might match the return type of a GCC
9261 builtin and then its argument prototype would still apply. */
9265 char pthread_mutex_lock ();
9269 return pthread_mutex_lock ();
9274 if ac_fn_c_try_link
"$LINENO"; then :
9275 ac_cv_lib_pthread_pthread_mutex_lock
=yes
9277 ac_cv_lib_pthread_pthread_mutex_lock
=no
9279 rm -f core conftest.err conftest.
$ac_objext \
9280 conftest
$ac_exeext conftest.
$ac_ext
9281 LIBS
=$ac_check_lib_save_LIBS
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
9284 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
9285 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x
""yes; then :
9286 PTHREAD_LIBS
="-lpthread"
9293 ################################################################################
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable selinux support" >&5
9295 $as_echo_n "checking whether to enable selinux support... " >&6; }
9296 # Check whether --enable-selinux was given.
9297 if test "${enable_selinux+set}" = set; then :
9298 enableval
=$enable_selinux; SELINUX
=$enableval
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SELINUX" >&5
9302 $as_echo "$SELINUX" >&6; }
9304 ################################################################################
9305 if test x
$SELINUX = xyes
; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sepol_check_context in -lsepol" >&5
9307 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
9308 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then :
9309 $as_echo_n "(cached) " >&6
9311 ac_check_lib_save_LIBS
=$LIBS
9312 LIBS
="-lsepol $LIBS"
9313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9322 char sepol_check_context ();
9326 return sepol_check_context ();
9331 if ac_fn_c_try_link
"$LINENO"; then :
9332 ac_cv_lib_sepol_sepol_check_context
=yes
9334 ac_cv_lib_sepol_sepol_check_context
=no
9336 rm -f core conftest.err conftest.
$ac_objext \
9337 conftest
$ac_exeext conftest.
$ac_ext
9338 LIBS
=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9341 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
9342 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then :
9345 $as_echo "#define HAVE_SEPOL 1" >>confdefs.h
9347 SELINUX_LIBS
="-lsepol"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
9352 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
9353 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then :
9354 $as_echo_n "(cached) " >&6
9356 ac_check_lib_save_LIBS
=$LIBS
9357 LIBS
="-lselinux $LIBS"
9358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9367 char is_selinux_enabled ();
9371 return is_selinux_enabled ();
9376 if ac_fn_c_try_link
"$LINENO"; then :
9377 ac_cv_lib_selinux_is_selinux_enabled
=yes
9379 ac_cv_lib_selinux_is_selinux_enabled
=no
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 LIBS
=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9386 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9387 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x
""yes; then :
9389 for ac_header
in selinux
/selinux.h
9391 ac_fn_c_check_header_mongrel
"$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
9392 if test "x$ac_cv_header_selinux_selinux_h" = x
""yes; then :
9393 cat >>confdefs.h
<<_ACEOF
9394 #define HAVE_SELINUX_SELINUX_H 1
9403 for ac_header
in selinux
/label.h
9405 ac_fn_c_check_header_mongrel
"$LINENO" "selinux/label.h" "ac_cv_header_selinux_label_h" "$ac_includes_default"
9406 if test "x$ac_cv_header_selinux_label_h" = x
""yes; then :
9407 cat >>confdefs.h
<<_ACEOF
9408 #define HAVE_SELINUX_LABEL_H 1
9416 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
9418 SELINUX_LIBS
="-lselinux $SELINUX_LIBS"
9419 SELINUX_PC
="libselinux"
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling selinux" >&5
9424 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
9432 ################################################################################
9433 if test x
$REALTIME = xyes
; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
9435 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
9436 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
9437 $as_echo_n "(cached) " >&6
9439 ac_check_lib_save_LIBS
=$LIBS
9441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char clock_gettime ();
9454 return clock_gettime ();
9459 if ac_fn_c_try_link
"$LINENO"; then :
9460 ac_cv_lib_rt_clock_gettime
=yes
9462 ac_cv_lib_rt_clock_gettime
=no
9464 rm -f core conftest.err conftest.
$ac_objext \
9465 conftest
$ac_exeext conftest.
$ac_ext
9466 LIBS
=$ac_check_lib_save_LIBS
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
9469 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
9470 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
9477 if test x
$HAVE_REALTIME = xyes
; then
9479 $as_echo "#define HAVE_REALTIME 1" >>confdefs.h
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling realtime clock" >&5
9484 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
9488 ################################################################################
9489 for ac_header
in getopt.h
9491 ac_fn_c_check_header_mongrel
"$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
9492 if test "x$ac_cv_header_getopt_h" = x
""yes; then :
9493 cat >>confdefs.h
<<_ACEOF
9494 #define HAVE_GETOPT_H 1
9497 $as_echo "#define HAVE_GETOPTLONG 1" >>confdefs.h
9504 ################################################################################
9505 if test x
$READLINE != xno
; then
9506 lvm_saved_libs
=$LIBS
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
9508 $as_echo_n "checking for library containing tgetent... " >&6; }
9509 if test "${ac_cv_search_tgetent+set}" = set; then :
9510 $as_echo_n "(cached) " >&6
9512 ac_func_search_save_LIBS
=$LIBS
9513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9531 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
9532 if test -z "$ac_lib"; then
9533 ac_res
="none required"
9536 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9538 if ac_fn_c_try_link
"$LINENO"; then :
9539 ac_cv_search_tgetent
=$ac_res
9541 rm -f core conftest.err conftest.
$ac_objext \
9543 if test "${ac_cv_search_tgetent+set}" = set; then :
9547 if test "${ac_cv_search_tgetent+set}" = set; then :
9550 ac_cv_search_tgetent
=no
9553 LIBS
=$ac_func_search_save_LIBS
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
9556 $as_echo "$ac_cv_search_tgetent" >&6; }
9557 ac_res
=$ac_cv_search_tgetent
9558 if test "$ac_res" != no
; then :
9559 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9560 READLINE_LIBS
=$ac_cv_search_tgetent
9563 if test "$READLINE" = yes; then
9564 as_fn_error $?
"termcap could not be found which is required for the
9565 --enable-readline option (which is enabled by default). Either disable readline
9566 support with --disable-readline or download and install termcap from:
9567 ftp.gnu.org/gnu/termcap
9568 Note: if you are using precompiled packages you will also need the development
9569 package as well (which may be called termcap-devel or something similar).
9570 Note: (n)curses also seems to work as a substitute for termcap. This was
9571 not found either - but you could try installing that as well." "$LINENO" 5
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
9576 $as_echo_n "checking for readline in -lreadline... " >&6; }
9577 if test "${ac_cv_lib_readline_readline+set}" = set; then :
9578 $as_echo_n "(cached) " >&6
9580 ac_check_lib_save_LIBS
=$LIBS
9581 LIBS
="-lreadline $LIBS"
9582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9600 if ac_fn_c_try_link
"$LINENO"; then :
9601 ac_cv_lib_readline_readline
=yes
9603 ac_cv_lib_readline_readline
=no
9605 rm -f core conftest.err conftest.
$ac_objext \
9606 conftest
$ac_exeext conftest.
$ac_ext
9607 LIBS
=$ac_check_lib_save_LIBS
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
9610 $as_echo "$ac_cv_lib_readline_readline" >&6; }
9611 if test "x$ac_cv_lib_readline_readline" = x
""yes; then :
9614 $as_echo "#define READLINE_SUPPORT 1" >>confdefs.h
9616 LIBS
=$lvm_saved_libs
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_line_buffer in -lreadline" >&5
9618 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
9619 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then :
9620 $as_echo_n "(cached) " >&6
9622 ac_check_lib_save_LIBS
=$LIBS
9623 LIBS
="-lreadline $LIBS"
9624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9633 char rl_line_buffer ();
9637 return rl_line_buffer ();
9642 if ac_fn_c_try_link
"$LINENO"; then :
9643 ac_cv_lib_readline_rl_line_buffer
=yes
9645 ac_cv_lib_readline_rl_line_buffer
=no
9647 rm -f core conftest.err conftest.
$ac_objext \
9648 conftest
$ac_exeext conftest.
$ac_ext
9649 LIBS
=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_line_buffer" >&5
9652 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
9653 if test "x$ac_cv_lib_readline_rl_line_buffer" = x
""yes; then :
9654 READLINE_LIBS
="-lreadline"
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: linking -lreadline with $READLINE_LIBS needed" >&5
9658 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
9659 READLINE_LIBS
="-lreadline $READLINE_LIBS"
9666 if test "$READLINE" = yes; then
9667 as_fn_error $?
"GNU Readline could not be found which is required for the
9668 --enable-readline option (which is enabled by default). Either disable readline
9669 support with --disable-readline or download and install readline from:
9670 ftp.gnu.org/gnu/readline
9671 Note: if you are using precompiled packages you will also need the development
9672 package as well (which may be called readline-devel or something similar)." "$LINENO" 5
9676 LIBS
="$READLINE_LIBS $lvm_saved_libs"
9677 for ac_func
in rl_completion_matches
9679 ac_fn_c_check_func
"$LINENO" "rl_completion_matches" "ac_cv_func_rl_completion_matches"
9680 if test "x$ac_cv_func_rl_completion_matches" = x
""yes; then :
9681 cat >>confdefs.h
<<_ACEOF
9682 #define HAVE_RL_COMPLETION_MATCHES 1
9688 LIBS
=$lvm_saved_libs
9691 ################################################################################
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable internationalisation" >&5
9693 $as_echo_n "checking whether to enable internationalisation... " >&6; }
9694 # Check whether --enable-nls was given.
9695 if test "${enable_nls+set}" = set; then :
9696 enableval
=$enable_nls; INTL
=$enableval
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTL" >&5
9702 $as_echo "$INTL" >&6; }
9704 if test x
$INTL = xyes
; then
9705 # FIXME - Move this - can be device-mapper too
9707 # Extract the first word of "msgfmt", so it can be a program name with args.
9708 set dummy msgfmt
; ac_word
=$2
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9710 $as_echo_n "checking for $ac_word... " >&6; }
9711 if test "${ac_cv_path_MSGFMT+set}" = set; then :
9712 $as_echo_n "(cached) " >&6
9716 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
9719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir
=.
9724 for ac_exec_ext
in '' $ac_executable_extensions; do
9725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 MSGFMT
=$ac_cv_path_MSGFMT
9738 if test -n "$MSGFMT"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
9740 $as_echo "$MSGFMT" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9743 $as_echo "no" >&6; }
9747 if [ "x$MSGFMT" == x
];
9748 then as_fn_error $?
"msgfmt not found in path $PATH
9753 # Check whether --with-localedir was given.
9754 if test "${with_localedir+set}" = set; then :
9755 withval
=$with_localedir; LOCALEDIR
=$withval
9757 LOCALEDIR
='${prefix}/share/locale'
9762 ################################################################################
9764 # Check whether --with-confdir was given.
9765 if test "${with_confdir+set}" = set; then :
9766 withval
=$with_confdir; CONFDIR
=$withval
9773 # Check whether --with-staticdir was given.
9774 if test "${with_staticdir+set}" = set; then :
9775 withval
=$with_staticdir; STATICDIR
=$withval
9777 STATICDIR
='${exec_prefix}/sbin'
9782 # Check whether --with-usrlibdir was given.
9783 if test "${with_usrlibdir+set}" = set; then :
9784 withval
=$with_usrlibdir; usrlibdir
=$withval
9786 usrlibdir
='${prefix}/lib'
9791 # Check whether --with-usrsbindir was given.
9792 if test "${with_usrsbindir+set}" = set; then :
9793 withval
=$with_usrsbindir; usrsbindir
=$withval
9795 usrsbindir
='${prefix}/sbin'
9799 ################################################################################
9801 # Check whether --with-udev_prefix was given.
9802 if test "${with_udev_prefix+set}" = set; then :
9803 withval
=$with_udev_prefix; udev_prefix
=$withval
9805 udev_prefix
='${exec_prefix}'
9810 # Check whether --with-udevdir was given.
9811 if test "${with_udevdir+set}" = set; then :
9812 withval
=$with_udevdir; udevdir
=$withval
9814 udevdir
='${udev_prefix}/lib/udev/rules.d'
9818 ################################################################################
9820 # Check whether --with-systemdsystemunitdir was given.
9821 if test "${with_systemdsystemunitdir+set}" = set; then :
9822 withval
=$with_systemdsystemunitdir; systemdsystemunitdir
=$withval
9824 test x
$PKGCONFIG_INIT != x1
&& pkg_config_init
9825 pkg_systemdsystemunitdir
=$
($PKG_CONFIG --variable=systemdsystemunitdir systemd
)
9829 if test -n "$pkg_systemdsystemunitdir"; then
9830 systemdsystemunitdir
=$pkg_systemdsystemunitdir;
9833 if test -z "$systemdsystemunitdir"; then
9834 systemdsystemunitdir
='/lib/systemd/system';
9836 ################################################################################
9838 # Check whether --with-tmpfilesdir was given.
9839 if test "${with_tmpfilesdir+set}" = set; then :
9840 withval
=$with_tmpfilesdir; tmpfilesdir
=$withval
9842 tmpfilesdir
='${sysconfdir}/tmpfiles.d'
9845 ################################################################################
9846 if test x
$READLINE = xyes
; then
9847 for ac_header
in readline
/readline.h readline
/history.h
9849 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9850 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9851 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9852 cat >>confdefs.h
<<_ACEOF
9853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9857 as_fn_error $?
"bailing out" "$LINENO" 5
9864 if test x
$CLVMD != xnone
; then
9865 for ac_header
in mntent.h netdb.h netinet
/in.h pthread.h search.h sys
/mount.h sys
/socket.h sys
/uio.h sys
/un.h utmpx.h
9867 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9868 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9869 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9870 cat >>confdefs.h
<<_ACEOF
9871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9875 as_fn_error $?
"bailing out" "$LINENO" 5
9880 for ac_func
in dup2 getmntent memmove
select socket
9882 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9883 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9884 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
9885 cat >>confdefs.h
<<_ACEOF
9886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9890 as_fn_error $?
"bailing out" "$LINENO" 5
9894 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
9895 # -lseq on Dynix/PTX, -lgen on Unixware.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
9897 $as_echo_n "checking for library containing getmntent... " >&6; }
9898 if test "${ac_cv_search_getmntent+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9901 ac_func_search_save_LIBS
=$LIBS
9902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9915 return getmntent ();
9920 for ac_lib
in '' sun
seq gen
; do
9921 if test -z "$ac_lib"; then
9922 ac_res
="none required"
9925 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9927 if ac_fn_c_try_link
"$LINENO"; then :
9928 ac_cv_search_getmntent
=$ac_res
9930 rm -f core conftest.err conftest.
$ac_objext \
9932 if test "${ac_cv_search_getmntent+set}" = set; then :
9936 if test "${ac_cv_search_getmntent+set}" = set; then :
9939 ac_cv_search_getmntent
=no
9942 LIBS
=$ac_func_search_save_LIBS
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
9945 $as_echo "$ac_cv_search_getmntent" >&6; }
9946 ac_res
=$ac_cv_search_getmntent
9947 if test "$ac_res" != no
; then :
9948 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9949 ac_cv_func_getmntent
=yes
9951 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
9954 ac_cv_func_getmntent
=no
9958 for ac_header
in sys
/select.h sys
/socket.h
9960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9961 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9962 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9963 cat >>confdefs.h
<<_ACEOF
9964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
9972 $as_echo_n "checking types of arguments for select... " >&6; }
9973 if test "${ac_cv_func_select_args+set}" = set; then :
9974 $as_echo_n "(cached) " >&6
9976 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
9977 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
9978 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
9979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 $ac_includes_default
9982 #ifdef HAVE_SYS_SELECT_H
9983 # include <sys/select.h>
9985 #ifdef HAVE_SYS_SOCKET_H
9986 # include <sys/socket.h>
9992 extern int select ($ac_arg1,
9993 $ac_arg234, $ac_arg234, $ac_arg234,
9999 if ac_fn_c_try_compile
"$LINENO"; then :
10000 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10006 # Provide a safe default value.
10007 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
10011 $as_echo "$ac_cv_func_select_args" >&6; }
10012 ac_save_IFS
=$IFS; IFS
=','
10013 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10017 cat >>confdefs.h
<<_ACEOF
10018 #define SELECT_TYPE_ARG1 $1
10022 cat >>confdefs.h
<<_ACEOF
10023 #define SELECT_TYPE_ARG234 ($2)
10027 cat >>confdefs.h
<<_ACEOF
10028 #define SELECT_TYPE_ARG5 ($3)
10035 if test x
$CLUSTER != xnone
; then
10036 for ac_header
in sys
/socket.h sys
/un.h
10038 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10039 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10040 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10041 cat >>confdefs.h
<<_ACEOF
10042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10046 as_fn_error $?
"bailing out" "$LINENO" 5
10051 for ac_func
in socket
10053 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
10054 if test "x$ac_cv_func_socket" = x
""yes; then :
10055 cat >>confdefs.h
<<_ACEOF
10056 #define HAVE_SOCKET 1
10060 as_fn_error $?
"bailing out" "$LINENO" 5
10066 if test x
$DMEVENTD = xyes
; then
10067 for ac_header
in arpa
/inet.h
10069 ac_fn_c_check_header_mongrel
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
10070 if test "x$ac_cv_header_arpa_inet_h" = x
""yes; then :
10071 cat >>confdefs.h
<<_ACEOF
10072 #define HAVE_ARPA_INET_H 1
10076 as_fn_error $?
"bailing out" "$LINENO" 5
10083 if test x
$HAVE_LIBDL = xyes
; then
10084 for ac_header
in dlfcn.h
10086 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
10087 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
10088 cat >>confdefs.h
<<_ACEOF
10089 #define HAVE_DLFCN_H 1
10093 as_fn_error $?
"bailing out" "$LINENO" 5
10100 if test x
$INTL = xyes
; then
10101 for ac_header
in libintl.h
10103 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
10104 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
10105 cat >>confdefs.h
<<_ACEOF
10106 #define HAVE_LIBINTL_H 1
10110 as_fn_error $?
"bailing out" "$LINENO" 5
10117 if test x
$UDEV_SYNC = xyes
; then
10118 for ac_header
in sys
/ipc.h sys
/sem.h
10120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10121 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10122 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10123 cat >>confdefs.h
<<_ACEOF
10124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10128 as_fn_error $?
"bailing out" "$LINENO" 5
10135 ################################################################################
10136 # Extract the first word of "modprobe", so it can be a program name with args.
10137 set dummy modprobe
; ac_word
=$2
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10139 $as_echo_n "checking for $ac_word... " >&6; }
10140 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then :
10141 $as_echo_n "(cached) " >&6
10143 case $MODPROBE_CMD in
10145 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
10148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10149 for as_dir
in $PATH
10152 test -z "$as_dir" && as_dir
=.
10153 for ac_exec_ext
in '' $ac_executable_extensions; do
10154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10155 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
10156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
10167 if test -n "$MODPROBE_CMD"; then
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MODPROBE_CMD" >&5
10169 $as_echo "$MODPROBE_CMD" >&6; }
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10172 $as_echo "no" >&6; }
10177 if test x
$MODPROBE_CMD != x
; then
10179 cat >>confdefs.h
<<_ACEOF
10180 #define MODPROBE_CMD "$MODPROBE_CMD"
10186 lvm_exec_prefix
=$exec_prefix
10187 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$prefix
10188 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$ac_default_prefix
10189 LVM_PATH
="$lvm_exec_prefix/sbin/lvm"
10191 cat >>confdefs.h
<<_ACEOF
10192 #define LVM_PATH "$LVM_PATH"
10196 if test "$CLVMD" != none
; then
10197 clvmd_prefix
=$ac_default_prefix
10198 CLVMD_PATH
="$clvmd_prefix/sbin/clvmd"
10199 test "$prefix" != NONE
&& clvmd_prefix
=$prefix
10201 cat >>confdefs.h
<<_ACEOF
10202 #define CLVMD_PATH "$CLVMD_PATH"
10207 ################################################################################
10208 if test "$BUILD_DMEVENTD" = yes; then
10210 # Check whether --with-dmeventd-pidfile was given.
10211 if test "${with_dmeventd_pidfile+set}" = set; then :
10212 withval
=$with_dmeventd_pidfile; DMEVENTD_PIDFILE
=$withval
10214 DMEVENTD_PIDFILE
="/var/run/dmeventd.pid"
10218 cat >>confdefs.h
<<_ACEOF
10219 #define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
10224 if test "$BUILD_DMEVENTD" = yes; then
10226 # Check whether --with-dmeventd-path was given.
10227 if test "${with_dmeventd_path+set}" = set; then :
10228 withval
=$with_dmeventd_path; DMEVENTD_PATH
=$withval
10230 DMEVENTD_PATH
="$lvm_exec_prefix/sbin/dmeventd"
10234 cat >>confdefs.h
<<_ACEOF
10235 #define DMEVENTD_PATH "$DMEVENTD_PATH"
10242 # Check whether --with-default-run-dir was given.
10243 if test "${with_default_run_dir+set}" = set; then :
10244 withval
=$with_default_run_dir; DEFAULT_RUN_DIR
="$withval"
10246 DEFAULT_RUN_DIR
="/var/run/lvm"
10249 cat >>confdefs.h
<<_ACEOF
10250 #define DEFAULT_RUN_DIR "$DEFAULT_RUN_DIR"
10254 ################################################################################
10256 # Check whether --with-default-system-dir was given.
10257 if test "${with_default_system_dir+set}" = set; then :
10258 withval
=$with_default_system_dir; DEFAULT_SYS_DIR
=$withval
10260 DEFAULT_SYS_DIR
="/etc/lvm"
10264 cat >>confdefs.h
<<_ACEOF
10265 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
10270 # Check whether --with-default-archive-subdir was given.
10271 if test "${with_default_archive_subdir+set}" = set; then :
10272 withval
=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR
=$withval
10274 DEFAULT_ARCHIVE_SUBDIR
=archive
10278 cat >>confdefs.h
<<_ACEOF
10279 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
10284 # Check whether --with-default-backup-subdir was given.
10285 if test "${with_default_backup_subdir+set}" = set; then :
10286 withval
=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR
=$withval
10288 DEFAULT_BACKUP_SUBDIR
=backup
10292 cat >>confdefs.h
<<_ACEOF
10293 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
10298 # Check whether --with-default-cache-subdir was given.
10299 if test "${with_default_cache_subdir+set}" = set; then :
10300 withval
=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR
=$withval
10302 DEFAULT_CACHE_SUBDIR
=cache
10306 cat >>confdefs.h
<<_ACEOF
10307 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
10312 # Check whether --with-default-locking-dir was given.
10313 if test "${with_default_locking_dir+set}" = set; then :
10314 withval
=$with_default_locking_dir; DEFAULT_LOCK_DIR
=$withval
10316 DEFAULT_LOCK_DIR
="/var/lock/lvm"
10320 cat >>confdefs.h
<<_ACEOF
10321 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
10325 ################################################################################
10327 # Check whether --with-default-data-alignment was given.
10328 if test "${with_default_data_alignment+set}" = set; then :
10329 withval
=$with_default_data_alignment; DEFAULT_DATA_ALIGNMENT
=$withval
10331 DEFAULT_DATA_ALIGNMENT
=1
10335 cat >>confdefs.h
<<_ACEOF
10336 #define DEFAULT_DATA_ALIGNMENT $DEFAULT_DATA_ALIGNMENT
10340 ################################################################################
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel interface choice" >&5
10342 $as_echo_n "checking for kernel interface choice... " >&6; }
10344 # Check whether --with-interface was given.
10345 if test "${with_interface+set}" = set; then :
10346 withval
=$with_interface; interface
=$withval
10351 if [ "x$interface" != xioctl
];
10353 as_fn_error $?
"--with-interface=ioctl required. fs no longer supported." "$LINENO" 5
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interface" >&5
10356 $as_echo "$interface" >&6; }
10358 ################################################################################
10359 DM_LIB_VERSION
="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
10361 cat >>confdefs.h
<<_ACEOF
10362 #define DM_LIB_VERSION $DM_LIB_VERSION
10366 DM_LIB_PATCHLEVEL
=`cat "$srcdir"/VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
10368 LVM_VERSION
="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
10370 VER
=`cat "$srcdir"/VERSION`
10371 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
10372 VER
=`echo "$VER" | $AWK '{print $1}'`
10373 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
10374 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
10375 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
10376 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
10377 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
10378 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
10380 ################################################################################
10494 ################################################################################
10495 ac_config_files
="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/lvmetad/Makefile doc/Makefile doc/example.conf include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/replicator/Makefile lib/misc/lvm-version.h lib/raid/Makefile lib/snapshot/Makefile lib/thin/Makefile libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/dm_event_systemd_red_hat.service scripts/lvm2_monitoring_systemd_red_hat.service scripts/lvm2_tmpfiles_red_hat.conf scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile unit-tests/datastruct/Makefile unit-tests/regex/Makefile unit-tests/mm/Makefile"
10497 cat >confcache
<<\_ACEOF
10498 # This file is a shell script that caches the results of configure
10499 # tests run on this system so they can be shared between configure
10500 # scripts and configure runs, see configure's option --config-cache.
10501 # It is not useful on other systems. If it contains results you don't
10502 # want to keep, you may remove or edit it.
10504 # config.status only pays attention to the cache file if you give it
10505 # the --recheck option to rerun configure.
10507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10509 # following values.
10513 # The following way of writing the cache mishandles newlines in values,
10514 # but we know of no workaround that is simple, portable, and efficient.
10515 # So, we kill variables containing newlines.
10516 # Ultrix sh set writes to stderr and can't be redirected directly,
10517 # and sets the high bit in the cache file unless we assign to the vars.
10519 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10520 eval ac_val
=\$
$ac_var
10524 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10528 _ | IFS | as_nl
) ;; #(
10529 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10530 *) { eval $ac_var=; unset $ac_var;} ;;
10536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10537 *${as_nl}ac_space
=\
*)
10538 # `set' does not quote correctly, so add quotes: double-quote
10539 # substitution turns \\\\ into \\, and sed turns \\ into \.
10542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10545 # `set' quotes correctly as required by POSIX, so do not add quotes.
10546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10560 if test -w "$cache_file"; then
10561 test "x$cache_file" != "x/dev/null" &&
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10563 $as_echo "$as_me: updating cache $cache_file" >&6;}
10564 cat confcache
>$cache_file
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10567 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10572 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10573 # Let make expand exec_prefix.
10574 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10576 DEFS
=-DHAVE_CONFIG_H
10581 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10582 # 1. Remove the extension, and $U if already installed.
10583 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10584 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10586 # will be set to the directory where LIBOBJS objects are built.
10587 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10588 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10590 LIBOBJS
=$ac_libobjs
10592 LTLIBOBJS
=$ac_ltlibobjs
10596 : ${CONFIG_STATUS=./config.status}
10598 ac_clean_files_save
=$ac_clean_files
10599 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10601 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10603 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10605 # Generated by $as_me.
10606 # Run this file to recreate the current configuration.
10607 # Compiler output produced by configure, useful for debugging
10608 # configure, is in config.log if it exists.
10611 ac_cs_recheck=false
10614 SHELL=\${CONFIG_SHELL-$SHELL}
10617 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10618 ## -------------------- ##
10619 ## M4sh Initialization. ##
10620 ## -------------------- ##
10622 # Be more Bourne compatible
10623 DUALCASE
=1; export DUALCASE
# for MKS sh
10624 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10627 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10628 # is contrary to our usage. Disable this feature.
10629 alias -g '${1+"$@"}'='"$@"'
10630 setopt NO_GLOB_SUBST
10632 case `(set -o) 2>/dev/null` in #(
10644 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10645 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10648 # Prefer a ksh shell builtin over an external printf program on Solaris,
10649 # but without wasting forks for bash or zsh.
10650 if test -z "$BASH_VERSION$ZSH_VERSION" \
10651 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10652 as_echo='print
-r --'
10653 as_echo_n='print
-rn --'
10654 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10655 as_echo='printf %s
\n'
10656 as_echo_n='printf %s
'
10658 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10659 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10660 as_echo_n='/usr
/ucb
/echo -n'
10662 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10663 as_echo_n_body='eval
10667 expr "X$arg" : "X\\(.*\\)$as_nl";
10668 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10670 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10672 export as_echo_n_body
10673 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10675 export as_echo_body
10676 as_echo='sh
-c $as_echo_body as_echo
'
10679 # The user is always right.
10680 if test "${PATH_SEPARATOR+set}" != set; then
10682 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10683 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10690 # We need space, tab and new line, in precisely that order. Quoting is
10691 # there to prevent editors from complaining about space-tab.
10692 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10693 # splitting by setting IFS to empty value.)
10696 # Find who we are. Look in the path if we contain no directory separator.
10698 *[\\/]* ) as_myself=$0 ;;
10699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10700 for as_dir in $PATH
10703 test -z "$as_dir" && as_dir=.
10704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10710 # We did not find ourselves, most probably we were run as `sh COMMAND'
10711 # in which case we are not to be found in the path.
10712 if test "x$as_myself" = x
; then
10715 if test ! -f "$as_myself"; then
10716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10720 # Unset variables that we do not need and which cause bugs (e.g. in
10721 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10722 # suppresses any "Segmentation fault" message there. '((' could
10723 # trigger a bug in pdksh 5.2.14.
10724 for as_var
in BASH_ENV ENV MAIL MAILPATH
10725 do eval test x\
${$as_var+set} = xset \
10726 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10739 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
10743 # ----------------------------------------
10744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10746 # script with STATUS, using 1 if that was 0.
10749 as_status
=$1; test $as_status -eq 0 && as_status
=1
10751 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10754 $as_echo "$as_me: error: $2" >&2
10755 as_fn_exit
$as_status
10759 # as_fn_set_status STATUS
10760 # -----------------------
10761 # Set $? to STATUS, without forking.
10762 as_fn_set_status
()
10765 } # as_fn_set_status
10767 # as_fn_exit STATUS
10768 # -----------------
10769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10773 as_fn_set_status
$1
10779 # Portably unset VAR.
10782 { eval $1=; unset $1;}
10784 as_unset
=as_fn_unset
10785 # as_fn_append VAR VALUE
10786 # ----------------------
10787 # Append the text in VALUE to the end of the definition contained in VAR. Take
10788 # advantage of any shell optimizations that allow amortized linear growth over
10789 # repeated appends, instead of the typical quadratic growth present in naive
10791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
10792 eval 'as_fn_append ()
10803 # as_fn_arith ARG...
10804 # ------------------
10805 # Perform arithmetic evaluation on the ARGs, and store the result in the
10806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10807 # must be portable across $(()) and expr.
10808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
10809 eval 'as_fn_arith ()
10816 as_val
=`expr "$@" || test $? -eq 1`
10821 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10822 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10828 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10829 as_basename
=basename
10834 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10840 as_me
=`$as_basename -- "$0" ||
10841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10842 X"$0" : 'X\(//\)$' \| \
10843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10845 sed '/^.*\/\([^/][^/]*\)\/*$/{
10859 # Avoid depending upon Character Ranges.
10860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10863 as_cr_digits
='0123456789'
10864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10866 ECHO_C
= ECHO_N
= ECHO_T
=
10867 case `echo -n x` in #(((((
10869 case `echo 'xy\c'` in
10870 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10872 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
10879 rm -f conf$$ conf$$.exe conf$$.
file
10880 if test -d conf$$.dir
; then
10881 rm -f conf$$.dir
/conf$$.
file
10884 mkdir conf$$.dir
2>/dev
/null
10886 if (echo >conf$$.
file) 2>/dev
/null
; then
10887 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10889 # ... but there are two gotchas:
10890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10892 # In both cases, we have to default to `cp -p'.
10893 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10895 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10903 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10904 rmdir conf$$.dir
2>/dev
/null
10909 # Create "$as_dir" as a directory, including parents if necessary.
10914 -*) as_dir
=.
/$as_dir;;
10916 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
10920 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10921 *) as_qdir
=$as_dir;;
10923 as_dirs
="'$as_qdir' $as_dirs"
10924 as_dir
=`$as_dirname -- "$as_dir" ||
10925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10926 X"$as_dir" : 'X\(//\)[^/]' \| \
10927 X"$as_dir" : 'X\(//\)$' \| \
10928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10929 $as_echo X"$as_dir" |
10930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10934 /^X\(\/\/\)[^/].*/{
10947 test -d "$as_dir" && break
10949 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10950 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
10954 if mkdir
-p .
2>/dev
/null
; then
10955 as_mkdir_p
='mkdir -p "$as_dir"'
10957 test -d .
/-p && rmdir .
/-p
10961 if test -x / >/dev
/null
2>&1; then
10962 as_test_x
='test -x'
10964 if ls -dL / >/dev
/null
2>&1; then
10971 if test -d "$1"; then
10977 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10978 ???[sx]*):;;*)false;;esac;fi
10982 as_executable_p
=$as_test_x
10984 # Sed expression to map a string onto a valid CPP name.
10985 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10987 # Sed expression to map a string onto a valid variable name.
10988 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10992 ## ----------------------------------- ##
10993 ## Main body of $CONFIG_STATUS script. ##
10994 ## ----------------------------------- ##
10996 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
10998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10999 # Save the log message, to keep $0 and so on meaningful, and to
11000 # report actual input values of CONFIG_FILES etc. instead of their
11001 # values after options handling.
11003 This file was extended by $as_me, which was
11004 generated by GNU Autoconf 2.66. Invocation command line was
11006 CONFIG_FILES = $CONFIG_FILES
11007 CONFIG_HEADERS = $CONFIG_HEADERS
11008 CONFIG_LINKS = $CONFIG_LINKS
11009 CONFIG_COMMANDS = $CONFIG_COMMANDS
11012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11017 case $ac_config_files in *"
11018 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11021 case $ac_config_headers in *"
11022 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11027 # Files that config.status was made for.
11028 config_files="$ac_config_files"
11029 config_headers="$ac_config_headers"
11033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11035 \`$as_me' instantiates files and other configuration actions
11036 from templates according to the current configuration. Unless the files
11037 and actions are specified as TAGs, all are instantiated by default.
11039 Usage: $0 [OPTION]... [TAG]...
11041 -h, --help print this help, then exit
11042 -V, --version print version number and configuration settings, then exit
11043 --config print configuration, then exit
11044 -q, --quiet, --silent
11045 do not print progress messages
11046 -d, --debug don't remove temporary files
11047 --recheck update $as_me by reconfiguring in the same conditions
11048 --file=FILE[:TEMPLATE]
11049 instantiate the configuration file FILE
11050 --header=FILE[:TEMPLATE]
11051 instantiate the configuration header FILE
11053 Configuration files:
11056 Configuration headers:
11059 Report bugs to the package provider."
11062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11066 configured by $0, generated by GNU Autoconf 2.66,
11067 with options \\"\$ac_cs_config\\"
11069 Copyright (C) 2010 Free Software Foundation, Inc.
11070 This config.status script is free software; the Free Software Foundation
11071 gives unlimited permission to copy, distribute and modify it."
11078 test -n "\$AWK" || AWK=awk
11081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11082 # The default lists apply if the user does not specify any file.
11088 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11089 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11100 # Handling of the options.
11101 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11103 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11104 $as_echo "$ac_cs_version"; exit ;;
11105 --config |
--confi |
--conf |
--con |
--co |
--c )
11106 $as_echo "$ac_cs_config"; exit ;;
11107 --debug |
--debu |
--deb |
--de |
--d |
-d )
11109 --file |
--fil |
--fi |
--f )
11112 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11114 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11115 ac_need_defaults
=false
;;
11116 --header |
--heade |
--head |
--hea )
11119 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11121 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11122 ac_need_defaults
=false
;;
11124 # Conflict between --help and --header
11125 as_fn_error $?
"ambiguous option: \`$1'
11126 Try \`$0 --help' for more information.";;
11127 --help |
--hel |
-h )
11128 $as_echo "$ac_cs_usage"; exit ;;
11129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11130 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11133 # This is an error.
11134 -*) as_fn_error $?
"unrecognized option: \`$1'
11135 Try \`$0 --help' for more information." ;;
11137 *) as_fn_append ac_config_targets
" $1"
11138 ac_need_defaults
=false
;;
11144 ac_configure_extra_args
=
11146 if $ac_cs_silent; then
11148 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11153 if \$ac_cs_recheck; then
11154 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11156 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11157 CONFIG_SHELL='$SHELL'
11158 export CONFIG_SHELL
11163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11167 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11168 ## Running $as_me. ##
11174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11179 # Handling of arguments.
11180 for ac_config_target
in $ac_config_targets
11182 case $ac_config_target in
11183 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
11184 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11185 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
11186 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
11187 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
11188 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
11189 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
11190 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
11191 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
11192 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
11193 "daemons/dmeventd/plugins/raid/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/raid/Makefile" ;;
11194 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
11195 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
11196 "daemons/dmeventd/plugins/thin/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/thin/Makefile" ;;
11197 "daemons/lvmetad/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/lvmetad/Makefile" ;;
11198 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
11199 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
11200 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
11201 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
11202 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
11203 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
11204 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
11205 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
11206 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
11207 "lib/replicator/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/replicator/Makefile" ;;
11208 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
11209 "lib/raid/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/raid/Makefile" ;;
11210 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
11211 "lib/thin/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/thin/Makefile" ;;
11212 "libdaemon/Makefile") CONFIG_FILES
="$CONFIG_FILES libdaemon/Makefile" ;;
11213 "libdaemon/client/Makefile") CONFIG_FILES
="$CONFIG_FILES libdaemon/client/Makefile" ;;
11214 "libdaemon/server/Makefile") CONFIG_FILES
="$CONFIG_FILES libdaemon/server/Makefile" ;;
11215 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
11216 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
11217 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
11218 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
11219 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
11220 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
11221 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
11222 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
11223 "scripts/lvm2_lvmetad_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_lvmetad_init_red_hat" ;;
11224 "scripts/lvm2_lvmetad_systemd_red_hat.socket") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_lvmetad_systemd_red_hat.socket" ;;
11225 "scripts/lvm2_lvmetad_systemd_red_hat.service") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_lvmetad_systemd_red_hat.service" ;;
11226 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
11227 "scripts/dm_event_systemd_red_hat.service") CONFIG_FILES
="$CONFIG_FILES scripts/dm_event_systemd_red_hat.service" ;;
11228 "scripts/lvm2_monitoring_systemd_red_hat.service") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_systemd_red_hat.service" ;;
11229 "scripts/lvm2_tmpfiles_red_hat.conf") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_tmpfiles_red_hat.conf" ;;
11230 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
11231 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
11232 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
11233 "test/unit/Makefile") CONFIG_FILES
="$CONFIG_FILES test/unit/Makefile" ;;
11234 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
11235 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
11236 "unit-tests/datastruct/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/datastruct/Makefile" ;;
11237 "unit-tests/regex/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/regex/Makefile" ;;
11238 "unit-tests/mm/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/mm/Makefile" ;;
11240 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11245 # If the user did not use the arguments to specify the items to instantiate,
11246 # then the envvar interface is used. Set only those that are not.
11247 # We use the long form for the default assignment because of an extremely
11248 # bizarre bug on SunOS 4.1.3.
11249 if $ac_need_defaults; then
11250 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11251 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11254 # Have a temporary directory for convenience. Make it in the build tree
11255 # simply because there is no reason against having it here, and in addition,
11256 # creating and moving files from /tmp can sometimes cause problems.
11257 # Hook for its removal unless debugging.
11258 # Note that there is a small window in which the directory will not be cleaned:
11259 # after its creation but before its name has been assigned to `$tmp'.
11263 trap 'exit_status=$?
11264 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11266 trap 'as_fn_exit 1' 1 2 13 15
11268 # Create a (secure) tmp directory for tmp files.
11271 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11272 test -n "$tmp" && test -d "$tmp"
11275 tmp
=.
/conf$$
-$RANDOM
11276 (umask 077 && mkdir
"$tmp")
11277 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
11279 # Set up the scripts for CONFIG_FILES section.
11280 # No need to generate them if there are no CONFIG_FILES.
11281 # This happens for instance with `./config.status config.h'.
11282 if test -n "$CONFIG_FILES"; then
11285 ac_cr
=`echo X | tr X '\015'`
11286 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11287 # But we know of no other shell where ac_cr would be empty at this
11288 # point, so we can use a bashism as a fallback.
11289 if test "x$ac_cr" = x
; then
11290 eval ac_cr
=\$
\'\\r
\'
11292 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11293 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11296 ac_cs_awk_cr
=$ac_cr
11299 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11304 echo "cat >conf$$subs.awk <<_ACEOF" &&
11305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11307 } >conf$$subs.sh ||
11308 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11309 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11311 for ac_last_try in false false false false false :; do
11312 . ./conf$$subs.sh ||
11313 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11315 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11316 if test $ac_delim_n = $ac_delim_num; then
11318 elif $ac_last_try; then
11319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11321 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11324 rm -f conf$$subs.sh
11326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11327 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11331 s/^/S["/; s
/!.
*/"]=/
11341 s/\(.\{148\}\)..*/\1/
11343 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11348 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11355 s/\(.\{148\}\)..*/\1/
11357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11361 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11366 ' <conf$$subs.awk | sed '
11371 ' >>$CONFIG_STATUS || ac_write_fail=1
11372 rm -f conf$$subs.awk
11373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11375 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11376 for (key in S) S_is_set[key] = 1
11382 nfields = split(line, field, "@
")
11384 len = length(field[1])
11385 for (i = 2; i < nfields; i++) {
11387 keylen = length(key)
11388 if (S_is_set[key]) {
11390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11391 len += length(value) + length(field[++i])
11402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11403 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11404 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11407 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11408 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
11411 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11412 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
11413 # trailing colons and then remove the whole line if VPATH becomes empty
11414 # (actually we leave an empty line to preserve line numbers).
11415 if test "x
$srcdir" = x.; then
11416 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
11434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11435 fi # test -n "$CONFIG_FILES"
11437 # Set up the scripts for CONFIG_HEADERS section.
11438 # No need to generate them if there are no CONFIG_HEADERS.
11439 # This happens for instance with `./config.status Makefile'.
11440 if test -n "$CONFIG_HEADERS"; then
11441 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11445 # Transform confdefs.h into an awk script `defines.awk', embedded as
11446 # here-document in config.status, that substitutes the proper values into
11447 # config.h.in to produce config.h.
11449 # Create a delimiter string that does not exist in confdefs.h, to ease
11450 # handling of long lines.
11452 for ac_last_try in false false :; do
11453 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11454 if test -z "$ac_t"; then
11456 elif $ac_last_try; then
11457 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
11459 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11463 # For the awk script, D is an array of macro values keyed by name,
11464 # likewise P contains macro parameters if any. Preserve backslash
11465 # newline sequences.
11467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11469 s/.\{148\}/&'"$ac_delim"'/g
11472 s/^[ ]*#[ ]*define[ ][ ]*/ /
11479 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11481 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11485 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11486 D["\
1"]=" \
3\\\\\\n
"\\/p
11488 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11493 s/.\{148\}/&'"$ac_delim"'/g
11498 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11501 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11503 ' <confdefs.h | sed '
11504 s/'"$ac_delim"'/"\\\
11505 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11508 for (key in D) D_is_set[key] = 1
11511 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11513 split(line, arg, " ")
11514 if (arg[1] == "#") {
11518 defundef
= substr
(arg
[1], 2)
11521 split(mac1
, mac2
, "(") #)
11523 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11524 if (D_is_set
[macro
]) {
11525 # Preserve the white space surrounding the "#".
11526 print prefix
"define", macro P
[macro
] D
[macro
]
11529 # Replace #undef with comments. This is necessary, for example,
11530 # in the case of _POSIX_SOURCE, which is predefined and required
11531 # on some systems where configure will not decide to define it.
11532 if (defundef
== "undef") {
11533 print
"/*", prefix defundef
, macro
, "*/"
11541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11542 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
11543 fi # test -n "$CONFIG_HEADERS"
11546 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
11551 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11553 case $ac_mode$ac_tag in
11555 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11556 :[FH
]-) ac_tag
=-:-;;
11557 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11574 -) ac_f
="$tmp/stdin";;
11575 *) # Look for the file first in the build tree, then in the source tree
11576 # (if the path is not absolute). The absolute path cannot be DOS-style,
11577 # because $ac_f cannot contain `:'.
11581 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11583 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11585 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11586 as_fn_append ac_file_inputs
" '$ac_f'"
11589 # Let's still pretend it is `configure' which instantiates (i.e., don't
11590 # use $as_me), people would be surprised to read:
11591 # /* config.h. Generated by config.status. */
11592 configure_input
='Generated from '`
11593 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11595 if test x
"$ac_file" != x-
; then
11596 configure_input
="$ac_file. $configure_input"
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11598 $as_echo "$as_me: creating $ac_file" >&6;}
11600 # Neutralize special characters interpreted by sed in replacement strings.
11601 case $configure_input in #(
11602 *\
&* |
*\|
* |
*\\* )
11603 ac_sed_conf_input
=`$as_echo "$configure_input" |
11604 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11605 *) ac_sed_conf_input
=$configure_input;;
11609 *:-:* |
*:-) cat >"$tmp/stdin" \
11610 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
11615 ac_dir
=`$as_dirname -- "$ac_file" ||
11616 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11617 X"$ac_file" : 'X\(//\)[^/]' \| \
11618 X"$ac_file" : 'X\(//\)$' \| \
11619 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11620 $as_echo X"$ac_file" |
11621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11625 /^X\(\/\/\)[^/].*/{
11638 as_dir
="$ac_dir"; as_fn_mkdir_p
11642 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11644 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11645 # A ".." for each directory in $ac_dir_suffix.
11646 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11647 case $ac_top_builddir_sub in
11648 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11649 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11652 ac_abs_top_builddir
=$ac_pwd
11653 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11654 # for backward compatibility:
11655 ac_top_builddir
=$ac_top_build_prefix
11658 .
) # We are building in place.
11660 ac_top_srcdir
=$ac_top_builddir_sub
11661 ac_abs_top_srcdir
=$ac_pwd ;;
11662 [\\/]* | ?
:[\\/]* ) # Absolute name.
11663 ac_srcdir
=$srcdir$ac_dir_suffix;
11664 ac_top_srcdir
=$srcdir
11665 ac_abs_top_srcdir
=$srcdir ;;
11666 *) # Relative name.
11667 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11668 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11669 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11671 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11681 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11682 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11684 ac_MKDIR_P
=$MKDIR_P
11686 [\\/$
]* | ?
:[\\/]* ) ;;
11687 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
11691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11692 # If the template does not know about datarootdir, expand it.
11693 # FIXME: This hack should be removed a few years after 2.60.
11694 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11705 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11706 *datarootdir
*) ac_datarootdir_seen
=yes;;
11707 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11709 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11712 ac_datarootdir_hack='
11713 s&@datadir@&$datadir&g
11714 s&@docdir@&$docdir&g
11715 s&@infodir@&$infodir&g
11716 s&@localedir@&$localedir&g
11717 s&@mandir@&$mandir&g
11718 s&\\\${datarootdir}&$datarootdir&g' ;;
11722 # Neutralize VPATH when `$srcdir' = `.'.
11723 # Shell code in configure.ac might set extrasub.
11724 # FIXME: do we really want to maintain this feature?
11725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11726 ac_sed_extra="$ac_vpsub
11729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11731 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11732 s|@configure_input@|
$ac_sed_conf_input|
;t t
11733 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11734 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11735 s
&@srcdir@
&$ac_srcdir&;t t
11736 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11737 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11738 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11739 s
&@builddir@
&$ac_builddir&;t t
11740 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11741 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11742 s
&@INSTALL@
&$ac_INSTALL&;t t
11743 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11744 $ac_datarootdir_hack
11746 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11747 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
11749 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11750 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11751 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11753 which seems to be undefined. Please make sure it is defined" >&5
11754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11755 which seems to be undefined. Please make sure it is defined" >&2;}
11759 -) cat "$tmp/out" && rm -f "$tmp/out";;
11760 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11768 if test x"$ac_file" != x-; then
11770 $as_echo "/* $configure_input */" \
11771 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11772 } >"$tmp/config.h" \
11773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11774 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11776 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11779 mv "$tmp/config.h" "$ac_file" \
11780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11783 $as_echo "/* $configure_input */" \
11784 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11785 || as_fn_error $? "could not create -" "$LINENO" 5
11797 ac_clean_files=$ac_clean_files_save
11799 test $ac_write_fail = 0 ||
11800 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11803 # configure is writing to config.log, and then calls config.status.
11804 # config.status does its own redirection, appending to config.log.
11805 # Unfortunately, on DOS this fails, as config.log is still kept open
11806 # by configure, so config.status won't be able to
write to it
; its
11807 # output is simply discarded. So we exec the FD to /dev/null,
11808 # effectively closing config.log, so it can be properly (re)opened and
11809 # appended to by config.status. When coming back to configure, we
11810 # need to make the FD available again.
11811 if test "$no_create" != yes; then
11813 ac_config_status_args
=
11814 test "$silent" = yes &&
11815 ac_config_status_args
="$ac_config_status_args --quiet"
11817 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11820 # would make configure fail if this is the last instruction.
11821 $ac_cs_success || as_fn_exit
1
11823 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11825 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11829 if test x
$ODIRECT != xyes
; then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
11831 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}