2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="lib/device/dev-cache.h"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_default_prefix
=/usr
639 ac_subst_vars
='LTLIBOBJS
695 DEFAULT_BACKUP_SUBDIR
696 DEFAULT_ARCHIVE_SUBDIR
803 program_transform_name
815 enable_option_checking
833 with_cmirrord_pidfile
859 with_dmeventd_pidfile
861 with_default_system_dir
862 with_default_archive_subdir
863 with_default_backup_subdir
864 with_default_cache_subdir
865 with_default_locking_dir
868 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 ac_unrecognized_opts
=
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name
=s
,x
,x
,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir
='${exec_prefix}/bin'
931 sbindir
='${exec_prefix}/sbin'
932 libexecdir
='${exec_prefix}/libexec'
933 datarootdir
='${prefix}/share'
934 datadir
='${datarootdir}'
935 sysconfdir
='${prefix}/etc'
936 sharedstatedir
='${prefix}/com'
937 localstatedir
='${prefix}/var'
938 includedir
='${prefix}/include'
939 oldincludedir
='/usr/include'
940 docdir
='${datarootdir}/doc/${PACKAGE}'
941 infodir
='${datarootdir}/info'
946 libdir
='${exec_prefix}/lib'
947 localedir
='${datarootdir}/locale'
948 mandir
='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\
$ac_option
962 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
974 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
977 -build |
--build |
--buil |
--bui |
--bu)
978 ac_prev
=build_alias
;;
979 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
980 build_alias
=$ac_optarg ;;
982 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
983 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
984 ac_prev
=cache_file
;;
985 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
986 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
987 cache_file
=$ac_optarg ;;
990 cache_file
=config.cache
;;
992 -datadir |
--datadir |
--datadi |
--datad)
994 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
995 datadir
=$ac_optarg ;;
997 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
998 |
--dataroo |
--dataro |
--datar)
999 ac_prev
=datarootdir
;;
1000 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1001 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1002 datarootdir
=$ac_optarg ;;
1004 -disable-* |
--disable-*)
1005 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1008 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_useropt_orig
=$ac_useropt
1011 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_
$ac_useropt"
1016 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep
=', ';;
1019 eval enable_
$ac_useropt=no
;;
1021 -docdir |
--docdir |
--docdi |
--doc |
--do)
1023 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1024 docdir
=$ac_optarg ;;
1026 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1028 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1029 dvidir
=$ac_optarg ;;
1031 -enable-* |
--enable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=\
$ac_optarg ;;
1048 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1049 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1050 |
--exec |
--exe |
--ex)
1051 ac_prev
=exec_prefix
;;
1052 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1053 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1054 |
--exec=* |
--exe=* |
--ex=*)
1055 exec_prefix
=$ac_optarg ;;
1057 -gas |
--gas |
--ga |
--g)
1058 # Obsolete; use --with-gas.
1061 -help |
--help |
--hel |
--he |
-h)
1062 ac_init_help
=long
;;
1063 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1064 ac_init_help
=recursive
;;
1065 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1066 ac_init_help
=short
;;
1068 -host |
--host |
--hos |
--ho)
1069 ac_prev
=host_alias
;;
1070 -host=* |
--host=* |
--hos=* |
--ho=*)
1071 host_alias
=$ac_optarg ;;
1073 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1075 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1077 htmldir
=$ac_optarg ;;
1079 -includedir |
--includedir |
--includedi |
--included |
--include \
1080 |
--includ |
--inclu |
--incl |
--inc)
1081 ac_prev
=includedir
;;
1082 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1083 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1084 includedir
=$ac_optarg ;;
1086 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1088 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1089 infodir
=$ac_optarg ;;
1091 -libdir |
--libdir |
--libdi |
--libd)
1093 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1094 libdir
=$ac_optarg ;;
1096 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1097 |
--libexe |
--libex |
--libe)
1098 ac_prev
=libexecdir
;;
1099 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1100 |
--libexe=* |
--libex=* |
--libe=*)
1101 libexecdir
=$ac_optarg ;;
1103 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1104 ac_prev
=localedir
;;
1105 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1106 localedir
=$ac_optarg ;;
1108 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1109 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1110 ac_prev
=localstatedir
;;
1111 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1112 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1113 localstatedir
=$ac_optarg ;;
1115 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1117 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1118 mandir
=$ac_optarg ;;
1120 -nfp |
--nfp |
--nf)
1121 # Obsolete; use --without-fp.
1124 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1125 |
--no-cr |
--no-c |
-n)
1128 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1129 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1132 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1133 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1134 |
--oldin |
--oldi |
--old |
--ol |
--o)
1135 ac_prev
=oldincludedir
;;
1136 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1137 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1138 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1139 oldincludedir
=$ac_optarg ;;
1141 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1143 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1144 prefix
=$ac_optarg ;;
1146 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1147 |
--program-pre |
--program-pr |
--program-p)
1148 ac_prev
=program_prefix
;;
1149 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1150 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1151 program_prefix
=$ac_optarg ;;
1153 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1154 |
--program-suf |
--program-su |
--program-s)
1155 ac_prev
=program_suffix
;;
1156 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1157 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1158 program_suffix
=$ac_optarg ;;
1160 -program-transform-name |
--program-transform-name \
1161 |
--program-transform-nam |
--program-transform-na \
1162 |
--program-transform-n |
--program-transform- \
1163 |
--program-transform |
--program-transfor \
1164 |
--program-transfo |
--program-transf \
1165 |
--program-trans |
--program-tran \
1166 |
--progr-tra |
--program-tr |
--program-t)
1167 ac_prev
=program_transform_name
;;
1168 -program-transform-name=* |
--program-transform-name=* \
1169 |
--program-transform-nam=* |
--program-transform-na=* \
1170 |
--program-transform-n=* |
--program-transform-=* \
1171 |
--program-transform=* |
--program-transfor=* \
1172 |
--program-transfo=* |
--program-transf=* \
1173 |
--program-trans=* |
--program-tran=* \
1174 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1175 program_transform_name
=$ac_optarg ;;
1177 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1179 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1180 pdfdir
=$ac_optarg ;;
1182 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1184 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1187 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1188 |
-silent |
--silent |
--silen |
--sile |
--sil)
1191 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1193 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1195 sbindir
=$ac_optarg ;;
1197 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1198 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1199 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1201 ac_prev
=sharedstatedir
;;
1202 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1203 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1204 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1206 sharedstatedir
=$ac_optarg ;;
1208 -site |
--site |
--sit)
1210 -site=* |
--site=* |
--sit=*)
1213 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1215 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1216 srcdir
=$ac_optarg ;;
1218 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1219 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1220 ac_prev
=sysconfdir
;;
1221 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1222 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1223 sysconfdir
=$ac_optarg ;;
1225 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1226 ac_prev
=target_alias
;;
1227 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1228 target_alias
=$ac_optarg ;;
1230 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1233 -version |
--version |
--versio |
--versi |
--vers |
-V)
1234 ac_init_version
=: ;;
1237 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1241 { (exit 1); exit 1; }; }
1242 ac_useropt_orig
=$ac_useropt
1243 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244 case $ac_user_opts in
1248 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1249 ac_unrecognized_sep
=', ';;
1251 eval with_
$ac_useropt=\
$ac_optarg ;;
1253 -without-* |
--without-*)
1254 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1257 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1258 { (exit 1); exit 1; }; }
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval with_
$ac_useropt=no
;;
1271 # Obsolete; use --with-x.
1274 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1275 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1276 ac_prev
=x_includes
;;
1277 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1278 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1279 x_includes
=$ac_optarg ;;
1281 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1282 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1283 ac_prev
=x_libraries
;;
1284 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1285 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1286 x_libraries
=$ac_optarg ;;
1288 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1289 Try \`$0 --help' for more information." >&2
1290 { (exit 1); exit 1; }; }
1294 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1295 # Reject names that are not valid shell variable names.
1296 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1297 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1298 { (exit 1); exit 1; }; }
1299 eval $ac_envvar=\
$ac_optarg
1300 export $ac_envvar ;;
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1313 if test -n "$ac_prev"; then
1314 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1315 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1316 { (exit 1); exit 1; }; }
1319 if test -n "$ac_unrecognized_opts"; then
1320 case $enable_option_checking in
1322 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1323 { (exit 1); exit 1; }; } ;;
1324 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1328 # Check all directory arguments for consistency.
1329 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1330 datadir sysconfdir sharedstatedir localstatedir includedir \
1331 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1332 libdir localedir mandir
1334 eval ac_val
=\$
$ac_var
1335 # Remove trailing slashes.
1338 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1339 eval $ac_var=\
$ac_val;;
1341 # Be sure to have absolute directory names.
1343 [\\/$
]* | ?
:[\\/]* ) continue;;
1344 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1346 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1347 { (exit 1); exit 1; }; }
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1355 target
=$target_alias
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x
; then
1359 if test "x$build_alias" = x
; then
1360 cross_compiling
=maybe
1361 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1362 If a cross compiler is detected then cross compile mode will be used." >&2
1363 elif test "x$build_alias" != "x$host_alias"; then
1369 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1371 test "$silent" = yes && exec 6>/dev
/null
1374 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1375 ac_ls_di
=`ls -di .` &&
1376 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1377 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1378 { (exit 1); exit 1; }; }
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1381 { (exit 1); exit 1; }; }
1384 # Find the source files, if location was not specified.
1385 if test -z "$srcdir"; then
1386 ac_srcdir_defaulted
=yes
1387 # Try the directory containing this script, then the parent directory.
1388 ac_confdir
=`$as_dirname -- "$as_myself" ||
1389 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$as_myself" : 'X\(//\)[^/]' \| \
1391 X"$as_myself" : 'X\(//\)$' \| \
1392 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1393 $as_echo X"$as_myself" |
1394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1416 ac_srcdir_defaulted
=no
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1420 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1421 { (exit 1); exit 1; }; }
1423 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1425 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1426 { (exit 1); exit 1; }; }
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1436 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 for ac_var
in $ac_precious_vars; do
1439 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1440 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1441 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1442 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1446 # Report the --help message.
1448 if test "$ac_init_help" = "long"; then
1449 # Omit some internal or obsolete options to make the list less imposing.
1450 # This message is too long to be a string in the A/UX 3.1 sh.
1452 \`configure' configures this package to adapt to many kinds of systems.
1454 Usage: $0 [OPTION]... [VAR=VALUE]...
1456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457 VAR=VALUE. See below for descriptions of some of the useful variables.
1459 Defaults for the options are specified in brackets.
1462 -h, --help display this help and exit
1463 --help=short display options specific to this package
1464 --help=recursive display the short help of all the included packages
1465 -V, --version display version information and exit
1466 -q, --quiet, --silent do not print \`checking...' messages
1467 --cache-file=FILE cache test results in FILE [disabled]
1468 -C, --config-cache alias for \`--cache-file=config.cache'
1469 -n, --no-create do not create output files
1470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472 Installation directories:
1473 --prefix=PREFIX install architecture-independent files in PREFIX
1474 [$ac_default_prefix]
1475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 By default, \`make install' will install all the files in
1479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481 for instance \`--prefix=\$HOME'.
1483 For better control, use the options below.
1485 Fine tuning of the installation directories:
1486 --bindir=DIR user executables [EPREFIX/bin]
1487 --sbindir=DIR system admin executables [EPREFIX/sbin]
1488 --libexecdir=DIR program executables [EPREFIX/libexec]
1489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1492 --libdir=DIR object code libraries [EPREFIX/lib]
1493 --includedir=DIR C header files [PREFIX/include]
1494 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1495 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1496 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1497 --infodir=DIR info documentation [DATAROOTDIR/info]
1498 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1499 --mandir=DIR man documentation [DATAROOTDIR/man]
1500 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1501 --htmldir=DIR html documentation [DOCDIR]
1502 --dvidir=DIR dvi documentation [DOCDIR]
1503 --pdfdir=DIR pdf documentation [DOCDIR]
1504 --psdir=DIR ps documentation [DOCDIR]
1510 --build=BUILD configure
for building on BUILD
[guessed
]
1511 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1512 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1516 if test -n "$ac_init_help"; then
1521 --disable-option-checking ignore unrecognized
--enable/--with options
1522 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1523 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1524 --enable-static_link Use this to link the tools to their libraries
1525 statically. Default is dynamic linking
1526 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1527 device-mapper is missing from the kernel
1528 --disable-readline Disable readline support
1529 --enable-realtime Enable realtime
clock support
1530 --enable-cmirrord Enable the cluster mirror log daemon
1531 --enable-debug Enable debugging
1532 --enable-profiling Gather gcov profiling data
1533 --disable-devmapper Disable LVM2 device-mapper interaction
1534 --enable-udev_sync Enable synchronisation with udev processing
1535 --enable-udev_rules Install rule files needed
for udev synchronisation
1536 --enable-compat Enable support
for old device-mapper versions
1537 --enable-units-compat Enable output compatibility with old versions that
1538 that don
't use KiB-style unit suffixes
1539 --disable-driver Disable calls to device-mapper in the kernel
1540 --disable-o_direct Disable O_DIRECT
1541 --enable-applib Build application library
1542 --enable-cmdlib Build shared command library
1543 --enable-pkgconfig Install pkgconfig support
1544 --enable-write_install Install user writable files
1545 --disable-fsadm Disable fsadm
1546 --enable-dmeventd Enable the device-mapper event daemon
1547 --disable-selinux Disable selinux support
1548 --enable-nls Enable Native Language Support
1551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553 --with-user=USER Set the owner of installed files [USER=]
1554 --with-group=GROUP Set the group owner of installed files [GROUP=]
1555 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1556 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1557 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1558 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1560 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1562 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1564 --with-snapshots=TYPE Snapshot support: internal/shared/none
1566 --with-mirrors=TYPE Mirror support: internal/shared/none
1568 --with-replicators=TYPE Replicator support: internal/shared/none TYPE=none
1569 --with-clvmd=TYPE Build cluster LVM Daemon.
1570 The following cluster manager combinations are valid:
1571 * cman,gulm (RHEL4 or equivalent)
1572 * cman (RHEL5 or equivalent)
1573 * cman,corosync,openais (or selection of them)
1574 * singlenode (localhost only)
1576 * none (disable build)
1578 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1579 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1580 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1581 --with-confdir=DIR Configuration files in DIR [/etc]
1582 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1583 --with-usrlibdir=DIR
1584 --with-usrsbindir=DIR
1585 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1586 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1587 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1588 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1589 --with-default-system-dir=DIR Default LVM system directory [/etc/lvm]
1590 --with-default-archive-subdir=SUBDIR Default metadata archive subdir [archive]
1591 --with-default-backup-subdir=SUBDIR Default metadata backup subdir [backup]
1592 --with-default-cache-subdir=SUBDIR Default metadata cache subdir [cache]
1593 --with-default-locking-dir=DIR Default locking directory [/var/lock/lvm]
1594 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1605 PKG_CONFIG path to pkg-config utility
1606 PKGCONFIGINIT_CFLAGS
1607 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1609 linker flags for PKGCONFIGINIT, overriding pkg-config
1610 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1611 CCS_LIBS linker flags for CCS, overriding pkg-config
1612 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1613 GULM_LIBS linker flags for GULM, overriding pkg-config
1614 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1615 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1617 C compiler flags for COROSYNC, overriding pkg-config
1619 linker flags for COROSYNC, overriding pkg-config
1621 C compiler flags for QUORUM, overriding pkg-config
1622 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1624 C compiler flags for SALCK, overriding pkg-config
1625 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1627 C compiler flags for CONFDB, overriding pkg-config
1628 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1629 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1630 CPG_LIBS linker flags for CPG, overriding pkg-config
1631 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1632 DLM_LIBS linker flags for DLM, overriding pkg-config
1634 C compiler flags for SACKPT, overriding pkg-config
1635 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1637 Use these variables to override the choices made by `configure' or to
help
1638 it to
find libraries and programs with nonstandard names
/locations.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1653 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1655 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1660 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir
=$ac_pwd
1664 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir
=$ac_top_build_prefix
1669 .
) # We are building in place.
1671 ac_top_srcdir
=$ac_top_builddir_sub
1672 ac_abs_top_srcdir
=$ac_pwd ;;
1673 [\\/]* | ?
:[\\/]* ) # Absolute name.
1674 ac_srcdir
=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir
=$srcdir
1676 ac_abs_top_srcdir
=$srcdir ;;
1678 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1703 generated by GNU Autoconf
2.63
1705 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1706 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1707 This configure
script is free software
; the Free Software Foundation
1708 gives unlimited permission to copy
, distribute and modify it.
1712 cat >config.log
<<_ACEOF
1713 This file contains any messages produced by compilers while
1714 running configure, to aid debugging if configure makes a mistake.
1716 It was created by $as_me, which was
1717 generated by GNU Autoconf 2.63. Invocation command line was
1729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir
=.
1753 $as_echo "PATH: $as_dir"
1769 # Keep a trace of the command line.
1770 # Strip out --no-create and --no-recursion so they do not pile up.
1771 # Strip out --silent because we don't want to record it for future runs.
1772 # Also quote any args containing shell meta-characters.
1773 # Make two passes to allow for proper duplicate-argument suppression.
1777 ac_must_keep_next
=false
1783 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1785 |
-silent |
--silent |
--silen |
--sile |
--sil)
1788 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1791 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1793 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1794 if test $ac_must_keep_next = true
; then
1795 ac_must_keep_next
=false
# Got value, back to normal.
1798 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1799 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1800 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1801 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1802 case "$ac_configure_args0 " in
1803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1806 -* ) ac_must_keep_next
=true
;;
1809 ac_configure_args
="$ac_configure_args '$ac_arg'"
1814 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1815 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1817 # When interrupted or exit'd, cleanup temporary files, and complete
1818 # config.log. We remove comments because anyway the quotes in there
1819 # would cause problems or look ugly.
1820 # WARNING: Use '\'' to represent an apostrophe within the trap.
1821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1822 trap 'exit_status=$?
1823 # Save into config.log some information that might help in debugging.
1828 ## ---------------- ##
1829 ## Cache variables. ##
1830 ## ---------------- ##
1833 # The following way of writing the cache mishandles newlines in values,
1835 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1836 eval ac_val=\$$ac_var
1840 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1844 _ | IFS | as_nl) ;; #(
1845 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1846 *) $as_unset $ac_var ;;
1851 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1852 *${as_nl}ac_space=\ *)
1854 "s/'\''/'\''\\\\'\'''\''/g;
1855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1866 ## ----------------- ##
1867 ## Output variables. ##
1868 ## ----------------- ##
1871 for ac_var in $ac_subst_vars
1873 eval ac_val=\$$ac_var
1875 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 $as_echo "$ac_var='\''$ac_val'\''"
1881 if test -n "$ac_subst_files"; then
1883 ## ------------------- ##
1884 ## File substitutions. ##
1885 ## ------------------- ##
1888 for ac_var
in $ac_subst_files
1890 eval ac_val
=\$
$ac_var
1892 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1894 $as_echo "$ac_var='\''$ac_val'\''"
1899 if test -s confdefs.h; then
1909 test "$ac_signal" != 0 &&
1910 $as_echo "$as_me: caught signal $ac_signal"
1911 $as_echo "$as_me: exit $exit_status"
1913 rm -f core *.core core.conftest.* &&
1914 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1917 for ac_signal
in 1 2 13 15; do
1918 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1922 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1923 rm -f -r conftest
* confdefs.h
1925 # Predefined preprocessor variables.
1927 cat >>confdefs.h
<<_ACEOF
1928 #define PACKAGE_NAME "$PACKAGE_NAME"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1937 cat >>confdefs.h
<<_ACEOF
1938 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1942 cat >>confdefs.h
<<_ACEOF
1943 #define PACKAGE_STRING "$PACKAGE_STRING"
1947 cat >>confdefs.h
<<_ACEOF
1948 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1952 # Let the site file select an alternate cache file if it wants to.
1953 # Prefer an explicitly selected file to automatically selected ones.
1956 if test -n "$CONFIG_SITE"; then
1957 ac_site_file1
=$CONFIG_SITE
1958 elif test "x$prefix" != xNONE
; then
1959 ac_site_file1
=$prefix/share
/config.site
1960 ac_site_file2
=$prefix/etc
/config.site
1962 ac_site_file1
=$ac_default_prefix/share
/config.site
1963 ac_site_file2
=$ac_default_prefix/etc
/config.site
1965 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1967 test "x$ac_site_file" = xNONE
&& continue
1968 if test -r "$ac_site_file"; then
1969 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1970 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1971 sed 's/^/| /' "$ac_site_file" >&5
1976 if test -r "$cache_file"; then
1977 # Some versions of bash will fail to source /dev/null (special
1978 # files actually), so we avoid doing that.
1979 if test -f "$cache_file"; then
1980 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1981 $as_echo "$as_me: loading cache $cache_file" >&6;}
1983 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1984 *) .
"./$cache_file";;
1988 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1989 $as_echo "$as_me: creating cache $cache_file" >&6;}
1993 # Check that the precious variables saved in the cache have kept the same
1995 ac_cache_corrupted
=false
1996 for ac_var
in $ac_precious_vars; do
1997 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1998 eval ac_new_set
=\
$ac_env_${ac_var}_set
1999 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2000 eval ac_new_val
=\
$ac_env_${ac_var}_value
2001 case $ac_old_set,$ac_new_set in
2003 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2005 ac_cache_corrupted
=: ;;
2007 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2009 ac_cache_corrupted
=: ;;
2012 if test "x$ac_old_val" != "x$ac_new_val"; then
2013 # differences in whitespace do not lead to failure.
2014 ac_old_val_w
=`echo x $ac_old_val`
2015 ac_new_val_w
=`echo x $ac_new_val`
2016 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2017 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2019 ac_cache_corrupted
=:
2021 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2023 eval $ac_var=\
$ac_old_val
2025 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2026 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2027 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2028 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2031 # Pass precious variables to config.status.
2032 if test "$ac_new_set" = set; then
2034 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2035 *) ac_arg
=$ac_var=$ac_new_val ;;
2037 case " $ac_configure_args " in
2038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2039 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2043 if $ac_cache_corrupted; then
2044 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2046 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2048 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2049 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2050 { (exit 1); exit 1; }; }
2070 ac_cpp
='$CPP $CPPFLAGS'
2071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2077 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2080 ################################################################################
2082 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2083 if test -f "$ac_dir/install-sh"; then
2085 ac_install_sh
="$ac_aux_dir/install-sh -c"
2087 elif test -f "$ac_dir/install.sh"; then
2089 ac_install_sh
="$ac_aux_dir/install.sh -c"
2091 elif test -f "$ac_dir/shtool"; then
2093 ac_install_sh
="$ac_aux_dir/shtool install -c"
2097 if test -z "$ac_aux_dir"; then
2098 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2099 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2100 { (exit 1); exit 1; }; }
2103 # These three variables are undocumented and unsupported,
2104 # and are intended to be withdrawn in a future Autoconf release.
2105 # They can cause serious problems if a builder's source tree is in a directory
2106 # whose full name contains unusual characters.
2107 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2108 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2109 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2113 ################################################################################
2114 # Make sure we can run config.sub.
2115 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2116 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2117 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2118 { (exit 1); exit 1; }; }
2120 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2121 $as_echo_n "checking build system type... " >&6; }
2122 if test "${ac_cv_build+set}" = set; then
2123 $as_echo_n "(cached) " >&6
2125 ac_build_alias
=$build_alias
2126 test "x$ac_build_alias" = x
&&
2127 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2128 test "x$ac_build_alias" = x
&&
2129 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2130 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2131 { (exit 1); exit 1; }; }
2132 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2133 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2134 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2135 { (exit 1); exit 1; }; }
2138 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2139 $as_echo "$ac_cv_build" >&6; }
2140 case $ac_cv_build in
2142 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2143 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2144 { (exit 1); exit 1; }; };;
2147 ac_save_IFS
=$IFS; IFS
='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2160 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2161 $as_echo_n "checking host system type... " >&6; }
2162 if test "${ac_cv_host+set}" = set; then
2163 $as_echo_n "(cached) " >&6
2165 if test "x$host_alias" = x
; then
2166 ac_cv_host
=$ac_cv_build
2168 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2170 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2176 $as_echo "$ac_cv_host" >&6; }
2179 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2180 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2181 { (exit 1); exit 1; }; };;
2184 ac_save_IFS
=$IFS; IFS
='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2197 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2198 $as_echo_n "checking target system type... " >&6; }
2199 if test "${ac_cv_target+set}" = set; then
2200 $as_echo_n "(cached) " >&6
2202 if test "x$target_alias" = x
; then
2203 ac_cv_target
=$ac_cv_host
2205 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2206 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2207 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2208 { (exit 1); exit 1; }; }
2212 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2213 $as_echo "$ac_cv_target" >&6; }
2214 case $ac_cv_target in
2216 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2217 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2218 { (exit 1); exit 1; }; };;
2220 target
=$ac_cv_target
2221 ac_save_IFS
=$IFS; IFS
='-'
2227 # Remember, the first character of IFS is used to create $*,
2228 # except with old shells:
2231 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2234 # The aliases save the names the user supplied, while $host etc.
2235 # will get canonicalized.
2236 test -n "$target_alias" &&
2237 test "$program_prefix$program_suffix$program_transform_name" = \
2239 program_prefix
=${target_alias}-
2244 COPTIMISE_FLAG
="-O2"
2245 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2246 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2247 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2248 LDDEPS
="$LDDEPS .export.sym"
2249 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2259 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2260 COPTIMISE_FLAG
="-O2"
2261 CLDFLAGS
="$CLDFLAGS"
2262 CLDWHOLEARCHIVE
="-all_load"
2274 ################################################################################
2275 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2276 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2277 if test "${ac_cv_path_SED+set}" = set; then
2278 $as_echo_n "(cached) " >&6
2280 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2281 for ac_i
in 1 2 3 4 5 6 7; do
2282 ac_script
="$ac_script$as_nl$ac_script"
2284 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2285 $as_unset ac_script || ac_script
=
2286 if test -z "$SED"; then
2287 ac_path_SED_found
=false
2288 # Loop through the user's path and test for each of PROGNAME-LIST
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_prog
in sed gsed
; do
2295 for ac_exec_ext
in '' $ac_executable_extensions; do
2296 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2297 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2298 # Check for GNU ac_path_SED and select it if it is found.
2299 # Check for GNU $ac_path_SED
2300 case `"$ac_path_SED" --version 2>&1` in
2302 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2305 $as_echo_n 0123456789 >"conftest.in"
2308 cat "conftest.in" "conftest.in" >"conftest.tmp"
2309 mv "conftest.tmp" "conftest.in"
2310 cp "conftest.in" "conftest.nl"
2311 $as_echo '' >> "conftest.nl"
2312 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2313 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2314 ac_count
=`expr $ac_count + 1`
2315 if test $ac_count -gt ${ac_path_SED_max-0}; then
2316 # Best one so far, save it but keep looking for a better one
2317 ac_cv_path_SED
="$ac_path_SED"
2318 ac_path_SED_max
=$ac_count
2320 # 10*(2^10) chars as input seems more than enough
2321 test $ac_count -gt 10 && break
2323 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2326 $ac_path_SED_found && break 3
2331 if test -z "$ac_cv_path_SED"; then
2332 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2333 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2334 { (exit 1); exit 1; }; }
2341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2342 $as_echo "$ac_cv_path_SED" >&6; }
2343 SED
="$ac_cv_path_SED"
2346 for ac_prog
in gawk mawk nawk
awk
2348 # Extract the first word of "$ac_prog", so it can be a program name with args.
2349 set dummy
$ac_prog; ac_word
=$2
2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_AWK+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$AWK"; then
2356 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir
=.
2363 for ac_exec_ext
in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_AWK
="$ac_prog"
2366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$AWK"; then
2377 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2378 $as_echo "$AWK" >&6; }
2380 { $as_echo "$as_me:$LINENO: result: no" >&5
2381 $as_echo "no" >&6; }
2385 test -n "$AWK" && break
2389 ac_cpp
='$CPP $CPPFLAGS'
2390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2393 if test -n "$ac_tool_prefix"; then
2394 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2395 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if test "${ac_cv_prog_CC+set}" = set; then
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC
="$CC" # Let the user override the test.
2404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir
=.
2409 for ac_exec_ext
in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2424 $as_echo "$CC" >&6; }
2426 { $as_echo "$as_me:$LINENO: result: no" >&5
2427 $as_echo "no" >&6; }
2432 if test -z "$ac_cv_prog_CC"; then
2434 # Extract the first word of "gcc", so it can be a program name with args.
2435 set dummy gcc
; ac_word
=$2
2436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 $as_echo_n "checking for $ac_word... " >&6; }
2438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2439 $as_echo_n "(cached) " >&6
2441 if test -n "$ac_ct_CC"; then
2442 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2451 ac_cv_prog_ac_ct_CC
="gcc"
2452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2462 if test -n "$ac_ct_CC"; then
2463 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2464 $as_echo "$ac_ct_CC" >&6; }
2466 { $as_echo "$as_me:$LINENO: result: no" >&5
2467 $as_echo "no" >&6; }
2470 if test "x$ac_ct_CC" = x
; then
2473 case $cross_compiling:$ac_tool_warned in
2475 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2477 ac_tool_warned
=yes ;;
2485 if test -z "$CC"; then
2486 if test -n "$ac_tool_prefix"; then
2487 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2488 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2489 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if test "${ac_cv_prog_CC+set}" = set; then
2492 $as_echo_n "(cached) " >&6
2494 if test -n "$CC"; then
2495 ac_cv_prog_CC
="$CC" # Let the user override the test.
2497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir
=.
2502 for ac_exec_ext
in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2505 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 if test -n "$CC"; then
2516 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2517 $as_echo "$CC" >&6; }
2519 { $as_echo "$as_me:$LINENO: result: no" >&5
2520 $as_echo "no" >&6; }
2526 if test -z "$CC"; then
2527 # Extract the first word of "cc", so it can be a program name with args.
2528 set dummy cc
; ac_word
=$2
2529 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if test "${ac_cv_prog_CC+set}" = set; then
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$CC"; then
2535 ac_cv_prog_CC
="$CC" # Let the user override the test.
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_exec_ext
in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2546 ac_prog_rejected
=yes
2550 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 if test $ac_prog_rejected = yes; then
2558 # We found a bogon in the path, so make sure we never use it.
2559 set dummy
$ac_cv_prog_CC
2561 if test $# != 0; then
2562 # We chose a different compiler from the bogus one.
2563 # However, it has the same basename, so the bogon will be chosen
2564 # first if we set CC to just the basename; use the full file name.
2566 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2572 if test -n "$CC"; then
2573 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2574 $as_echo "$CC" >&6; }
2576 { $as_echo "$as_me:$LINENO: result: no" >&5
2577 $as_echo "no" >&6; }
2582 if test -z "$CC"; then
2583 if test -n "$ac_tool_prefix"; then
2584 for ac_prog
in cl.exe
2586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2587 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2588 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if test "${ac_cv_prog_CC+set}" = set; then
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$CC"; then
2594 ac_cv_prog_CC
="$CC" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test -n "$CC"; then
2615 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2616 $as_echo "$CC" >&6; }
2618 { $as_echo "$as_me:$LINENO: result: no" >&5
2619 $as_echo "no" >&6; }
2623 test -n "$CC" && break
2626 if test -z "$CC"; then
2628 for ac_prog
in cl.exe
2630 # Extract the first word of "$ac_prog", so it can be a program name with args.
2631 set dummy
$ac_prog; ac_word
=$2
2632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$ac_ct_CC"; then
2638 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_ac_ct_CC
="$ac_prog"
2648 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2658 if test -n "$ac_ct_CC"; then
2659 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660 $as_echo "$ac_ct_CC" >&6; }
2662 { $as_echo "$as_me:$LINENO: result: no" >&5
2663 $as_echo "no" >&6; }
2667 test -n "$ac_ct_CC" && break
2670 if test "x$ac_ct_CC" = x
; then
2673 case $cross_compiling:$ac_tool_warned in
2675 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2677 ac_tool_warned
=yes ;;
2686 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2688 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2689 See \`config.log' for more details." >&5
2690 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2691 See \`config.log' for more details." >&2;}
2692 { (exit 1); exit 1; }; }; }
2694 # Provide some information about the compiler.
2695 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2698 { (ac_try
="$ac_compiler --version >&5"
2700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704 $as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compiler --version >&5") 2>&5
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }
2709 { (ac_try="$ac_compiler -v >&5"
2711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2712 *) ac_try_echo
=$ac_try;;
2714 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2715 $as_echo "$ac_try_echo") >&5
2716 (eval "$ac_compiler -v >&5") 2>&5
2718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }
2720 { (ac_try
="$ac_compiler -V >&5"
2722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2726 $as_echo "$ac_try_echo") >&5
2727 (eval "$ac_compiler -V >&5") 2>&5
2729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2752 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2753 $as_echo_n "checking for C compiler default output file name... " >&6; }
2754 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2756 # The possible output files:
2757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2760 for ac_file in $ac_files
2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2769 if { (ac_try="$ac_link_default"
2771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2772 *) ac_try_echo
=$ac_try;;
2774 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_link_default") 2>&5
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; then
2780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2783 # so that the user can short-circuit this test for compilers unknown to
2785 for ac_file
in $ac_files ''
2787 test -f "$ac_file" ||
continue
2789 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2792 # We found the default executable, but exeext='' is most
2796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2798 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 # We set ac_cv_exeext here because the later test for it is not
2801 # safe: cross compilers may not add the suffix if given an `-o'
2802 # argument, so we may need to know it at that point already.
2803 # Even if this section looks crufty: it has the advantage of
2810 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2816 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2817 $as_echo "$ac_file" >&6; }
2818 if test -z "$ac_file"; then
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.
$ac_ext >&5
2822 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2825 See \`config.log' for more details." >&5
2826 $as_echo "$as_me: error: C compiler cannot create executables
2827 See \`config.log' for more details." >&2;}
2828 { (exit 77); exit 77; }; }; }
2831 ac_exeext
=$ac_cv_exeext
2833 # Check that the compiler produces executables we can run. If not, either
2834 # the compiler is broken, or we cross compile.
2835 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2836 $as_echo_n "checking whether the C compiler works... " >&6; }
2837 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2838 # If not cross compiling, check that we can run a simple program.
2839 if test "$cross_compiling" != yes; then
2840 if { ac_try
='./$ac_file'
2841 { (case "(($ac_try" in
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_try") 2>&5
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2853 if test "$cross_compiling" = maybe; then
2856 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2858 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2859 If you meant to cross compile
, use \
`--host'.
2860 See \`config.log
' for more details." >&5
2861 $as_echo "$as_me: error: cannot run C compiled programs.
2862 If you meant to cross compile, use \`--host'.
2863 See \
`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }; }
2868 { $as_echo "$as_me:$LINENO: result: yes" >&5
2869 $as_echo "yes" >&6; }
2871 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2872 ac_clean_files=$ac_clean_files_save
2873 # Check that the compiler produces executables we can run. If not, either
2874 # the compiler is broken, or we cross compile.
2875 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2876 $as_echo_n "checking whether we are cross compiling... " >&6; }
2877 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2878 $as_echo "$cross_compiling" >&6; }
2880 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2881 $as_echo_n "checking for suffix of executables... " >&6; }
2882 if { (ac_try="$ac_link"
2884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2885 *) ac_try_echo
=$ac_try;;
2887 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2888 $as_echo "$ac_try_echo") >&5
2889 (eval "$ac_link") 2>&5
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; then
2893 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2894 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2895 # work properly (i.e., refer to `conftest.exe'), while it won't with
2897 for ac_file
in conftest.exe conftest conftest.
*; do
2898 test -f "$ac_file" ||
continue
2900 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2901 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2907 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2910 See \`config.log' for more details." >&5
2911 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2912 See \`config.log' for more details." >&2;}
2913 { (exit 1); exit 1; }; }; }
2916 rm -f conftest
$ac_cv_exeext
2917 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2918 $as_echo "$ac_cv_exeext" >&6; }
2920 rm -f conftest.
$ac_ext
2921 EXEEXT
=$ac_cv_exeext
2923 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2924 $as_echo_n "checking for suffix of object files... " >&6; }
2925 if test "${ac_cv_objext+set}" = set; then
2926 $as_echo_n "(cached) " >&6
2928 cat >conftest.
$ac_ext <<_ACEOF
2931 cat confdefs.h
>>conftest.
$ac_ext
2932 cat >>conftest.
$ac_ext <<_ACEOF
2933 /* end confdefs.h. */
2943 rm -f conftest.o conftest.obj
2944 if { (ac_try
="$ac_compile"
2946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2950 $as_echo "$ac_try_echo") >&5
2951 (eval "$ac_compile") 2>&5
2953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; then
2955 for ac_file in conftest.o conftest.obj conftest.*; do
2956 test -f "$ac_file" || continue;
2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2959 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2970 See \
`config.log' for more details." >&5
2971 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2972 See \`config.log
' for more details." >&2;}
2973 { (exit 1); exit 1; }; }; }
2976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2978 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2979 $as_echo "$ac_cv_objext" >&6; }
2980 OBJEXT=$ac_cv_objext
2982 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2984 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2985 $as_echo_n "(cached) " >&6
2987 cat >conftest.$ac_ext <<_ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
3005 rm -f conftest.$ac_objext
3006 if { (ac_try="$ac_compile"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012 $as_echo "$ac_try_echo") >&5
3013 (eval "$ac_compile") 2>conftest.er1
3015 grep -v '^
*+' conftest.er1 >conftest.err
3017 cat conftest.err >&5
3018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && {
3020 test -z "$ac_c_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest.$ac_objext; then
3025 $as_echo "$as_me: failed program was:" >&5
3026 sed 's
/^
/|
/' conftest.$ac_ext >&5
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3035 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3037 if test $ac_compiler_gnu = yes; then
3042 ac_test_CFLAGS=${CFLAGS+set}
3043 ac_save_CFLAGS=$CFLAGS
3044 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3046 if test "${ac_cv_prog_cc_g+set}" = set; then
3047 $as_echo_n "(cached) " >&6
3049 ac_save_c_werror_flag=$ac_c_werror_flag
3050 ac_c_werror_flag=yes
3053 cat >conftest.$ac_ext <<_ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3068 rm -f conftest.$ac_objext
3069 if { (ac_try="$ac_compile"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3075 $as_echo "$ac_try_echo") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^
*+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } && {
3083 test -z "$ac_c_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's
/^
/|
/' conftest.$ac_ext >&5
3092 cat >conftest.$ac_ext <<_ACEOF
3095 cat confdefs.h >>conftest.$ac_ext
3096 cat >>conftest.$ac_ext <<_ACEOF
3097 /* end confdefs.h. */
3107 rm -f conftest.$ac_objext
3108 if { (ac_try="$ac_compile"
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3114 $as_echo "$ac_try_echo") >&5
3115 (eval "$ac_compile") 2>conftest.er1
3117 grep -v '^
*+' conftest.er1 >conftest.err
3119 cat conftest.err >&5
3120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } && {
3122 test -z "$ac_c_werror_flag" ||
3123 test ! -s conftest.err
3124 } && test -s conftest.$ac_objext; then
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's
/^
/|
/' conftest.$ac_ext >&5
3130 ac_c_werror_flag=$ac_save_c_werror_flag
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3147 rm -f conftest.$ac_objext
3148 if { (ac_try="$ac_compile"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154 $as_echo "$ac_try_echo") >&5
3155 (eval "$ac_compile") 2>conftest.er1
3157 grep -v '^
*+' conftest.er1 >conftest.err
3159 cat conftest.err >&5
3160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } && {
3162 test -z "$ac_c_werror_flag" ||
3163 test ! -s conftest.err
3164 } && test -s conftest.$ac_objext; then
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's
/^
/|
/' conftest.$ac_ext >&5
3173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 ac_c_werror_flag=$ac_save_c_werror_flag
3182 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3183 $as_echo "$ac_cv_prog_cc_g" >&6; }
3184 if test "$ac_test_CFLAGS" = set; then
3185 CFLAGS=$ac_save_CFLAGS
3186 elif test $ac_cv_prog_cc_g = yes; then
3187 if test "$GCC" = yes; then
3193 if test "$GCC" = yes; then
3199 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3201 if test "${ac_cv_prog_cc_c89+set}" = set; then
3202 $as_echo_n "(cached) " >&6
3204 ac_cv_prog_cc_c89=no
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3214 #include <sys/types.h>
3215 #include <sys/stat.h>
3216 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3217 struct buf
{ int x
; };
3218 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3219 static char
*e
(p
, i
)
3225 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3230 s
= g
(p
, va_arg
(v
,int
));
3235 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3236 function prototypes and stuff
, but not
'\xHH' hex character constants.
3237 These don
't provoke an error unfortunately, instead are silently treated
3238 as 'x
'. The following induces an error, until -std is added to get
3239 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3240 array size at least. It's necessary to
write '\x00'==0 to get something
3241 that
's true only with -std. */
3242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3245 inside strings and character constants. */
3247 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3249 int test (int i, double x);
3250 struct s1 {int (*f) (int a);};
3251 struct s2 {int (*f) (double a);};
3252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3266 CC="$ac_save_CC $ac_arg"
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_compile") 2>conftest.er1
3277 grep -v '^
*+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } && {
3282 test -z "$ac_c_werror_flag" ||
3283 test ! -s conftest.err
3284 } && test -s conftest.$ac_objext; then
3285 ac_cv_prog_cc_c89=$ac_arg
3287 $as_echo "$as_me: failed program was:" >&5
3288 sed 's
/^
/|
/' conftest.$ac_ext >&5
3293 rm -f core conftest.err conftest.$ac_objext
3294 test "x$ac_cv_prog_cc_c89" != "xno" && break
3296 rm -f conftest.$ac_ext
3301 case "x$ac_cv_prog_cc_c89" in
3303 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3304 $as_echo "none needed" >&6; } ;;
3306 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3307 $as_echo "unsupported" >&6; } ;;
3309 CC="$CC $ac_cv_prog_cc_c89"
3310 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3318 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 ac_cpp='$CPP $CPPFLAGS'
3325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3326 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3329 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3330 # On Suns, sometimes $CPP names a directory.
3331 if test -n "$CPP" && test -d "$CPP"; then
3334 if test -z "$CPP"; then
3335 if test "${ac_cv_prog_CPP+set}" = set; then
3336 $as_echo_n "(cached) " >&6
3338 # Double quotes because CPP needs to be expanded
3339 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3342 for ac_c_preproc_warn_flag in '' yes
3344 # Use a header file that comes with gcc, so configuring glibc
3345 # with a fresh cross-compiler works.
3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 # <limits.h> exists even on freestanding compilers.
3348 # On the NeXT, cc -E runs the code through the compiler's parser
,
3349 # not just through cpp. "Syntax error" is here to catch this case.
3350 cat >conftest.
$ac_ext <<_ACEOF
3353 cat confdefs.h
>>conftest.
$ac_ext
3354 cat >>conftest.
$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3357 # include <limits.h>
3359 # include <assert.h>
3363 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3369 $as_echo "$ac_try_echo") >&5
3370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3372 grep -v '^ *+' conftest.er1 >conftest.err
3374 cat conftest.err >&5
3375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } >/dev/null && {
3377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3378 test ! -s conftest.err
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 # Broken: fails on valid input.
3389 rm -f conftest.err conftest.$ac_ext
3391 # OK, works on sane cases. Now check whether nonexistent headers
3392 # can be detected and how.
3393 cat >conftest.$ac_ext <<_ACEOF
3396 cat confdefs.h >>conftest.$ac_ext
3397 cat >>conftest.$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3399 #include <ac_nonexistent.h>
3401 if { (ac_try="$ac_cpp conftest.$ac_ext"
3403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3404 *) ac_try_echo
=$ac_try;;
3406 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3407 $as_echo "$ac_try_echo") >&5
3408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3410 grep -v '^ *+' conftest.er1
>conftest.err
3412 cat conftest.err
>&5
3413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } >/dev
/null
&& {
3415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3416 test ! -s conftest.err
3418 # Broken: success on invalid input.
3421 $as_echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.
$ac_ext >&5
3424 # Passes both tests.
3429 rm -f conftest.err conftest.
$ac_ext
3432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3433 rm -f conftest.err conftest.
$ac_ext
3434 if $ac_preproc_ok; then
3446 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3447 $as_echo "$CPP" >&6; }
3449 for ac_c_preproc_warn_flag
in '' yes
3451 # Use a header file that comes with gcc, so configuring glibc
3452 # with a fresh cross-compiler works.
3453 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3454 # <limits.h> exists even on freestanding compilers.
3455 # On the NeXT, cc -E runs the code through the compiler's parser,
3456 # not just through cpp. "Syntax error" is here to catch this case.
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3464 # include <limits.h>
3466 # include <assert.h>
3470 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3476 $as_echo "$ac_try_echo") >&5
3477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } >/dev/null && {
3484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3485 test ! -s conftest.err
3489 $as_echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 # Broken: fails on valid input.
3496 rm -f conftest.err conftest.$ac_ext
3498 # OK, works on sane cases. Now check whether nonexistent headers
3499 # can be detected and how.
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3506 #include <ac_nonexistent.h>
3508 if { (ac_try="$ac_cpp conftest.$ac_ext"
3510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3511 *) ac_try_echo
=$ac_try;;
3513 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3514 $as_echo "$ac_try_echo") >&5
3515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3517 grep -v '^ *+' conftest.er1
>conftest.err
3519 cat conftest.err
>&5
3520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev
/null
&& {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3525 # Broken: success on invalid input.
3528 $as_echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.
$ac_ext >&5
3531 # Passes both tests.
3536 rm -f conftest.err conftest.
$ac_ext
3539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3540 rm -f conftest.err conftest.
$ac_ext
3541 if $ac_preproc_ok; then
3544 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3547 See \`config.log' for more details." >&5
3548 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3549 See \`config.log' for more details." >&2;}
3550 { (exit 1); exit 1; }; }; }
3554 ac_cpp
='$CPP $CPPFLAGS'
3555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3560 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3562 if test "${ac_cv_path_GREP+set}" = set; then
3563 $as_echo_n "(cached) " >&6
3565 if test -z "$GREP"; then
3566 ac_path_GREP_found
=false
3567 # Loop through the user's path and test for each of PROGNAME-LIST
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_prog
in grep ggrep
; do
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3576 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3577 # Check for GNU ac_path_GREP and select it if it is found.
3578 # Check for GNU $ac_path_GREP
3579 case `"$ac_path_GREP" --version 2>&1` in
3581 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3584 $as_echo_n 0123456789 >"conftest.in"
3587 cat "conftest.in" "conftest.in" >"conftest.tmp"
3588 mv "conftest.tmp" "conftest.in"
3589 cp "conftest.in" "conftest.nl"
3590 $as_echo 'GREP' >> "conftest.nl"
3591 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3592 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3593 ac_count
=`expr $ac_count + 1`
3594 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3595 # Best one so far, save it but keep looking for a better one
3596 ac_cv_path_GREP
="$ac_path_GREP"
3597 ac_path_GREP_max
=$ac_count
3599 # 10*(2^10) chars as input seems more than enough
3600 test $ac_count -gt 10 && break
3602 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3605 $ac_path_GREP_found && break 3
3610 if test -z "$ac_cv_path_GREP"; then
3611 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3612 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3613 { (exit 1); exit 1; }; }
3616 ac_cv_path_GREP
=$GREP
3620 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3621 $as_echo "$ac_cv_path_GREP" >&6; }
3622 GREP
="$ac_cv_path_GREP"
3625 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3626 $as_echo_n "checking for egrep... " >&6; }
3627 if test "${ac_cv_path_EGREP+set}" = set; then
3628 $as_echo_n "(cached) " >&6
3630 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3631 then ac_cv_path_EGREP
="$GREP -E"
3633 if test -z "$EGREP"; then
3634 ac_path_EGREP_found
=false
3635 # Loop through the user's path and test for each of PROGNAME-LIST
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3637 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_prog
in egrep; do
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3644 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3645 # Check for GNU ac_path_EGREP and select it if it is found.
3646 # Check for GNU $ac_path_EGREP
3647 case `"$ac_path_EGREP" --version 2>&1` in
3649 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3652 $as_echo_n 0123456789 >"conftest.in"
3655 cat "conftest.in" "conftest.in" >"conftest.tmp"
3656 mv "conftest.tmp" "conftest.in"
3657 cp "conftest.in" "conftest.nl"
3658 $as_echo 'EGREP' >> "conftest.nl"
3659 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3660 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3661 ac_count
=`expr $ac_count + 1`
3662 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3663 # Best one so far, save it but keep looking for a better one
3664 ac_cv_path_EGREP
="$ac_path_EGREP"
3665 ac_path_EGREP_max
=$ac_count
3667 # 10*(2^10) chars as input seems more than enough
3668 test $ac_count -gt 10 && break
3670 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3673 $ac_path_EGREP_found && break 3
3678 if test -z "$ac_cv_path_EGREP"; then
3679 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3680 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3681 { (exit 1); exit 1; }; }
3684 ac_cv_path_EGREP
=$EGREP
3689 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3690 $as_echo "$ac_cv_path_EGREP" >&6; }
3691 EGREP
="$ac_cv_path_EGREP"
3694 if test $ac_cv_c_compiler_gnu = yes; then
3695 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3696 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3697 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3698 $as_echo_n "(cached) " >&6
3700 ac_pattern
="Autoconf.*'x'"
3701 cat >conftest.
$ac_ext <<_ACEOF
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3711 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3712 ac_cv_prog_gcc_traditional
=yes
3714 ac_cv_prog_gcc_traditional
=no
3719 if test $ac_cv_prog_gcc_traditional = no
; then
3720 cat >conftest.
$ac_ext <<_ACEOF
3723 cat confdefs.h
>>conftest.
$ac_ext
3724 cat >>conftest.
$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3730 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3731 ac_cv_prog_gcc_traditional
=yes
3737 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3738 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3739 if test $ac_cv_prog_gcc_traditional = yes; then
3740 CC
="$CC -traditional"
3744 # Find a good install program. We prefer a C program (faster),
3745 # so one script is as good as another. But avoid the broken or
3746 # incompatible versions:
3747 # SysV /etc/install, /usr/sbin/install
3748 # SunOS /usr/etc/install
3749 # IRIX /sbin/install
3751 # AmigaOS /C/install, which installs bootblocks on floppy discs
3752 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3753 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3754 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3755 # OS/2's system install, which has a completely different semantic
3756 # ./install, which can be erroneously created by make from ./install.sh.
3757 # Reject install programs that cannot install multiple files.
3758 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3759 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3760 if test -z "$INSTALL"; then
3761 if test "${ac_cv_path_install+set}" = set; then
3762 $as_echo_n "(cached) " >&6
3764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir
=.
3769 # Account for people who put trailing slashes in PATH elements.
3771 .
/ | .
// |
/cC
/* | \
3772 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3773 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3776 # OSF1 and SCO ODT 3.0 have their own names for install.
3777 # Don't use installbsd from OSF since it installs stuff as root
3779 for ac_prog
in ginstall scoinst
install; do
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3782 if test $ac_prog = install &&
3783 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3784 # AIX install. It has an incompatible calling convention.
3786 elif test $ac_prog = install &&
3787 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3788 # program-specific install script used by HP pwplus--don't use.
3791 rm -rf conftest.one conftest.two conftest.dir
3792 echo one
> conftest.one
3793 echo two
> conftest.two
3795 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3796 test -s conftest.one
&& test -s conftest.two
&&
3797 test -s conftest.dir
/conftest.one
&&
3798 test -s conftest.dir
/conftest.two
3800 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3813 rm -rf conftest.one conftest.two conftest.dir
3816 if test "${ac_cv_path_install+set}" = set; then
3817 INSTALL
=$ac_cv_path_install
3819 # As a last resort, use the slow shell script. Don't cache a
3820 # value for INSTALL within a source directory, because that will
3821 # break other packages using the cache if that directory is
3822 # removed, or if the value is a relative name.
3823 INSTALL
=$ac_install_sh
3826 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3827 $as_echo "$INSTALL" >&6; }
3829 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3830 # It thinks the first close brace ends the variable substitution.
3831 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3833 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3835 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3837 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3838 $as_echo_n "checking whether ln -s works... " >&6; }
3840 if test "$LN_S" = "ln -s"; then
3841 { $as_echo "$as_me:$LINENO: result: yes" >&5
3842 $as_echo "yes" >&6; }
3844 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3845 $as_echo "no, using $LN_S" >&6; }
3848 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3849 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3851 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3852 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3853 $as_echo_n "(cached) " >&6
3855 cat >conftest.
make <<\_ACEOF
3858 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3860 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3861 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3863 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3865 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3869 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3870 { $as_echo "$as_me:$LINENO: result: yes" >&5
3871 $as_echo "yes" >&6; }
3874 { $as_echo "$as_me:$LINENO: result: no" >&5
3875 $as_echo "no" >&6; }
3876 SET_MAKE
="MAKE=${MAKE-make}"
3879 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3880 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3881 if test -z "$MKDIR_P"; then
3882 if test "${ac_cv_path_mkdir+set}" = set; then
3883 $as_echo_n "(cached) " >&6
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_prog
in mkdir gmkdir
; do
3891 for ac_exec_ext
in '' $ac_executable_extensions; do
3892 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3893 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3894 'mkdir (GNU coreutils) '* | \
3895 'mkdir (coreutils) '* | \
3896 'mkdir (fileutils) '4.1*)
3897 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3907 if test "${ac_cv_path_mkdir+set}" = set; then
3908 MKDIR_P
="$ac_cv_path_mkdir -p"
3910 # As a last resort, use the slow shell script. Don't cache a
3911 # value for MKDIR_P within a source directory, because that will
3912 # break other packages using the cache if that directory is
3913 # removed, or if the value is a relative name.
3914 test -d .
/--version && rmdir .
/--version
3915 MKDIR_P
="$ac_install_sh -d"
3918 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3919 $as_echo "$MKDIR_P" >&6; }
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3923 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if test "${ac_cv_prog_RANLIB+set}" = set; then
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$RANLIB"; then
3930 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3940 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 RANLIB
=$ac_cv_prog_RANLIB
3950 if test -n "$RANLIB"; then
3951 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3952 $as_echo "$RANLIB" >&6; }
3954 { $as_echo "$as_me:$LINENO: result: no" >&5
3955 $as_echo "no" >&6; }
3960 if test -z "$ac_cv_prog_RANLIB"; then
3961 ac_ct_RANLIB
=$RANLIB
3962 # Extract the first word of "ranlib", so it can be a program name with args.
3963 set dummy ranlib
; ac_word
=$2
3964 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$ac_ct_RANLIB"; then
3970 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3980 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3990 if test -n "$ac_ct_RANLIB"; then
3991 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3992 $as_echo "$ac_ct_RANLIB" >&6; }
3994 { $as_echo "$as_me:$LINENO: result: no" >&5
3995 $as_echo "no" >&6; }
3998 if test "x$ac_ct_RANLIB" = x
; then
4001 case $cross_compiling:$ac_tool_warned in
4003 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4005 ac_tool_warned
=yes ;;
4007 RANLIB
=$ac_ct_RANLIB
4010 RANLIB
="$ac_cv_prog_RANLIB"
4013 # Extract the first word of "cflow", so it can be a program name with args.
4014 set dummy cflow
; ac_word
=$2
4015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4016 $as_echo_n "checking for $ac_word... " >&6; }
4017 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4018 $as_echo_n "(cached) " >&6
4022 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4029 test -z "$as_dir" && as_dir
=.
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4032 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4033 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4044 if test -n "$CFLOW_CMD"; then
4045 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4046 $as_echo "$CFLOW_CMD" >&6; }
4048 { $as_echo "$as_me:$LINENO: result: no" >&5
4049 $as_echo "no" >&6; }
4053 # Extract the first word of "cscope", so it can be a program name with args.
4054 set dummy cscope
; ac_word
=$2
4055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4058 $as_echo_n "(cached) " >&6
4062 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir
=.
4070 for ac_exec_ext
in '' $ac_executable_extensions; do
4071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4072 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4084 if test -n "$CSCOPE_CMD"; then
4085 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4086 $as_echo "$CSCOPE_CMD" >&6; }
4088 { $as_echo "$as_me:$LINENO: result: no" >&5
4089 $as_echo "no" >&6; }
4094 ################################################################################
4101 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4102 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4103 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4104 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4105 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4106 $as_echo_n "(cached) " >&6
4108 cat >conftest.
$ac_ext <<_ACEOF
4111 cat confdefs.h
>>conftest.
$ac_ext
4112 cat >>conftest.
$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4114 #include <sys/types.h>
4126 rm -f conftest.
$ac_objext
4127 if { (ac_try
="$ac_compile"
4129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133 $as_echo "$ac_try_echo") >&5
4134 (eval "$ac_compile") 2>conftest.er1
4136 grep -v '^ *+' conftest.er1 >conftest.err
4138 cat conftest.err >&5
4139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } && {
4141 test -z "$ac_c_werror_flag" ||
4142 test ! -s conftest.err
4143 } && test -s conftest.$ac_objext; then
4144 eval "$as_ac_Header=yes"
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4149 eval "$as_ac_Header=no"
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_res=`eval 'as_val=${'$as_ac_Header'}
4155 $as_echo "$as_val"'`
4156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4157 $as_echo "$ac_res" >&6; }
4158 as_val=`eval 'as_val=${'$as_ac_Header'}
4159 $as_echo "$as_val"'`
4160 if test "x$as_val" = x""yes; then
4161 cat >>confdefs.h <<_ACEOF
4162 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4165 ac_header_dirent=$ac_hdr; break
4169 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4170 if test $ac_header_dirent = dirent.h; then
4171 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4172 $as_echo_n "checking for library containing opendir... " >&6; }
4173 if test "${ac_cv_search_opendir+set}" = set; then
4174 $as_echo_n "(cached) " >&6
4176 ac_func_search_save_LIBS=$LIBS
4177 cat >conftest.$ac_ext <<_ACEOF
4180 cat confdefs.h >>conftest.$ac_ext
4181 cat >>conftest.$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4184 /* Override any GCC internal prototype to avoid an error.
4185 Use char because int might match the return type of a GCC
4186 builtin and then its argument prototype would still apply. */
4199 for ac_lib in '' dir; do
4200 if test -z "$ac_lib"; then
4201 ac_res="none required"
4204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4206 rm -f conftest.$ac_objext conftest$ac_exeext
4207 if { (ac_try="$ac_link"
4209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4210 *) ac_try_echo
=$ac_try;;
4212 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4213 $as_echo "$ac_try_echo") >&5
4214 (eval "$ac_link") 2>conftest.er1
4216 grep -v '^ *+' conftest.er1
>conftest.err
4218 cat conftest.err
>&5
4219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } && {
4221 test -z "$ac_c_werror_flag" ||
4222 test ! -s conftest.err
4223 } && test -s conftest
$ac_exeext && {
4224 test "$cross_compiling" = yes ||
4225 $as_test_x conftest
$ac_exeext
4227 ac_cv_search_opendir
=$ac_res
4229 $as_echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4235 rm -rf conftest.dSYM
4236 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4238 if test "${ac_cv_search_opendir+set}" = set; then
4242 if test "${ac_cv_search_opendir+set}" = set; then
4245 ac_cv_search_opendir
=no
4248 LIBS
=$ac_func_search_save_LIBS
4250 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4251 $as_echo "$ac_cv_search_opendir" >&6; }
4252 ac_res
=$ac_cv_search_opendir
4253 if test "$ac_res" != no
; then
4254 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4259 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4260 $as_echo_n "checking for library containing opendir... " >&6; }
4261 if test "${ac_cv_search_opendir+set}" = set; then
4262 $as_echo_n "(cached) " >&6
4264 ac_func_search_save_LIBS
=$LIBS
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4272 /* Override any GCC internal prototype to avoid an error.
4273 Use char because int might match the return type of a GCC
4274 builtin and then its argument prototype would still apply. */
4287 for ac_lib
in '' x
; do
4288 if test -z "$ac_lib"; then
4289 ac_res
="none required"
4292 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4294 rm -f conftest.
$ac_objext conftest
$ac_exeext
4295 if { (ac_try
="$ac_link"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4301 $as_echo "$ac_try_echo") >&5
4302 (eval "$ac_link") 2>conftest.er1
4304 grep -v '^ *+' conftest.er1 >conftest.err
4306 cat conftest.err >&5
4307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && {
4309 test -z "$ac_c_werror_flag" ||
4310 test ! -s conftest.err
4311 } && test -s conftest$ac_exeext && {
4312 test "$cross_compiling" = yes ||
4313 $as_test_x conftest$ac_exeext
4315 ac_cv_search_opendir=$ac_res
4317 $as_echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.$ac_ext >&5
4323 rm -rf conftest.dSYM
4324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4326 if test "${ac_cv_search_opendir+set}" = set; then
4330 if test "${ac_cv_search_opendir+set}" = set; then
4333 ac_cv_search_opendir=no
4336 LIBS=$ac_func_search_save_LIBS
4338 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4339 $as_echo "$ac_cv_search_opendir" >&6; }
4340 ac_res=$ac_cv_search_opendir
4341 if test "$ac_res" != no; then
4342 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4348 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4349 $as_echo_n "checking for ANSI C header files... " >&6; }
4350 if test "${ac_cv_header_stdc+set}" = set; then
4351 $as_echo_n "(cached) " >&6
4353 cat >conftest.$ac_ext <<_ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4372 rm -f conftest.$ac_objext
4373 if { (ac_try="$ac_compile"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4379 $as_echo "$ac_try_echo") >&5
4380 (eval "$ac_compile") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1
>conftest.err
4384 cat conftest.err
>&5
4385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest.
$ac_objext; then
4390 ac_cv_header_stdc
=yes
4392 $as_echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_cv_header_stdc
=no
4398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4400 if test $ac_cv_header_stdc = yes; then
4401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4402 cat >conftest.
$ac_ext <<_ACEOF
4405 cat confdefs.h
>>conftest.
$ac_ext
4406 cat >>conftest.
$ac_ext <<_ACEOF
4407 /* end confdefs.h. */
4411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4412 $EGREP "memchr" >/dev
/null
2>&1; then
4415 ac_cv_header_stdc
=no
4421 if test $ac_cv_header_stdc = yes; then
4422 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4423 cat >conftest.
$ac_ext <<_ACEOF
4426 cat confdefs.h
>>conftest.
$ac_ext
4427 cat >>conftest.
$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4433 $EGREP "free" >/dev
/null
2>&1; then
4436 ac_cv_header_stdc
=no
4442 if test $ac_cv_header_stdc = yes; then
4443 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4444 if test "$cross_compiling" = yes; then
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4455 #if ((' ' & 0x0FF) == 0x020)
4456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4459 # define ISLOWER(c) \
4460 (('a' <= (c) && (c) <= 'i') \
4461 || ('j' <= (c) && (c) <= 'r') \
4462 || ('s' <= (c) && (c) <= 'z'))
4463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4471 for (i = 0; i < 256; i++)
4472 if (XOR (islower (i), ISLOWER (i))
4473 || toupper (i) != TOUPPER (i))
4478 rm -f conftest
$ac_exeext
4479 if { (ac_try
="$ac_link"
4481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4485 $as_echo "$ac_try_echo") >&5
4486 (eval "$ac_link") 2>&5
4488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4490 { (case "(($ac_try" in
4491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4492 *) ac_try_echo
=$ac_try;;
4494 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4495 $as_echo "$ac_try_echo") >&5
4496 (eval "$ac_try") 2>&5
4498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; }; then
4502 $as_echo "$as_me: program exited with status $ac_status" >&5
4503 $as_echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.
$ac_ext >&5
4507 ac_cv_header_stdc
=no
4509 rm -rf conftest.dSYM
4510 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4516 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4517 $as_echo "$ac_cv_header_stdc" >&6; }
4518 if test $ac_cv_header_stdc = yes; then
4520 cat >>confdefs.h
<<\_ACEOF
4521 #define STDC_HEADERS 1
4526 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4527 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4528 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4529 $as_echo_n "(cached) " >&6
4531 cat >conftest.
$ac_ext <<_ACEOF
4534 cat confdefs.h
>>conftest.
$ac_ext
4535 cat >>conftest.
$ac_ext <<_ACEOF
4536 /* end confdefs.h. */
4537 #include <sys/types.h>
4538 #include <sys/wait.h>
4540 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4543 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4551 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4556 rm -f conftest.
$ac_objext
4557 if { (ac_try
="$ac_compile"
4559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4563 $as_echo "$ac_try_echo") >&5
4564 (eval "$ac_compile") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } && {
4571 test -z "$ac_c_werror_flag" ||
4572 test ! -s conftest.err
4573 } && test -s conftest.$ac_objext; then
4574 ac_cv_header_sys_wait_h=yes
4576 $as_echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4579 ac_cv_header_sys_wait_h=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4585 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4586 if test $ac_cv_header_sys_wait_h = yes; then
4588 cat >>confdefs.h <<\_ACEOF
4589 #define HAVE_SYS_WAIT_H 1
4594 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4595 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4596 if test "${ac_cv_header_time+set}" = set; then
4597 $as_echo_n "(cached) " >&6
4599 cat >conftest.$ac_ext <<_ACEOF
4602 cat confdefs.h >>conftest.$ac_ext
4603 cat >>conftest.$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4605 #include <sys/types.h>
4606 #include <sys/time.h>
4612 if ((struct tm *) 0)
4618 rm -f conftest.$ac_objext
4619 if { (ac_try="$ac_compile"
4621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4622 *) ac_try_echo
=$ac_try;;
4624 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4625 $as_echo "$ac_try_echo") >&5
4626 (eval "$ac_compile") 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } && {
4633 test -z "$ac_c_werror_flag" ||
4634 test ! -s conftest.err
4635 } && test -s conftest.
$ac_objext; then
4636 ac_cv_header_time
=yes
4638 $as_echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.
$ac_ext >&5
4641 ac_cv_header_time
=no
4644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4647 $as_echo "$ac_cv_header_time" >&6; }
4648 if test $ac_cv_header_time = yes; then
4650 cat >>confdefs.h
<<\_ACEOF
4651 #define TIME_WITH_SYS_TIME 1
4657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4667 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4668 inttypes.h stdint.h unistd.h
4670 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4671 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4672 $as_echo_n "checking for $ac_header... " >&6; }
4673 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4674 $as_echo_n "(cached) " >&6
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4682 $ac_includes_default
4684 #include <$ac_header>
4686 rm -f conftest.
$ac_objext
4687 if { (ac_try
="$ac_compile"
4689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4693 $as_echo "$ac_try_echo") >&5
4694 (eval "$ac_compile") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } && {
4701 test -z "$ac_c_werror_flag" ||
4702 test ! -s conftest.err
4703 } && test -s conftest.$ac_objext; then
4704 eval "$as_ac_Header=yes"
4706 $as_echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4709 eval "$as_ac_Header=no"
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714 ac_res=`eval 'as_val=${'$as_ac_Header'}
4715 $as_echo "$as_val"'`
4716 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4717 $as_echo "$ac_res" >&6; }
4718 as_val=`eval 'as_val=${'$as_ac_Header'}
4719 $as_echo "$as_val"'`
4720 if test "x$as_val" = x""yes; then
4721 cat >>confdefs.h <<_ACEOF
4722 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4743 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4744 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4748 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4749 $as_echo_n "checking for $ac_header... " >&6; }
4750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4751 $as_echo_n "(cached) " >&6
4753 ac_res=`eval 'as_val=${'$as_ac_Header'}
4754 $as_echo "$as_val"'`
4755 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4756 $as_echo "$ac_res" >&6; }
4758 # Is the header compilable?
4759 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4760 $as_echo_n "checking $ac_header usability... " >&6; }
4761 cat >conftest.$ac_ext <<_ACEOF
4764 cat confdefs.h >>conftest.$ac_ext
4765 cat >>conftest.$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4767 $ac_includes_default
4768 #include <$ac_header>
4770 rm -f conftest.$ac_objext
4771 if { (ac_try="$ac_compile"
4773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4774 *) ac_try_echo
=$ac_try;;
4776 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4777 $as_echo "$ac_try_echo") >&5
4778 (eval "$ac_compile") 2>conftest.er1
4780 grep -v '^ *+' conftest.er1
>conftest.err
4782 cat conftest.err
>&5
4783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } && {
4785 test -z "$ac_c_werror_flag" ||
4786 test ! -s conftest.err
4787 } && test -s conftest.
$ac_objext; then
4788 ac_header_compiler
=yes
4790 $as_echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.
$ac_ext >&5
4793 ac_header_compiler
=no
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4798 $as_echo "$ac_header_compiler" >&6; }
4800 # Is the header present?
4801 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4802 $as_echo_n "checking $ac_header presence... " >&6; }
4803 cat >conftest.
$ac_ext <<_ACEOF
4806 cat confdefs.h
>>conftest.
$ac_ext
4807 cat >>conftest.
$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #include <$ac_header>
4811 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4817 $as_echo "$ac_try_echo") >&5
4818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4820 grep -v '^ *+' conftest.er1 >conftest.err
4822 cat conftest.err >&5
4823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } >/dev/null && {
4825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4826 test ! -s conftest.err
4828 ac_header_preproc=yes
4830 $as_echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4833 ac_header_preproc=no
4836 rm -f conftest.err conftest.$ac_ext
4837 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4838 $as_echo "$ac_header_preproc" >&6; }
4840 # So? What about this header?
4841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4843 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4844 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4845 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4846 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4847 ac_header_preproc=yes
4850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4851 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4853 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4855 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4857 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4859 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4861 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4865 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4866 $as_echo_n "checking for $ac_header... " >&6; }
4867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4868 $as_echo_n "(cached) " >&6
4870 eval "$as_ac_Header=\$ac_header_preproc"
4872 ac_res=`eval 'as_val=${'$as_ac_Header'}
4873 $as_echo "$as_val"'`
4874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4875 $as_echo "$ac_res" >&6; }
4878 as_val=`eval 'as_val=${'$as_ac_Header'}
4879 $as_echo "$as_val"'`
4880 if test "x$as_val" = x""yes; then
4881 cat >>confdefs.h <<_ACEOF
4882 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4886 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4887 $as_echo "$as_me: error: bailing out" >&2;}
4888 { (exit 1); exit 1; }; }
4899 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4903 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4904 $as_echo_n "checking for $ac_header... " >&6; }
4905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4906 $as_echo_n "(cached) " >&6
4908 ac_res=`eval 'as_val=${'$as_ac_Header'}
4909 $as_echo "$as_val"'`
4910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4911 $as_echo "$ac_res" >&6; }
4913 # Is the header compilable?
4914 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4915 $as_echo_n "checking $ac_header usability... " >&6; }
4916 cat >conftest.$ac_ext <<_ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4922 $ac_includes_default
4923 #include <$ac_header>
4925 rm -f conftest.$ac_objext
4926 if { (ac_try="$ac_compile"
4928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4929 *) ac_try_echo
=$ac_try;;
4931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4932 $as_echo "$ac_try_echo") >&5
4933 (eval "$ac_compile") 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && {
4940 test -z "$ac_c_werror_flag" ||
4941 test ! -s conftest.err
4942 } && test -s conftest.
$ac_objext; then
4943 ac_header_compiler
=yes
4945 $as_echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.
$ac_ext >&5
4948 ac_header_compiler
=no
4951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4952 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4953 $as_echo "$ac_header_compiler" >&6; }
4955 # Is the header present?
4956 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4957 $as_echo_n "checking $ac_header presence... " >&6; }
4958 cat >conftest.
$ac_ext <<_ACEOF
4961 cat confdefs.h
>>conftest.
$ac_ext
4962 cat >>conftest.
$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4964 #include <$ac_header>
4966 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4969 *) ac_try_echo=$ac_try;;
4971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4972 $as_echo "$ac_try_echo") >&5
4973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4975 grep -v '^ *+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } >/dev/null && {
4980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4983 ac_header_preproc=yes
4985 $as_echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4988 ac_header_preproc=no
4991 rm -f conftest.err conftest.$ac_ext
4992 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4993 $as_echo "$ac_header_preproc" >&6; }
4995 # So? What about this header?
4996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4999 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5001 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5002 ac_header_preproc=yes
5005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5006 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5008 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5010 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5012 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5014 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5016 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5020 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5021 $as_echo_n "checking for $ac_header... " >&6; }
5022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5023 $as_echo_n "(cached) " >&6
5025 eval "$as_ac_Header=\$ac_header_preproc"
5027 ac_res=`eval 'as_val=${'$as_ac_Header'}
5028 $as_echo "$as_val"'`
5029 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5030 $as_echo "$ac_res" >&6; }
5033 as_val=`eval 'as_val=${'$as_ac_Header'}
5034 $as_echo "$as_val"'`
5035 if test "x$as_val" = x""yes; then
5036 cat >>confdefs.h <<_ACEOF
5037 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5041 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5042 $as_echo "$as_me: error: bailing out" >&2;}
5043 { (exit 1); exit 1; }; }
5051 for ac_header in machine/endian.h sys/disk.h
5053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5055 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5056 $as_echo_n "checking for $ac_header... " >&6; }
5057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5058 $as_echo_n "(cached) " >&6
5060 ac_res=`eval 'as_val=${'$as_ac_Header'}
5061 $as_echo "$as_val"'`
5062 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5063 $as_echo "$ac_res" >&6; }
5065 # Is the header compilable?
5066 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5067 $as_echo_n "checking $ac_header usability... " >&6; }
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5074 $ac_includes_default
5075 #include <$ac_header>
5077 rm -f conftest.$ac_objext
5078 if { (ac_try="$ac_compile"
5080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5081 *) ac_try_echo
=$ac_try;;
5083 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5084 $as_echo "$ac_try_echo") >&5
5085 (eval "$ac_compile") 2>conftest.er1
5087 grep -v '^ *+' conftest.er1
>conftest.err
5089 cat conftest.err
>&5
5090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } && {
5092 test -z "$ac_c_werror_flag" ||
5093 test ! -s conftest.err
5094 } && test -s conftest.
$ac_objext; then
5095 ac_header_compiler
=yes
5097 $as_echo "$as_me: failed program was:" >&5
5098 sed 's/^/| /' conftest.
$ac_ext >&5
5100 ac_header_compiler
=no
5103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5104 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5105 $as_echo "$ac_header_compiler" >&6; }
5107 # Is the header present?
5108 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5109 $as_echo_n "checking $ac_header presence... " >&6; }
5110 cat >conftest.
$ac_ext <<_ACEOF
5113 cat confdefs.h
>>conftest.
$ac_ext
5114 cat >>conftest.
$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <$ac_header>
5118 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5124 $as_echo "$ac_try_echo") >&5
5125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5127 grep -v '^ *+' conftest.er1 >conftest.err
5129 cat conftest.err >&5
5130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); } >/dev/null && {
5132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5133 test ! -s conftest.err
5135 ac_header_preproc=yes
5137 $as_echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_header_preproc=no
5143 rm -f conftest.err conftest.$ac_ext
5144 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5145 $as_echo "$ac_header_preproc" >&6; }
5147 # So? What about this header?
5148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5151 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5153 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5154 ac_header_preproc=yes
5157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5158 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5160 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5162 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5164 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5166 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5168 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5172 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5173 $as_echo_n "checking for $ac_header... " >&6; }
5174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5175 $as_echo_n "(cached) " >&6
5177 eval "$as_ac_Header=\$ac_header_preproc"
5179 ac_res=`eval 'as_val=${'$as_ac_Header'}
5180 $as_echo "$as_val"'`
5181 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5182 $as_echo "$ac_res" >&6; }
5185 as_val=`eval 'as_val=${'$as_ac_Header'}
5186 $as_echo "$as_val"'`
5187 if test "x$as_val" = x""yes; then
5188 cat >>confdefs.h <<_ACEOF
5189 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5193 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5194 $as_echo "$as_me: error: bailing out" >&2;}
5195 { (exit 1); exit 1; }; }
5218 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5219 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5220 sys/types.h unistd.h
5222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5224 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5225 $as_echo_n "checking for $ac_header... " >&6; }
5226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5227 $as_echo_n "(cached) " >&6
5229 ac_res=`eval 'as_val=${'$as_ac_Header'}
5230 $as_echo "$as_val"'`
5231 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5232 $as_echo "$ac_res" >&6; }
5234 # Is the header compilable?
5235 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5236 $as_echo_n "checking $ac_header usability... " >&6; }
5237 cat >conftest.$ac_ext <<_ACEOF
5240 cat confdefs.h >>conftest.$ac_ext
5241 cat >>conftest.$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5243 $ac_includes_default
5244 #include <$ac_header>
5246 rm -f conftest.$ac_objext
5247 if { (ac_try="$ac_compile"
5249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5250 *) ac_try_echo
=$ac_try;;
5252 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5253 $as_echo "$ac_try_echo") >&5
5254 (eval "$ac_compile") 2>conftest.er1
5256 grep -v '^ *+' conftest.er1
>conftest.err
5258 cat conftest.err
>&5
5259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } && {
5261 test -z "$ac_c_werror_flag" ||
5262 test ! -s conftest.err
5263 } && test -s conftest.
$ac_objext; then
5264 ac_header_compiler
=yes
5266 $as_echo "$as_me: failed program was:" >&5
5267 sed 's/^/| /' conftest.
$ac_ext >&5
5269 ac_header_compiler
=no
5272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5273 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5274 $as_echo "$ac_header_compiler" >&6; }
5276 # Is the header present?
5277 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5278 $as_echo_n "checking $ac_header presence... " >&6; }
5279 cat >conftest.
$ac_ext <<_ACEOF
5282 cat confdefs.h
>>conftest.
$ac_ext
5283 cat >>conftest.
$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <$ac_header>
5287 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5293 $as_echo "$ac_try_echo") >&5
5294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5296 grep -v '^ *+' conftest.er1 >conftest.err
5298 cat conftest.err >&5
5299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } >/dev/null && {
5301 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5302 test ! -s conftest.err
5304 ac_header_preproc=yes
5306 $as_echo "$as_me: failed program was:" >&5
5307 sed 's/^/| /' conftest.$ac_ext >&5
5309 ac_header_preproc=no
5312 rm -f conftest.err conftest.$ac_ext
5313 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5314 $as_echo "$ac_header_preproc" >&6; }
5316 # So? What about this header?
5317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5320 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5322 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5323 ac_header_preproc=yes
5326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5327 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5329 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5331 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5333 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5335 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5337 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5341 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5342 $as_echo_n "checking for $ac_header... " >&6; }
5343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5344 $as_echo_n "(cached) " >&6
5346 eval "$as_ac_Header=\$ac_header_preproc"
5348 ac_res=`eval 'as_val=${'$as_ac_Header'}
5349 $as_echo "$as_val"'`
5350 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5351 $as_echo "$ac_res" >&6; }
5354 as_val=`eval 'as_val=${'$as_ac_Header'}
5355 $as_echo "$as_val"'`
5356 if test "x$as_val" = x""yes; then
5357 cat >>confdefs.h <<_ACEOF
5358 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5362 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5363 $as_echo "$as_me: error: bailing out" >&2;}
5364 { (exit 1); exit 1; }; }
5371 for ac_header in termios.h sys/statvfs.h
5373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5375 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5376 $as_echo_n "checking for $ac_header... " >&6; }
5377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5378 $as_echo_n "(cached) " >&6
5380 ac_res=`eval 'as_val=${'$as_ac_Header'}
5381 $as_echo "$as_val"'`
5382 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5383 $as_echo "$ac_res" >&6; }
5385 # Is the header compilable?
5386 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5387 $as_echo_n "checking $ac_header usability... " >&6; }
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 $ac_includes_default
5395 #include <$ac_header>
5397 rm -f conftest.$ac_objext
5398 if { (ac_try="$ac_compile"
5400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5401 *) ac_try_echo
=$ac_try;;
5403 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5404 $as_echo "$ac_try_echo") >&5
5405 (eval "$ac_compile") 2>conftest.er1
5407 grep -v '^ *+' conftest.er1
>conftest.err
5409 cat conftest.err
>&5
5410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } && {
5412 test -z "$ac_c_werror_flag" ||
5413 test ! -s conftest.err
5414 } && test -s conftest.
$ac_objext; then
5415 ac_header_compiler
=yes
5417 $as_echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.
$ac_ext >&5
5420 ac_header_compiler
=no
5423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5424 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5425 $as_echo "$ac_header_compiler" >&6; }
5427 # Is the header present?
5428 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5429 $as_echo_n "checking $ac_header presence... " >&6; }
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5436 #include <$ac_header>
5438 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5444 $as_echo "$ac_try_echo") >&5
5445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5447 grep -v '^ *+' conftest.er1 >conftest.err
5449 cat conftest.err >&5
5450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } >/dev/null && {
5452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5453 test ! -s conftest.err
5455 ac_header_preproc=yes
5457 $as_echo "$as_me: failed program was:" >&5
5458 sed 's/^/| /' conftest.$ac_ext >&5
5460 ac_header_preproc=no
5463 rm -f conftest.err conftest.$ac_ext
5464 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5465 $as_echo "$ac_header_preproc" >&6; }
5467 # So? What about this header?
5468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5471 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5474 ac_header_preproc=yes
5477 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5478 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5480 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5482 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5484 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5486 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5488 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5492 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5493 $as_echo_n "checking for $ac_header... " >&6; }
5494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5495 $as_echo_n "(cached) " >&6
5497 eval "$as_ac_Header=\$ac_header_preproc"
5499 ac_res=`eval 'as_val=${'$as_ac_Header'}
5500 $as_echo "$as_val"'`
5501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5502 $as_echo "$ac_res" >&6; }
5505 as_val=`eval 'as_val=${'$as_ac_Header'}
5506 $as_echo "$as_val"'`
5507 if test "x$as_val" = x""yes; then
5508 cat >>confdefs.h <<_ACEOF
5509 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5517 ################################################################################
5518 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5519 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5520 if test "${ac_cv_c_const+set}" = set; then
5521 $as_echo_n "(cached) " >&6
5523 cat >conftest.$ac_ext <<_ACEOF
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5533 /* FIXME: Include the comments suggested by Paul. */
5535 /* Ultrix mips cc rejects this. */
5536 typedef int charset[2];
5538 /* SunOS 4.1.1 cc rejects this. */
5539 char const *const *pcpcc;
5541 /* NEC SVR4.0.2 mips cc rejects this. */
5542 struct point {int x, y;};
5543 static struct point const zero = {0,0};
5544 /* AIX XL C 1.02.0.0 rejects this.
5545 It does not let you subtract one const X* pointer from another in
5546 an arm of an if-expression whose if-part is not a constant
5548 const char *g = "string";
5549 pcpcc = &g + (g ? g-g : 0);
5550 /* HPUX 7.0 cc rejects these. */
5552 ppc = (char**) pcpcc;
5553 pcpcc = (char const *const *) ppc;
5554 { /* SCO 3.2v4 cc rejects this. */
5556 char const *s = 0 ? (char *) 0 : (char const *) 0;
5561 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5563 const int *foo = &x[0];
5566 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5567 typedef const int *iptr;
5571 { /* AIX XL C 1.02.0.0 rejects this saying
5572 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5573 struct s { int j; const int *ap[3]; };
5574 struct s *b; b->j = 5;
5576 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5580 return !cs[0] && !zero.x;
5587 rm -f conftest.$ac_objext
5588 if { (ac_try="$ac_compile"
5590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5591 *) ac_try_echo
=$ac_try;;
5593 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5594 $as_echo "$ac_try_echo") >&5
5595 (eval "$ac_compile") 2>conftest.er1
5597 grep -v '^ *+' conftest.er1
>conftest.err
5599 cat conftest.err
>&5
5600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); } && {
5602 test -z "$ac_c_werror_flag" ||
5603 test ! -s conftest.err
5604 } && test -s conftest.
$ac_objext; then
5607 $as_echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5615 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5616 $as_echo "$ac_cv_c_const" >&6; }
5617 if test $ac_cv_c_const = no
; then
5619 cat >>confdefs.h
<<\_ACEOF
5625 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5626 $as_echo_n "checking for inline... " >&6; }
5627 if test "${ac_cv_c_inline+set}" = set; then
5628 $as_echo_n "(cached) " >&6
5631 for ac_kw
in inline __inline__ __inline
; do
5632 cat >conftest.
$ac_ext <<_ACEOF
5635 cat confdefs.h
>>conftest.
$ac_ext
5636 cat >>conftest.
$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5640 static $ac_kw foo_t static_foo () {return 0; }
5641 $ac_kw foo_t foo () {return 0; }
5645 rm -f conftest.
$ac_objext
5646 if { (ac_try
="$ac_compile"
5648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5649 *) ac_try_echo=$ac_try;;
5651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5652 $as_echo "$ac_try_echo") >&5
5653 (eval "$ac_compile") 2>conftest.er1
5655 grep -v '^ *+' conftest.er1 >conftest.err
5657 cat conftest.err >&5
5658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } && {
5660 test -z "$ac_c_werror_flag" ||
5661 test ! -s conftest.err
5662 } && test -s conftest.$ac_objext; then
5663 ac_cv_c_inline=$ac_kw
5665 $as_echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.$ac_ext >&5
5671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5672 test "$ac_cv_c_inline" != no && break
5676 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5677 $as_echo "$ac_cv_c_inline" >&6; }
5680 case $ac_cv_c_inline in
5683 case $ac_cv_c_inline in
5685 *) ac_val=$ac_cv_c_inline;;
5687 cat >>confdefs.h <<_ACEOF
5689 #define inline $ac_val
5695 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5696 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5697 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5698 $as_echo_n "(cached) " >&6
5700 cat >conftest.$ac_ext <<_ACEOF
5703 cat confdefs.h >>conftest.$ac_ext
5704 cat >>conftest.$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5706 $ac_includes_default
5710 static struct stat ac_aggr;
5711 if (ac_aggr.st_rdev)
5717 rm -f conftest.$ac_objext
5718 if { (ac_try="$ac_compile"
5720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5721 *) ac_try_echo
=$ac_try;;
5723 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5724 $as_echo "$ac_try_echo") >&5
5725 (eval "$ac_compile") 2>conftest.er1
5727 grep -v '^ *+' conftest.er1
>conftest.err
5729 cat conftest.err
>&5
5730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } && {
5732 test -z "$ac_c_werror_flag" ||
5733 test ! -s conftest.err
5734 } && test -s conftest.
$ac_objext; then
5735 ac_cv_member_struct_stat_st_rdev
=yes
5737 $as_echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.
$ac_ext >&5
5740 cat >conftest.
$ac_ext <<_ACEOF
5743 cat confdefs.h
>>conftest.
$ac_ext
5744 cat >>conftest.
$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746 $ac_includes_default
5750 static struct stat ac_aggr;
5751 if (sizeof ac_aggr.st_rdev)
5757 rm -f conftest.
$ac_objext
5758 if { (ac_try
="$ac_compile"
5760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5764 $as_echo "$ac_try_echo") >&5
5765 (eval "$ac_compile") 2>conftest.er1
5767 grep -v '^ *+' conftest.er1 >conftest.err
5769 cat conftest.err >&5
5770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && {
5772 test -z "$ac_c_werror_flag" ||
5773 test ! -s conftest.err
5774 } && test -s conftest.$ac_objext; then
5775 ac_cv_member_struct_stat_st_rdev=yes
5777 $as_echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.$ac_ext >&5
5780 ac_cv_member_struct_stat_st_rdev=no
5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5788 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5789 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5790 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5792 cat >>confdefs.h <<_ACEOF
5793 #define HAVE_STRUCT_STAT_ST_RDEV 1
5799 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5800 $as_echo_n "checking for off_t... " >&6; }
5801 if test "${ac_cv_type_off_t+set}" = set; then
5802 $as_echo_n "(cached) " >&6
5805 cat >conftest.$ac_ext <<_ACEOF
5808 cat confdefs.h >>conftest.$ac_ext
5809 cat >>conftest.$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5811 $ac_includes_default
5821 rm -f conftest.$ac_objext
5822 if { (ac_try="$ac_compile"
5824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5825 *) ac_try_echo
=$ac_try;;
5827 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5828 $as_echo "$ac_try_echo") >&5
5829 (eval "$ac_compile") 2>conftest.er1
5831 grep -v '^ *+' conftest.er1
>conftest.err
5833 cat conftest.err
>&5
5834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } && {
5836 test -z "$ac_c_werror_flag" ||
5837 test ! -s conftest.err
5838 } && test -s conftest.
$ac_objext; then
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 $ac_includes_default
5849 if (sizeof ((off_t)))
5855 rm -f conftest.
$ac_objext
5856 if { (ac_try
="$ac_compile"
5858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862 $as_echo "$ac_try_echo") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_c_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5875 $as_echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 ac_cv_type_off_t=yes
5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5883 $as_echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.$ac_ext >&5
5889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5892 $as_echo "$ac_cv_type_off_t" >&6; }
5893 if test "x$ac_cv_type_off_t" = x""yes; then
5897 cat >>confdefs.h <<_ACEOF
5898 #define off_t long int
5903 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5904 $as_echo_n "checking for pid_t... " >&6; }
5905 if test "${ac_cv_type_pid_t+set}" = set; then
5906 $as_echo_n "(cached) " >&6
5909 cat >conftest.$ac_ext <<_ACEOF
5912 cat confdefs.h >>conftest.$ac_ext
5913 cat >>conftest.$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 $ac_includes_default
5925 rm -f conftest.$ac_objext
5926 if { (ac_try="$ac_compile"
5928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5929 *) ac_try_echo
=$ac_try;;
5931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5932 $as_echo "$ac_try_echo") >&5
5933 (eval "$ac_compile") 2>conftest.er1
5935 grep -v '^ *+' conftest.er1
>conftest.err
5937 cat conftest.err
>&5
5938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } && {
5940 test -z "$ac_c_werror_flag" ||
5941 test ! -s conftest.err
5942 } && test -s conftest.
$ac_objext; then
5943 cat >conftest.
$ac_ext <<_ACEOF
5946 cat confdefs.h
>>conftest.
$ac_ext
5947 cat >>conftest.
$ac_ext <<_ACEOF
5948 /* end confdefs.h. */
5949 $ac_includes_default
5953 if (sizeof ((pid_t)))
5959 rm -f conftest.
$ac_objext
5960 if { (ac_try
="$ac_compile"
5962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5963 *) ac_try_echo=$ac_try;;
5965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5966 $as_echo "$ac_try_echo") >&5
5967 (eval "$ac_compile") 2>conftest.er1
5969 grep -v '^ *+' conftest.er1 >conftest.err
5971 cat conftest.err >&5
5972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); } && {
5974 test -z "$ac_c_werror_flag" ||
5975 test ! -s conftest.err
5976 } && test -s conftest.$ac_objext; then
5979 $as_echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.$ac_ext >&5
5982 ac_cv_type_pid_t=yes
5985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5987 $as_echo "$as_me: failed program was:" >&5
5988 sed 's/^/| /' conftest.$ac_ext >&5
5993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5996 $as_echo "$ac_cv_type_pid_t" >&6; }
5997 if test "x$ac_cv_type_pid_t" = x""yes; then
6001 cat >>confdefs.h <<_ACEOF
6007 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6008 $as_echo_n "checking return type of signal handlers... " >&6; }
6009 if test "${ac_cv_type_signal+set}" = set; then
6010 $as_echo_n "(cached) " >&6
6012 cat >conftest.$ac_ext <<_ACEOF
6015 cat confdefs.h >>conftest.$ac_ext
6016 cat >>conftest.$ac_ext <<_ACEOF
6017 /* end confdefs.h. */
6018 #include <sys/types.h>
6024 return *(signal (0, 0)) (0) == 1;
6029 rm -f conftest.$ac_objext
6030 if { (ac_try="$ac_compile"
6032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6033 *) ac_try_echo
=$ac_try;;
6035 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6036 $as_echo "$ac_try_echo") >&5
6037 (eval "$ac_compile") 2>conftest.er1
6039 grep -v '^ *+' conftest.er1
>conftest.err
6041 cat conftest.err
>&5
6042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } && {
6044 test -z "$ac_c_werror_flag" ||
6045 test ! -s conftest.err
6046 } && test -s conftest.
$ac_objext; then
6047 ac_cv_type_signal
=int
6049 $as_echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 ac_cv_type_signal
=void
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6057 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6058 $as_echo "$ac_cv_type_signal" >&6; }
6060 cat >>confdefs.h
<<_ACEOF
6061 #define RETSIGTYPE $ac_cv_type_signal
6065 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6066 $as_echo_n "checking for size_t... " >&6; }
6067 if test "${ac_cv_type_size_t+set}" = set; then
6068 $as_echo_n "(cached) " >&6
6070 ac_cv_type_size_t
=no
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 $ac_includes_default
6081 if (sizeof (size_t))
6087 rm -f conftest.
$ac_objext
6088 if { (ac_try
="$ac_compile"
6090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6091 *) ac_try_echo=$ac_try;;
6093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6094 $as_echo "$ac_try_echo") >&5
6095 (eval "$ac_compile") 2>conftest.er1
6097 grep -v '^ *+' conftest.er1 >conftest.err
6099 cat conftest.err >&5
6100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); } && {
6102 test -z "$ac_c_werror_flag" ||
6103 test ! -s conftest.err
6104 } && test -s conftest.$ac_objext; then
6105 cat >conftest.$ac_ext <<_ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6111 $ac_includes_default
6115 if (sizeof ((size_t)))
6121 rm -f conftest.$ac_objext
6122 if { (ac_try="$ac_compile"
6124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6125 *) ac_try_echo
=$ac_try;;
6127 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6128 $as_echo "$ac_try_echo") >&5
6129 (eval "$ac_compile") 2>conftest.er1
6131 grep -v '^ *+' conftest.er1
>conftest.err
6133 cat conftest.err
>&5
6134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); } && {
6136 test -z "$ac_c_werror_flag" ||
6137 test ! -s conftest.err
6138 } && test -s conftest.
$ac_objext; then
6141 $as_echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.
$ac_ext >&5
6144 ac_cv_type_size_t
=yes
6147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6149 $as_echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6157 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6158 $as_echo "$ac_cv_type_size_t" >&6; }
6159 if test "x$ac_cv_type_size_t" = x
""yes; then
6163 cat >>confdefs.h
<<_ACEOF
6164 #define size_t unsigned int
6169 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6170 $as_echo_n "checking for mode_t... " >&6; }
6171 if test "${ac_cv_type_mode_t+set}" = set; then
6172 $as_echo_n "(cached) " >&6
6174 ac_cv_type_mode_t
=no
6175 cat >conftest.
$ac_ext <<_ACEOF
6178 cat confdefs.h
>>conftest.
$ac_ext
6179 cat >>conftest.
$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6181 $ac_includes_default
6185 if (sizeof (mode_t))
6191 rm -f conftest.
$ac_objext
6192 if { (ac_try
="$ac_compile"
6194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6195 *) ac_try_echo=$ac_try;;
6197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6198 $as_echo "$ac_try_echo") >&5
6199 (eval "$ac_compile") 2>conftest.er1
6201 grep -v '^ *+' conftest.er1 >conftest.err
6203 cat conftest.err >&5
6204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } && {
6206 test -z "$ac_c_werror_flag" ||
6207 test ! -s conftest.err
6208 } && test -s conftest.$ac_objext; then
6209 cat >conftest.$ac_ext <<_ACEOF
6212 cat confdefs.h >>conftest.$ac_ext
6213 cat >>conftest.$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6215 $ac_includes_default
6219 if (sizeof ((mode_t)))
6225 rm -f conftest.$ac_objext
6226 if { (ac_try="$ac_compile"
6228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6229 *) ac_try_echo
=$ac_try;;
6231 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6232 $as_echo "$ac_try_echo") >&5
6233 (eval "$ac_compile") 2>conftest.er1
6235 grep -v '^ *+' conftest.er1
>conftest.err
6237 cat conftest.err
>&5
6238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } && {
6240 test -z "$ac_c_werror_flag" ||
6241 test ! -s conftest.err
6242 } && test -s conftest.
$ac_objext; then
6245 $as_echo "$as_me: failed program was:" >&5
6246 sed 's/^/| /' conftest.
$ac_ext >&5
6248 ac_cv_type_mode_t
=yes
6251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6253 $as_echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.
$ac_ext >&5
6259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6261 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6262 $as_echo "$ac_cv_type_mode_t" >&6; }
6263 if test "x$ac_cv_type_mode_t" = x
""yes; then
6267 cat >>confdefs.h
<<_ACEOF
6273 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6274 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6275 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6276 $as_echo_n "(cached) " >&6
6278 cat >conftest.
$ac_ext <<_ACEOF
6281 cat confdefs.h
>>conftest.
$ac_ext
6282 cat >>conftest.
$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6284 $ac_includes_default
6288 static struct stat ac_aggr;
6289 if (ac_aggr.st_rdev)
6295 rm -f conftest.
$ac_objext
6296 if { (ac_try
="$ac_compile"
6298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6299 *) ac_try_echo=$ac_try;;
6301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6302 $as_echo "$ac_try_echo") >&5
6303 (eval "$ac_compile") 2>conftest.er1
6305 grep -v '^ *+' conftest.er1 >conftest.err
6307 cat conftest.err >&5
6308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } && {
6310 test -z "$ac_c_werror_flag" ||
6311 test ! -s conftest.err
6312 } && test -s conftest.$ac_objext; then
6313 ac_cv_member_struct_stat_st_rdev=yes
6315 $as_echo "$as_me: failed program was:" >&5
6316 sed 's/^/| /' conftest.$ac_ext >&5
6318 cat >conftest.$ac_ext <<_ACEOF
6321 cat confdefs.h >>conftest.$ac_ext
6322 cat >>conftest.$ac_ext <<_ACEOF
6323 /* end confdefs.h. */
6324 $ac_includes_default
6328 static struct stat ac_aggr;
6329 if (sizeof ac_aggr.st_rdev)
6335 rm -f conftest.$ac_objext
6336 if { (ac_try="$ac_compile"
6338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6339 *) ac_try_echo
=$ac_try;;
6341 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6342 $as_echo "$ac_try_echo") >&5
6343 (eval "$ac_compile") 2>conftest.er1
6345 grep -v '^ *+' conftest.er1
>conftest.err
6347 cat conftest.err
>&5
6348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } && {
6350 test -z "$ac_c_werror_flag" ||
6351 test ! -s conftest.err
6352 } && test -s conftest.
$ac_objext; then
6353 ac_cv_member_struct_stat_st_rdev
=yes
6355 $as_echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.
$ac_ext >&5
6358 ac_cv_member_struct_stat_st_rdev
=no
6361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6366 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6367 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6368 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6370 cat >>confdefs.h
<<_ACEOF
6371 #define HAVE_STRUCT_STAT_ST_RDEV 1
6377 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6378 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6379 if test "${ac_cv_struct_tm+set}" = set; then
6380 $as_echo_n "(cached) " >&6
6382 cat >conftest.
$ac_ext <<_ACEOF
6385 cat confdefs.h
>>conftest.
$ac_ext
6386 cat >>conftest.
$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6388 #include <sys/types.h>
6395 int *p = &tm.tm_sec;
6401 rm -f conftest.
$ac_objext
6402 if { (ac_try
="$ac_compile"
6404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6405 *) ac_try_echo=$ac_try;;
6407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6408 $as_echo "$ac_try_echo") >&5
6409 (eval "$ac_compile") 2>conftest.er1
6411 grep -v '^ *+' conftest.er1 >conftest.err
6413 cat conftest.err >&5
6414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } && {
6416 test -z "$ac_c_werror_flag" ||
6417 test ! -s conftest.err
6418 } && test -s conftest.$ac_objext; then
6419 ac_cv_struct_tm=time.h
6421 $as_echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.$ac_ext >&5
6424 ac_cv_struct_tm=sys/time.h
6427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6429 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6430 $as_echo "$ac_cv_struct_tm" >&6; }
6431 if test $ac_cv_struct_tm = sys/time.h; then
6433 cat >>confdefs.h <<\_ACEOF
6434 #define TM_IN_SYS_TIME 1
6440 ################################################################################
6458 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6459 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6463 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6464 $as_echo_n "checking for $ac_func... " >&6; }
6465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6466 $as_echo_n "(cached) " >&6
6468 cat >conftest.$ac_ext <<_ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6476 #define $ac_func innocuous_$ac_func
6478 /* System header to define __stub macros and hopefully few prototypes,
6479 which can conflict with char $ac_func (); below.
6480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6481 <limits.h> exists even on freestanding compilers. */
6484 # include <limits.h>
6486 # include <assert.h>
6491 /* Override any GCC internal prototype to avoid an error.
6492 Use char because int might match the return type of a GCC
6493 builtin and then its argument prototype would still apply. */
6498 /* The GNU C library defines this for functions which it implements
6499 to always fail with ENOSYS. Some functions are actually named
6500 something starting with __ and the normal name is an alias. */
6501 #if defined __stub_$ac_func || defined __stub___$ac_func
6513 rm -f conftest.$ac_objext conftest$ac_exeext
6514 if { (ac_try="$ac_link"
6516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6517 *) ac_try_echo
=$ac_try;;
6519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6520 $as_echo "$ac_try_echo") >&5
6521 (eval "$ac_link") 2>conftest.er1
6523 grep -v '^ *+' conftest.er1
>conftest.err
6525 cat conftest.err
>&5
6526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && {
6528 test -z "$ac_c_werror_flag" ||
6529 test ! -s conftest.err
6530 } && test -s conftest
$ac_exeext && {
6531 test "$cross_compiling" = yes ||
6532 $as_test_x conftest
$ac_exeext
6534 eval "$as_ac_var=yes"
6536 $as_echo "$as_me: failed program was:" >&5
6537 sed 's/^/| /' conftest.
$ac_ext >&5
6539 eval "$as_ac_var=no"
6542 rm -rf conftest.dSYM
6543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6544 conftest
$ac_exeext conftest.
$ac_ext
6546 ac_res
=`eval 'as_val=${'$as_ac_var'}
6547 $as_echo "$as_val"'`
6548 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6549 $as_echo "$ac_res" >&6; }
6550 as_val
=`eval 'as_val=${'$as_ac_var'}
6551 $as_echo "$as_val"'`
6552 if test "x$as_val" = x
""yes; then
6553 cat >>confdefs.h
<<_ACEOF
6554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6558 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6559 $as_echo "$as_me: error: bailing out" >&2;}
6560 { (exit 1); exit 1; }; }
6565 for ac_func
in siginterrupt
6567 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6568 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6569 $as_echo_n "checking for $ac_func... " >&6; }
6570 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6571 $as_echo_n "(cached) " >&6
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6581 #define $ac_func innocuous_$ac_func
6583 /* System header to define __stub macros and hopefully few prototypes,
6584 which can conflict with char $ac_func (); below.
6585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6586 <limits.h> exists even on freestanding compilers. */
6589 # include <limits.h>
6591 # include <assert.h>
6596 /* Override any GCC internal prototype to avoid an error.
6597 Use char because int might match the return type of a GCC
6598 builtin and then its argument prototype would still apply. */
6603 /* The GNU C library defines this for functions which it implements
6604 to always fail with ENOSYS. Some functions are actually named
6605 something starting with __ and the normal name is an alias. */
6606 #if defined __stub_$ac_func || defined __stub___$ac_func
6618 rm -f conftest.
$ac_objext conftest
$ac_exeext
6619 if { (ac_try
="$ac_link"
6621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6622 *) ac_try_echo=$ac_try;;
6624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6625 $as_echo "$ac_try_echo") >&5
6626 (eval "$ac_link") 2>conftest.er1
6628 grep -v '^ *+' conftest.er1 >conftest.err
6630 cat conftest.err >&5
6631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } && {
6633 test -z "$ac_c_werror_flag" ||
6634 test ! -s conftest.err
6635 } && test -s conftest$ac_exeext && {
6636 test "$cross_compiling" = yes ||
6637 $as_test_x conftest$ac_exeext
6639 eval "$as_ac_var=yes"
6641 $as_echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 eval "$as_ac_var=no"
6647 rm -rf conftest.dSYM
6648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6649 conftest$ac_exeext conftest.$ac_ext
6651 ac_res=`eval 'as_val=${'$as_ac_var'}
6652 $as_echo "$as_val"'`
6653 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6654 $as_echo "$ac_res" >&6; }
6655 as_val=`eval 'as_val=${'$as_ac_var'}
6656 $as_echo "$as_val"'`
6657 if test "x$as_val" = x""yes; then
6658 cat >>confdefs.h <<_ACEOF
6659 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6665 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6666 # for constant arguments. Useless!
6667 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6668 $as_echo_n "checking for working alloca.h... " >&6; }
6669 if test "${ac_cv_working_alloca_h+set}" = set; then
6670 $as_echo_n "(cached) " >&6
6672 cat >conftest.$ac_ext <<_ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6682 char *p = (char *) alloca (2 * sizeof (int));
6688 rm -f conftest.$ac_objext conftest$ac_exeext
6689 if { (ac_try="$ac_link"
6691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6692 *) ac_try_echo
=$ac_try;;
6694 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6695 $as_echo "$ac_try_echo") >&5
6696 (eval "$ac_link") 2>conftest.er1
6698 grep -v '^ *+' conftest.er1
>conftest.err
6700 cat conftest.err
>&5
6701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } && {
6703 test -z "$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6705 } && test -s conftest
$ac_exeext && {
6706 test "$cross_compiling" = yes ||
6707 $as_test_x conftest
$ac_exeext
6709 ac_cv_working_alloca_h
=yes
6711 $as_echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.
$ac_ext >&5
6714 ac_cv_working_alloca_h
=no
6717 rm -rf conftest.dSYM
6718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6719 conftest
$ac_exeext conftest.
$ac_ext
6721 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6722 $as_echo "$ac_cv_working_alloca_h" >&6; }
6723 if test $ac_cv_working_alloca_h = yes; then
6725 cat >>confdefs.h
<<\_ACEOF
6726 #define HAVE_ALLOCA_H 1
6731 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6732 $as_echo_n "checking for alloca... " >&6; }
6733 if test "${ac_cv_func_alloca_works+set}" = set; then
6734 $as_echo_n "(cached) " >&6
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6743 # define alloca __builtin_alloca
6746 # include <malloc.h>
6747 # define alloca _alloca
6749 # ifdef HAVE_ALLOCA_H
6750 # include <alloca.h>
6755 # ifndef alloca /* predefined by HP cc +Olibcalls */
6766 char *p = (char *) alloca (1);
6772 rm -f conftest.
$ac_objext conftest
$ac_exeext
6773 if { (ac_try
="$ac_link"
6775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6776 *) ac_try_echo=$ac_try;;
6778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6779 $as_echo "$ac_try_echo") >&5
6780 (eval "$ac_link") 2>conftest.er1
6782 grep -v '^ *+' conftest.er1 >conftest.err
6784 cat conftest.err >&5
6785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } && {
6787 test -z "$ac_c_werror_flag" ||
6788 test ! -s conftest.err
6789 } && test -s conftest$ac_exeext && {
6790 test "$cross_compiling" = yes ||
6791 $as_test_x conftest$ac_exeext
6793 ac_cv_func_alloca_works=yes
6795 $as_echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.$ac_ext >&5
6798 ac_cv_func_alloca_works=no
6801 rm -rf conftest.dSYM
6802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6803 conftest$ac_exeext conftest.$ac_ext
6805 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6806 $as_echo "$ac_cv_func_alloca_works" >&6; }
6808 if test $ac_cv_func_alloca_works = yes; then
6810 cat >>confdefs.h <<\_ACEOF
6811 #define HAVE_ALLOCA 1
6815 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6816 # that cause trouble. Some versions do not even contain alloca or
6817 # contain a buggy version. If you still want to use their alloca,
6818 # use ar to extract alloca.o from them instead of compiling alloca.c.
6820 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6822 cat >>confdefs.h <<\_ACEOF
6827 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6828 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6829 if test "${ac_cv_os_cray+set}" = set; then
6830 $as_echo_n "(cached
) " >&6
6832 cat >conftest.$ac_ext <<_ACEOF
6835 cat confdefs.h >>conftest.$ac_ext
6836 cat >>conftest.$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6838 #if defined CRAY && ! defined CRAY2
6845 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6846 $EGREP "webecray
" >/dev/null 2>&1; then
6854 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6855 $as_echo "$ac_cv_os_cray" >&6; }
6856 if test $ac_cv_os_cray = yes; then
6857 for ac_func in _getb67 GETB67 getb67; do
6858 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6859 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6860 $as_echo_n "checking
for $ac_func...
" >&6; }
6861 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6862 $as_echo_n "(cached
) " >&6
6864 cat >conftest.$ac_ext <<_ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6872 #define $ac_func innocuous_$ac_func
6874 /* System header to define __stub macros and hopefully few prototypes,
6875 which can conflict with char $ac_func (); below.
6876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6877 <limits.h> exists even on freestanding compilers. */
6880 # include <limits.h>
6882 # include <assert.h>
6887 /* Override any GCC internal prototype to avoid an error.
6888 Use char because int might match the return type of a GCC
6889 builtin and then its argument prototype would still apply. */
6894 /* The GNU C library defines this for functions which it implements
6895 to always fail with ENOSYS. Some functions are actually named
6896 something starting with __ and the normal name is an alias. */
6897 #if defined __stub_$ac_func || defined __stub___$ac_func
6909 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (ac_try="$ac_link"
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6915 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_link") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1 >conftest.err
6921 cat conftest.err >&5
6922 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest$ac_exeext && {
6927 test "$cross_compiling" = yes ||
6928 $as_test_x conftest$ac_exeext
6930 eval "$as_ac_var=yes"
6932 $as_echo "$as_me: failed program was
:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6935 eval "$as_ac_var=no
"
6938 rm -rf conftest.dSYM
6939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6940 conftest$ac_exeext conftest.$ac_ext
6942 ac_res=`eval 'as_val=${'$as_ac_var'}
6943 $as_echo "$as_val"'`
6944 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6945 $as_echo "$ac_res" >&6; }
6946 as_val=`eval 'as_val=${'$as_ac_var'}
6947 $as_echo "$as_val"'`
6948 if test "x
$as_val" = x""yes; then
6950 cat >>confdefs.h <<_ACEOF
6951 #define CRAY_STACKSEG_END $ac_func
6960 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6961 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6962 if test "${ac_cv_c_stack_direction+set}" = set; then
6963 $as_echo_n "(cached
) " >&6
6965 if test "$cross_compiling" = yes; then
6966 ac_cv_c_stack_direction=0
6968 cat >conftest.$ac_ext <<_ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6974 $ac_includes_default
6976 find_stack_direction ()
6978 static char *addr = 0;
6983 return find_stack_direction ();
6986 return (&dummy > addr) ? 1 : -1;
6992 return find_stack_direction () < 0;
6995 rm -f conftest$ac_exeext
6996 if { (ac_try="$ac_link"
6998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6999 *) ac_try_echo=$ac_try;;
7001 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7002 $as_echo "$ac_try_echo") >&5
7003 (eval "$ac_link") 2>&5
7005 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7007 { (case "(($ac_try" in
7008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009 *) ac_try_echo=$ac_try;;
7011 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7012 $as_echo "$ac_try_echo") >&5
7013 (eval "$ac_try") 2>&5
7015 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_cv_c_stack_direction=1
7019 $as_echo "$as_me: program exited with status
$ac_status" >&5
7020 $as_echo "$as_me: failed program was
:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7024 ac_cv_c_stack_direction=-1
7026 rm -rf conftest.dSYM
7027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7032 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7033 $as_echo "$ac_cv_c_stack_direction" >&6; }
7035 cat >>confdefs.h <<_ACEOF
7036 #define STACK_DIRECTION $ac_cv_c_stack_direction
7042 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7043 $as_echo_n "checking whether closedir returns void...
" >&6; }
7044 if test "${ac_cv_func_closedir_void+set}" = set; then
7045 $as_echo_n "(cached
) " >&6
7047 if test "$cross_compiling" = yes; then
7048 ac_cv_func_closedir_void=yes
7050 cat >conftest.$ac_ext <<_ACEOF
7053 cat confdefs.h >>conftest.$ac_ext
7054 cat >>conftest.$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7056 $ac_includes_default
7057 #include <$ac_header_dirent>
7065 return closedir (opendir (".
")) != 0;
7070 rm -f conftest$ac_exeext
7071 if { (ac_try="$ac_link"
7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7076 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7077 $as_echo "$ac_try_echo") >&5
7078 (eval "$ac_link") 2>&5
7080 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7082 { (case "(($ac_try" in
7083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7084 *) ac_try_echo=$ac_try;;
7086 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7087 $as_echo "$ac_try_echo") >&5
7088 (eval "$ac_try") 2>&5
7090 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7091 (exit $ac_status); }; }; then
7092 ac_cv_func_closedir_void=no
7094 $as_echo "$as_me: program exited with status
$ac_status" >&5
7095 $as_echo "$as_me: failed program was
:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7099 ac_cv_func_closedir_void=yes
7101 rm -rf conftest.dSYM
7102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7107 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7108 $as_echo "$ac_cv_func_closedir_void" >&6; }
7109 if test $ac_cv_func_closedir_void = yes; then
7111 cat >>confdefs.h <<\_ACEOF
7112 #define CLOSEDIR_VOID 1
7118 for ac_header in vfork.h
7120 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7121 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7122 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7123 $as_echo_n "checking
for $ac_header...
" >&6; }
7124 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7125 $as_echo_n "(cached
) " >&6
7127 ac_res=`eval 'as_val=${'$as_ac_Header'}
7128 $as_echo "$as_val"'`
7129 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7130 $as_echo "$ac_res" >&6; }
7132 # Is the header compilable?
7133 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7134 $as_echo_n "checking
$ac_header usability...
" >&6; }
7135 cat >conftest.$ac_ext <<_ACEOF
7138 cat confdefs.h >>conftest.$ac_ext
7139 cat >>conftest.$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7141 $ac_includes_default
7142 #include <$ac_header>
7144 rm -f conftest.$ac_objext
7145 if { (ac_try="$ac_compile"
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7150 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7151 $as_echo "$ac_try_echo") >&5
7152 (eval "$ac_compile") 2>conftest.er1
7154 grep -v '^ *+' conftest.er1 >conftest.err
7156 cat conftest.err >&5
7157 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7158 (exit $ac_status); } && {
7159 test -z "$ac_c_werror_flag" ||
7160 test ! -s conftest.err
7161 } && test -s conftest.$ac_objext; then
7162 ac_header_compiler=yes
7164 $as_echo "$as_me: failed program was
:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7167 ac_header_compiler=no
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7172 $as_echo "$ac_header_compiler" >&6; }
7174 # Is the header present?
7175 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7176 $as_echo_n "checking
$ac_header presence...
" >&6; }
7177 cat >conftest.$ac_ext <<_ACEOF
7180 cat confdefs.h >>conftest.$ac_ext
7181 cat >>conftest.$ac_ext <<_ACEOF
7182 /* end confdefs.h. */
7183 #include <$ac_header>
7185 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7188 *) ac_try_echo=$ac_try;;
7190 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7191 $as_echo "$ac_try_echo") >&5
7192 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7194 grep -v '^ *+' conftest.er1 >conftest.err
7196 cat conftest.err >&5
7197 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7198 (exit $ac_status); } >/dev/null && {
7199 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7200 test ! -s conftest.err
7202 ac_header_preproc=yes
7204 $as_echo "$as_me: failed program was
:" >&5
7205 sed 's/^/| /' conftest.$ac_ext >&5
7207 ac_header_preproc=no
7210 rm -f conftest.err conftest.$ac_ext
7211 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7212 $as_echo "$ac_header_preproc" >&6; }
7214 # So? What about this header?
7215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7217 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7218 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7219 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7220 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7221 ac_header_preproc=yes
7224 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7225 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7226 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7227 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7228 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7229 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7230 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7231 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7232 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7233 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7234 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7235 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7239 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7240 $as_echo_n "checking
for $ac_header...
" >&6; }
7241 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7242 $as_echo_n "(cached
) " >&6
7244 eval "$as_ac_Header=\
$ac_header_preproc"
7246 ac_res=`eval 'as_val=${'$as_ac_Header'}
7247 $as_echo "$as_val"'`
7248 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7249 $as_echo "$ac_res" >&6; }
7252 as_val=`eval 'as_val=${'$as_ac_Header'}
7253 $as_echo "$as_val"'`
7254 if test "x
$as_val" = x""yes; then
7255 cat >>confdefs.h <<_ACEOF
7256 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7265 for ac_func in fork vfork
7267 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7268 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7269 $as_echo_n "checking
for $ac_func...
" >&6; }
7270 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7271 $as_echo_n "(cached
) " >&6
7273 cat >conftest.$ac_ext <<_ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h. */
7279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7281 #define $ac_func innocuous_$ac_func
7283 /* System header to define __stub macros and hopefully few prototypes,
7284 which can conflict with char $ac_func (); below.
7285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286 <limits.h> exists even on freestanding compilers. */
7289 # include <limits.h>
7291 # include <assert.h>
7296 /* Override any GCC internal prototype to avoid an error.
7297 Use char because int might match the return type of a GCC
7298 builtin and then its argument prototype would still apply. */
7303 /* The GNU C library defines this for functions which it implements
7304 to always fail with ENOSYS. Some functions are actually named
7305 something starting with __ and the normal name is an alias. */
7306 #if defined __stub_$ac_func || defined __stub___$ac_func
7318 rm -f conftest.$ac_objext conftest$ac_exeext
7319 if { (ac_try="$ac_link"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7325 $as_echo "$ac_try_echo") >&5
7326 (eval "$ac_link") 2>conftest.er1
7328 grep -v '^ *+' conftest.er1 >conftest.err
7330 cat conftest.err >&5
7331 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7332 (exit $ac_status); } && {
7333 test -z "$ac_c_werror_flag" ||
7334 test ! -s conftest.err
7335 } && test -s conftest$ac_exeext && {
7336 test "$cross_compiling" = yes ||
7337 $as_test_x conftest$ac_exeext
7339 eval "$as_ac_var=yes"
7341 $as_echo "$as_me: failed program was
:" >&5
7342 sed 's/^/| /' conftest.$ac_ext >&5
7344 eval "$as_ac_var=no
"
7347 rm -rf conftest.dSYM
7348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7349 conftest$ac_exeext conftest.$ac_ext
7351 ac_res=`eval 'as_val=${'$as_ac_var'}
7352 $as_echo "$as_val"'`
7353 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7354 $as_echo "$ac_res" >&6; }
7355 as_val=`eval 'as_val=${'$as_ac_var'}
7356 $as_echo "$as_val"'`
7357 if test "x
$as_val" = x""yes; then
7358 cat >>confdefs.h <<_ACEOF
7359 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7365 if test "x
$ac_cv_func_fork" = xyes; then
7366 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7367 $as_echo_n "checking
for working fork...
" >&6; }
7368 if test "${ac_cv_func_fork_works+set}" = set; then
7369 $as_echo_n "(cached
) " >&6
7371 if test "$cross_compiling" = yes; then
7372 ac_cv_func_fork_works=cross
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 $ac_includes_default
7385 /* By Ruediger Kuhlmann. */
7392 rm -f conftest$ac_exeext
7393 if { (ac_try="$ac_link"
7395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7398 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7399 $as_echo "$ac_try_echo") >&5
7400 (eval "$ac_link") 2>&5
7402 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7404 { (case "(($ac_try" in
7405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7406 *) ac_try_echo=$ac_try;;
7408 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7409 $as_echo "$ac_try_echo") >&5
7410 (eval "$ac_try") 2>&5
7412 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7413 (exit $ac_status); }; }; then
7414 ac_cv_func_fork_works=yes
7416 $as_echo "$as_me: program exited with status
$ac_status" >&5
7417 $as_echo "$as_me: failed program was
:" >&5
7418 sed 's/^/| /' conftest.$ac_ext >&5
7421 ac_cv_func_fork_works=no
7423 rm -rf conftest.dSYM
7424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7429 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7430 $as_echo "$ac_cv_func_fork_works" >&6; }
7433 ac_cv_func_fork_works=$ac_cv_func_fork
7435 if test "x
$ac_cv_func_fork_works" = xcross; then
7437 *-*-amigaos* | *-*-msdosdjgpp*)
7438 # Override, as these systems have only a dummy fork() stub
7439 ac_cv_func_fork_works=no
7442 ac_cv_func_fork_works=yes
7445 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7446 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7448 ac_cv_func_vfork_works=$ac_cv_func_vfork
7449 if test "x
$ac_cv_func_vfork" = xyes; then
7450 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7451 $as_echo_n "checking
for working vfork...
" >&6; }
7452 if test "${ac_cv_func_vfork_works+set}" = set; then
7453 $as_echo_n "(cached
) " >&6
7455 if test "$cross_compiling" = yes; then
7456 ac_cv_func_vfork_works=cross
7458 cat >conftest.$ac_ext <<_ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 /* Thanks to Paul Eggert for this test. */
7465 $ac_includes_default
7466 #include <sys/wait.h>
7470 /* On some sparc systems, changes by the child to local and incoming
7471 argument registers are propagated back to the parent. The compiler
7472 is told about this with #include <vfork.h>, but some compilers
7473 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7474 static variable whose address is put into a register that is
7475 clobbered by the vfork. */
7478 sparc_address_test (int arg)
7480 sparc_address_test (arg) int arg;
7501 pid_t parent = getpid ();
7504 sparc_address_test (0);
7509 /* Here is another test for sparc vfork register problems. This
7510 test uses lots of local variables, at least as many local
7511 variables as main has allocated so far including compiler
7512 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7513 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7514 reuse the register of parent for one of the local variables,
7515 since it will think that parent can't possibly be used any more
7516 in this routine. Assigning to the local variable will thus
7517 munge parent in the parent process. */
7519 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7520 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7521 /* Convince the compiler that p..p7 are live; otherwise, it might
7522 use the same hardware register for all 8 local variables. */
7523 if (p != p1 || p != p2 || p != p3 || p != p4
7524 || p != p5 || p != p6 || p != p7)
7527 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7528 from child file descriptors. If the child closes a descriptor
7529 before it execs or exits, this munges the parent's descriptor
7530 as well. Test for this by closing stdout in the child. */
7531 _exit(close(fileno(stdout)) != 0);
7536 while (wait(&status) != child)
7539 /* Was there some problem with vforking? */
7542 /* Did the child fail? (This shouldn't happen.) */
7545 /* Did the vfork/compiler bug occur? */
7546 || parent != getpid()
7548 /* Did the file descriptor bug occur? */
7549 || fstat(fileno(stdout), &st) != 0
7554 rm -f conftest$ac_exeext
7555 if { (ac_try="$ac_link"
7557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7558 *) ac_try_echo=$ac_try;;
7560 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7561 $as_echo "$ac_try_echo") >&5
7562 (eval "$ac_link") 2>&5
7564 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7566 { (case "(($ac_try" in
7567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7568 *) ac_try_echo=$ac_try;;
7570 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7571 $as_echo "$ac_try_echo") >&5
7572 (eval "$ac_try") 2>&5
7574 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7575 (exit $ac_status); }; }; then
7576 ac_cv_func_vfork_works=yes
7578 $as_echo "$as_me: program exited with status
$ac_status" >&5
7579 $as_echo "$as_me: failed program was
:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7583 ac_cv_func_vfork_works=no
7585 rm -rf conftest.dSYM
7586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7591 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7592 $as_echo "$ac_cv_func_vfork_works" >&6; }
7595 if test "x
$ac_cv_func_fork_works" = xcross; then
7596 ac_cv_func_vfork_works=$ac_cv_func_vfork
7597 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7598 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7601 if test "x
$ac_cv_func_vfork_works" = xyes; then
7603 cat >>confdefs.h <<\_ACEOF
7604 #define HAVE_WORKING_VFORK 1
7609 cat >>confdefs.h <<\_ACEOF
7614 if test "x
$ac_cv_func_fork_works" = xyes; then
7616 cat >>confdefs.h <<\_ACEOF
7617 #define HAVE_WORKING_FORK 1
7622 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7623 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7624 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7625 $as_echo_n "(cached
) " >&6
7627 rm -f conftest.sym conftest.file
7629 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7630 if test "$cross_compiling" = yes; then
7631 ac_cv_func_lstat_dereferences_slashed_symlink=no
7633 cat >conftest.$ac_ext <<_ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 $ac_includes_default
7644 /* Linux will dereference the symlink and fail.
7645 That is better in the sense that it means we will not
7646 have to compile and use the lstat wrapper. */
7647 return lstat ("conftest.sym
/", &sbuf) == 0;
7652 rm -f conftest$ac_exeext
7653 if { (ac_try="$ac_link"
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7658 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7659 $as_echo "$ac_try_echo") >&5
7660 (eval "$ac_link") 2>&5
7662 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7664 { (case "(($ac_try" in
7665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7666 *) ac_try_echo=$ac_try;;
7668 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7669 $as_echo "$ac_try_echo") >&5
7670 (eval "$ac_try") 2>&5
7672 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7676 $as_echo "$as_me: program exited with status
$ac_status" >&5
7677 $as_echo "$as_me: failed program was
:" >&5
7678 sed 's/^/| /' conftest.$ac_ext >&5
7681 ac_cv_func_lstat_dereferences_slashed_symlink=no
7683 rm -rf conftest.dSYM
7684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7689 # If the `ln -s' command failed, then we probably don't even
7690 # have an lstat function.
7691 ac_cv_func_lstat_dereferences_slashed_symlink=no
7693 rm -f conftest.sym conftest.file
7696 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7697 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7699 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7701 cat >>confdefs.h <<_ACEOF
7702 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7706 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7707 case " $LIBOBJS " in
7708 *" lstat.
$ac_objext "* ) ;;
7709 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7715 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7716 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7717 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7718 $as_echo_n "(cached
) " >&6
7720 if test "$cross_compiling" = yes; then
7721 ac_cv_func_lstat_empty_string_bug=yes
7723 cat >conftest.$ac_ext <<_ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7729 $ac_includes_default
7734 return lstat ("", &sbuf) == 0;
7739 rm -f conftest$ac_exeext
7740 if { (ac_try="$ac_link"
7742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7745 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7746 $as_echo "$ac_try_echo") >&5
7747 (eval "$ac_link") 2>&5
7749 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7751 { (case "(($ac_try" in
7752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753 *) ac_try_echo=$ac_try;;
7755 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7756 $as_echo "$ac_try_echo") >&5
7757 (eval "$ac_try") 2>&5
7759 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_func_lstat_empty_string_bug=no
7763 $as_echo "$as_me: program exited with status
$ac_status" >&5
7764 $as_echo "$as_me: failed program was
:" >&5
7765 sed 's/^/| /' conftest.$ac_ext >&5
7768 ac_cv_func_lstat_empty_string_bug=yes
7770 rm -rf conftest.dSYM
7771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7776 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7777 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7778 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7779 case " $LIBOBJS " in
7780 *" lstat.
$ac_objext "* ) ;;
7781 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7793 for ac_header in stdlib.h
7795 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7796 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7797 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7798 $as_echo_n "checking
for $ac_header...
" >&6; }
7799 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7800 $as_echo_n "(cached
) " >&6
7802 ac_res=`eval 'as_val=${'$as_ac_Header'}
7803 $as_echo "$as_val"'`
7804 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7805 $as_echo "$ac_res" >&6; }
7807 # Is the header compilable?
7808 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7809 $as_echo_n "checking
$ac_header usability...
" >&6; }
7810 cat >conftest.$ac_ext <<_ACEOF
7813 cat confdefs.h >>conftest.$ac_ext
7814 cat >>conftest.$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7816 $ac_includes_default
7817 #include <$ac_header>
7819 rm -f conftest.$ac_objext
7820 if { (ac_try="$ac_compile"
7822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7823 *) ac_try_echo=$ac_try;;
7825 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7826 $as_echo "$ac_try_echo") >&5
7827 (eval "$ac_compile") 2>conftest.er1
7829 grep -v '^ *+' conftest.er1 >conftest.err
7831 cat conftest.err >&5
7832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7833 (exit $ac_status); } && {
7834 test -z "$ac_c_werror_flag" ||
7835 test ! -s conftest.err
7836 } && test -s conftest.$ac_objext; then
7837 ac_header_compiler=yes
7839 $as_echo "$as_me: failed program was
:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7842 ac_header_compiler=no
7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7846 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7847 $as_echo "$ac_header_compiler" >&6; }
7849 # Is the header present?
7850 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7851 $as_echo_n "checking
$ac_header presence...
" >&6; }
7852 cat >conftest.$ac_ext <<_ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7858 #include <$ac_header>
7860 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7866 $as_echo "$ac_try_echo") >&5
7867 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7869 grep -v '^ *+' conftest.er1 >conftest.err
7871 cat conftest.err >&5
7872 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7873 (exit $ac_status); } >/dev/null && {
7874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7875 test ! -s conftest.err
7877 ac_header_preproc=yes
7879 $as_echo "$as_me: failed program was
:" >&5
7880 sed 's/^/| /' conftest.$ac_ext >&5
7882 ac_header_preproc=no
7885 rm -f conftest.err conftest.$ac_ext
7886 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7887 $as_echo "$ac_header_preproc" >&6; }
7889 # So? What about this header?
7890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7892 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7893 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7894 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7895 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7896 ac_header_preproc=yes
7899 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7900 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7901 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7902 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7903 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7904 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7905 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7906 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7907 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7908 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7909 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7910 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7914 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7915 $as_echo_n "checking
for $ac_header...
" >&6; }
7916 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7917 $as_echo_n "(cached
) " >&6
7919 eval "$as_ac_Header=\
$ac_header_preproc"
7921 ac_res=`eval 'as_val=${'$as_ac_Header'}
7922 $as_echo "$as_val"'`
7923 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7924 $as_echo "$ac_res" >&6; }
7927 as_val=`eval 'as_val=${'$as_ac_Header'}
7928 $as_echo "$as_val"'`
7929 if test "x
$as_val" = x""yes; then
7930 cat >>confdefs.h <<_ACEOF
7931 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7938 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7939 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7940 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7941 $as_echo_n "(cached
) " >&6
7943 if test "$cross_compiling" = yes; then
7944 ac_cv_func_malloc_0_nonnull=no
7946 cat >conftest.$ac_ext <<_ACEOF
7949 cat confdefs.h >>conftest.$ac_ext
7950 cat >>conftest.$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7953 # include <stdlib.h>
7961 return ! malloc (0);
7966 rm -f conftest$ac_exeext
7967 if { (ac_try="$ac_link"
7969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7970 *) ac_try_echo=$ac_try;;
7972 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7973 $as_echo "$ac_try_echo") >&5
7974 (eval "$ac_link") 2>&5
7976 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7978 { (case "(($ac_try" in
7979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7980 *) ac_try_echo=$ac_try;;
7982 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7983 $as_echo "$ac_try_echo") >&5
7984 (eval "$ac_try") 2>&5
7986 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7987 (exit $ac_status); }; }; then
7988 ac_cv_func_malloc_0_nonnull=yes
7990 $as_echo "$as_me: program exited with status
$ac_status" >&5
7991 $as_echo "$as_me: failed program was
:" >&5
7992 sed 's/^/| /' conftest.$ac_ext >&5
7995 ac_cv_func_malloc_0_nonnull=no
7997 rm -rf conftest.dSYM
7998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8003 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
8004 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
8005 if test $ac_cv_func_malloc_0_nonnull = yes; then
8007 cat >>confdefs.h <<\_ACEOF
8008 #define HAVE_MALLOC 1
8012 cat >>confdefs.h <<\_ACEOF
8013 #define HAVE_MALLOC 0
8016 case " $LIBOBJS " in
8017 *" malloc.
$ac_objext "* ) ;;
8018 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
8023 cat >>confdefs.h <<\_ACEOF
8024 #define malloc rpl_malloc
8031 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8032 $as_echo_n "checking
for working memcmp...
" >&6; }
8033 if test "${ac_cv_func_memcmp_working+set}" = set; then
8034 $as_echo_n "(cached
) " >&6
8036 if test "$cross_compiling" = yes; then
8037 ac_cv_func_memcmp_working=no
8039 cat >conftest.$ac_ext <<_ACEOF
8042 cat confdefs.h >>conftest.$ac_ext
8043 cat >>conftest.$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8045 $ac_includes_default
8050 /* Some versions of memcmp are not 8-bit clean. */
8051 char c0 = '\100', c1 = '\200', c2 = '\201';
8052 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8055 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8056 or more and with at least one buffer not starting on a 4-byte boundary.
8057 William Lewis provided this test program. */
8062 for (i = 0; i < 4; i++)
8066 strcpy (a, "--------01111111");
8067 strcpy (b, "--------10000000");
8068 if (memcmp (a, b, 16) >= 0)
8078 rm -f conftest$ac_exeext
8079 if { (ac_try="$ac_link"
8081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8082 *) ac_try_echo=$ac_try;;
8084 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8085 $as_echo "$ac_try_echo") >&5
8086 (eval "$ac_link") 2>&5
8088 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8090 { (case "(($ac_try" in
8091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8092 *) ac_try_echo=$ac_try;;
8094 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8095 $as_echo "$ac_try_echo") >&5
8096 (eval "$ac_try") 2>&5
8098 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8099 (exit $ac_status); }; }; then
8100 ac_cv_func_memcmp_working=yes
8102 $as_echo "$as_me: program exited with status
$ac_status" >&5
8103 $as_echo "$as_me: failed program was
:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8107 ac_cv_func_memcmp_working=no
8109 rm -rf conftest.dSYM
8110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8115 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8116 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8117 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8118 *" memcmp.
$ac_objext "* ) ;;
8119 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8126 for ac_header in stdlib.h unistd.h
8128 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8129 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8130 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8131 $as_echo_n "checking
for $ac_header...
" >&6; }
8132 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8133 $as_echo_n "(cached
) " >&6
8135 ac_res=`eval 'as_val=${'$as_ac_Header'}
8136 $as_echo "$as_val"'`
8137 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8138 $as_echo "$ac_res" >&6; }
8140 # Is the header compilable?
8141 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8142 $as_echo_n "checking
$ac_header usability...
" >&6; }
8143 cat >conftest.$ac_ext <<_ACEOF
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8149 $ac_includes_default
8150 #include <$ac_header>
8152 rm -f conftest.$ac_objext
8153 if { (ac_try="$ac_compile"
8155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8156 *) ac_try_echo=$ac_try;;
8158 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8159 $as_echo "$ac_try_echo") >&5
8160 (eval "$ac_compile") 2>conftest.er1
8162 grep -v '^ *+' conftest.er1 >conftest.err
8164 cat conftest.err >&5
8165 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8166 (exit $ac_status); } && {
8167 test -z "$ac_c_werror_flag" ||
8168 test ! -s conftest.err
8169 } && test -s conftest.$ac_objext; then
8170 ac_header_compiler=yes
8172 $as_echo "$as_me: failed program was
:" >&5
8173 sed 's/^/| /' conftest.$ac_ext >&5
8175 ac_header_compiler=no
8178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8179 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8180 $as_echo "$ac_header_compiler" >&6; }
8182 # Is the header present?
8183 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8184 $as_echo_n "checking
$ac_header presence...
" >&6; }
8185 cat >conftest.$ac_ext <<_ACEOF
8188 cat confdefs.h >>conftest.$ac_ext
8189 cat >>conftest.$ac_ext <<_ACEOF
8190 /* end confdefs.h. */
8191 #include <$ac_header>
8193 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8198 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8199 $as_echo "$ac_try_echo") >&5
8200 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8202 grep -v '^ *+' conftest.er1 >conftest.err
8204 cat conftest.err >&5
8205 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8206 (exit $ac_status); } >/dev/null && {
8207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8208 test ! -s conftest.err
8210 ac_header_preproc=yes
8212 $as_echo "$as_me: failed program was
:" >&5
8213 sed 's/^/| /' conftest.$ac_ext >&5
8215 ac_header_preproc=no
8218 rm -f conftest.err conftest.$ac_ext
8219 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8220 $as_echo "$ac_header_preproc" >&6; }
8222 # So? What about this header?
8223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8225 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8226 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8227 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8228 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8229 ac_header_preproc=yes
8232 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8233 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8234 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8235 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8237 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8239 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8240 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8241 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8242 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8243 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8247 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8248 $as_echo_n "checking
for $ac_header...
" >&6; }
8249 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8250 $as_echo_n "(cached
) " >&6
8252 eval "$as_ac_Header=\
$ac_header_preproc"
8254 ac_res=`eval 'as_val=${'$as_ac_Header'}
8255 $as_echo "$as_val"'`
8256 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8257 $as_echo "$ac_res" >&6; }
8260 as_val=`eval 'as_val=${'$as_ac_Header'}
8261 $as_echo "$as_val"'`
8262 if test "x
$as_val" = x""yes; then
8263 cat >>confdefs.h <<_ACEOF
8264 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8272 for ac_func in getpagesize
8274 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8275 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8276 $as_echo_n "checking
for $ac_func...
" >&6; }
8277 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8278 $as_echo_n "(cached
) " >&6
8280 cat >conftest.$ac_ext <<_ACEOF
8283 cat confdefs.h >>conftest.$ac_ext
8284 cat >>conftest.$ac_ext <<_ACEOF
8285 /* end confdefs.h. */
8286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8288 #define $ac_func innocuous_$ac_func
8290 /* System header to define __stub macros and hopefully few prototypes,
8291 which can conflict with char $ac_func (); below.
8292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8293 <limits.h> exists even on freestanding compilers. */
8296 # include <limits.h>
8298 # include <assert.h>
8303 /* Override any GCC internal prototype to avoid an error.
8304 Use char because int might match the return type of a GCC
8305 builtin and then its argument prototype would still apply. */
8310 /* The GNU C library defines this for functions which it implements
8311 to always fail with ENOSYS. Some functions are actually named
8312 something starting with __ and the normal name is an alias. */
8313 #if defined __stub_$ac_func || defined __stub___$ac_func
8325 rm -f conftest.$ac_objext conftest$ac_exeext
8326 if { (ac_try="$ac_link"
8328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8329 *) ac_try_echo=$ac_try;;
8331 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8332 $as_echo "$ac_try_echo") >&5
8333 (eval "$ac_link") 2>conftest.er1
8335 grep -v '^ *+' conftest.er1 >conftest.err
8337 cat conftest.err >&5
8338 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8339 (exit $ac_status); } && {
8340 test -z "$ac_c_werror_flag" ||
8341 test ! -s conftest.err
8342 } && test -s conftest$ac_exeext && {
8343 test "$cross_compiling" = yes ||
8344 $as_test_x conftest$ac_exeext
8346 eval "$as_ac_var=yes"
8348 $as_echo "$as_me: failed program was
:" >&5
8349 sed 's/^/| /' conftest.$ac_ext >&5
8351 eval "$as_ac_var=no
"
8354 rm -rf conftest.dSYM
8355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8356 conftest$ac_exeext conftest.$ac_ext
8358 ac_res=`eval 'as_val=${'$as_ac_var'}
8359 $as_echo "$as_val"'`
8360 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8361 $as_echo "$ac_res" >&6; }
8362 as_val=`eval 'as_val=${'$as_ac_var'}
8363 $as_echo "$as_val"'`
8364 if test "x
$as_val" = x""yes; then
8365 cat >>confdefs.h <<_ACEOF
8366 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8372 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8373 $as_echo_n "checking
for working mmap...
" >&6; }
8374 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8375 $as_echo_n "(cached
) " >&6
8377 if test "$cross_compiling" = yes; then
8378 ac_cv_func_mmap_fixed_mapped=no
8380 cat >conftest.$ac_ext <<_ACEOF
8383 cat confdefs.h >>conftest.$ac_ext
8384 cat >>conftest.$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8386 $ac_includes_default
8387 /* malloc might have been renamed as rpl_malloc. */
8390 /* Thanks to Mike Haertel and Jim Avera for this test.
8391 Here is a matrix of mmap possibilities:
8392 mmap private not fixed
8393 mmap private fixed at somewhere currently unmapped
8394 mmap private fixed at somewhere already mapped
8395 mmap shared not fixed
8396 mmap shared fixed at somewhere currently unmapped
8397 mmap shared fixed at somewhere already mapped
8398 For private mappings, we should verify that changes cannot be read()
8399 back from the file, nor mmap's back from the file at a different
8400 address. (There have been systems where private was not correctly
8401 implemented like the infamous i386 svr4.0, and systems where the
8402 VM page cache was not coherent with the file system buffer cache
8403 like early versions of FreeBSD and possibly contemporary NetBSD.)
8404 For shared mappings, we should conversely verify that changes get
8405 propagated back to all the places they're supposed to be.
8407 Grep wants private fixed already mapped.
8408 The main things grep needs to know about mmap are:
8409 * does it exist and is it safe to write into the mmap'd area
8410 * how to use it (BSD variants) */
8413 #include <sys/mman.h>
8415 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8419 /* This mess was copied from the GNU getpagesize.h. */
8420 #ifndef HAVE_GETPAGESIZE
8421 /* Assume that all systems that can run configure have sys/param.h. */
8422 # ifndef HAVE_SYS_PARAM_H
8423 # define HAVE_SYS_PARAM_H 1
8426 # ifdef _SC_PAGESIZE
8427 # define getpagesize() sysconf(_SC_PAGESIZE)
8428 # else /* no _SC_PAGESIZE */
8429 # ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8431 # ifdef EXEC_PAGESIZE
8432 # define getpagesize() EXEC_PAGESIZE
8433 # else /* no EXEC_PAGESIZE */
8435 # define getpagesize() NBPG * CLSIZE
8438 # endif /* no CLSIZE */
8439 # else /* no NBPG */
8441 # define getpagesize() NBPC
8442 # else /* no NBPC */
8444 # define getpagesize() PAGESIZE
8445 # endif /* PAGESIZE */
8446 # endif /* no NBPC */
8447 # endif /* no NBPG */
8448 # endif /* no EXEC_PAGESIZE */
8449 # else /* no HAVE_SYS_PARAM_H */
8450 # define getpagesize() 8192 /* punt totally */
8451 # endif /* no HAVE_SYS_PARAM_H */
8452 # endif /* no _SC_PAGESIZE */
8454 #endif /* no HAVE_GETPAGESIZE */
8459 char *data, *data2, *data3;
8463 pagesize = getpagesize ();
8465 /* First, make a file with some known garbage in it. */
8466 data = (char *) malloc (pagesize);
8469 for (i = 0; i < pagesize; ++i)
8470 *(data + i) = rand ();
8472 fd = creat ("conftest.mmap
", 0600);
8475 if (write (fd, data, pagesize) != pagesize)
8479 /* Next, try to mmap the file at a fixed address which already has
8480 something else allocated at it. If we can, also make sure that
8481 we see the same garbage. */
8482 fd = open ("conftest.mmap
", O_RDWR);
8485 data2 = (char *) malloc (2 * pagesize);
8488 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8489 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8490 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8492 for (i = 0; i < pagesize; ++i)
8493 if (*(data + i) != *(data2 + i))
8496 /* Finally, make sure that changes to the mapped area do not
8497 percolate back to the file as seen by read(). (This is a bug on
8498 some variants of i386 svr4.0.) */
8499 for (i = 0; i < pagesize; ++i)
8500 *(data2 + i) = *(data2 + i) + 1;
8501 data3 = (char *) malloc (pagesize);
8504 if (read (fd, data3, pagesize) != pagesize)
8506 for (i = 0; i < pagesize; ++i)
8507 if (*(data + i) != *(data3 + i))
8513 rm -f conftest$ac_exeext
8514 if { (ac_try="$ac_link"
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8519 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8520 $as_echo "$ac_try_echo") >&5
8521 (eval "$ac_link") 2>&5
8523 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8525 { (case "(($ac_try" in
8526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8527 *) ac_try_echo=$ac_try;;
8529 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8530 $as_echo "$ac_try_echo") >&5
8531 (eval "$ac_try") 2>&5
8533 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 ac_cv_func_mmap_fixed_mapped=yes
8537 $as_echo "$as_me: program exited with status
$ac_status" >&5
8538 $as_echo "$as_me: failed program was
:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8542 ac_cv_func_mmap_fixed_mapped=no
8544 rm -rf conftest.dSYM
8545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8550 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8551 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8552 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8554 cat >>confdefs.h <<\_ACEOF
8561 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8562 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8563 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8564 $as_echo_n "(cached
) " >&6
8566 if test "$cross_compiling" = yes; then
8567 ac_cv_func_stat_empty_string_bug=yes
8569 cat >conftest.$ac_ext <<_ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8575 $ac_includes_default
8580 return stat ("", &sbuf) == 0;
8585 rm -f conftest$ac_exeext
8586 if { (ac_try="$ac_link"
8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8589 *) ac_try_echo=$ac_try;;
8591 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8592 $as_echo "$ac_try_echo") >&5
8593 (eval "$ac_link") 2>&5
8595 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8597 { (case "(($ac_try" in
8598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8601 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8602 $as_echo "$ac_try_echo") >&5
8603 (eval "$ac_try") 2>&5
8605 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8606 (exit $ac_status); }; }; then
8607 ac_cv_func_stat_empty_string_bug=no
8609 $as_echo "$as_me: program exited with status
$ac_status" >&5
8610 $as_echo "$as_me: failed program was
:" >&5
8611 sed 's/^/| /' conftest.$ac_ext >&5
8614 ac_cv_func_stat_empty_string_bug=yes
8616 rm -rf conftest.dSYM
8617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8622 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8623 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8624 if test $ac_cv_func_stat_empty_string_bug = yes; then
8625 case " $LIBOBJS " in
8626 *" stat.
$ac_objext "* ) ;;
8627 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8632 cat >>confdefs.h <<_ACEOF
8633 #define HAVE_STAT_EMPTY_STRING_BUG 1
8638 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8639 $as_echo_n "checking
for working strtod...
" >&6; }
8640 if test "${ac_cv_func_strtod+set}" = set; then
8641 $as_echo_n "(cached
) " >&6
8643 if test "$cross_compiling" = yes; then
8644 ac_cv_func_strtod=no
8646 cat >conftest.$ac_ext <<_ACEOF
8649 cat confdefs.h >>conftest.$ac_ext
8650 cat >>conftest.$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8653 $ac_includes_default
8661 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8662 char *string = " +69";
8665 value = strtod (string, &term);
8666 if (value != 69 || term != (string + 4))
8671 /* Under Solaris 2.4, strtod returns the wrong value for the
8672 terminating character under some conditions. */
8673 char *string = "NaN
";
8675 strtod (string, &term);
8676 if (term != string && *(term - 1) == 0)
8683 rm -f conftest$ac_exeext
8684 if { (ac_try="$ac_link"
8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687 *) ac_try_echo=$ac_try;;
8689 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8690 $as_echo "$ac_try_echo") >&5
8691 (eval "$ac_link") 2>&5
8693 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8695 { (case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8699 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8700 $as_echo "$ac_try_echo") >&5
8701 (eval "$ac_try") 2>&5
8703 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8704 (exit $ac_status); }; }; then
8705 ac_cv_func_strtod=yes
8707 $as_echo "$as_me: program exited with status
$ac_status" >&5
8708 $as_echo "$as_me: failed program was
:" >&5
8709 sed 's/^/| /' conftest.$ac_ext >&5
8712 ac_cv_func_strtod=no
8714 rm -rf conftest.dSYM
8715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8720 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8721 $as_echo "$ac_cv_func_strtod" >&6; }
8722 if test $ac_cv_func_strtod = no; then
8723 case " $LIBOBJS " in
8724 *" strtod.
$ac_objext "* ) ;;
8725 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8729 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8730 $as_echo_n "checking
for pow...
" >&6; }
8731 if test "${ac_cv_func_pow+set}" = set; then
8732 $as_echo_n "(cached
) " >&6
8734 cat >conftest.$ac_ext <<_ACEOF
8737 cat confdefs.h >>conftest.$ac_ext
8738 cat >>conftest.$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8740 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8742 #define pow innocuous_pow
8744 /* System header to define __stub macros and hopefully few prototypes,
8745 which can conflict with char pow (); below.
8746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8747 <limits.h> exists even on freestanding compilers. */
8750 # include <limits.h>
8752 # include <assert.h>
8757 /* Override any GCC internal prototype to avoid an error.
8758 Use char because int might match the return type of a GCC
8759 builtin and then its argument prototype would still apply. */
8764 /* The GNU C library defines this for functions which it implements
8765 to always fail with ENOSYS. Some functions are actually named
8766 something starting with __ and the normal name is an alias. */
8767 #if defined __stub_pow || defined __stub___pow
8779 rm -f conftest.$ac_objext conftest$ac_exeext
8780 if { (ac_try="$ac_link"
8782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8783 *) ac_try_echo=$ac_try;;
8785 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8786 $as_echo "$ac_try_echo") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1 >conftest.err
8791 cat conftest.err >&5
8792 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_c_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest$ac_exeext && {
8797 test "$cross_compiling" = yes ||
8798 $as_test_x conftest$ac_exeext
8802 $as_echo "$as_me: failed program was
:" >&5
8803 sed 's/^/| /' conftest.$ac_ext >&5
8808 rm -rf conftest.dSYM
8809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8810 conftest$ac_exeext conftest.$ac_ext
8812 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8813 $as_echo "$ac_cv_func_pow" >&6; }
8815 if test $ac_cv_func_pow = no; then
8816 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8817 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8818 if test "${ac_cv_lib_m_pow+set}" = set; then
8819 $as_echo_n "(cached
) " >&6
8821 ac_check_lib_save_LIBS=$LIBS
8823 cat >conftest.$ac_ext <<_ACEOF
8826 cat confdefs.h >>conftest.$ac_ext
8827 cat >>conftest.$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8830 /* Override any GCC internal prototype to avoid an error.
8831 Use char because int might match the return type of a GCC
8832 builtin and then its argument prototype would still apply. */
8845 rm -f conftest.$ac_objext conftest$ac_exeext
8846 if { (ac_try="$ac_link"
8848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8849 *) ac_try_echo=$ac_try;;
8851 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8852 $as_echo "$ac_try_echo") >&5
8853 (eval "$ac_link") 2>conftest.er1
8855 grep -v '^ *+' conftest.er1 >conftest.err
8857 cat conftest.err >&5
8858 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8859 (exit $ac_status); } && {
8860 test -z "$ac_c_werror_flag" ||
8861 test ! -s conftest.err
8862 } && test -s conftest$ac_exeext && {
8863 test "$cross_compiling" = yes ||
8864 $as_test_x conftest$ac_exeext
8868 $as_echo "$as_me: failed program was
:" >&5
8869 sed 's/^/| /' conftest.$ac_ext >&5
8874 rm -rf conftest.dSYM
8875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8876 conftest$ac_exeext conftest.$ac_ext
8877 LIBS=$ac_check_lib_save_LIBS
8879 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8880 $as_echo "$ac_cv_lib_m_pow" >&6; }
8881 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8884 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8885 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8893 for ac_func in vprintf
8895 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8896 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8897 $as_echo_n "checking
for $ac_func...
" >&6; }
8898 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8899 $as_echo_n "(cached
) " >&6
8901 cat >conftest.$ac_ext <<_ACEOF
8904 cat confdefs.h >>conftest.$ac_ext
8905 cat >>conftest.$ac_ext <<_ACEOF
8906 /* end confdefs.h. */
8907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8909 #define $ac_func innocuous_$ac_func
8911 /* System header to define __stub macros and hopefully few prototypes,
8912 which can conflict with char $ac_func (); below.
8913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8914 <limits.h> exists even on freestanding compilers. */
8917 # include <limits.h>
8919 # include <assert.h>
8924 /* Override any GCC internal prototype to avoid an error.
8925 Use char because int might match the return type of a GCC
8926 builtin and then its argument prototype would still apply. */
8931 /* The GNU C library defines this for functions which it implements
8932 to always fail with ENOSYS. Some functions are actually named
8933 something starting with __ and the normal name is an alias. */
8934 #if defined __stub_$ac_func || defined __stub___$ac_func
8946 rm -f conftest.$ac_objext conftest$ac_exeext
8947 if { (ac_try="$ac_link"
8949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8950 *) ac_try_echo=$ac_try;;
8952 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8953 $as_echo "$ac_try_echo") >&5
8954 (eval "$ac_link") 2>conftest.er1
8956 grep -v '^ *+' conftest.er1 >conftest.err
8958 cat conftest.err >&5
8959 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8960 (exit $ac_status); } && {
8961 test -z "$ac_c_werror_flag" ||
8962 test ! -s conftest.err
8963 } && test -s conftest$ac_exeext && {
8964 test "$cross_compiling" = yes ||
8965 $as_test_x conftest$ac_exeext
8967 eval "$as_ac_var=yes"
8969 $as_echo "$as_me: failed program was
:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no
"
8975 rm -rf conftest.dSYM
8976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8977 conftest$ac_exeext conftest.$ac_ext
8979 ac_res=`eval 'as_val=${'$as_ac_var'}
8980 $as_echo "$as_val"'`
8981 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8982 $as_echo "$ac_res" >&6; }
8983 as_val=`eval 'as_val=${'$as_ac_var'}
8984 $as_echo "$as_val"'`
8985 if test "x
$as_val" = x""yes; then
8986 cat >>confdefs.h <<_ACEOF
8987 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8990 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8991 $as_echo_n "checking
for _doprnt...
" >&6; }
8992 if test "${ac_cv_func__doprnt+set}" = set; then
8993 $as_echo_n "(cached
) " >&6
8995 cat >conftest.$ac_ext <<_ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
9002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9003 #define _doprnt innocuous__doprnt
9005 /* System header to define __stub macros and hopefully few prototypes,
9006 which can conflict with char _doprnt (); below.
9007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9008 <limits.h> exists even on freestanding compilers. */
9011 # include <limits.h>
9013 # include <assert.h>
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9025 /* The GNU C library defines this for functions which it implements
9026 to always fail with ENOSYS. Some functions are actually named
9027 something starting with __ and the normal name is an alias. */
9028 #if defined __stub__doprnt || defined __stub____doprnt
9040 rm -f conftest.$ac_objext conftest$ac_exeext
9041 if { (ac_try="$ac_link"
9043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9044 *) ac_try_echo=$ac_try;;
9046 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9047 $as_echo "$ac_try_echo") >&5
9048 (eval "$ac_link") 2>conftest.er1
9050 grep -v '^ *+' conftest.er1 >conftest.err
9052 cat conftest.err >&5
9053 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9054 (exit $ac_status); } && {
9055 test -z "$ac_c_werror_flag" ||
9056 test ! -s conftest.err
9057 } && test -s conftest$ac_exeext && {
9058 test "$cross_compiling" = yes ||
9059 $as_test_x conftest$ac_exeext
9061 ac_cv_func__doprnt=yes
9063 $as_echo "$as_me: failed program was
:" >&5
9064 sed 's/^/| /' conftest.$ac_ext >&5
9066 ac_cv_func__doprnt=no
9069 rm -rf conftest.dSYM
9070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9071 conftest$ac_exeext conftest.$ac_ext
9073 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9074 $as_echo "$ac_cv_func__doprnt" >&6; }
9075 if test "x
$ac_cv_func__doprnt" = x""yes; then
9077 cat >>confdefs.h <<\_ACEOF
9078 #define HAVE_DOPRNT 1
9088 ################################################################################
9089 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9090 $as_echo_n "checking whether to use static linking...
" >&6; }
9091 # Check whether --enable-static_link was given.
9092 if test "${enable_static_link+set}" = set; then
9093 enableval=$enable_static_link; STATIC_LINK=$enableval
9098 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9099 $as_echo "$STATIC_LINK" >&6; }
9101 ################################################################################
9104 ################################################################################
9105 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9106 $as_echo_n "checking
file owner...
" >&6; }
9108 # Check whether --with-user was given.
9109 if test "${with_user+set}" = set; then
9110 withval=$with_user; OWNER="$withval"
9113 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9114 $as_echo "$OWNER" >&6; }
9116 if test x$OWNER != x; then
9117 INSTALL="$INSTALL -o $OWNER"
9120 ################################################################################
9121 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9122 $as_echo_n "checking group owner...
" >&6; }
9124 # Check whether --with-group was given.
9125 if test "${with_group+set}" = set; then
9126 withval=$with_group; GROUP="$withval"
9129 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9130 $as_echo "$GROUP" >&6; }
9132 if test x$GROUP != x; then
9133 INSTALL="$INSTALL -g $GROUP"
9136 ################################################################################
9137 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9138 $as_echo_n "checking device node uid...
" >&6; }
9141 # Check whether --with-device-uid was given.
9142 if test "${with_device_uid+set}" = set; then
9143 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9148 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9149 $as_echo "$DM_DEVICE_UID" >&6; }
9151 ################################################################################
9152 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9153 $as_echo_n "checking device node gid...
" >&6; }
9156 # Check whether --with-device-gid was given.
9157 if test "${with_device_gid+set}" = set; then
9158 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9163 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9164 $as_echo "$DM_DEVICE_GID" >&6; }
9166 ################################################################################
9167 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9168 $as_echo_n "checking device node mode...
" >&6; }
9171 # Check whether --with-device-mode was given.
9172 if test "${with_device_mode+set}" = set; then
9173 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9175 DM_DEVICE_MODE="0600"
9178 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9179 $as_echo "$DM_DEVICE_MODE" >&6; }
9181 ################################################################################
9182 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9183 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9184 # Check whether --enable-lvm1_fallback was given.
9185 if test "${enable_lvm1_fallback+set}" = set; then
9186 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9191 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9192 $as_echo "$LVM1_FALLBACK" >&6; }
9194 if test x$LVM1_FALLBACK = xyes; then
9196 cat >>confdefs.h <<\_ACEOF
9197 #define LVM1_FALLBACK 1
9202 ################################################################################
9203 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9204 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9206 # Check whether --with-lvm1 was given.
9207 if test "${with_lvm1+set}" = set; then
9208 withval=$with_lvm1; LVM1="$withval"
9213 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9214 $as_echo "$LVM1" >&6; }
9216 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9217 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9219 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9221 { (exit 1); exit 1; }; }
9224 if test x$LVM1 = xinternal; then
9226 cat >>confdefs.h <<\_ACEOF
9227 #define LVM1_INTERNAL 1
9232 ################################################################################
9233 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9234 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9236 # Check whether --with-pool was given.
9237 if test "${with_pool+set}" = set; then
9238 withval=$with_pool; POOL="$withval"
9243 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9244 $as_echo "$POOL" >&6; }
9246 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9247 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9249 $as_echo "$as_me: error
: --with-pool parameter invalid
9251 { (exit 1); exit 1; }; }
9254 if test x$POOL = xinternal; then
9256 cat >>confdefs.h <<\_ACEOF
9257 #define POOL_INTERNAL 1
9262 ################################################################################
9263 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9264 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9266 # Check whether --with-cluster was given.
9267 if test "${with_cluster+set}" = set; then
9268 withval=$with_cluster; CLUSTER="$withval"
9271 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9272 $as_echo "$CLUSTER" >&6; }
9274 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9275 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9277 $as_echo "$as_me: error
: --with-cluster parameter invalid
9279 { (exit 1); exit 1; }; }
9282 if test x$CLUSTER = xinternal; then
9284 cat >>confdefs.h <<\_ACEOF
9285 #define CLUSTER_LOCKING_INTERNAL 1
9290 ################################################################################
9291 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9292 $as_echo_n "checking whether to include snapshots...
" >&6; }
9294 # Check whether --with-snapshots was given.
9295 if test "${with_snapshots+set}" = set; then
9296 withval=$with_snapshots; SNAPSHOTS="$withval"
9298 SNAPSHOTS="internal
"
9301 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9302 $as_echo "$SNAPSHOTS" >&6; }
9304 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9305 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9307 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9309 { (exit 1); exit 1; }; }
9312 if test x$SNAPSHOTS = xinternal; then
9314 cat >>confdefs.h <<\_ACEOF
9315 #define SNAPSHOT_INTERNAL 1
9320 ################################################################################
9321 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9322 $as_echo_n "checking whether to include mirrors...
" >&6; }
9324 # Check whether --with-mirrors was given.
9325 if test "${with_mirrors+set}" = set; then
9326 withval=$with_mirrors; MIRRORS="$withval"
9331 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9332 $as_echo "$MIRRORS" >&6; }
9334 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9335 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9337 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9339 { (exit 1); exit 1; }; }
9342 if test x$MIRRORS = xinternal; then
9344 cat >>confdefs.h <<\_ACEOF
9345 #define MIRRORED_INTERNAL 1
9350 ################################################################################
9351 { $as_echo "$as_me:$LINENO: checking whether to include replicators
" >&5
9352 $as_echo_n "checking whether to include replicators...
" >&6; }
9354 # Check whether --with-replicators was given.
9355 if test "${with_replicators+set}" = set; then
9356 withval=$with_replicators; REPLICATORS=$withval
9361 { $as_echo "$as_me:$LINENO: result
: $REPLICATORS" >&5
9362 $as_echo "$REPLICATORS" >&6; }
9364 case "$REPLICATORS" in
9367 cat >>confdefs.h <<\_ACEOF
9368 #define REPLICATOR_INTERNAL 1
9371 *) { { $as_echo "$as_me:$LINENO: error
: --with-replicators parameter invalid
($REPLICATORS)" >&5
9372 $as_echo "$as_me: error
: --with-replicators parameter invalid
($REPLICATORS)" >&2;}
9373 { (exit 1); exit 1; }; } ;;
9376 ################################################################################
9377 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9378 $as_echo_n "checking whether to
enable readline...
" >&6; }
9379 # Check whether --enable-readline was given.
9380 if test "${enable_readline+set}" = set; then
9381 enableval=$enable_readline; READLINE=$enableval
9386 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9387 $as_echo "$READLINE" >&6; }
9389 ################################################################################
9390 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9391 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9392 # Check whether --enable-realtime was given.
9393 if test "${enable_realtime+set}" = set; then
9394 enableval=$enable_realtime; REALTIME=$enableval
9397 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9398 $as_echo "$REALTIME" >&6; }
9400 ################################################################################
9404 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9405 if test -n "$ac_tool_prefix"; then
9406 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9407 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9408 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9409 $as_echo_n "checking
for $ac_word...
" >&6; }
9410 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9411 $as_echo_n "(cached
) " >&6
9415 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422 test -z "$as_dir" && as_dir=.
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9425 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9426 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9436 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9437 if test -n "$PKG_CONFIG"; then
9438 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9439 $as_echo "$PKG_CONFIG" >&6; }
9441 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9442 $as_echo "no
" >&6; }
9447 if test -z "$ac_cv_path_PKG_CONFIG"; then
9448 ac_pt_PKG_CONFIG=$PKG_CONFIG
9449 # Extract the first word of "pkg-config
", so it can be a program name with args.
9450 set dummy pkg-config; ac_word=$2
9451 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9452 $as_echo_n "checking
for $ac_word...
" >&6; }
9453 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9454 $as_echo_n "(cached
) " >&6
9456 case $ac_pt_PKG_CONFIG in
9458 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9465 test -z "$as_dir" && as_dir=.
9466 for ac_exec_ext in '' $ac_executable_extensions; do
9467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9468 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9469 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9479 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9480 if test -n "$ac_pt_PKG_CONFIG"; then
9481 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9482 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9484 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9485 $as_echo "no
" >&6; }
9488 if test "x
$ac_pt_PKG_CONFIG" = x; then
9491 case $cross_compiling:$ac_tool_warned in
9493 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9494 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9495 ac_tool_warned=yes ;;
9497 PKG_CONFIG=$ac_pt_PKG_CONFIG
9500 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9504 if test -n "$PKG_CONFIG"; then
9505 _pkg_min_version=0.9.0
9506 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9507 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9508 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9509 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9510 $as_echo "yes" >&6; }
9512 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9513 $as_echo "no
" >&6; }
9520 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9521 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9523 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9524 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9525 elif test -n "$PKG_CONFIG"; then
9526 if test -n "$PKG_CONFIG" && \
9527 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9528 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9530 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9531 (exit $ac_status); }; then
9532 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9539 if test -n "$PKGCONFIGINIT_LIBS"; then
9540 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9541 elif test -n "$PKG_CONFIG"; then
9542 if test -n "$PKG_CONFIG" && \
9543 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9544 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9546 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9547 (exit $ac_status); }; then
9548 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9558 if test $pkg_failed = yes; then
9560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9561 _pkg_short_errors_supported=yes
9563 _pkg_short_errors_supported=no
9565 if test $_pkg_short_errors_supported = yes; then
9566 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9568 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9570 # Put the nasty error message in config.log where it belongs
9571 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9573 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9574 $as_echo "no
" >&6; }
9575 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9576 $as_echo "pkg-config initialized
" >&6; }
9577 elif test $pkg_failed = untried; then
9578 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9579 $as_echo "pkg-config initialized
" >&6; }
9581 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9582 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9583 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9584 $as_echo "yes" >&6; }
9590 ################################################################################
9591 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9592 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9594 # Check whether --with-clvmd was given.
9595 if test "${with_clvmd+set}" = set; then
9596 withval=$with_clvmd; CLVMD="$withval"
9601 if test x$CLVMD = xyes; then
9604 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9605 $as_echo "$CLVMD" >&6; }
9607 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9611 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9616 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9619 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9622 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9625 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9629 if test x$BUILDGULM = xyes; then
9630 if test x$BUILDCOROSYNC = xyes || \
9631 test x$BUILDOPENAIS = xyes; then
9632 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9633 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9634 { (exit 1); exit 1; }; }
9643 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9644 $as_echo "$as_me: error
: bailing out
" >&2;}
9645 { (exit 1); exit 1; }; }
9648 if test x$CLVMD = xall; then
9649 bailout=soft_bailout
9655 bailout=hard_bailout
9658 check_lib_no_libs() {
9665 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9666 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9667 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9668 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9669 $as_echo_n "(cached
) " >&6
9671 ac_check_lib_save_LIBS=$LIBS
9672 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9673 cat >conftest.$ac_ext <<_ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9686 char $lib_no_libs_arg2 ();
9690 return $lib_no_libs_arg2 ();
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (ac_try="$ac_link"
9698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9699 *) ac_try_echo=$ac_try;;
9701 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9702 $as_echo "$ac_try_echo") >&5
9703 (eval "$ac_link") 2>conftest.er1
9705 grep -v '^ *+' conftest.er1 >conftest.err
9707 cat conftest.err >&5
9708 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext && {
9713 test "$cross_compiling" = yes ||
9714 $as_test_x conftest$ac_exeext
9716 eval "$as_ac_Lib=yes"
9718 $as_echo "$as_me: failed program was
:" >&5
9719 sed 's/^/| /' conftest.$ac_ext >&5
9721 eval "$as_ac_Lib=no
"
9724 rm -rf conftest.dSYM
9725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9726 conftest$ac_exeext conftest.$ac_ext
9727 LIBS=$ac_check_lib_save_LIBS
9729 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9730 $as_echo "$as_val"'`
9731 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9732 $as_echo "$ac_res" >&6; }
9733 as_val=`eval 'as_val=${'$as_ac_Lib'}
9734 $as_echo "$as_val"'`
9735 if test "x
$as_val" = x""yes; then
9736 cat >>confdefs.h <<_ACEOF
9737 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9740 LIBS="-l$lib_no_libs_arg1 $LIBS"
9746 LIBS=$ac_check_lib_save_LIBS
9749 if test x$BUILDGULM = xyes; then
9752 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9753 $as_echo_n "checking
for CCS...
" >&6; }
9755 if test -n "$CCS_CFLAGS"; then
9756 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9757 elif test -n "$PKG_CONFIG"; then
9758 if test -n "$PKG_CONFIG" && \
9759 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9760 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9762 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9763 (exit $ac_status); }; then
9764 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9771 if test -n "$CCS_LIBS"; then
9772 pkg_cv_CCS_LIBS="$CCS_LIBS"
9773 elif test -n "$PKG_CONFIG"; then
9774 if test -n "$PKG_CONFIG" && \
9775 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9776 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9778 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9779 (exit $ac_status); }; then
9780 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9790 if test $pkg_failed = yes; then
9792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9793 _pkg_short_errors_supported=yes
9795 _pkg_short_errors_supported=no
9797 if test $_pkg_short_errors_supported = yes; then
9798 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9800 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9802 # Put the nasty error message in config.log where it belongs
9803 echo "$CCS_PKG_ERRORS" >&5
9805 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9806 $as_echo "no
" >&6; }
9809 for ac_header in ccs.h
9811 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9812 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9813 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9814 $as_echo_n "checking
for $ac_header...
" >&6; }
9815 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9816 $as_echo_n "(cached
) " >&6
9818 ac_res=`eval 'as_val=${'$as_ac_Header'}
9819 $as_echo "$as_val"'`
9820 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9821 $as_echo "$ac_res" >&6; }
9823 # Is the header compilable?
9824 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9825 $as_echo_n "checking
$ac_header usability...
" >&6; }
9826 cat >conftest.$ac_ext <<_ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9832 $ac_includes_default
9833 #include <$ac_header>
9835 rm -f conftest.$ac_objext
9836 if { (ac_try="$ac_compile"
9838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9839 *) ac_try_echo=$ac_try;;
9841 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9842 $as_echo "$ac_try_echo") >&5
9843 (eval "$ac_compile") 2>conftest.er1
9845 grep -v '^ *+' conftest.er1 >conftest.err
9847 cat conftest.err >&5
9848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9849 (exit $ac_status); } && {
9850 test -z "$ac_c_werror_flag" ||
9851 test ! -s conftest.err
9852 } && test -s conftest.$ac_objext; then
9853 ac_header_compiler=yes
9855 $as_echo "$as_me: failed program was
:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9858 ac_header_compiler=no
9861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9862 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9863 $as_echo "$ac_header_compiler" >&6; }
9865 # Is the header present?
9866 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9867 $as_echo_n "checking
$ac_header presence...
" >&6; }
9868 cat >conftest.$ac_ext <<_ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9874 #include <$ac_header>
9876 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879 *) ac_try_echo=$ac_try;;
9881 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9882 $as_echo "$ac_try_echo") >&5
9883 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9885 grep -v '^ *+' conftest.er1 >conftest.err
9887 cat conftest.err >&5
9888 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9889 (exit $ac_status); } >/dev/null && {
9890 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9891 test ! -s conftest.err
9893 ac_header_preproc=yes
9895 $as_echo "$as_me: failed program was
:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 ac_header_preproc=no
9901 rm -f conftest.err conftest.$ac_ext
9902 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9903 $as_echo "$ac_header_preproc" >&6; }
9905 # So? What about this header?
9906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9908 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9909 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9910 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9911 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9912 ac_header_preproc=yes
9915 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9916 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9917 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9918 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9919 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9920 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9921 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9922 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9923 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9924 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9925 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9926 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9930 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9931 $as_echo_n "checking
for $ac_header...
" >&6; }
9932 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9933 $as_echo_n "(cached
) " >&6
9935 eval "$as_ac_Header=\
$ac_header_preproc"
9937 ac_res=`eval 'as_val=${'$as_ac_Header'}
9938 $as_echo "$as_val"'`
9939 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9940 $as_echo "$ac_res" >&6; }
9943 as_val=`eval 'as_val=${'$as_ac_Header'}
9944 $as_echo "$as_val"'`
9945 if test "x
$as_val" = x""yes; then
9946 cat >>confdefs.h <<_ACEOF
9947 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9956 check_lib_no_libs ccs ccs_connect
9957 if test $NOTFOUND = 0; then
9958 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9959 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9963 elif test $pkg_failed = untried; then
9966 for ac_header in ccs.h
9968 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9969 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9970 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9971 $as_echo_n "checking
for $ac_header...
" >&6; }
9972 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9973 $as_echo_n "(cached
) " >&6
9975 ac_res=`eval 'as_val=${'$as_ac_Header'}
9976 $as_echo "$as_val"'`
9977 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9978 $as_echo "$ac_res" >&6; }
9980 # Is the header compilable?
9981 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9982 $as_echo_n "checking
$ac_header usability...
" >&6; }
9983 cat >conftest.$ac_ext <<_ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9989 $ac_includes_default
9990 #include <$ac_header>
9992 rm -f conftest.$ac_objext
9993 if { (ac_try="$ac_compile"
9995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9998 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9999 $as_echo "$ac_try_echo") >&5
10000 (eval "$ac_compile") 2>conftest.er1
10002 grep -v '^ *+' conftest.er1 >conftest.err
10004 cat conftest.err >&5
10005 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10006 (exit $ac_status); } && {
10007 test -z "$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10009 } && test -s conftest.$ac_objext; then
10010 ac_header_compiler=yes
10012 $as_echo "$as_me: failed program was
:" >&5
10013 sed 's/^/| /' conftest.$ac_ext >&5
10015 ac_header_compiler=no
10018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10019 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10020 $as_echo "$ac_header_compiler" >&6; }
10022 # Is the header present?
10023 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10024 $as_echo_n "checking
$ac_header presence...
" >&6; }
10025 cat >conftest.$ac_ext <<_ACEOF
10028 cat confdefs.h >>conftest.$ac_ext
10029 cat >>conftest.$ac_ext <<_ACEOF
10030 /* end confdefs.h. */
10031 #include <$ac_header>
10033 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10034 case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10038 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10039 $as_echo "$ac_try_echo") >&5
10040 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10042 grep -v '^ *+' conftest.er1 >conftest.err
10044 cat conftest.err >&5
10045 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10046 (exit $ac_status); } >/dev/null && {
10047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10048 test ! -s conftest.err
10050 ac_header_preproc=yes
10052 $as_echo "$as_me: failed program was
:" >&5
10053 sed 's/^/| /' conftest.$ac_ext >&5
10055 ac_header_preproc=no
10058 rm -f conftest.err conftest.$ac_ext
10059 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10060 $as_echo "$ac_header_preproc" >&6; }
10062 # So? What about this header?
10063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10065 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10066 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10067 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10068 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10069 ac_header_preproc=yes
10072 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10073 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10074 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10075 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10076 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10077 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10078 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10079 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10080 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10081 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10082 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10083 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10087 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10088 $as_echo_n "checking
for $ac_header...
" >&6; }
10089 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10090 $as_echo_n "(cached
) " >&6
10092 eval "$as_ac_Header=\
$ac_header_preproc"
10094 ac_res=`eval 'as_val=${'$as_ac_Header'}
10095 $as_echo "$as_val"'`
10096 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10097 $as_echo "$ac_res" >&6; }
10100 as_val=`eval 'as_val=${'$as_ac_Header'}
10101 $as_echo "$as_val"'`
10102 if test "x
$as_val" = x""yes; then
10103 cat >>confdefs.h <<_ACEOF
10104 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10113 check_lib_no_libs ccs ccs_connect
10114 if test $NOTFOUND = 0; then
10115 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10116 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10121 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10122 CCS_LIBS=$pkg_cv_CCS_LIBS
10123 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10124 $as_echo "yes" >&6; }
10129 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10130 $as_echo_n "checking
for GULM...
" >&6; }
10132 if test -n "$GULM_CFLAGS"; then
10133 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10134 elif test -n "$PKG_CONFIG"; then
10135 if test -n "$PKG_CONFIG" && \
10136 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10137 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10139 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10140 (exit $ac_status); }; then
10141 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10148 if test -n "$GULM_LIBS"; then
10149 pkg_cv_GULM_LIBS="$GULM_LIBS"
10150 elif test -n "$PKG_CONFIG"; then
10151 if test -n "$PKG_CONFIG" && \
10152 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10153 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10155 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10156 (exit $ac_status); }; then
10157 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10167 if test $pkg_failed = yes; then
10169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10170 _pkg_short_errors_supported=yes
10172 _pkg_short_errors_supported=no
10174 if test $_pkg_short_errors_supported = yes; then
10175 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10177 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10179 # Put the nasty error message in config.log where it belongs
10180 echo "$GULM_PKG_ERRORS" >&5
10182 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10183 $as_echo "no
" >&6; }
10186 for ac_header in libgulm.h
10188 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10189 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10190 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10191 $as_echo_n "checking
for $ac_header...
" >&6; }
10192 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10193 $as_echo_n "(cached
) " >&6
10195 ac_res=`eval 'as_val=${'$as_ac_Header'}
10196 $as_echo "$as_val"'`
10197 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10198 $as_echo "$ac_res" >&6; }
10200 # Is the header compilable?
10201 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10202 $as_echo_n "checking
$ac_header usability...
" >&6; }
10203 cat >conftest.$ac_ext <<_ACEOF
10206 cat confdefs.h >>conftest.$ac_ext
10207 cat >>conftest.$ac_ext <<_ACEOF
10208 /* end confdefs.h. */
10209 $ac_includes_default
10210 #include <$ac_header>
10212 rm -f conftest.$ac_objext
10213 if { (ac_try="$ac_compile"
10214 case "(($ac_try" in
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216 *) ac_try_echo=$ac_try;;
10218 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10219 $as_echo "$ac_try_echo") >&5
10220 (eval "$ac_compile") 2>conftest.er1
10222 grep -v '^ *+' conftest.er1 >conftest.err
10224 cat conftest.err >&5
10225 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest.$ac_objext; then
10230 ac_header_compiler=yes
10232 $as_echo "$as_me: failed program was
:" >&5
10233 sed 's/^/| /' conftest.$ac_ext >&5
10235 ac_header_compiler=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10239 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10240 $as_echo "$ac_header_compiler" >&6; }
10242 # Is the header present?
10243 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10244 $as_echo_n "checking
$ac_header presence...
" >&6; }
10245 cat >conftest.$ac_ext <<_ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10251 #include <$ac_header>
10253 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10254 case "(($ac_try" in
10255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10256 *) ac_try_echo=$ac_try;;
10258 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10259 $as_echo "$ac_try_echo") >&5
10260 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10262 grep -v '^ *+' conftest.er1 >conftest.err
10264 cat conftest.err >&5
10265 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10266 (exit $ac_status); } >/dev/null && {
10267 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10268 test ! -s conftest.err
10270 ac_header_preproc=yes
10272 $as_echo "$as_me: failed program was
:" >&5
10273 sed 's/^/| /' conftest.$ac_ext >&5
10275 ac_header_preproc=no
10278 rm -f conftest.err conftest.$ac_ext
10279 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10280 $as_echo "$ac_header_preproc" >&6; }
10282 # So? What about this header?
10283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10285 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10286 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10287 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10288 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10289 ac_header_preproc=yes
10292 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10293 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10294 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10295 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10296 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10297 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10298 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10299 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10300 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10301 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10302 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10303 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10307 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10308 $as_echo_n "checking
for $ac_header...
" >&6; }
10309 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10310 $as_echo_n "(cached
) " >&6
10312 eval "$as_ac_Header=\
$ac_header_preproc"
10314 ac_res=`eval 'as_val=${'$as_ac_Header'}
10315 $as_echo "$as_val"'`
10316 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10317 $as_echo "$ac_res" >&6; }
10320 as_val=`eval 'as_val=${'$as_ac_Header'}
10321 $as_echo "$as_val"'`
10322 if test "x
$as_val" = x""yes; then
10323 cat >>confdefs.h <<_ACEOF
10324 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10333 check_lib_no_libs gulm lg_core_login
10334 if test $NOTFOUND = 0; then
10335 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10336 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10340 elif test $pkg_failed = untried; then
10343 for ac_header in libgulm.h
10345 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10346 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10347 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10348 $as_echo_n "checking
for $ac_header...
" >&6; }
10349 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10350 $as_echo_n "(cached
) " >&6
10352 ac_res=`eval 'as_val=${'$as_ac_Header'}
10353 $as_echo "$as_val"'`
10354 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10355 $as_echo "$ac_res" >&6; }
10357 # Is the header compilable?
10358 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10359 $as_echo_n "checking
$ac_header usability...
" >&6; }
10360 cat >conftest.$ac_ext <<_ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 $ac_includes_default
10367 #include <$ac_header>
10369 rm -f conftest.$ac_objext
10370 if { (ac_try="$ac_compile"
10371 case "(($ac_try" in
10372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10373 *) ac_try_echo=$ac_try;;
10375 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10376 $as_echo "$ac_try_echo") >&5
10377 (eval "$ac_compile") 2>conftest.er1
10379 grep -v '^ *+' conftest.er1 >conftest.err
10381 cat conftest.err >&5
10382 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10383 (exit $ac_status); } && {
10384 test -z "$ac_c_werror_flag" ||
10385 test ! -s conftest.err
10386 } && test -s conftest.$ac_objext; then
10387 ac_header_compiler=yes
10389 $as_echo "$as_me: failed program was
:" >&5
10390 sed 's/^/| /' conftest.$ac_ext >&5
10392 ac_header_compiler=no
10395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10396 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10397 $as_echo "$ac_header_compiler" >&6; }
10399 # Is the header present?
10400 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10401 $as_echo_n "checking
$ac_header presence...
" >&6; }
10402 cat >conftest.$ac_ext <<_ACEOF
10405 cat confdefs.h >>conftest.$ac_ext
10406 cat >>conftest.$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 #include <$ac_header>
10410 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10411 case "(($ac_try" in
10412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413 *) ac_try_echo=$ac_try;;
10415 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10416 $as_echo "$ac_try_echo") >&5
10417 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10419 grep -v '^ *+' conftest.er1 >conftest.err
10421 cat conftest.err >&5
10422 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10423 (exit $ac_status); } >/dev/null && {
10424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10427 ac_header_preproc=yes
10429 $as_echo "$as_me: failed program was
:" >&5
10430 sed 's/^/| /' conftest.$ac_ext >&5
10432 ac_header_preproc=no
10435 rm -f conftest.err conftest.$ac_ext
10436 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10437 $as_echo "$ac_header_preproc" >&6; }
10439 # So? What about this header?
10440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10442 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10443 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10444 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10445 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10446 ac_header_preproc=yes
10449 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10450 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10451 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10452 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10453 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10454 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10455 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10456 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10457 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10459 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10460 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10464 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10465 $as_echo_n "checking
for $ac_header...
" >&6; }
10466 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10467 $as_echo_n "(cached
) " >&6
10469 eval "$as_ac_Header=\
$ac_header_preproc"
10471 ac_res=`eval 'as_val=${'$as_ac_Header'}
10472 $as_echo "$as_val"'`
10473 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10474 $as_echo "$ac_res" >&6; }
10477 as_val=`eval 'as_val=${'$as_ac_Header'}
10478 $as_echo "$as_val"'`
10479 if test "x
$as_val" = x""yes; then
10480 cat >>confdefs.h <<_ACEOF
10481 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10490 check_lib_no_libs gulm lg_core_login
10491 if test $NOTFOUND = 0; then
10492 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10493 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10498 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10499 GULM_LIBS=$pkg_cv_GULM_LIBS
10500 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10501 $as_echo "yes" >&6; }
10506 if test x$BUILDCMAN = xyes; then
10509 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10510 $as_echo_n "checking
for CMAN...
" >&6; }
10512 if test -n "$CMAN_CFLAGS"; then
10513 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10514 elif test -n "$PKG_CONFIG"; then
10515 if test -n "$PKG_CONFIG" && \
10516 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10517 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10519 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10520 (exit $ac_status); }; then
10521 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10528 if test -n "$CMAN_LIBS"; then
10529 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10530 elif test -n "$PKG_CONFIG"; then
10531 if test -n "$PKG_CONFIG" && \
10532 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10533 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10535 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10536 (exit $ac_status); }; then
10537 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10547 if test $pkg_failed = yes; then
10549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10550 _pkg_short_errors_supported=yes
10552 _pkg_short_errors_supported=no
10554 if test $_pkg_short_errors_supported = yes; then
10555 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10557 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10559 # Put the nasty error message in config.log where it belongs
10560 echo "$CMAN_PKG_ERRORS" >&5
10562 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10563 $as_echo "no
" >&6; }
10566 for ac_header in libcman.h
10568 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10569 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10570 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10571 $as_echo_n "checking
for $ac_header...
" >&6; }
10572 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10573 $as_echo_n "(cached
) " >&6
10575 ac_res=`eval 'as_val=${'$as_ac_Header'}
10576 $as_echo "$as_val"'`
10577 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10578 $as_echo "$ac_res" >&6; }
10580 # Is the header compilable?
10581 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10582 $as_echo_n "checking
$ac_header usability...
" >&6; }
10583 cat >conftest.$ac_ext <<_ACEOF
10586 cat confdefs.h >>conftest.$ac_ext
10587 cat >>conftest.$ac_ext <<_ACEOF
10588 /* end confdefs.h. */
10589 $ac_includes_default
10590 #include <$ac_header>
10592 rm -f conftest.$ac_objext
10593 if { (ac_try="$ac_compile"
10594 case "(($ac_try" in
10595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10596 *) ac_try_echo=$ac_try;;
10598 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10599 $as_echo "$ac_try_echo") >&5
10600 (eval "$ac_compile") 2>conftest.er1
10602 grep -v '^ *+' conftest.er1 >conftest.err
10604 cat conftest.err >&5
10605 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10606 (exit $ac_status); } && {
10607 test -z "$ac_c_werror_flag" ||
10608 test ! -s conftest.err
10609 } && test -s conftest.$ac_objext; then
10610 ac_header_compiler=yes
10612 $as_echo "$as_me: failed program was
:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10615 ac_header_compiler=no
10618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10620 $as_echo "$ac_header_compiler" >&6; }
10622 # Is the header present?
10623 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10624 $as_echo_n "checking
$ac_header presence...
" >&6; }
10625 cat >conftest.$ac_ext <<_ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 #include <$ac_header>
10633 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10634 case "(($ac_try" in
10635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10636 *) ac_try_echo=$ac_try;;
10638 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10639 $as_echo "$ac_try_echo") >&5
10640 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10642 grep -v '^ *+' conftest.er1 >conftest.err
10644 cat conftest.err >&5
10645 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10646 (exit $ac_status); } >/dev/null && {
10647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10648 test ! -s conftest.err
10650 ac_header_preproc=yes
10652 $as_echo "$as_me: failed program was
:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 ac_header_preproc=no
10658 rm -f conftest.err conftest.$ac_ext
10659 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10660 $as_echo "$ac_header_preproc" >&6; }
10662 # So? What about this header?
10663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10665 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10666 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10667 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10669 ac_header_preproc=yes
10672 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10673 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10674 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10675 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10676 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10677 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10678 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10679 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10680 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10682 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10683 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10687 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10688 $as_echo_n "checking
for $ac_header...
" >&6; }
10689 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10690 $as_echo_n "(cached
) " >&6
10692 eval "$as_ac_Header=\
$ac_header_preproc"
10694 ac_res=`eval 'as_val=${'$as_ac_Header'}
10695 $as_echo "$as_val"'`
10696 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10697 $as_echo "$ac_res" >&6; }
10700 as_val=`eval 'as_val=${'$as_ac_Header'}
10701 $as_echo "$as_val"'`
10702 if test "x
$as_val" = x""yes; then
10703 cat >>confdefs.h <<_ACEOF
10704 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10713 check_lib_no_libs cman cman_init
10714 if test $NOTFOUND = 0; then
10715 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10716 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10720 elif test $pkg_failed = untried; then
10723 for ac_header in libcman.h
10725 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10726 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10727 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10728 $as_echo_n "checking
for $ac_header...
" >&6; }
10729 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10730 $as_echo_n "(cached
) " >&6
10732 ac_res=`eval 'as_val=${'$as_ac_Header'}
10733 $as_echo "$as_val"'`
10734 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10735 $as_echo "$ac_res" >&6; }
10737 # Is the header compilable?
10738 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10739 $as_echo_n "checking
$ac_header usability...
" >&6; }
10740 cat >conftest.$ac_ext <<_ACEOF
10743 cat confdefs.h >>conftest.$ac_ext
10744 cat >>conftest.$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10746 $ac_includes_default
10747 #include <$ac_header>
10749 rm -f conftest.$ac_objext
10750 if { (ac_try="$ac_compile"
10751 case "(($ac_try" in
10752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10753 *) ac_try_echo=$ac_try;;
10755 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10756 $as_echo "$ac_try_echo") >&5
10757 (eval "$ac_compile") 2>conftest.er1
10759 grep -v '^ *+' conftest.er1 >conftest.err
10761 cat conftest.err >&5
10762 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10763 (exit $ac_status); } && {
10764 test -z "$ac_c_werror_flag" ||
10765 test ! -s conftest.err
10766 } && test -s conftest.$ac_objext; then
10767 ac_header_compiler=yes
10769 $as_echo "$as_me: failed program was
:" >&5
10770 sed 's/^/| /' conftest.$ac_ext >&5
10772 ac_header_compiler=no
10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10776 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10777 $as_echo "$ac_header_compiler" >&6; }
10779 # Is the header present?
10780 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10781 $as_echo_n "checking
$ac_header presence...
" >&6; }
10782 cat >conftest.$ac_ext <<_ACEOF
10785 cat confdefs.h >>conftest.$ac_ext
10786 cat >>conftest.$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10788 #include <$ac_header>
10790 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10791 case "(($ac_try" in
10792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10793 *) ac_try_echo=$ac_try;;
10795 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10796 $as_echo "$ac_try_echo") >&5
10797 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10799 grep -v '^ *+' conftest.er1 >conftest.err
10801 cat conftest.err >&5
10802 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10803 (exit $ac_status); } >/dev/null && {
10804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10805 test ! -s conftest.err
10807 ac_header_preproc=yes
10809 $as_echo "$as_me: failed program was
:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10812 ac_header_preproc=no
10815 rm -f conftest.err conftest.$ac_ext
10816 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10817 $as_echo "$ac_header_preproc" >&6; }
10819 # So? What about this header?
10820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10822 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10823 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10824 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10825 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10826 ac_header_preproc=yes
10829 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10830 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10831 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10832 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10833 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10834 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10835 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10836 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10837 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10838 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10839 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10840 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10844 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10845 $as_echo_n "checking
for $ac_header...
" >&6; }
10846 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10847 $as_echo_n "(cached
) " >&6
10849 eval "$as_ac_Header=\
$ac_header_preproc"
10851 ac_res=`eval 'as_val=${'$as_ac_Header'}
10852 $as_echo "$as_val"'`
10853 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10854 $as_echo "$ac_res" >&6; }
10857 as_val=`eval 'as_val=${'$as_ac_Header'}
10858 $as_echo "$as_val"'`
10859 if test "x
$as_val" = x""yes; then
10860 cat >>confdefs.h <<_ACEOF
10861 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10870 check_lib_no_libs cman cman_init
10871 if test $NOTFOUND = 0; then
10872 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10873 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10878 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10879 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10880 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10881 $as_echo "yes" >&6; }
10888 if test x$BUILDCOROSYNC = xyes || \
10889 test x$BUILDOPENAIS = xyes; then
10892 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10893 $as_echo_n "checking
for COROSYNC...
" >&6; }
10895 if test -n "$COROSYNC_CFLAGS"; then
10896 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10897 elif test -n "$PKG_CONFIG"; then
10898 if test -n "$PKG_CONFIG" && \
10899 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10900 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10902 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10903 (exit $ac_status); }; then
10904 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10911 if test -n "$COROSYNC_LIBS"; then
10912 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10913 elif test -n "$PKG_CONFIG"; then
10914 if test -n "$PKG_CONFIG" && \
10915 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10916 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10918 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10919 (exit $ac_status); }; then
10920 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10930 if test $pkg_failed = yes; then
10932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10933 _pkg_short_errors_supported=yes
10935 _pkg_short_errors_supported=no
10937 if test $_pkg_short_errors_supported = yes; then
10938 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10940 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10942 # Put the nasty error message in config.log where it belongs
10943 echo "$COROSYNC_PKG_ERRORS" >&5
10945 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10946 $as_echo "no
" >&6; }
10948 elif test $pkg_failed = untried; then
10951 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10952 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10953 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10954 $as_echo "yes" >&6; }
10960 if test x$BUILDCOROSYNC = xyes; then
10963 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10964 $as_echo_n "checking
for QUORUM...
" >&6; }
10966 if test -n "$QUORUM_CFLAGS"; then
10967 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10968 elif test -n "$PKG_CONFIG"; then
10969 if test -n "$PKG_CONFIG" && \
10970 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10971 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10973 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10974 (exit $ac_status); }; then
10975 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10982 if test -n "$QUORUM_LIBS"; then
10983 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10984 elif test -n "$PKG_CONFIG"; then
10985 if test -n "$PKG_CONFIG" && \
10986 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10987 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10989 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10990 (exit $ac_status); }; then
10991 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
11001 if test $pkg_failed = yes; then
11003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11004 _pkg_short_errors_supported=yes
11006 _pkg_short_errors_supported=no
11008 if test $_pkg_short_errors_supported = yes; then
11009 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
11011 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
11013 # Put the nasty error message in config.log where it belongs
11014 echo "$QUORUM_PKG_ERRORS" >&5
11016 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11017 $as_echo "no
" >&6; }
11019 elif test $pkg_failed = untried; then
11022 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
11023 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
11024 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11025 $as_echo "yes" >&6; }
11032 if test x$BUILDOPENAIS = xyes; then
11035 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
11036 $as_echo_n "checking
for SALCK...
" >&6; }
11038 if test -n "$SALCK_CFLAGS"; then
11039 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
11040 elif test -n "$PKG_CONFIG"; then
11041 if test -n "$PKG_CONFIG" && \
11042 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11043 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11045 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11046 (exit $ac_status); }; then
11047 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11054 if test -n "$SALCK_LIBS"; then
11055 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11056 elif test -n "$PKG_CONFIG"; then
11057 if test -n "$PKG_CONFIG" && \
11058 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11059 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11061 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11062 (exit $ac_status); }; then
11063 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11073 if test $pkg_failed = yes; then
11075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11076 _pkg_short_errors_supported=yes
11078 _pkg_short_errors_supported=no
11080 if test $_pkg_short_errors_supported = yes; then
11081 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11083 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11085 # Put the nasty error message in config.log where it belongs
11086 echo "$SALCK_PKG_ERRORS" >&5
11088 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11089 $as_echo "no
" >&6; }
11091 elif test $pkg_failed = untried; then
11094 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11095 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11096 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11097 $as_echo "yes" >&6; }
11105 if test x$CHECKCONFDB = xyes; then
11108 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11109 $as_echo_n "checking
for CONFDB...
" >&6; }
11111 if test -n "$CONFDB_CFLAGS"; then
11112 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11113 elif test -n "$PKG_CONFIG"; then
11114 if test -n "$PKG_CONFIG" && \
11115 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11116 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11118 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11119 (exit $ac_status); }; then
11120 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11127 if test -n "$CONFDB_LIBS"; then
11128 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11129 elif test -n "$PKG_CONFIG"; then
11130 if test -n "$PKG_CONFIG" && \
11131 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11132 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11134 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11135 (exit $ac_status); }; then
11136 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11146 if test $pkg_failed = yes; then
11148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11149 _pkg_short_errors_supported=yes
11151 _pkg_short_errors_supported=no
11153 if test $_pkg_short_errors_supported = yes; then
11154 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11156 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11158 # Put the nasty error message in config.log where it belongs
11159 echo "$CONFDB_PKG_ERRORS" >&5
11161 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11162 $as_echo "no
" >&6; }
11164 elif test $pkg_failed = untried; then
11167 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11168 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11169 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11170 $as_echo "yes" >&6; }
11175 for ac_header in corosync/confdb.h
11177 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11178 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11179 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11180 $as_echo_n "checking
for $ac_header...
" >&6; }
11181 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11182 $as_echo_n "(cached
) " >&6
11184 ac_res=`eval 'as_val=${'$as_ac_Header'}
11185 $as_echo "$as_val"'`
11186 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11187 $as_echo "$ac_res" >&6; }
11189 # Is the header compilable?
11190 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11191 $as_echo_n "checking
$ac_header usability...
" >&6; }
11192 cat >conftest.$ac_ext <<_ACEOF
11195 cat confdefs.h >>conftest.$ac_ext
11196 cat >>conftest.$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198 $ac_includes_default
11199 #include <$ac_header>
11201 rm -f conftest.$ac_objext
11202 if { (ac_try="$ac_compile"
11203 case "(($ac_try" in
11204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11205 *) ac_try_echo=$ac_try;;
11207 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11208 $as_echo "$ac_try_echo") >&5
11209 (eval "$ac_compile") 2>conftest.er1
11211 grep -v '^ *+' conftest.er1 >conftest.err
11213 cat conftest.err >&5
11214 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11215 (exit $ac_status); } && {
11216 test -z "$ac_c_werror_flag" ||
11217 test ! -s conftest.err
11218 } && test -s conftest.$ac_objext; then
11219 ac_header_compiler=yes
11221 $as_echo "$as_me: failed program was
:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11224 ac_header_compiler=no
11227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11228 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11229 $as_echo "$ac_header_compiler" >&6; }
11231 # Is the header present?
11232 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11233 $as_echo_n "checking
$ac_header presence...
" >&6; }
11234 cat >conftest.$ac_ext <<_ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240 #include <$ac_header>
11242 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11243 case "(($ac_try" in
11244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 *) ac_try_echo=$ac_try;;
11247 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11248 $as_echo "$ac_try_echo") >&5
11249 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11251 grep -v '^ *+' conftest.er1 >conftest.err
11253 cat conftest.err >&5
11254 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11255 (exit $ac_status); } >/dev/null && {
11256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11257 test ! -s conftest.err
11259 ac_header_preproc=yes
11261 $as_echo "$as_me: failed program was
:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11264 ac_header_preproc=no
11267 rm -f conftest.err conftest.$ac_ext
11268 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11269 $as_echo "$ac_header_preproc" >&6; }
11271 # So? What about this header?
11272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11274 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11275 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11276 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11277 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11278 ac_header_preproc=yes
11281 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11282 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11283 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11284 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11285 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11286 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11287 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11288 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11289 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11290 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11291 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11292 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11296 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11297 $as_echo_n "checking
for $ac_header...
" >&6; }
11298 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11299 $as_echo_n "(cached
) " >&6
11301 eval "$as_ac_Header=\
$ac_header_preproc"
11303 ac_res=`eval 'as_val=${'$as_ac_Header'}
11304 $as_echo "$as_val"'`
11305 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11306 $as_echo "$ac_res" >&6; }
11309 as_val=`eval 'as_val=${'$as_ac_Header'}
11310 $as_echo "$as_val"'`
11311 if test "x
$as_val" = x""yes; then
11312 cat >>confdefs.h <<_ACEOF
11313 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11323 if test x$HAVE_CONFDB != xyes && \
11324 test x$HAVE_CONFDB_H = xyes; then
11325 check_lib_no_libs confdb confdb_initialize
11326 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11327 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11328 CONFDB_LIBS="-lconfdb"
11332 if test x$BUILDCOROSYNC = xyes && \
11333 test x$HAVE_CONFDB != xyes &&
11334 test x$CLVMD != xall; then
11335 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11336 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11337 { (exit 1); exit 1; }; }
11341 if test x$CHECKCPG = xyes; then
11344 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11345 $as_echo_n "checking
for CPG...
" >&6; }
11347 if test -n "$CPG_CFLAGS"; then
11348 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11349 elif test -n "$PKG_CONFIG"; then
11350 if test -n "$PKG_CONFIG" && \
11351 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11352 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11354 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11355 (exit $ac_status); }; then
11356 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11363 if test -n "$CPG_LIBS"; then
11364 pkg_cv_CPG_LIBS="$CPG_LIBS"
11365 elif test -n "$PKG_CONFIG"; then
11366 if test -n "$PKG_CONFIG" && \
11367 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11368 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11370 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11371 (exit $ac_status); }; then
11372 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11382 if test $pkg_failed = yes; then
11384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11385 _pkg_short_errors_supported=yes
11387 _pkg_short_errors_supported=no
11389 if test $_pkg_short_errors_supported = yes; then
11390 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11392 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11394 # Put the nasty error message in config.log where it belongs
11395 echo "$CPG_PKG_ERRORS" >&5
11397 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11398 $as_echo "no
" >&6; }
11400 elif test $pkg_failed = untried; then
11403 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11404 CPG_LIBS=$pkg_cv_CPG_LIBS
11405 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11406 $as_echo "yes" >&6; }
11411 if test x$CHECKDLM = xyes; then
11414 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11415 $as_echo_n "checking
for DLM...
" >&6; }
11417 if test -n "$DLM_CFLAGS"; then
11418 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11419 elif test -n "$PKG_CONFIG"; then
11420 if test -n "$PKG_CONFIG" && \
11421 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11422 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11424 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11425 (exit $ac_status); }; then
11426 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11433 if test -n "$DLM_LIBS"; then
11434 pkg_cv_DLM_LIBS="$DLM_LIBS"
11435 elif test -n "$PKG_CONFIG"; then
11436 if test -n "$PKG_CONFIG" && \
11437 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11438 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11440 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11441 (exit $ac_status); }; then
11442 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11452 if test $pkg_failed = yes; then
11454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11455 _pkg_short_errors_supported=yes
11457 _pkg_short_errors_supported=no
11459 if test $_pkg_short_errors_supported = yes; then
11460 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11462 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11464 # Put the nasty error message in config.log where it belongs
11465 echo "$DLM_PKG_ERRORS" >&5
11467 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11468 $as_echo "no
" >&6; }
11471 for ac_header in libdlm.h
11473 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11474 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11475 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11476 $as_echo_n "checking
for $ac_header...
" >&6; }
11477 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11478 $as_echo_n "(cached
) " >&6
11480 ac_res=`eval 'as_val=${'$as_ac_Header'}
11481 $as_echo "$as_val"'`
11482 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11483 $as_echo "$ac_res" >&6; }
11485 # Is the header compilable?
11486 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11487 $as_echo_n "checking
$ac_header usability...
" >&6; }
11488 cat >conftest.$ac_ext <<_ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 $ac_includes_default
11495 #include <$ac_header>
11497 rm -f conftest.$ac_objext
11498 if { (ac_try="$ac_compile"
11499 case "(($ac_try" in
11500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11504 $as_echo "$ac_try_echo") >&5
11505 (eval "$ac_compile") 2>conftest.er1
11507 grep -v '^ *+' conftest.er1 >conftest.err
11509 cat conftest.err >&5
11510 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11511 (exit $ac_status); } && {
11512 test -z "$ac_c_werror_flag" ||
11513 test ! -s conftest.err
11514 } && test -s conftest.$ac_objext; then
11515 ac_header_compiler=yes
11517 $as_echo "$as_me: failed program was
:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 ac_header_compiler=no
11523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11524 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11525 $as_echo "$ac_header_compiler" >&6; }
11527 # Is the header present?
11528 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11529 $as_echo_n "checking
$ac_header presence...
" >&6; }
11530 cat >conftest.$ac_ext <<_ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11536 #include <$ac_header>
11538 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11539 case "(($ac_try" in
11540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541 *) ac_try_echo=$ac_try;;
11543 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11544 $as_echo "$ac_try_echo") >&5
11545 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11547 grep -v '^ *+' conftest.er1 >conftest.err
11549 cat conftest.err >&5
11550 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11551 (exit $ac_status); } >/dev/null && {
11552 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11553 test ! -s conftest.err
11555 ac_header_preproc=yes
11557 $as_echo "$as_me: failed program was
:" >&5
11558 sed 's/^/| /' conftest.$ac_ext >&5
11560 ac_header_preproc=no
11563 rm -f conftest.err conftest.$ac_ext
11564 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11565 $as_echo "$ac_header_preproc" >&6; }
11567 # So? What about this header?
11568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11570 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11571 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11572 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11573 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11574 ac_header_preproc=yes
11577 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11578 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11579 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11580 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11581 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11582 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11583 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11584 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11585 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11586 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11587 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11588 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11592 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11593 $as_echo_n "checking
for $ac_header...
" >&6; }
11594 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11595 $as_echo_n "(cached
) " >&6
11597 eval "$as_ac_Header=\
$ac_header_preproc"
11599 ac_res=`eval 'as_val=${'$as_ac_Header'}
11600 $as_echo "$as_val"'`
11601 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11602 $as_echo "$ac_res" >&6; }
11605 as_val=`eval 'as_val=${'$as_ac_Header'}
11606 $as_echo "$as_val"'`
11607 if test "x
$as_val" = x""yes; then
11608 cat >>confdefs.h <<_ACEOF
11609 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11618 check_lib_no_libs dlm dlm_lock -lpthread
11619 if test $NOTFOUND = 0; then
11620 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11621 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11622 DLM_LIBS="-ldlm -lpthread"
11625 elif test $pkg_failed = untried; then
11628 for ac_header in libdlm.h
11630 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11631 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11632 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11633 $as_echo_n "checking
for $ac_header...
" >&6; }
11634 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11635 $as_echo_n "(cached
) " >&6
11637 ac_res=`eval 'as_val=${'$as_ac_Header'}
11638 $as_echo "$as_val"'`
11639 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11640 $as_echo "$ac_res" >&6; }
11642 # Is the header compilable?
11643 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11644 $as_echo_n "checking
$ac_header usability...
" >&6; }
11645 cat >conftest.$ac_ext <<_ACEOF
11648 cat confdefs.h >>conftest.$ac_ext
11649 cat >>conftest.$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 $ac_includes_default
11652 #include <$ac_header>
11654 rm -f conftest.$ac_objext
11655 if { (ac_try="$ac_compile"
11656 case "(($ac_try" in
11657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11658 *) ac_try_echo=$ac_try;;
11660 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11661 $as_echo "$ac_try_echo") >&5
11662 (eval "$ac_compile") 2>conftest.er1
11664 grep -v '^ *+' conftest.er1 >conftest.err
11666 cat conftest.err >&5
11667 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11668 (exit $ac_status); } && {
11669 test -z "$ac_c_werror_flag" ||
11670 test ! -s conftest.err
11671 } && test -s conftest.$ac_objext; then
11672 ac_header_compiler=yes
11674 $as_echo "$as_me: failed program was
:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_header_compiler=no
11680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11681 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11682 $as_echo "$ac_header_compiler" >&6; }
11684 # Is the header present?
11685 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11686 $as_echo_n "checking
$ac_header presence...
" >&6; }
11687 cat >conftest.$ac_ext <<_ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 #include <$ac_header>
11695 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11696 case "(($ac_try" in
11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11698 *) ac_try_echo=$ac_try;;
11700 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11701 $as_echo "$ac_try_echo") >&5
11702 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11704 grep -v '^ *+' conftest.er1 >conftest.err
11706 cat conftest.err >&5
11707 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11708 (exit $ac_status); } >/dev/null && {
11709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11710 test ! -s conftest.err
11712 ac_header_preproc=yes
11714 $as_echo "$as_me: failed program was
:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5
11717 ac_header_preproc=no
11720 rm -f conftest.err conftest.$ac_ext
11721 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11722 $as_echo "$ac_header_preproc" >&6; }
11724 # So? What about this header?
11725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11727 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11728 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11729 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11730 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11731 ac_header_preproc=yes
11734 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11735 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11736 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11737 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11738 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11739 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11740 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11741 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11742 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11743 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11744 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11745 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11749 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11750 $as_echo_n "checking
for $ac_header...
" >&6; }
11751 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11752 $as_echo_n "(cached
) " >&6
11754 eval "$as_ac_Header=\
$ac_header_preproc"
11756 ac_res=`eval 'as_val=${'$as_ac_Header'}
11757 $as_echo "$as_val"'`
11758 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11759 $as_echo "$ac_res" >&6; }
11762 as_val=`eval 'as_val=${'$as_ac_Header'}
11763 $as_echo "$as_val"'`
11764 if test "x
$as_val" = x""yes; then
11765 cat >>confdefs.h <<_ACEOF
11766 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11775 check_lib_no_libs dlm dlm_lock -lpthread
11776 if test $NOTFOUND = 0; then
11777 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11778 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11779 DLM_LIBS="-ldlm -lpthread"
11783 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11784 DLM_LIBS=$pkg_cv_DLM_LIBS
11785 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11786 $as_echo "yes" >&6; }
11791 if test x$CLVMD = xall; then
11793 if test x$HAVE_CCS = xyes && \
11794 test x$HAVE_GULM = xyes; then
11795 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11796 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11797 CLVMD="$CLVMD,gulm
"
11799 if test x$HAVE_CMAN = xyes && \
11800 test x$HAVE_DLM = xyes; then
11801 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11802 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11803 CLVMD="$CLVMD,cman
"
11805 if test x$HAVE_COROSYNC = xyes && \
11806 test x$HAVE_QUORUM = xyes && \
11807 test x$HAVE_CPG = xyes && \
11808 test x$HAVE_DLM = xyes && \
11809 test x$HAVE_CONFDB = xyes; then
11810 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11811 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11812 CLVMD="$CLVMD,corosync
"
11814 if test x$HAVE_COROSYNC = xyes && \
11815 test x$HAVE_CPG = xyes && \
11816 test x$HAVE_SALCK = xyes; then
11817 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11818 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11819 CLVMD="$CLVMD,openais
"
11821 if test x$CLVMD = xnone; then
11822 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11823 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11827 ################################################################################
11828 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11829 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11830 # Check whether --enable-cmirrord was given.
11831 if test "${enable_cmirrord+set}" = set; then
11832 enableval=$enable_cmirrord; CMIRRORD=$enableval
11837 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11838 $as_echo "$CMIRRORD" >&6; }
11840 BUILD_CMIRRORD=$CMIRRORD
11842 ################################################################################
11845 if test "x
$BUILD_CMIRRORD" = xyes; then
11847 # Check whether --with-cmirrord-pidfile was given.
11848 if test "${with_cmirrord_pidfile+set}" = set; then
11849 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11850 #define CMIRRORD_PIDFILE "$withval"
11854 cat >>confdefs.h <<_ACEOF
11855 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11862 ################################################################################
11863 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11864 if test x$PKGCONFIG_INIT != x1; then
11869 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11870 $as_echo_n "checking
for SACKPT...
" >&6; }
11872 if test -n "$SACKPT_CFLAGS"; then
11873 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11874 elif test -n "$PKG_CONFIG"; then
11875 if test -n "$PKG_CONFIG" && \
11876 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11877 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11879 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11880 (exit $ac_status); }; then
11881 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11888 if test -n "$SACKPT_LIBS"; then
11889 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11890 elif test -n "$PKG_CONFIG"; then
11891 if test -n "$PKG_CONFIG" && \
11892 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11893 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11895 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11896 (exit $ac_status); }; then
11897 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11907 if test $pkg_failed = yes; then
11909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11910 _pkg_short_errors_supported=yes
11912 _pkg_short_errors_supported=no
11914 if test $_pkg_short_errors_supported = yes; then
11915 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11917 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11919 # Put the nasty error message in config.log where it belongs
11920 echo "$SACKPT_PKG_ERRORS" >&5
11922 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11926 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11927 installed software
in a non-standard prefix.
11929 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11930 and SACKPT_LIBS to avoid the need to call pkg-config.
11931 See the pkg-config man page
for more details.
11933 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11937 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11938 installed software
in a non-standard prefix.
11940 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11941 and SACKPT_LIBS to avoid the need to call pkg-config.
11942 See the pkg-config man page
for more details.
11944 { (exit 1); exit 1; }; }
11945 elif test $pkg_failed = untried; then
11946 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11948 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11949 is in your PATH or set the PKG_CONFIG environment variable to the full
11950 path to pkg-config.
11952 Alternatively, you may set the environment variables SACKPT_CFLAGS
11953 and SACKPT_LIBS to avoid the need to call pkg-config.
11954 See the pkg-config man page for more details.
11956 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11957 See \`config.log' for more details.
" >&5
11958 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11959 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11960 path to pkg-config.
11962 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11963 and SACKPT_LIBS to avoid the need to call pkg-config.
11964 See the pkg-config man page
for more details.
11966 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11967 See \
`config.log' for more details." >&2;}
11968 { (exit 1); exit 1; }; }; }
11970 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11971 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11972 { $as_echo "$as_me:$LINENO: result: yes" >&5
11973 $as_echo "yes" >&6; }
11976 if test x$HAVE_CPG != xyes; then
11979 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11980 $as_echo_n "checking for CPG... " >&6; }
11982 if test -n "$CPG_CFLAGS"; then
11983 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11984 elif test -n "$PKG_CONFIG"; then
11985 if test -n "$PKG_CONFIG" && \
11986 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11987 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; then
11991 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11998 if test -n "$CPG_LIBS"; then
11999 pkg_cv_CPG_LIBS="$CPG_LIBS"
12000 elif test -n "$PKG_CONFIG"; then
12001 if test -n "$PKG_CONFIG" && \
12002 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
12003 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
12005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; then
12007 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
12017 if test $pkg_failed = yes; then
12019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12020 _pkg_short_errors_supported=yes
12022 _pkg_short_errors_supported=no
12024 if test $_pkg_short_errors_supported = yes; then
12025 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
12027 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
12029 # Put the nasty error message in config.log where it belongs
12030 echo "$CPG_PKG_ERRORS" >&5
12032 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
12036 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12037 installed software in a non-standard prefix.
12039 Alternatively, you may set the environment variables CPG_CFLAGS
12040 and CPG_LIBS to avoid the need to call pkg-config.
12041 See the pkg-config man page for more details.
12043 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
12047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12048 installed software in a non-standard prefix.
12050 Alternatively, you may set the environment variables CPG_CFLAGS
12051 and CPG_LIBS to avoid the need to call pkg-config.
12052 See the pkg-config man page for more details.
12054 { (exit 1); exit 1; }; }
12055 elif test $pkg_failed = untried; then
12056 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12058 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12059 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12060 path to pkg-config.
12062 Alternatively
, you may
set the environment variables CPG_CFLAGS
12063 and CPG_LIBS to avoid the need to call pkg-config.
12064 See the pkg-config man page
for more details.
12066 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12067 See \
`config.log' for more details." >&5
12068 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12069 is in your PATH or set the PKG_CONFIG environment variable to the full
12070 path to pkg-config.
12072 Alternatively, you may set the environment variables CPG_CFLAGS
12073 and CPG_LIBS to avoid the need to call pkg-config.
12074 See the pkg-config man page for more details.
12076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12077 See \`config.log
' for more details." >&2;}
12078 { (exit 1); exit 1; }; }; }
12080 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12081 CPG_LIBS=$pkg_cv_CPG_LIBS
12082 { $as_echo "$as_me:$LINENO: result: yes" >&5
12083 $as_echo "yes" >&6; }
12089 ################################################################################
12090 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12091 $as_echo_n "checking whether to enable debugging... " >&6; }
12092 # Check whether --enable-debug was given.
12093 if test "${enable_debug+set}" = set; then
12094 enableval=$enable_debug; DEBUG=$enableval
12099 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12100 $as_echo "$DEBUG" >&6; }
12102 if test x$DEBUG = xyes; then
12108 ################################################################################
12109 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12110 $as_echo_n "checking for C optimisation flag... " >&6; }
12112 # Check whether --with-optimisation was given.
12113 if test "${with_optimisation+set}" = set; then
12114 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12117 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12118 $as_echo "$COPTIMISE_FLAG" >&6; }
12120 ################################################################################
12121 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12122 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12123 # Check whether --enable-profiling was given.
12124 if test "${enable_profiling+set}" = set; then
12125 enableval=$enable_profiling; PROFILING=$enableval
12130 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12131 $as_echo "$PROFILING" >&6; }
12133 if test "x$PROFILING" = xyes; then
12134 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12135 # Extract the first word of "lcov", so it can be a program name with args.
12136 set dummy lcov; ac_word=$2
12137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 $as_echo_n "checking for $ac_word... " >&6; }
12139 if test "${ac_cv_path_LCOV+set}" = set; then
12140 $as_echo_n "(cached) " >&6
12144 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12154 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 LCOV=$ac_cv_path_LCOV
12166 if test -n "$LCOV"; then
12167 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12168 $as_echo "$LCOV" >&6; }
12170 { $as_echo "$as_me:$LINENO: result: no" >&5
12171 $as_echo "no" >&6; }
12175 # Extract the first word of "genhtml", so it can be a program name with args.
12176 set dummy genhtml; ac_word=$2
12177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12178 $as_echo_n "checking for $ac_word... " >&6; }
12179 if test "${ac_cv_path_GENHTML+set}" = set; then
12180 $as_echo_n "(cached) " >&6
12184 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12194 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12205 GENHTML=$ac_cv_path_GENHTML
12206 if test -n "$GENHTML"; then
12207 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12208 $as_echo "$GENHTML" >&6; }
12210 { $as_echo "$as_me:$LINENO: result: no" >&5
12211 $as_echo "no" >&6; }
12215 if test -z "$LCOV" -o -z "$GENHTML"; then
12216 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12217 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12218 { (exit 1); exit 1; }; }
12220 # Extract the first word of "genpng", so it can be a program name with args.
12221 set dummy genpng; ac_word=$2
12222 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12223 $as_echo_n "checking for $ac_word... " >&6; }
12224 if test "${ac_cv_path_GENPNG+set}" = set; then
12225 $as_echo_n "(cached) " >&6
12229 ac_cv_path_GENPNG="$GENPNG" # Let the user override the test with a path.
12232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12233 for as_dir in $PATH
12236 test -z "$as_dir" && as_dir=.
12237 for ac_exec_ext in '' $ac_executable_extensions; do
12238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12239 ac_cv_path_GENPNG="$as_dir/$ac_word$ac_exec_ext"
12240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12250 GENPNG=$ac_cv_path_GENPNG
12251 if test -n "$GENPNG"; then
12252 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
12253 $as_echo "$GENPNG" >&6; }
12255 { $as_echo "$as_me:$LINENO: result: no" >&5
12256 $as_echo "no" >&6; }
12260 if test -n "$GENPNG"; then
12261 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
12262 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
12263 if $GENPNG --help > /dev/null 2>&1 ; then
12264 { $as_echo "$as_me:$LINENO: result: ok" >&5
12265 $as_echo "ok" >&6; }
12266 GENHTML="$GENHTML --frames"
12268 { $as_echo "$as_me:$LINENO: result: not supported" >&5
12269 $as_echo "not supported" >&6; }
12270 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
12271 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
12277 ################################################################################
12278 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12279 $as_echo_n "checking whether to use device-mapper... " >&6; }
12280 # Check whether --enable-devmapper was given.
12281 if test "${enable_devmapper+set}" = set; then
12282 enableval=$enable_devmapper; DEVMAPPER=$enableval
12285 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12286 $as_echo "$DEVMAPPER" >&6; }
12288 if test x$DEVMAPPER = xyes; then
12290 cat >>confdefs.h <<\_ACEOF
12291 #define DEVMAPPER_SUPPORT 1
12296 ################################################################################
12297 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12298 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12299 # Check whether --enable-udev_sync was given.
12300 if test "${enable_udev_sync+set}" = set; then
12301 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12306 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12307 $as_echo "$UDEV_SYNC" >&6; }
12309 if test x$UDEV_SYNC = xyes; then
12310 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12311 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12312 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12313 $as_echo_n "(cached) " >&6
12315 ac_check_lib_save_LIBS=$LIBS
12316 LIBS="-ludev $LIBS"
12317 cat >conftest.$ac_ext <<_ACEOF
12320 cat confdefs.h >>conftest.$ac_ext
12321 cat >>conftest.$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12330 char udev_queue_get_udev_is_active ();
12334 return udev_queue_get_udev_is_active ();
12339 rm -f conftest.$ac_objext conftest$ac_exeext
12340 if { (ac_try="$ac_link"
12341 case "(($ac_try" in
12342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12343 *) ac_try_echo=$ac_try;;
12345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12346 $as_echo "$ac_try_echo") >&5
12347 (eval "$ac_link") 2>conftest.er1
12349 grep -v '^
*+' conftest.er1 >conftest.err
12351 cat conftest.err >&5
12352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } && {
12354 test -z "$ac_c_werror_flag" ||
12355 test ! -s conftest.err
12356 } && test -s conftest$ac_exeext && {
12357 test "$cross_compiling" = yes ||
12358 $as_test_x conftest$ac_exeext
12360 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12362 $as_echo "$as_me: failed program was:" >&5
12363 sed 's
/^
/|
/' conftest.$ac_ext >&5
12365 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12368 rm -rf conftest.dSYM
12369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12370 conftest$ac_exeext conftest.$ac_ext
12371 LIBS=$ac_check_lib_save_LIBS
12373 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12374 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12375 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12376 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
12378 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
12379 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
12380 { (exit 1); exit 1; }; }
12384 cat >>confdefs.h <<\_ACEOF
12385 #define UDEV_SYNC_SUPPORT 1
12390 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12391 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12392 # Check whether --enable-udev_rules was given.
12393 if test "${enable_udev_rules+set}" = set; then
12394 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12396 UDEV_RULES=$UDEV_SYNC
12399 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12400 $as_echo "$UDEV_RULES" >&6; }
12402 ################################################################################
12403 # Check whether --enable-compat was given.
12404 if test "${enable_compat+set}" = set; then
12405 enableval=$enable_compat; DM_COMPAT=$enableval
12411 ################################################################################
12412 # Check whether --enable-units-compat was given.
12413 if test "${enable_units_compat+set}" = set; then
12414 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12420 if test x$UNITS_COMPAT = xyes; then
12422 cat >>confdefs.h <<\_ACEOF
12423 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12428 ################################################################################
12429 # Check whether --enable-ioctl was given.
12430 if test "${enable_ioctl+set}" = set; then
12431 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12435 ################################################################################
12436 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12437 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12438 # Check whether --enable-o_direct was given.
12439 if test "${enable_o_direct+set}" = set; then
12440 enableval=$enable_o_direct; ODIRECT=$enableval
12443 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12444 $as_echo "$ODIRECT" >&6; }
12446 if test x$ODIRECT = xyes; then
12448 cat >>confdefs.h <<\_ACEOF
12449 #define O_DIRECT_SUPPORT 1
12454 ################################################################################
12455 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12456 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12457 # Check whether --enable-applib was given.
12458 if test "${enable_applib+set}" = set; then
12459 enableval=$enable_applib; APPLIB=$enableval
12464 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12465 $as_echo "$APPLIB" >&6; }
12467 test x$APPLIB = xyes \
12468 && LVM2APP_LIB=-llvm2app \
12471 ################################################################################
12472 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12473 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12474 # Check whether --enable-cmdlib was given.
12475 if test "${enable_cmdlib+set}" = set; then
12476 enableval=$enable_cmdlib; CMDLIB=$enableval
12481 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12482 $as_echo "$CMDLIB" >&6; }
12484 test x$CMDLIB = xyes \
12485 && LVM2CMD_LIB=-llvm2cmd \
12488 ################################################################################
12489 # Check whether --enable-pkgconfig was given.
12490 if test "${enable_pkgconfig+set}" = set; then
12491 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12497 ################################################################################
12498 # Check whether --enable-write_install was given.
12499 if test "${enable_write_install+set}" = set; then
12500 enableval=$enable_write_install; WRITE_INSTALL=$enableval
12506 ################################################################################
12507 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12508 $as_echo_n "checking whether to install fsadm... " >&6; }
12509 # Check whether --enable-fsadm was given.
12510 if test "${enable_fsadm+set}" = set; then
12511 enableval=$enable_fsadm; FSADM=$enableval
12514 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12515 $as_echo "$FSADM" >&6; }
12517 ################################################################################
12518 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12519 $as_echo_n "checking whether to use dmeventd... " >&6; }
12520 # Check whether --enable-dmeventd was given.
12521 if test "${enable_dmeventd+set}" = set; then
12522 enableval=$enable_dmeventd; DMEVENTD=$enableval
12525 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12526 $as_echo "$DMEVENTD" >&6; }
12528 BUILD_DMEVENTD=$DMEVENTD
12530 if test x$DMEVENTD = xyes; then
12531 if test x$MIRRORS != xinternal; then
12532 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12534 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12536 { (exit 1); exit 1; }; }
12538 if test x$CMDLIB = xno; then
12539 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12541 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12543 { (exit 1); exit 1; }; }
12547 if test x$DMEVENTD = xyes; then
12549 cat >>confdefs.h <<\_ACEOF
12555 ################################################################################
12557 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12558 $as_echo_n "checking for getline in -lc... " >&6; }
12559 if test "${ac_cv_lib_c_getline+set}" = set; then
12560 $as_echo_n "(cached) " >&6
12562 ac_check_lib_save_LIBS=$LIBS
12564 cat >conftest.$ac_ext <<_ACEOF
12567 cat confdefs.h >>conftest.$ac_ext
12568 cat >>conftest.$ac_ext <<_ACEOF
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12586 rm -f conftest.$ac_objext conftest$ac_exeext
12587 if { (ac_try="$ac_link"
12588 case "(($ac_try" in
12589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12593 $as_echo "$ac_try_echo") >&5
12594 (eval "$ac_link") 2>conftest.er1
12596 grep -v '^
*+' conftest.er1 >conftest.err
12598 cat conftest.err >&5
12599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); } && {
12601 test -z "$ac_c_werror_flag" ||
12602 test ! -s conftest.err
12603 } && test -s conftest$ac_exeext && {
12604 test "$cross_compiling" = yes ||
12605 $as_test_x conftest$ac_exeext
12607 ac_cv_lib_c_getline=yes
12609 $as_echo "$as_me: failed program was:" >&5
12610 sed 's
/^
/|
/' conftest.$ac_ext >&5
12612 ac_cv_lib_c_getline=no
12615 rm -rf conftest.dSYM
12616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12621 $as_echo "$ac_cv_lib_c_getline" >&6; }
12622 if test "x$ac_cv_lib_c_getline" = x""yes; then
12624 cat >>confdefs.h <<\_ACEOF
12625 #define HAVE_GETLINE 1
12631 ################################################################################
12633 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12634 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12635 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12636 $as_echo_n "(cached) " >&6
12638 ac_check_lib_save_LIBS=$LIBS
12640 cat >conftest.$ac_ext <<_ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12653 char canonicalize_file_name ();
12657 return canonicalize_file_name ();
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12669 $as_echo "$ac_try_echo") >&5
12670 (eval "$ac_link") 2>conftest.er1
12672 grep -v '^
*+' conftest.er1 >conftest.err
12674 cat conftest.err >&5
12675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); } && {
12677 test -z "$ac_c_werror_flag" ||
12678 test ! -s conftest.err
12679 } && test -s conftest$ac_exeext && {
12680 test "$cross_compiling" = yes ||
12681 $as_test_x conftest$ac_exeext
12683 ac_cv_lib_c_canonicalize_file_name=yes
12685 $as_echo "$as_me: failed program was:" >&5
12686 sed 's
/^
/|
/' conftest.$ac_ext >&5
12688 ac_cv_lib_c_canonicalize_file_name=no
12691 rm -rf conftest.dSYM
12692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_lib_save_LIBS
12696 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12697 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12698 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12700 cat >>confdefs.h <<\_ACEOF
12701 #define HAVE_CANONICALIZE_FILE_NAME 1
12707 ################################################################################
12708 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12709 then exec_prefix="";
12712 ################################################################################
12713 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12714 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12715 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS=$LIBS
12720 cat >conftest.$ac_ext <<_ACEOF
12723 cat confdefs.h >>conftest.$ac_ext
12724 cat >>conftest.$ac_ext <<_ACEOF
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12742 rm -f conftest.$ac_objext conftest$ac_exeext
12743 if { (ac_try="$ac_link"
12744 case "(($ac_try" in
12745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12746 *) ac_try_echo=$ac_try;;
12748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12749 $as_echo "$ac_try_echo") >&5
12750 (eval "$ac_link") 2>conftest.er1
12752 grep -v '^
*+' conftest.er1 >conftest.err
12754 cat conftest.err >&5
12755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } && {
12757 test -z "$ac_c_werror_flag" ||
12758 test ! -s conftest.err
12759 } && test -s conftest$ac_exeext && {
12760 test "$cross_compiling" = yes ||
12761 $as_test_x conftest$ac_exeext
12763 ac_cv_lib_dl_dlopen=yes
12765 $as_echo "$as_me: failed program was:" >&5
12766 sed 's
/^
/|
/' conftest.$ac_ext >&5
12768 ac_cv_lib_dl_dlopen=no
12771 rm -rf conftest.dSYM
12772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12778 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12781 cat >>confdefs.h <<\_ACEOF
12782 #define HAVE_LIBDL 1
12794 ################################################################################
12795 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12796 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12797 \) -a "x$STATIC_LINK" = xyes ];
12798 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12800 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12802 { (exit 1); exit 1; }; }
12805 ################################################################################
12806 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12807 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12808 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12809 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12810 $as_echo_n "(cached) " >&6
12812 ac_check_lib_save_LIBS=$LIBS
12813 LIBS="-lpthread $LIBS"
12814 cat >conftest.$ac_ext <<_ACEOF
12817 cat confdefs.h >>conftest.$ac_ext
12818 cat >>conftest.$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12827 char pthread_mutex_lock ();
12831 return pthread_mutex_lock ();
12836 rm -f conftest.$ac_objext conftest$ac_exeext
12837 if { (ac_try="$ac_link"
12838 case "(($ac_try" in
12839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12840 *) ac_try_echo=$ac_try;;
12842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12843 $as_echo "$ac_try_echo") >&5
12844 (eval "$ac_link") 2>conftest.er1
12846 grep -v '^
*+' conftest.er1 >conftest.err
12848 cat conftest.err >&5
12849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } && {
12851 test -z "$ac_c_werror_flag" ||
12852 test ! -s conftest.err
12853 } && test -s conftest$ac_exeext && {
12854 test "$cross_compiling" = yes ||
12855 $as_test_x conftest$ac_exeext
12857 ac_cv_lib_pthread_pthread_mutex_lock=yes
12859 $as_echo "$as_me: failed program was:" >&5
12860 sed 's
/^
/|
/' conftest.$ac_ext >&5
12862 ac_cv_lib_pthread_pthread_mutex_lock=no
12865 rm -rf conftest.dSYM
12866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_lib_save_LIBS
12870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12871 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12872 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12873 PTHREAD_LIBS="-lpthread"
12880 ################################################################################
12881 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12882 $as_echo_n "checking whether to enable selinux support... " >&6; }
12883 # Check whether --enable-selinux was given.
12884 if test "${enable_selinux+set}" = set; then
12885 enableval=$enable_selinux; SELINUX=$enableval
12888 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12889 $as_echo "$SELINUX" >&6; }
12891 ################################################################################
12892 if test x$SELINUX = xyes; then
12893 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12894 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12895 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12896 $as_echo_n "(cached) " >&6
12898 ac_check_lib_save_LIBS=$LIBS
12899 LIBS="-lsepol $LIBS"
12900 cat >conftest.$ac_ext <<_ACEOF
12903 cat confdefs.h >>conftest.$ac_ext
12904 cat >>conftest.$ac_ext <<_ACEOF
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12913 char sepol_check_context ();
12917 return sepol_check_context ();
12922 rm -f conftest.$ac_objext conftest$ac_exeext
12923 if { (ac_try="$ac_link"
12924 case "(($ac_try" in
12925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12926 *) ac_try_echo=$ac_try;;
12928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12929 $as_echo "$ac_try_echo") >&5
12930 (eval "$ac_link") 2>conftest.er1
12932 grep -v '^
*+' conftest.er1 >conftest.err
12934 cat conftest.err >&5
12935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); } && {
12937 test -z "$ac_c_werror_flag" ||
12938 test ! -s conftest.err
12939 } && test -s conftest$ac_exeext && {
12940 test "$cross_compiling" = yes ||
12941 $as_test_x conftest$ac_exeext
12943 ac_cv_lib_sepol_sepol_check_context=yes
12945 $as_echo "$as_me: failed program was:" >&5
12946 sed 's
/^
/|
/' conftest.$ac_ext >&5
12948 ac_cv_lib_sepol_sepol_check_context=no
12951 rm -rf conftest.dSYM
12952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12953 conftest$ac_exeext conftest.$ac_ext
12954 LIBS=$ac_check_lib_save_LIBS
12956 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12957 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12958 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12961 cat >>confdefs.h <<\_ACEOF
12962 #define HAVE_SEPOL 1
12965 SELINUX_LIBS="-lsepol"
12969 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12970 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12971 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12972 $as_echo_n "(cached) " >&6
12974 ac_check_lib_save_LIBS=$LIBS
12975 LIBS="-lselinux $LIBS"
12976 cat >conftest.$ac_ext <<_ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12989 char is_selinux_enabled ();
12993 return is_selinux_enabled ();
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (ac_try="$ac_link"
13000 case "(($ac_try" in
13001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13002 *) ac_try_echo=$ac_try;;
13004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13005 $as_echo "$ac_try_echo") >&5
13006 (eval "$ac_link") 2>conftest.er1
13008 grep -v '^
*+' conftest.er1 >conftest.err
13010 cat conftest.err >&5
13011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } && {
13013 test -z "$ac_c_werror_flag" ||
13014 test ! -s conftest.err
13015 } && test -s conftest$ac_exeext && {
13016 test "$cross_compiling" = yes ||
13017 $as_test_x conftest$ac_exeext
13019 ac_cv_lib_selinux_is_selinux_enabled=yes
13021 $as_echo "$as_me: failed program was:" >&5
13022 sed 's
/^
/|
/' conftest.$ac_ext >&5
13024 ac_cv_lib_selinux_is_selinux_enabled=no
13027 rm -rf conftest.dSYM
13028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13029 conftest$ac_exeext conftest.$ac_ext
13030 LIBS=$ac_check_lib_save_LIBS
13032 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
13033 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
13034 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
13037 for ac_header in selinux/selinux.h
13039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13041 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13042 $as_echo_n "checking for $ac_header... " >&6; }
13043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13044 $as_echo_n "(cached) " >&6
13046 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13047 $as_echo "$as_val"'`
13048 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13049 $as_echo "$ac_res" >&6; }
13051 # Is the header compilable?
13052 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13053 $as_echo_n "checking $ac_header usability... " >&6; }
13054 cat >conftest.$ac_ext <<_ACEOF
13057 cat confdefs.h >>conftest.$ac_ext
13058 cat >>conftest.$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 $ac_includes_default
13061 #include <$ac_header>
13063 rm -f conftest.$ac_objext
13064 if { (ac_try="$ac_compile"
13065 case "(($ac_try" in
13066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13067 *) ac_try_echo=$ac_try;;
13069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13070 $as_echo "$ac_try_echo") >&5
13071 (eval "$ac_compile") 2>conftest.er1
13073 grep -v '^
*+' conftest.er1 >conftest.err
13075 cat conftest.err >&5
13076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } && {
13078 test -z "$ac_c_werror_flag" ||
13079 test ! -s conftest.err
13080 } && test -s conftest.$ac_objext; then
13081 ac_header_compiler=yes
13083 $as_echo "$as_me: failed program was:" >&5
13084 sed 's
/^
/|
/' conftest.$ac_ext >&5
13086 ac_header_compiler=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13090 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13091 $as_echo "$ac_header_compiler" >&6; }
13093 # Is the header present?
13094 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13095 $as_echo_n "checking $ac_header presence... " >&6; }
13096 cat >conftest.$ac_ext <<_ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 #include <$ac_header>
13104 if { (ac_try="$ac_cpp conftest.$ac_ext"
13105 case "(($ac_try" in
13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13110 $as_echo "$ac_try_echo") >&5
13111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13113 grep -v '^
*+' conftest.er1 >conftest.err
13115 cat conftest.err >&5
13116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } >/dev/null && {
13118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13119 test ! -s conftest.err
13121 ac_header_preproc=yes
13123 $as_echo "$as_me: failed program was:" >&5
13124 sed 's
/^
/|
/' conftest.$ac_ext >&5
13126 ac_header_preproc=no
13129 rm -f conftest.err conftest.$ac_ext
13130 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13131 $as_echo "$ac_header_preproc" >&6; }
13133 # So? What about this header?
13134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13137 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13139 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13140 ac_header_preproc=yes
13143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13144 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13146 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13148 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13150 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13152 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13154 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13158 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13159 $as_echo_n "checking for $ac_header... " >&6; }
13160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13161 $as_echo_n "(cached) " >&6
13163 eval "$as_ac_Header=\$ac_header_preproc"
13165 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13166 $as_echo "$as_val"'`
13167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13168 $as_echo "$ac_res" >&6; }
13171 as_val=`eval 'as_val
=${'$as_ac_Header'}
13172 $as_echo "$as_val"'`
13173 if test "x$as_val" = x""yes; then
13174 cat >>confdefs.h <<_ACEOF
13175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13185 cat >>confdefs.h <<\_ACEOF
13186 #define HAVE_SELINUX 1
13189 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
13190 SELINUX_PC="libselinux"
13194 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13195 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13203 ################################################################################
13204 if test x$REALTIME = xyes; then
13205 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13206 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13207 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13208 $as_echo_n "(cached) " >&6
13210 ac_check_lib_save_LIBS=$LIBS
13212 cat >conftest.$ac_ext <<_ACEOF
13215 cat confdefs.h >>conftest.$ac_ext
13216 cat >>conftest.$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13225 char clock_gettime ();
13229 return clock_gettime ();
13234 rm -f conftest.$ac_objext conftest$ac_exeext
13235 if { (ac_try="$ac_link"
13236 case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13241 $as_echo "$ac_try_echo") >&5
13242 (eval "$ac_link") 2>conftest.er1
13244 grep -v '^
*+' conftest.er1 >conftest.err
13246 cat conftest.err >&5
13247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } && {
13249 test -z "$ac_c_werror_flag" ||
13250 test ! -s conftest.err
13251 } && test -s conftest$ac_exeext && {
13252 test "$cross_compiling" = yes ||
13253 $as_test_x conftest$ac_exeext
13255 ac_cv_lib_rt_clock_gettime=yes
13257 $as_echo "$as_me: failed program was:" >&5
13258 sed 's
/^
/|
/' conftest.$ac_ext >&5
13260 ac_cv_lib_rt_clock_gettime=no
13263 rm -rf conftest.dSYM
13264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_lib_save_LIBS
13268 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13269 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13270 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13277 if test x$HAVE_REALTIME = xyes; then
13279 cat >>confdefs.h <<\_ACEOF
13280 #define HAVE_REALTIME 1
13285 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13286 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13290 ################################################################################
13292 for ac_header in getopt.h
13294 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13296 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13297 $as_echo_n "checking for $ac_header... " >&6; }
13298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13299 $as_echo_n "(cached) " >&6
13301 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13302 $as_echo "$as_val"'`
13303 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13304 $as_echo "$ac_res" >&6; }
13306 # Is the header compilable?
13307 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13308 $as_echo_n "checking $ac_header usability... " >&6; }
13309 cat >conftest.$ac_ext <<_ACEOF
13312 cat confdefs.h >>conftest.$ac_ext
13313 cat >>conftest.$ac_ext <<_ACEOF
13314 /* end confdefs.h. */
13315 $ac_includes_default
13316 #include <$ac_header>
13318 rm -f conftest.$ac_objext
13319 if { (ac_try="$ac_compile"
13320 case "(($ac_try" in
13321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13325 $as_echo "$ac_try_echo") >&5
13326 (eval "$ac_compile") 2>conftest.er1
13328 grep -v '^
*+' conftest.er1 >conftest.err
13330 cat conftest.err >&5
13331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); } && {
13333 test -z "$ac_c_werror_flag" ||
13334 test ! -s conftest.err
13335 } && test -s conftest.$ac_objext; then
13336 ac_header_compiler=yes
13338 $as_echo "$as_me: failed program was:" >&5
13339 sed 's
/^
/|
/' conftest.$ac_ext >&5
13341 ac_header_compiler=no
13344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13345 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13346 $as_echo "$ac_header_compiler" >&6; }
13348 # Is the header present?
13349 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13350 $as_echo_n "checking $ac_header presence... " >&6; }
13351 cat >conftest.$ac_ext <<_ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 #include <$ac_header>
13359 if { (ac_try="$ac_cpp conftest.$ac_ext"
13360 case "(($ac_try" in
13361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13362 *) ac_try_echo=$ac_try;;
13364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13365 $as_echo "$ac_try_echo") >&5
13366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13368 grep -v '^
*+' conftest.er1 >conftest.err
13370 cat conftest.err >&5
13371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } >/dev/null && {
13373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13374 test ! -s conftest.err
13376 ac_header_preproc=yes
13378 $as_echo "$as_me: failed program was:" >&5
13379 sed 's
/^
/|
/' conftest.$ac_ext >&5
13381 ac_header_preproc=no
13384 rm -f conftest.err conftest.$ac_ext
13385 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13386 $as_echo "$ac_header_preproc" >&6; }
13388 # So? What about this header?
13389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13392 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13394 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13395 ac_header_preproc=yes
13398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13399 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13401 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13403 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13405 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13407 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13409 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13413 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13414 $as_echo_n "checking for $ac_header... " >&6; }
13415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13416 $as_echo_n "(cached) " >&6
13418 eval "$as_ac_Header=\$ac_header_preproc"
13420 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13421 $as_echo "$as_val"'`
13422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13423 $as_echo "$ac_res" >&6; }
13426 as_val=`eval 'as_val
=${'$as_ac_Header'}
13427 $as_echo "$as_val"'`
13428 if test "x$as_val" = x""yes; then
13429 cat >>confdefs.h <<_ACEOF
13430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433 cat >>confdefs.h <<\_ACEOF
13434 #define HAVE_GETOPTLONG 1
13442 ################################################################################
13443 if test x$READLINE != xno; then
13444 lvm_saved_libs=$LIBS
13445 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13446 $as_echo_n "checking for library containing tgetent... " >&6; }
13447 if test "${ac_cv_search_tgetent+set}" = set; then
13448 $as_echo_n "(cached) " >&6
13450 ac_func_search_save_LIBS=$LIBS
13451 cat >conftest.$ac_ext <<_ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13473 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13474 if test -z "$ac_lib"; then
13475 ac_res="none required"
13478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13480 rm -f conftest.$ac_objext conftest$ac_exeext
13481 if { (ac_try="$ac_link"
13482 case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13487 $as_echo "$ac_try_echo") >&5
13488 (eval "$ac_link") 2>conftest.er1
13490 grep -v '^
*+' conftest.er1 >conftest.err
13492 cat conftest.err >&5
13493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } && {
13495 test -z "$ac_c_werror_flag" ||
13496 test ! -s conftest.err
13497 } && test -s conftest$ac_exeext && {
13498 test "$cross_compiling" = yes ||
13499 $as_test_x conftest$ac_exeext
13501 ac_cv_search_tgetent=$ac_res
13503 $as_echo "$as_me: failed program was:" >&5
13504 sed 's
/^
/|
/' conftest.$ac_ext >&5
13509 rm -rf conftest.dSYM
13510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13512 if test "${ac_cv_search_tgetent+set}" = set; then
13516 if test "${ac_cv_search_tgetent+set}" = set; then
13519 ac_cv_search_tgetent=no
13521 rm conftest.$ac_ext
13522 LIBS=$ac_func_search_save_LIBS
13524 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13525 $as_echo "$ac_cv_search_tgetent" >&6; }
13526 ac_res=$ac_cv_search_tgetent
13527 if test "$ac_res" != no; then
13528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13529 READLINE_LIBS=$ac_cv_search_tgetent
13532 if test "$READLINE" = yes; then
13533 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13534 --enable-readline option (which is enabled by default). Either disable readline
13535 support with --disable-readline or download and install termcap from:
13536 ftp.gnu.org/gnu/termcap
13537 Note: if you are using precompiled packages you will also need the development
13538 package as well (which may be called termcap-devel or something similar).
13539 Note: (n)curses also seems to work as a substitute for termcap. This was
13540 not found either - but you could try installing that as well." >&5
13541 $as_echo "$as_me: error: termcap could not be found which is required for the
13542 --enable-readline option (which is enabled by default). Either disable readline
13543 support with --disable-readline or download and install termcap from:
13544 ftp.gnu.org/gnu/termcap
13545 Note: if you are using precompiled packages you will also need the development
13546 package as well (which may be called termcap-devel or something similar).
13547 Note: (n)curses also seems to work as a substitute for termcap. This was
13548 not found either - but you could try installing that as well." >&2;}
13549 { (exit 1); exit 1; }; }
13553 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13554 $as_echo_n "checking for readline in -lreadline... " >&6; }
13555 if test "${ac_cv_lib_readline_readline+set}" = set; then
13556 $as_echo_n "(cached) " >&6
13558 ac_check_lib_save_LIBS=$LIBS
13559 LIBS="-lreadline $LIBS"
13560 cat >conftest.$ac_ext <<_ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13567 /* Override any GCC internal prototype to avoid an error.
13568 Use char because int might match the return type of a GCC
13569 builtin and then its argument prototype would still apply. */
13577 return readline ();
13582 rm -f conftest.$ac_objext conftest$ac_exeext
13583 if { (ac_try="$ac_link"
13584 case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13589 $as_echo "$ac_try_echo") >&5
13590 (eval "$ac_link") 2>conftest.er1
13592 grep -v '^
*+' conftest.er1 >conftest.err
13594 cat conftest.err >&5
13595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } && {
13597 test -z "$ac_c_werror_flag" ||
13598 test ! -s conftest.err
13599 } && test -s conftest$ac_exeext && {
13600 test "$cross_compiling" = yes ||
13601 $as_test_x conftest$ac_exeext
13603 ac_cv_lib_readline_readline=yes
13605 $as_echo "$as_me: failed program was:" >&5
13606 sed 's
/^
/|
/' conftest.$ac_ext >&5
13608 ac_cv_lib_readline_readline=no
13611 rm -rf conftest.dSYM
13612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13613 conftest$ac_exeext conftest.$ac_ext
13614 LIBS=$ac_check_lib_save_LIBS
13616 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13617 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13618 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13621 cat >>confdefs.h <<\_ACEOF
13622 #define READLINE_SUPPORT 1
13625 LIBS=$lvm_saved_libs
13626 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13627 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13628 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13629 $as_echo_n "(cached) " >&6
13631 ac_check_lib_save_LIBS=$LIBS
13632 LIBS="-lreadline $LIBS"
13633 cat >conftest.$ac_ext <<_ACEOF
13636 cat confdefs.h >>conftest.$ac_ext
13637 cat >>conftest.$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13646 char rl_line_buffer ();
13650 return rl_line_buffer ();
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (ac_try="$ac_link"
13657 case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13662 $as_echo "$ac_try_echo") >&5
13663 (eval "$ac_link") 2>conftest.er1
13665 grep -v '^
*+' conftest.er1 >conftest.err
13667 cat conftest.err >&5
13668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } && {
13670 test -z "$ac_c_werror_flag" ||
13671 test ! -s conftest.err
13672 } && test -s conftest$ac_exeext && {
13673 test "$cross_compiling" = yes ||
13674 $as_test_x conftest$ac_exeext
13676 ac_cv_lib_readline_rl_line_buffer=yes
13678 $as_echo "$as_me: failed program was:" >&5
13679 sed 's
/^
/|
/' conftest.$ac_ext >&5
13681 ac_cv_lib_readline_rl_line_buffer=no
13684 rm -rf conftest.dSYM
13685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_lib_save_LIBS
13689 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13690 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13691 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13692 READLINE_LIBS="-lreadline"
13695 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13696 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13697 READLINE_LIBS="-lreadline $READLINE_LIBS"
13704 if test "$READLINE" = yes; then
13705 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13706 --enable-readline option (which is enabled by default). Either disable readline
13707 support with --disable-readline or download and install readline from:
13708 ftp.gnu.org/gnu/readline
13709 Note: if you are using precompiled packages you will also need the development
13710 package as well (which may be called readline-devel or something similar)." >&5
13711 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13712 --enable-readline option (which is enabled by default). Either disable readline
13713 support with --disable-readline or download and install readline from:
13714 ftp.gnu.org/gnu/readline
13715 Note: if you are using precompiled packages you will also need the development
13716 package as well (which may be called readline-devel or something similar)." >&2;}
13717 { (exit 1); exit 1; }; }
13721 LIBS="$READLINE_LIBS $lvm_saved_libs"
13723 for ac_func in rl_completion_matches
13725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13726 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13727 $as_echo_n "checking for $ac_func... " >&6; }
13728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13729 $as_echo_n "(cached) " >&6
13731 cat >conftest.$ac_ext <<_ACEOF
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13739 #define $ac_func innocuous_$ac_func
13741 /* System header to define __stub macros and hopefully few prototypes,
13742 which can conflict with char $ac_func (); below.
13743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13744 <limits.h> exists even on freestanding compilers. */
13747 # include <limits.h>
13749 # include <assert.h>
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13761 /* The GNU C library defines this for functions which it implements
13762 to always fail with ENOSYS. Some functions are actually named
13763 something starting with __ and the normal name is an alias. */
13764 #if defined __stub_$ac_func || defined __stub___$ac_func
13771 return $ac_func ();
13776 rm -f conftest.$ac_objext conftest$ac_exeext
13777 if { (ac_try="$ac_link"
13778 case "(($ac_try" in
13779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13780 *) ac_try_echo=$ac_try;;
13782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13783 $as_echo "$ac_try_echo") >&5
13784 (eval "$ac_link") 2>conftest.er1
13786 grep -v '^
*+' conftest.er1 >conftest.err
13788 cat conftest.err >&5
13789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest$ac_exeext && {
13794 test "$cross_compiling" = yes ||
13795 $as_test_x conftest$ac_exeext
13797 eval "$as_ac_var=yes"
13799 $as_echo "$as_me: failed program was:" >&5
13800 sed 's
/^
/|
/' conftest.$ac_ext >&5
13802 eval "$as_ac_var=no"
13805 rm -rf conftest.dSYM
13806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13807 conftest$ac_exeext conftest.$ac_ext
13809 ac_res=`eval 'as_val
=${'$as_ac_var'}
13810 $as_echo "$as_val"'`
13811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13812 $as_echo "$ac_res" >&6; }
13813 as_val=`eval 'as_val
=${'$as_ac_var'}
13814 $as_echo "$as_val"'`
13815 if test "x$as_val" = x""yes; then
13816 cat >>confdefs.h <<_ACEOF
13817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13823 LIBS=$lvm_saved_libs
13826 ################################################################################
13827 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13828 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13829 # Check whether --enable-nls was given.
13830 if test "${enable_nls+set}" = set; then
13831 enableval=$enable_nls; INTL=$enableval
13836 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13837 $as_echo "$INTL" >&6; }
13839 if test x$INTL = xyes; then
13840 # FIXME - Move this - can be device-mapper too
13841 INTL_PACKAGE="lvm2"
13842 # Extract the first word of "msgfmt", so it can be a program name with args.
13843 set dummy msgfmt; ac_word=$2
13844 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13845 $as_echo_n "checking for $ac_word... " >&6; }
13846 if test "${ac_cv_path_MSGFMT+set}" = set; then
13847 $as_echo_n "(cached) " >&6
13851 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13855 for as_dir in $PATH
13858 test -z "$as_dir" && as_dir=.
13859 for ac_exec_ext in '' $ac_executable_extensions; do
13860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13861 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13862 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13872 MSGFMT=$ac_cv_path_MSGFMT
13873 if test -n "$MSGFMT"; then
13874 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13875 $as_echo "$MSGFMT" >&6; }
13877 { $as_echo "$as_me:$LINENO: result: no" >&5
13878 $as_echo "no" >&6; }
13882 if [ "x$MSGFMT" == x ];
13883 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13885 $as_echo "$as_me: error: msgfmt not found in path $PATH
13887 { (exit 1); exit 1; }; }
13891 # Check whether --with-localedir was given.
13892 if test "${with_localedir+set}" = set; then
13893 withval=$with_localedir; LOCALEDIR="$withval"
13895 LOCALEDIR='${prefix}/share
/locale
'
13900 ################################################################################
13902 # Check whether --with-confdir was given.
13903 if test "${with_confdir+set}" = set; then
13904 withval=$with_confdir; CONFDIR="$withval"
13911 # Check whether --with-staticdir was given.
13912 if test "${with_staticdir+set}" = set; then
13913 withval=$with_staticdir; STATICDIR="$withval"
13915 STATICDIR='${exec_prefix}/sbin
'
13920 # Check whether --with-usrlibdir was given.
13921 if test "${with_usrlibdir+set}" = set; then
13922 withval=$with_usrlibdir; usrlibdir="$withval"
13924 usrlibdir='${prefix}/lib
'
13929 # Check whether --with-usrsbindir was given.
13930 if test "${with_usrsbindir+set}" = set; then
13931 withval=$with_usrsbindir; usrsbindir="$withval"
13933 usrsbindir='${prefix}/sbin
'
13937 ################################################################################
13939 # Check whether --with-udev_prefix was given.
13940 if test "${with_udev_prefix+set}" = set; then
13941 withval=$with_udev_prefix; udev_prefix="$withval"
13943 udev_prefix='${exec_prefix}'
13948 # Check whether --with-udevdir was given.
13949 if test "${with_udevdir+set}" = set; then
13950 withval=$with_udevdir; udevdir="$withval"
13952 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13956 ################################################################################
13957 if test x$READLINE = xyes; then
13960 for ac_header in readline/readline.h readline/history.h
13962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13965 $as_echo_n "checking for $ac_header... " >&6; }
13966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13967 $as_echo_n "(cached) " >&6
13969 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13970 $as_echo "$as_val"'`
13971 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13972 $as_echo "$ac_res" >&6; }
13974 # Is the header compilable?
13975 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13976 $as_echo_n "checking $ac_header usability... " >&6; }
13977 cat >conftest.$ac_ext <<_ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 $ac_includes_default
13984 #include <$ac_header>
13986 rm -f conftest.$ac_objext
13987 if { (ac_try="$ac_compile"
13988 case "(($ac_try" in
13989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13990 *) ac_try_echo=$ac_try;;
13992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13993 $as_echo "$ac_try_echo") >&5
13994 (eval "$ac_compile") 2>conftest.er1
13996 grep -v '^
*+' conftest.er1 >conftest.err
13998 cat conftest.err >&5
13999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } && {
14001 test -z "$ac_c_werror_flag" ||
14002 test ! -s conftest.err
14003 } && test -s conftest.$ac_objext; then
14004 ac_header_compiler=yes
14006 $as_echo "$as_me: failed program was:" >&5
14007 sed 's
/^
/|
/' conftest.$ac_ext >&5
14009 ac_header_compiler=no
14012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14013 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14014 $as_echo "$ac_header_compiler" >&6; }
14016 # Is the header present?
14017 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14018 $as_echo_n "checking $ac_header presence... " >&6; }
14019 cat >conftest.$ac_ext <<_ACEOF
14022 cat confdefs.h >>conftest.$ac_ext
14023 cat >>conftest.$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025 #include <$ac_header>
14027 if { (ac_try="$ac_cpp conftest.$ac_ext"
14028 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14033 $as_echo "$ac_try_echo") >&5
14034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14036 grep -v '^
*+' conftest.er1 >conftest.err
14038 cat conftest.err >&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } >/dev/null && {
14041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14042 test ! -s conftest.err
14044 ac_header_preproc=yes
14046 $as_echo "$as_me: failed program was:" >&5
14047 sed 's
/^
/|
/' conftest.$ac_ext >&5
14049 ac_header_preproc=no
14052 rm -f conftest.err conftest.$ac_ext
14053 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14054 $as_echo "$ac_header_preproc" >&6; }
14056 # So? What about this header?
14057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14060 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14062 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14063 ac_header_preproc=yes
14066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14067 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14069 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14071 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14073 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14074 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14075 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14077 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14082 $as_echo_n "checking for $ac_header... " >&6; }
14083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14084 $as_echo_n "(cached) " >&6
14086 eval "$as_ac_Header=\$ac_header_preproc"
14088 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14089 $as_echo "$as_val"'`
14090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14091 $as_echo "$ac_res" >&6; }
14094 as_val=`eval 'as_val
=${'$as_ac_Header'}
14095 $as_echo "$as_val"'`
14096 if test "x$as_val" = x""yes; then
14097 cat >>confdefs.h <<_ACEOF
14098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14102 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14103 $as_echo "$as_me: error: bailing out" >&2;}
14104 { (exit 1); exit 1; }; }
14111 if test x$CLVMD != xnone; then
14122 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
14124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14126 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14127 $as_echo_n "checking for $ac_header... " >&6; }
14128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14129 $as_echo_n "(cached) " >&6
14131 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14132 $as_echo "$as_val"'`
14133 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14134 $as_echo "$ac_res" >&6; }
14136 # Is the header compilable?
14137 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14138 $as_echo_n "checking $ac_header usability... " >&6; }
14139 cat >conftest.$ac_ext <<_ACEOF
14142 cat confdefs.h >>conftest.$ac_ext
14143 cat >>conftest.$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 $ac_includes_default
14146 #include <$ac_header>
14148 rm -f conftest.$ac_objext
14149 if { (ac_try="$ac_compile"
14150 case "(($ac_try" in
14151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14152 *) ac_try_echo=$ac_try;;
14154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14155 $as_echo "$ac_try_echo") >&5
14156 (eval "$ac_compile") 2>conftest.er1
14158 grep -v '^
*+' conftest.er1 >conftest.err
14160 cat conftest.err >&5
14161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } && {
14163 test -z "$ac_c_werror_flag" ||
14164 test ! -s conftest.err
14165 } && test -s conftest.$ac_objext; then
14166 ac_header_compiler=yes
14168 $as_echo "$as_me: failed program was:" >&5
14169 sed 's
/^
/|
/' conftest.$ac_ext >&5
14171 ac_header_compiler=no
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14175 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14176 $as_echo "$ac_header_compiler" >&6; }
14178 # Is the header present?
14179 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14180 $as_echo_n "checking $ac_header presence... " >&6; }
14181 cat >conftest.$ac_ext <<_ACEOF
14184 cat confdefs.h >>conftest.$ac_ext
14185 cat >>conftest.$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14187 #include <$ac_header>
14189 if { (ac_try="$ac_cpp conftest.$ac_ext"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14195 $as_echo "$ac_try_echo") >&5
14196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14198 grep -v '^
*+' conftest.er1 >conftest.err
14200 cat conftest.err >&5
14201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } >/dev/null && {
14203 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14204 test ! -s conftest.err
14206 ac_header_preproc=yes
14208 $as_echo "$as_me: failed program was:" >&5
14209 sed 's
/^
/|
/' conftest.$ac_ext >&5
14211 ac_header_preproc=no
14214 rm -f conftest.err conftest.$ac_ext
14215 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14216 $as_echo "$ac_header_preproc" >&6; }
14218 # So? What about this header?
14219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14221 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14222 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14224 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14225 ac_header_preproc=yes
14228 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14229 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14230 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14231 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14232 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14233 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14235 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14237 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14239 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14243 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14244 $as_echo_n "checking for $ac_header... " >&6; }
14245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14246 $as_echo_n "(cached) " >&6
14248 eval "$as_ac_Header=\$ac_header_preproc"
14250 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14251 $as_echo "$as_val"'`
14252 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14253 $as_echo "$ac_res" >&6; }
14256 as_val=`eval 'as_val
=${'$as_ac_Header'}
14257 $as_echo "$as_val"'`
14258 if test "x$as_val" = x""yes; then
14259 cat >>confdefs.h <<_ACEOF
14260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14264 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14265 $as_echo "$as_me: error: bailing out" >&2;}
14266 { (exit 1); exit 1; }; }
14276 for ac_func in dup2 getmntent memmove select socket
14278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14279 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14280 $as_echo_n "checking for $ac_func... " >&6; }
14281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14282 $as_echo_n "(cached) " >&6
14284 cat >conftest.$ac_ext <<_ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14292 #define $ac_func innocuous_$ac_func
14294 /* System header to define __stub macros and hopefully few prototypes,
14295 which can conflict with char $ac_func (); below.
14296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14297 <limits.h> exists even on freestanding compilers. */
14300 # include <limits.h>
14302 # include <assert.h>
14307 /* Override any GCC internal prototype to avoid an error.
14308 Use char because int might match the return type of a GCC
14309 builtin and then its argument prototype would still apply. */
14314 /* The GNU C library defines this for functions which it implements
14315 to always fail with ENOSYS. Some functions are actually named
14316 something starting with __ and the normal name is an alias. */
14317 #if defined __stub_$ac_func || defined __stub___$ac_func
14324 return $ac_func ();
14329 rm -f conftest.$ac_objext conftest$ac_exeext
14330 if { (ac_try="$ac_link"
14331 case "(($ac_try" in
14332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14333 *) ac_try_echo=$ac_try;;
14335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14336 $as_echo "$ac_try_echo") >&5
14337 (eval "$ac_link") 2>conftest.er1
14339 grep -v '^
*+' conftest.er1 >conftest.err
14341 cat conftest.err >&5
14342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } && {
14344 test -z "$ac_c_werror_flag" ||
14345 test ! -s conftest.err
14346 } && test -s conftest$ac_exeext && {
14347 test "$cross_compiling" = yes ||
14348 $as_test_x conftest$ac_exeext
14350 eval "$as_ac_var=yes"
14352 $as_echo "$as_me: failed program was:" >&5
14353 sed 's
/^
/|
/' conftest.$ac_ext >&5
14355 eval "$as_ac_var=no"
14358 rm -rf conftest.dSYM
14359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14360 conftest$ac_exeext conftest.$ac_ext
14362 ac_res=`eval 'as_val
=${'$as_ac_var'}
14363 $as_echo "$as_val"'`
14364 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14365 $as_echo "$ac_res" >&6; }
14366 as_val=`eval 'as_val
=${'$as_ac_var'}
14367 $as_echo "$as_val"'`
14368 if test "x$as_val" = x""yes; then
14369 cat >>confdefs.h <<_ACEOF
14370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14374 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14375 $as_echo "$as_me: error: bailing out" >&2;}
14376 { (exit 1); exit 1; }; }
14380 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14381 # -lseq on Dynix/PTX, -lgen on Unixware.
14382 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14383 $as_echo_n "checking for library containing getmntent... " >&6; }
14384 if test "${ac_cv_search_getmntent+set}" = set; then
14385 $as_echo_n "(cached) " >&6
14387 ac_func_search_save_LIBS=$LIBS
14388 cat >conftest.$ac_ext <<_ACEOF
14391 cat confdefs.h >>conftest.$ac_ext
14392 cat >>conftest.$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14395 /* Override any GCC internal prototype to avoid an error.
14396 Use char because int might match the return type of a GCC
14397 builtin and then its argument prototype would still apply. */
14405 return getmntent ();
14410 for ac_lib in '' sun seq gen; do
14411 if test -z "$ac_lib"; then
14412 ac_res="none required"
14415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14417 rm -f conftest.$ac_objext conftest$ac_exeext
14418 if { (ac_try="$ac_link"
14419 case "(($ac_try" in
14420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14421 *) ac_try_echo=$ac_try;;
14423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14424 $as_echo "$ac_try_echo") >&5
14425 (eval "$ac_link") 2>conftest.er1
14427 grep -v '^
*+' conftest.er1 >conftest.err
14429 cat conftest.err >&5
14430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } && {
14432 test -z "$ac_c_werror_flag" ||
14433 test ! -s conftest.err
14434 } && test -s conftest$ac_exeext && {
14435 test "$cross_compiling" = yes ||
14436 $as_test_x conftest$ac_exeext
14438 ac_cv_search_getmntent=$ac_res
14440 $as_echo "$as_me: failed program was:" >&5
14441 sed 's
/^
/|
/' conftest.$ac_ext >&5
14446 rm -rf conftest.dSYM
14447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14449 if test "${ac_cv_search_getmntent+set}" = set; then
14453 if test "${ac_cv_search_getmntent+set}" = set; then
14456 ac_cv_search_getmntent=no
14458 rm conftest.$ac_ext
14459 LIBS=$ac_func_search_save_LIBS
14461 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14462 $as_echo "$ac_cv_search_getmntent" >&6; }
14463 ac_res=$ac_cv_search_getmntent
14464 if test "$ac_res" != no; then
14465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14466 ac_cv_func_getmntent=yes
14468 cat >>confdefs.h <<\_ACEOF
14469 #define HAVE_GETMNTENT 1
14473 ac_cv_func_getmntent=no
14480 for ac_header in sys/select.h sys/socket.h
14482 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14484 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14485 $as_echo_n "checking for $ac_header... " >&6; }
14486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14487 $as_echo_n "(cached) " >&6
14489 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14490 $as_echo "$as_val"'`
14491 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14492 $as_echo "$ac_res" >&6; }
14494 # Is the header compilable?
14495 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14496 $as_echo_n "checking $ac_header usability... " >&6; }
14497 cat >conftest.$ac_ext <<_ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14504 #include <$ac_header>
14506 rm -f conftest.$ac_objext
14507 if { (ac_try="$ac_compile"
14508 case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14513 $as_echo "$ac_try_echo") >&5
14514 (eval "$ac_compile") 2>conftest.er1
14516 grep -v '^
*+' conftest.er1 >conftest.err
14518 cat conftest.err >&5
14519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } && {
14521 test -z "$ac_c_werror_flag" ||
14522 test ! -s conftest.err
14523 } && test -s conftest.$ac_objext; then
14524 ac_header_compiler=yes
14526 $as_echo "$as_me: failed program was:" >&5
14527 sed 's
/^
/|
/' conftest.$ac_ext >&5
14529 ac_header_compiler=no
14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14533 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14534 $as_echo "$ac_header_compiler" >&6; }
14536 # Is the header present?
14537 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14538 $as_echo_n "checking $ac_header presence... " >&6; }
14539 cat >conftest.$ac_ext <<_ACEOF
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 #include <$ac_header>
14547 if { (ac_try="$ac_cpp conftest.$ac_ext"
14548 case "(($ac_try" in
14549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14550 *) ac_try_echo=$ac_try;;
14552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14553 $as_echo "$ac_try_echo") >&5
14554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14556 grep -v '^
*+' conftest.er1 >conftest.err
14558 cat conftest.err >&5
14559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } >/dev/null && {
14561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14562 test ! -s conftest.err
14564 ac_header_preproc=yes
14566 $as_echo "$as_me: failed program was:" >&5
14567 sed 's
/^
/|
/' conftest.$ac_ext >&5
14569 ac_header_preproc=no
14572 rm -f conftest.err conftest.$ac_ext
14573 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14574 $as_echo "$ac_header_preproc" >&6; }
14576 # So? What about this header?
14577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14579 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14580 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14582 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14583 ac_header_preproc=yes
14586 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14587 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14589 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14591 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14593 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14595 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14597 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14601 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14602 $as_echo_n "checking for $ac_header... " >&6; }
14603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14604 $as_echo_n "(cached) " >&6
14606 eval "$as_ac_Header=\$ac_header_preproc"
14608 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14609 $as_echo "$as_val"'`
14610 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14611 $as_echo "$ac_res" >&6; }
14614 as_val=`eval 'as_val
=${'$as_ac_Header'}
14615 $as_echo "$as_val"'`
14616 if test "x$as_val" = x""yes; then
14617 cat >>confdefs.h <<_ACEOF
14618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14625 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14626 $as_echo_n "checking types of arguments for select... " >&6; }
14627 if test "${ac_cv_func_select_args+set}" = set; then
14628 $as_echo_n "(cached) " >&6
14630 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14631 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14632 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14633 cat >conftest.$ac_ext <<_ACEOF
14636 cat confdefs.h >>conftest.$ac_ext
14637 cat >>conftest.$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14639 $ac_includes_default
14640 #ifdef HAVE_SYS_SELECT_H
14641 # include <sys/select.h>
14643 #ifdef HAVE_SYS_SOCKET_H
14644 # include <sys/socket.h>
14650 extern int select ($ac_arg1,
14651 $ac_arg234, $ac_arg234, $ac_arg234,
14657 rm -f conftest.$ac_objext
14658 if { (ac_try="$ac_compile"
14659 case "(($ac_try" in
14660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14661 *) ac_try_echo=$ac_try;;
14663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14664 $as_echo "$ac_try_echo") >&5
14665 (eval "$ac_compile") 2>conftest.er1
14667 grep -v '^
*+' conftest.er1 >conftest.err
14669 cat conftest.err >&5
14670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && {
14672 test -z "$ac_c_werror_flag" ||
14673 test ! -s conftest.err
14674 } && test -s conftest.$ac_objext; then
14675 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14677 $as_echo "$as_me: failed program was:" >&5
14678 sed 's
/^
/|
/' conftest.$ac_ext >&5
14683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 # Provide a safe default value.
14688 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14691 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14692 $as_echo "$ac_cv_func_select_args" >&6; }
14693 ac_save_IFS=$IFS; IFS=','
14694 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14698 cat >>confdefs.h <<_ACEOF
14699 #define SELECT_TYPE_ARG1 $1
14703 cat >>confdefs.h <<_ACEOF
14704 #define SELECT_TYPE_ARG234 ($2)
14708 cat >>confdefs.h <<_ACEOF
14709 #define SELECT_TYPE_ARG5 ($3)
14716 if test x$CLUSTER != xnone; then
14719 for ac_header in sys/socket.h sys/un.h
14721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14723 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14724 $as_echo_n "checking for $ac_header... " >&6; }
14725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14726 $as_echo_n "(cached) " >&6
14728 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14729 $as_echo "$as_val"'`
14730 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14731 $as_echo "$ac_res" >&6; }
14733 # Is the header compilable?
14734 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14735 $as_echo_n "checking $ac_header usability... " >&6; }
14736 cat >conftest.$ac_ext <<_ACEOF
14739 cat confdefs.h >>conftest.$ac_ext
14740 cat >>conftest.$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14742 $ac_includes_default
14743 #include <$ac_header>
14745 rm -f conftest.$ac_objext
14746 if { (ac_try="$ac_compile"
14747 case "(($ac_try" in
14748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14749 *) ac_try_echo=$ac_try;;
14751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14752 $as_echo "$ac_try_echo") >&5
14753 (eval "$ac_compile") 2>conftest.er1
14755 grep -v '^
*+' conftest.er1 >conftest.err
14757 cat conftest.err >&5
14758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } && {
14760 test -z "$ac_c_werror_flag" ||
14761 test ! -s conftest.err
14762 } && test -s conftest.$ac_objext; then
14763 ac_header_compiler=yes
14765 $as_echo "$as_me: failed program was:" >&5
14766 sed 's
/^
/|
/' conftest.$ac_ext >&5
14768 ac_header_compiler=no
14771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14772 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14773 $as_echo "$ac_header_compiler" >&6; }
14775 # Is the header present?
14776 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14777 $as_echo_n "checking $ac_header presence... " >&6; }
14778 cat >conftest.$ac_ext <<_ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14784 #include <$ac_header>
14786 if { (ac_try="$ac_cpp conftest.$ac_ext"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14792 $as_echo "$ac_try_echo") >&5
14793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14795 grep -v '^
*+' conftest.er1 >conftest.err
14797 cat conftest.err >&5
14798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } >/dev/null && {
14800 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14801 test ! -s conftest.err
14803 ac_header_preproc=yes
14805 $as_echo "$as_me: failed program was:" >&5
14806 sed 's
/^
/|
/' conftest.$ac_ext >&5
14808 ac_header_preproc=no
14811 rm -f conftest.err conftest.$ac_ext
14812 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14813 $as_echo "$ac_header_preproc" >&6; }
14815 # So? What about this header?
14816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14819 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14821 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14822 ac_header_preproc=yes
14825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14826 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14828 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14830 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14832 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14834 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14836 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14840 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14841 $as_echo_n "checking for $ac_header... " >&6; }
14842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14843 $as_echo_n "(cached) " >&6
14845 eval "$as_ac_Header=\$ac_header_preproc"
14847 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14848 $as_echo "$as_val"'`
14849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14850 $as_echo "$ac_res" >&6; }
14853 as_val=`eval 'as_val
=${'$as_ac_Header'}
14854 $as_echo "$as_val"'`
14855 if test "x$as_val" = x""yes; then
14856 cat >>confdefs.h <<_ACEOF
14857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14861 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14862 $as_echo "$as_me: error: bailing out" >&2;}
14863 { (exit 1); exit 1; }; }
14869 for ac_func in socket
14871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14872 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14873 $as_echo_n "checking for $ac_func... " >&6; }
14874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14875 $as_echo_n "(cached) " >&6
14877 cat >conftest.$ac_ext <<_ACEOF
14880 cat confdefs.h >>conftest.$ac_ext
14881 cat >>conftest.$ac_ext <<_ACEOF
14882 /* end confdefs.h. */
14883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14885 #define $ac_func innocuous_$ac_func
14887 /* System header to define __stub macros and hopefully few prototypes,
14888 which can conflict with char $ac_func (); below.
14889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14890 <limits.h> exists even on freestanding compilers. */
14893 # include <limits.h>
14895 # include <assert.h>
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14907 /* The GNU C library defines this for functions which it implements
14908 to always fail with ENOSYS. Some functions are actually named
14909 something starting with __ and the normal name is an alias. */
14910 #if defined __stub_$ac_func || defined __stub___$ac_func
14917 return $ac_func ();
14922 rm -f conftest.$ac_objext conftest$ac_exeext
14923 if { (ac_try="$ac_link"
14924 case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14929 $as_echo "$ac_try_echo") >&5
14930 (eval "$ac_link") 2>conftest.er1
14932 grep -v '^
*+' conftest.er1 >conftest.err
14934 cat conftest.err >&5
14935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); } && {
14937 test -z "$ac_c_werror_flag" ||
14938 test ! -s conftest.err
14939 } && test -s conftest$ac_exeext && {
14940 test "$cross_compiling" = yes ||
14941 $as_test_x conftest$ac_exeext
14943 eval "$as_ac_var=yes"
14945 $as_echo "$as_me: failed program was:" >&5
14946 sed 's
/^
/|
/' conftest.$ac_ext >&5
14948 eval "$as_ac_var=no"
14951 rm -rf conftest.dSYM
14952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14953 conftest$ac_exeext conftest.$ac_ext
14955 ac_res=`eval 'as_val
=${'$as_ac_var'}
14956 $as_echo "$as_val"'`
14957 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14958 $as_echo "$ac_res" >&6; }
14959 as_val=`eval 'as_val
=${'$as_ac_var'}
14960 $as_echo "$as_val"'`
14961 if test "x$as_val" = x""yes; then
14962 cat >>confdefs.h <<_ACEOF
14963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14967 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14968 $as_echo "$as_me: error: bailing out" >&2;}
14969 { (exit 1); exit 1; }; }
14975 if test x$HAVE_LIBDL = xyes; then
14977 for ac_header in dlfcn.h
14979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14982 $as_echo_n "checking for $ac_header... " >&6; }
14983 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14984 $as_echo_n "(cached) " >&6
14986 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14987 $as_echo "$as_val"'`
14988 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14989 $as_echo "$ac_res" >&6; }
14991 # Is the header compilable?
14992 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14993 $as_echo_n "checking $ac_header usability... " >&6; }
14994 cat >conftest.$ac_ext <<_ACEOF
14997 cat confdefs.h >>conftest.$ac_ext
14998 cat >>conftest.$ac_ext <<_ACEOF
14999 /* end confdefs.h. */
15000 $ac_includes_default
15001 #include <$ac_header>
15003 rm -f conftest.$ac_objext
15004 if { (ac_try="$ac_compile"
15005 case "(($ac_try" in
15006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15007 *) ac_try_echo=$ac_try;;
15009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15010 $as_echo "$ac_try_echo") >&5
15011 (eval "$ac_compile") 2>conftest.er1
15013 grep -v '^
*+' conftest.er1 >conftest.err
15015 cat conftest.err >&5
15016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } && {
15018 test -z "$ac_c_werror_flag" ||
15019 test ! -s conftest.err
15020 } && test -s conftest.$ac_objext; then
15021 ac_header_compiler=yes
15023 $as_echo "$as_me: failed program was:" >&5
15024 sed 's
/^
/|
/' conftest.$ac_ext >&5
15026 ac_header_compiler=no
15029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15030 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15031 $as_echo "$ac_header_compiler" >&6; }
15033 # Is the header present?
15034 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15035 $as_echo_n "checking $ac_header presence... " >&6; }
15036 cat >conftest.$ac_ext <<_ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 #include <$ac_header>
15044 if { (ac_try="$ac_cpp conftest.$ac_ext"
15045 case "(($ac_try" in
15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15050 $as_echo "$ac_try_echo") >&5
15051 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15053 grep -v '^
*+' conftest.er1 >conftest.err
15055 cat conftest.err >&5
15056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } >/dev/null && {
15058 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15059 test ! -s conftest.err
15061 ac_header_preproc=yes
15063 $as_echo "$as_me: failed program was:" >&5
15064 sed 's
/^
/|
/' conftest.$ac_ext >&5
15066 ac_header_preproc=no
15069 rm -f conftest.err conftest.$ac_ext
15070 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15071 $as_echo "$ac_header_preproc" >&6; }
15073 # So? What about this header?
15074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15077 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15078 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15079 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15080 ac_header_preproc=yes
15083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15084 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15086 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15088 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15090 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15092 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15094 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15098 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15099 $as_echo_n "checking for $ac_header... " >&6; }
15100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15101 $as_echo_n "(cached) " >&6
15103 eval "$as_ac_Header=\$ac_header_preproc"
15105 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15106 $as_echo "$as_val"'`
15107 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15108 $as_echo "$ac_res" >&6; }
15111 as_val=`eval 'as_val
=${'$as_ac_Header'}
15112 $as_echo "$as_val"'`
15113 if test "x$as_val" = x""yes; then
15114 cat >>confdefs.h <<_ACEOF
15115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15119 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15120 $as_echo "$as_me: error: bailing out" >&2;}
15121 { (exit 1); exit 1; }; }
15128 if test x$INTL = xyes; then
15130 for ac_header in libintl.h
15132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15134 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15135 $as_echo_n "checking for $ac_header... " >&6; }
15136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15137 $as_echo_n "(cached) " >&6
15139 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15140 $as_echo "$as_val"'`
15141 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15142 $as_echo "$ac_res" >&6; }
15144 # Is the header compilable?
15145 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15146 $as_echo_n "checking $ac_header usability... " >&6; }
15147 cat >conftest.$ac_ext <<_ACEOF
15150 cat confdefs.h >>conftest.$ac_ext
15151 cat >>conftest.$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15153 $ac_includes_default
15154 #include <$ac_header>
15156 rm -f conftest.$ac_objext
15157 if { (ac_try="$ac_compile"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15163 $as_echo "$ac_try_echo") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15166 grep -v '^
*+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 ac_header_compiler=yes
15176 $as_echo "$as_me: failed program was:" >&5
15177 sed 's
/^
/|
/' conftest.$ac_ext >&5
15179 ac_header_compiler=no
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15184 $as_echo "$ac_header_compiler" >&6; }
15186 # Is the header present?
15187 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15188 $as_echo_n "checking $ac_header presence... " >&6; }
15189 cat >conftest.$ac_ext <<_ACEOF
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15195 #include <$ac_header>
15197 if { (ac_try="$ac_cpp conftest.$ac_ext"
15198 case "(($ac_try" in
15199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15200 *) ac_try_echo=$ac_try;;
15202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15203 $as_echo "$ac_try_echo") >&5
15204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15206 grep -v '^
*+' conftest.er1 >conftest.err
15208 cat conftest.err >&5
15209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } >/dev/null && {
15211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15212 test ! -s conftest.err
15214 ac_header_preproc=yes
15216 $as_echo "$as_me: failed program was:" >&5
15217 sed 's
/^
/|
/' conftest.$ac_ext >&5
15219 ac_header_preproc=no
15222 rm -f conftest.err conftest.$ac_ext
15223 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15224 $as_echo "$ac_header_preproc" >&6; }
15226 # So? What about this header?
15227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15229 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15230 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15232 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15233 ac_header_preproc=yes
15236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15237 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15239 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15241 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15243 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15245 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15247 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15251 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15252 $as_echo_n "checking for $ac_header... " >&6; }
15253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15254 $as_echo_n "(cached) " >&6
15256 eval "$as_ac_Header=\$ac_header_preproc"
15258 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15259 $as_echo "$as_val"'`
15260 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15261 $as_echo "$ac_res" >&6; }
15264 as_val=`eval 'as_val
=${'$as_ac_Header'}
15265 $as_echo "$as_val"'`
15266 if test "x$as_val" = x""yes; then
15267 cat >>confdefs.h <<_ACEOF
15268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15272 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15273 $as_echo "$as_me: error: bailing out" >&2;}
15274 { (exit 1); exit 1; }; }
15281 if test x$UDEV_SYNC = xyes; then
15284 for ac_header in sys/ipc.h sys/sem.h
15286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15288 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15289 $as_echo_n "checking for $ac_header... " >&6; }
15290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15291 $as_echo_n "(cached) " >&6
15293 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15294 $as_echo "$as_val"'`
15295 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15296 $as_echo "$ac_res" >&6; }
15298 # Is the header compilable?
15299 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15300 $as_echo_n "checking $ac_header usability... " >&6; }
15301 cat >conftest.$ac_ext <<_ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 $ac_includes_default
15308 #include <$ac_header>
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15317 $as_echo "$ac_try_echo") >&5
15318 (eval "$ac_compile") 2>conftest.er1
15320 grep -v '^
*+' conftest.er1 >conftest.err
15322 cat conftest.err >&5
15323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } && {
15325 test -z "$ac_c_werror_flag" ||
15326 test ! -s conftest.err
15327 } && test -s conftest.$ac_objext; then
15328 ac_header_compiler=yes
15330 $as_echo "$as_me: failed program was:" >&5
15331 sed 's
/^
/|
/' conftest.$ac_ext >&5
15333 ac_header_compiler=no
15336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15337 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15338 $as_echo "$ac_header_compiler" >&6; }
15340 # Is the header present?
15341 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15342 $as_echo_n "checking $ac_header presence... " >&6; }
15343 cat >conftest.$ac_ext <<_ACEOF
15346 cat confdefs.h >>conftest.$ac_ext
15347 cat >>conftest.$ac_ext <<_ACEOF
15348 /* end confdefs.h. */
15349 #include <$ac_header>
15351 if { (ac_try="$ac_cpp conftest.$ac_ext"
15352 case "(($ac_try" in
15353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15357 $as_echo "$ac_try_echo") >&5
15358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15360 grep -v '^
*+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } >/dev/null && {
15365 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15368 ac_header_preproc=yes
15370 $as_echo "$as_me: failed program was:" >&5
15371 sed 's
/^
/|
/' conftest.$ac_ext >&5
15373 ac_header_preproc=no
15376 rm -f conftest.err conftest.$ac_ext
15377 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15378 $as_echo "$ac_header_preproc" >&6; }
15380 # So? What about this header?
15381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15384 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15386 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15387 ac_header_preproc=yes
15390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15391 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15393 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15395 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15397 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15399 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15401 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15405 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 $as_echo_n "checking for $ac_header... " >&6; }
15407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15408 $as_echo_n "(cached) " >&6
15410 eval "$as_ac_Header=\$ac_header_preproc"
15412 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15413 $as_echo "$as_val"'`
15414 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15415 $as_echo "$ac_res" >&6; }
15418 as_val=`eval 'as_val
=${'$as_ac_Header'}
15419 $as_echo "$as_val"'`
15420 if test "x$as_val" = x""yes; then
15421 cat >>confdefs.h <<_ACEOF
15422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15426 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15427 $as_echo "$as_me: error: bailing out" >&2;}
15428 { (exit 1); exit 1; }; }
15435 ################################################################################
15436 # Extract the first word of "modprobe", so it can be a program name with args.
15437 set dummy modprobe; ac_word=$2
15438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15439 $as_echo_n "checking for $ac_word... " >&6; }
15440 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15441 $as_echo_n "(cached) " >&6
15443 case $MODPROBE_CMD in
15445 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15449 for as_dir in $PATH
15452 test -z "$as_dir" && as_dir=.
15453 for ac_exec_ext in '' $ac_executable_extensions; do
15454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15455 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15466 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15467 if test -n "$MODPROBE_CMD"; then
15468 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15469 $as_echo "$MODPROBE_CMD" >&6; }
15471 { $as_echo "$as_me:$LINENO: result: no" >&5
15472 $as_echo "no" >&6; }
15477 if test x$MODPROBE_CMD != x; then
15479 cat >>confdefs.h <<_ACEOF
15480 #define MODPROBE_CMD "$MODPROBE_CMD"
15485 ################################################################################
15488 if test "$BUILD_DMEVENTD" = yes; then
15490 # Check whether --with-dmeventd-pidfile was given.
15491 if test "${with_dmeventd_pidfile+set}" = set; then
15492 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15493 #define DMEVENTD_PIDFILE "$withval"
15497 cat >>confdefs.h <<_ACEOF
15498 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15507 if test "$BUILD_DMEVENTD" = yes; then
15508 dmeventd_prefix="$exec_prefix"
15509 if test "x$dmeventd_prefix" = "xNONE"; then
15510 dmeventd_prefix="$prefix"
15512 if test "x$dmeventd_prefix" = "xNONE"; then
15516 # Check whether --with-dmeventd-path was given.
15517 if test "${with_dmeventd_path+set}" = set; then
15518 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15519 #define DMEVENTD_PATH "$withval"
15523 cat >>confdefs.h <<_ACEOF
15524 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15531 ################################################################################
15535 # Check whether --with-default-system-dir was given.
15536 if test "${with_default_system_dir+set}" = set; then
15537 withval=$with_default_system_dir; DEFAULT_SYS_DIR="$withval"
15539 DEFAULT_SYS_DIR="/etc/lvm"
15542 cat >>confdefs.h <<_ACEOF
15543 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
15550 # Check whether --with-default-archive-subdir was given.
15551 if test "${with_default_archive_subdir+set}" = set; then
15552 withval=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR="$withval"
15554 DEFAULT_ARCHIVE_SUBDIR="archive"
15557 cat >>confdefs.h <<_ACEOF
15558 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
15565 # Check whether --with-default-backup-subdir was given.
15566 if test "${with_default_backup_subdir+set}" = set; then
15567 withval=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR="$withval"
15569 DEFAULT_BACKUP_SUBDIR="backup"
15572 cat >>confdefs.h <<_ACEOF
15573 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
15580 # Check whether --with-default-cache-subdir was given.
15581 if test "${with_default_cache_subdir+set}" = set; then
15582 withval=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR="$withval"
15584 DEFAULT_CACHE_SUBDIR="cache"
15587 cat >>confdefs.h <<_ACEOF
15588 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
15595 # Check whether --with-default-locking-dir was given.
15596 if test "${with_default_locking_dir+set}" = set; then
15597 withval=$with_default_locking_dir; DEFAULT_LOCK_DIR="$withval"
15599 DEFAULT_LOCK_DIR="/var/lock/lvm"
15602 cat >>confdefs.h <<_ACEOF
15603 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
15607 ################################################################################
15608 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15609 $as_echo_n "checking for kernel interface choice... " >&6; }
15611 # Check whether --with-interface was given.
15612 if test "${with_interface+set}" = set; then
15613 withval=$with_interface; interface="$withval"
15618 if [ "x$interface" != xioctl ];
15620 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15621 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15622 { (exit 1); exit 1; }; }
15624 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15625 $as_echo "$interface" >&6; }
15627 ################################################################################
15628 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15630 cat >>confdefs.h <<_ACEOF
15631 #define DM_LIB_VERSION $DM_LIB_VERSION
15635 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15637 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15639 VER=`cat "$srcdir"/VERSION`
15640 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15641 VER=`echo "$VER" | $AWK '{print
$1}'`
15642 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15643 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15644 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15645 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15646 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15647 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15649 ################################################################################
15745 ################################################################################
15746 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/mirror/Makefile daemons/dmeventd/plugins/snapshot/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/snapshot/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_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
15748 cat >confcache <<\_ACEOF
15749 # This file is a shell script that caches the results of configure
15750 # tests run on this system so they can be shared between configure
15751 # scripts and configure runs, see configure's option
--config-cache.
15752 # It is not useful on other systems. If it contains results you don't
15753 # want to keep, you may remove or edit it.
15755 # config.status only pays attention to the cache file if you give it
15756 # the --recheck option to rerun configure.
15758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15760 # following values.
15764 # The following way of writing the cache mishandles newlines in values,
15765 # but we know of no workaround that is simple, portable, and efficient.
15766 # So, we kill variables containing newlines.
15767 # Ultrix sh set writes to stderr and can't be redirected directly,
15768 # and sets the high bit in the cache file unless we assign to the vars.
15770 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15771 eval ac_val
=\$
$ac_var
15775 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15776 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15779 _ | IFS | as_nl
) ;; #(
15780 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15781 *) $as_unset $ac_var ;;
15787 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15788 *${as_nl}ac_space
=\
*)
15789 # `set' does not quote correctly, so add quotes (double-quote
15790 # substitution turns \\\\ into \\, and sed turns \\ into \).
15793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15796 # `set' quotes correctly as required by POSIX, so do not add quotes.
15797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15806 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15808 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15810 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15811 if test -w "$cache_file"; then
15812 test "x$cache_file" != "x/dev/null" &&
15813 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15814 $as_echo "$as_me: updating cache $cache_file" >&6;}
15815 cat confcache
>$cache_file
15817 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15818 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15823 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15824 # Let make expand exec_prefix.
15825 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15827 DEFS
=-DHAVE_CONFIG_H
15831 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15832 # 1. Remove the extension, and $U if already installed.
15833 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15834 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15835 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15836 # will be set to the directory where LIBOBJS objects are built.
15837 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15838 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15840 LIBOBJS
=$ac_libobjs
15842 LTLIBOBJS
=$ac_ltlibobjs
15846 : ${CONFIG_STATUS=./config.status}
15848 ac_clean_files_save
=$ac_clean_files
15849 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15850 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15851 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15852 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15854 # Generated by $as_me.
15855 # Run this file to recreate the current configuration.
15856 # Compiler output produced by configure, useful for debugging
15857 # configure, is in config.log if it exists.
15860 ac_cs_recheck=false
15862 SHELL=\${CONFIG_SHELL-$SHELL}
15865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15866 ## --------------------- ##
15867 ## M4sh Initialization. ##
15868 ## --------------------- ##
15870 # Be more Bourne compatible
15871 DUALCASE
=1; export DUALCASE
# for MKS sh
15872 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15875 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15876 # is contrary to our usage. Disable this feature.
15877 alias -g '${1+"$@"}'='"$@"'
15878 setopt NO_GLOB_SUBST
15880 case `(set -o) 2>/dev/null` in
15881 *posix
*) set -o posix
;;
15890 # Avoid depending upon Character Ranges.
15891 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15892 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15893 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15894 as_cr_digits
='0123456789'
15895 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15900 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15901 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15904 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15905 as_echo='printf %s
\n'
15906 as_echo_n='printf %s
'
15908 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15909 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15910 as_echo_n='/usr
/ucb
/echo -n'
15912 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15913 as_echo_n_body='eval
15917 expr "X$arg" : "X\\(.*\\)$as_nl";
15918 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15920 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15922 export as_echo_n_body
15923 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15925 export as_echo_body
15926 as_echo='sh
-c $as_echo_body as_echo
'
15929 # The user is always right.
15930 if test "${PATH_SEPARATOR+set}" != set; then
15932 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15933 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15938 # Support unset when possible.
15939 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15947 # We need space, tab and new line, in precisely that order. Quoting is
15948 # there to prevent editors from complaining about space-tab.
15949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15950 # splitting by setting IFS to empty value.)
15953 # Find who we are. Look in the path if we contain no directory separator.
15955 *[\\/]* ) as_myself=$0 ;;
15956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15957 for as_dir in $PATH
15960 test -z "$as_dir" && as_dir=.
15961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15967 # We did not find ourselves, most probably we were run as `sh COMMAND'
15968 # in which case we are not to be found in the path.
15969 if test "x$as_myself" = x
; then
15972 if test ! -f "$as_myself"; then
15973 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15974 { (exit 1); exit 1; }
15977 # Work around bugs in pre-3.0 UWIN ksh.
15978 for as_var
in ENV MAIL MAILPATH
15979 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15991 # Required to use basename.
15992 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15993 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15999 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16000 as_basename
=basename
16006 # Name of the executable.
16007 as_me
=`$as_basename -- "$0" ||
16008 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16009 X"$0" : 'X\(//\)$' \| \
16010 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16012 sed '/^.*\/\([^/][^/]*\)\/*$/{
16031 as_lineno_1
=$LINENO
16032 as_lineno_2
=$LINENO
16033 test "x$as_lineno_1" != "x$as_lineno_2" &&
16034 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
16036 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16037 # uniformly replaced by the line number. The first 'sed' inserts a
16038 # line-number line after each line using $LINENO; the second 'sed'
16039 # does the real work. The second script uses 'N' to pair each
16040 # line-number line with the line containing $LINENO, and appends
16041 # trailing '-' during substitution so that $LINENO is not a special
16042 # case at line end.
16043 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16044 # scripts with optimization help from Paolo Bonzini. Blame Lee
16045 # E. McMahon (1931-1989) for sed's syntax. :-)
16057 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16060 ' >$as_me.lineno
&&
16061 chmod +x
"$as_me.lineno" ||
16062 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16063 { (exit 1); exit 1; }; }
16065 # Don't try to exec as it changes $[0], causing all sort of problems
16066 # (the dirname of $[0] is not the place where we might find the
16067 # original and so on. Autoconf is especially sensitive to this).
16068 .
"./$as_me.lineno"
16069 # Exit status is that of the last command.
16074 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16080 ECHO_C
= ECHO_N
= ECHO_T
=
16081 case `echo -n x` in
16083 case `echo 'x\c'` in
16084 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16090 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16091 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16097 rm -f conf$$ conf$$.exe conf$$.
file
16098 if test -d conf$$.dir
; then
16099 rm -f conf$$.dir
/conf$$.
file
16102 mkdir conf$$.dir
2>/dev
/null
16104 if (echo >conf$$.
file) 2>/dev
/null
; then
16105 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16107 # ... but there are two gotchas:
16108 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16109 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16110 # In both cases, we have to default to `cp -p'.
16111 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16113 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16121 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16122 rmdir conf$$.dir
2>/dev
/null
16124 if mkdir
-p .
2>/dev
/null
; then
16127 test -d .
/-p && rmdir .
/-p
16131 if test -x / >/dev
/null
2>&1; then
16132 as_test_x
='test -x'
16134 if ls -dL / >/dev
/null
2>&1; then
16141 if test -d "$1"; then
16147 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16148 ???[sx]*):;;*)false;;esac;fi
16152 as_executable_p
=$as_test_x
16154 # Sed expression to map a string onto a valid CPP name.
16155 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16157 # Sed expression to map a string onto a valid variable name.
16158 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16163 # Save the log message, to keep $[0] and so on meaningful, and to
16164 # report actual input values of CONFIG_FILES etc. instead of their
16165 # values after options handling.
16167 This file was extended by $as_me, which was
16168 generated by GNU Autoconf 2.63. Invocation command line was
16170 CONFIG_FILES = $CONFIG_FILES
16171 CONFIG_HEADERS = $CONFIG_HEADERS
16172 CONFIG_LINKS = $CONFIG_LINKS
16173 CONFIG_COMMANDS = $CONFIG_COMMANDS
16176 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16181 case $ac_config_files in *"
16182 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16185 case $ac_config_headers in *"
16186 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16191 # Files that config.status was made for.
16192 config_files="$ac_config_files"
16193 config_headers="$ac_config_headers"
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16199 \`$as_me' instantiates files from templates according to the
16200 current configuration.
16202 Usage: $0 [OPTION]... [FILE]...
16204 -h, --help print this help, then exit
16205 -V, --version print version number and configuration settings, then exit
16206 -q, --quiet, --silent
16207 do not print progress messages
16208 -d, --debug don't remove temporary files
16209 --recheck update $as_me by reconfiguring in the same conditions
16210 --file=FILE[:TEMPLATE]
16211 instantiate the configuration file FILE
16212 --header=FILE[:TEMPLATE]
16213 instantiate the configuration header FILE
16215 Configuration files:
16218 Configuration headers:
16221 Report bugs to <bug-autoconf@gnu.org>."
16224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16227 configured by $0, generated by GNU Autoconf 2.63,
16228 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16230 Copyright (C) 2008 Free Software Foundation, Inc.
16231 This config.status script is free software; the Free Software Foundation
16232 gives unlimited permission to copy, distribute and modify it."
16239 test -n "\$AWK" || AWK=awk
16242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16243 # The default lists apply if the user does not specify any file.
16249 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16250 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16261 # Handling of the options.
16262 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16264 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16265 $as_echo "$ac_cs_version"; exit ;;
16266 --debug |
--debu |
--deb |
--de |
--d |
-d )
16268 --file |
--fil |
--fi |
--f )
16271 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16273 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16274 ac_need_defaults
=false
;;
16275 --header |
--heade |
--head |
--hea )
16278 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16280 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16281 ac_need_defaults
=false
;;
16283 # Conflict between --help and --header
16284 { $as_echo "$as_me: error: ambiguous option: $1
16285 Try \`$0 --help' for more information." >&2
16286 { (exit 1); exit 1; }; };;
16287 --help |
--hel |
-h )
16288 $as_echo "$ac_cs_usage"; exit ;;
16289 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16290 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16293 # This is an error.
16294 -*) { $as_echo "$as_me: error: unrecognized option: $1
16295 Try \`$0 --help' for more information." >&2
16296 { (exit 1); exit 1; }; } ;;
16298 *) ac_config_targets
="$ac_config_targets $1"
16299 ac_need_defaults
=false
;;
16305 ac_configure_extra_args
=
16307 if $ac_cs_silent; then
16309 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16314 if \$ac_cs_recheck; then
16315 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16317 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16318 CONFIG_SHELL='$SHELL'
16319 export CONFIG_SHELL
16324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16328 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16329 ## Running $as_me. ##
16335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16340 # Handling of arguments.
16341 for ac_config_target
in $ac_config_targets
16343 case $ac_config_target in
16344 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16345 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16346 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16347 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16348 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16349 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16350 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16351 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16352 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16353 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16354 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16355 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16356 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16357 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
16358 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16359 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16360 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16361 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16362 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16363 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16364 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16365 "lib/replicator/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/replicator/Makefile" ;;
16366 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16367 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16368 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16369 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16370 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16371 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16372 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16373 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16374 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16375 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16376 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16377 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16378 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16379 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16380 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16381 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16383 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16384 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16385 { (exit 1); exit 1; }; };;
16390 # If the user did not use the arguments to specify the items to instantiate,
16391 # then the envvar interface is used. Set only those that are not.
16392 # We use the long form for the default assignment because of an extremely
16393 # bizarre bug on SunOS 4.1.3.
16394 if $ac_need_defaults; then
16395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16399 # Have a temporary directory for convenience. Make it in the build tree
16400 # simply because there is no reason against having it here, and in addition,
16401 # creating and moving files from /tmp can sometimes cause problems.
16402 # Hook for its removal unless debugging.
16403 # Note that there is a small window in which the directory will not be cleaned:
16404 # after its creation but before its name has been assigned to `$tmp'.
16408 trap 'exit_status=$?
16409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16411 trap '{ (exit 1); exit 1; }' 1 2 13 15
16413 # Create a (secure) tmp directory for tmp files.
16416 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16417 test -n "$tmp" && test -d "$tmp"
16420 tmp
=.
/conf$$
-$RANDOM
16421 (umask 077 && mkdir
"$tmp")
16424 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16425 { (exit 1); exit 1; }
16428 # Set up the scripts for CONFIG_FILES section.
16429 # No need to generate them if there are no CONFIG_FILES.
16430 # This happens for instance with `./config.status config.h'.
16431 if test -n "$CONFIG_FILES"; then
16435 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16436 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16439 ac_cs_awk_cr
=$ac_cr
16442 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16447 echo "cat >conf$$subs.awk <<_ACEOF" &&
16448 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16450 } >conf$$subs.sh ||
16451 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16452 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16453 { (exit 1); exit 1; }; }
16454 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16456 for ac_last_try in false false false false false :; do
16457 . ./conf$$subs.sh ||
16458 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16459 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16460 { (exit 1); exit 1; }; }
16462 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16463 if test $ac_delim_n = $ac_delim_num; then
16465 elif $ac_last_try; then
16466 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16467 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16468 { (exit 1); exit 1; }; }
16470 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16473 rm -f conf$$subs.sh
16475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16476 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16480 s/^/S["/; s
/!.
*/"]=/
16490 s/\(.\{148\}\).*/\1/
16492 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16497 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16504 s/\(.\{148\}\).*/\1/
16506 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16510 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16515 ' <conf$$subs.awk | sed '
16520 ' >>$CONFIG_STATUS || ac_write_fail=1
16521 rm -f conf$$subs.awk
16522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16524 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16525 for (key in S) S_is_set[key] = 1
16531 nfields = split(line, field, "@
")
16533 len = length(field[1])
16534 for (i = 2; i < nfields; i++) {
16536 keylen = length(key)
16537 if (S_is_set[key]) {
16539 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16540 len += length(value) + length(field[++i])
16551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16553 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16556 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16557 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16558 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16559 { (exit 1); exit 1; }; }
16562 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16563 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16564 # trailing colons and then remove the whole line if VPATH becomes empty
16565 # (actually we leave an empty line to preserve line numbers).
16566 if test "x
$srcdir" = x.; then
16567 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16568 s/:*\$(srcdir):*/:/
16569 s/:*\${srcdir}:*/:/
16571 s/^\([^=]*=[ ]*\):*/\1/
16577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16578 fi # test -n "$CONFIG_FILES"
16580 # Set up the scripts for CONFIG_HEADERS section.
16581 # No need to generate them if there are no CONFIG_HEADERS.
16582 # This happens for instance with `./config.status Makefile'.
16583 if test -n "$CONFIG_HEADERS"; then
16584 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16588 # Transform confdefs.h into an awk script `defines.awk', embedded as
16589 # here-document in config.status, that substitutes the proper values into
16590 # config.h.in to produce config.h.
16592 # Create a delimiter string that does not exist in confdefs.h, to ease
16593 # handling of long lines.
16595 for ac_last_try in false false :; do
16596 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16597 if test -z "$ac_t"; then
16599 elif $ac_last_try; then
16600 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16601 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16602 { (exit 1); exit 1; }; }
16604 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16608 # For the awk script, D is an array of macro values keyed by name,
16609 # likewise P contains macro parameters if any. Preserve backslash
16610 # newline sequences.
16612 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16614 s/.\{148\}/&'"$ac_delim"'/g
16617 s/^[ ]*#[ ]*define[ ][ ]*/ /
16624 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16626 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16630 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16631 D["\
1"]=" \
3\\\\\\n
"\\/p
16633 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16638 s/.\{148\}/&'"$ac_delim"'/g
16643 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16646 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16648 ' <confdefs.h | sed '
16649 s/'"$ac_delim"'/"\\\
16650 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16653 for (key in D) D_is_set[key] = 1
16656 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16658 split(line, arg, " ")
16659 if (arg[1] == "#") {
16663 defundef
= substr
(arg
[1], 2)
16666 split(mac1
, mac2
, "(") #)
16668 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16669 if (D_is_set
[macro
]) {
16670 # Preserve the white space surrounding the "#".
16671 print prefix
"define", macro P
[macro
] D
[macro
]
16674 # Replace #undef with comments. This is necessary, for example,
16675 # in the case of _POSIX_SOURCE, which is predefined and required
16676 # on some systems where configure will not decide to define it.
16677 if (defundef
== "undef") {
16678 print
"/*", prefix defundef
, macro
, "*/"
16686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16687 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16688 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16689 { (exit 1); exit 1; }; }
16690 fi # test -n "$CONFIG_HEADERS"
16693 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16698 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16700 case $ac_mode$ac_tag in
16702 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16703 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16704 { (exit 1); exit 1; }; };;
16705 :[FH
]-) ac_tag
=-:-;;
16706 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16723 -) ac_f
="$tmp/stdin";;
16724 *) # Look for the file first in the build tree, then in the source tree
16725 # (if the path is not absolute). The absolute path cannot be DOS-style,
16726 # because $ac_f cannot contain `:'.
16730 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16732 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16733 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16734 { (exit 1); exit 1; }; };;
16736 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16737 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16740 # Let's still pretend it is `configure' which instantiates (i.e., don't
16741 # use $as_me), people would be surprised to read:
16742 # /* config.h. Generated by config.status. */
16743 configure_input
='Generated from '`
16744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16746 if test x
"$ac_file" != x-
; then
16747 configure_input
="$ac_file. $configure_input"
16748 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16749 $as_echo "$as_me: creating $ac_file" >&6;}
16751 # Neutralize special characters interpreted by sed in replacement strings.
16752 case $configure_input in #(
16753 *\
&* |
*\|
* |
*\\* )
16754 ac_sed_conf_input
=`$as_echo "$configure_input" |
16755 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16756 *) ac_sed_conf_input
=$configure_input;;
16760 *:-:* |
*:-) cat >"$tmp/stdin" \
16761 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16762 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16763 { (exit 1); exit 1; }; } ;;
16768 ac_dir
=`$as_dirname -- "$ac_file" ||
16769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16770 X"$ac_file" : 'X\(//\)[^/]' \| \
16771 X"$ac_file" : 'X\(//\)$' \| \
16772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16773 $as_echo X"$ac_file" |
16774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16778 /^X\(\/\/\)[^/].*/{
16793 -*) as_dir
=.
/$as_dir;;
16795 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16799 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16800 *) as_qdir
=$as_dir;;
16802 as_dirs
="'$as_qdir' $as_dirs"
16803 as_dir
=`$as_dirname -- "$as_dir" ||
16804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16805 X"$as_dir" : 'X\(//\)[^/]' \| \
16806 X"$as_dir" : 'X\(//\)$' \| \
16807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16808 $as_echo X"$as_dir" |
16809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16813 /^X\(\/\/\)[^/].*/{
16826 test -d "$as_dir" && break
16828 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16829 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16830 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16831 { (exit 1); exit 1; }; }; }
16835 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16837 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16838 # A ".." for each directory in $ac_dir_suffix.
16839 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16840 case $ac_top_builddir_sub in
16841 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16842 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16845 ac_abs_top_builddir
=$ac_pwd
16846 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16847 # for backward compatibility:
16848 ac_top_builddir
=$ac_top_build_prefix
16851 .
) # We are building in place.
16853 ac_top_srcdir
=$ac_top_builddir_sub
16854 ac_abs_top_srcdir
=$ac_pwd ;;
16855 [\\/]* | ?
:[\\/]* ) # Absolute name.
16856 ac_srcdir
=$srcdir$ac_dir_suffix;
16857 ac_top_srcdir
=$srcdir
16858 ac_abs_top_srcdir
=$srcdir ;;
16859 *) # Relative name.
16860 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16861 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16862 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16864 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16874 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16875 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16877 ac_MKDIR_P
=$MKDIR_P
16879 [\\/$
]* | ?
:[\\/]* ) ;;
16880 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16885 # If the template does not know about datarootdir, expand it.
16886 # FIXME: This hack should be removed a few years after 2.60.
16887 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16900 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16901 *datarootdir
*) ac_datarootdir_seen
=yes;;
16902 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16903 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16904 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16907 ac_datarootdir_hack='
16908 s&@datadir@&$datadir&g
16909 s&@docdir@&$docdir&g
16910 s&@infodir@&$infodir&g
16911 s&@localedir@&$localedir&g
16912 s&@mandir@&$mandir&g
16913 s&\\\${datarootdir}&$datarootdir&g' ;;
16917 # Neutralize VPATH when `$srcdir' = `.'.
16918 # Shell code in configure.ac might set extrasub.
16919 # FIXME: do we really want to maintain this feature?
16920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16921 ac_sed_extra="$ac_vpsub
16924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16926 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16927 s|@configure_input@|
$ac_sed_conf_input|
;t t
16928 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16929 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16930 s
&@srcdir@
&$ac_srcdir&;t t
16931 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16932 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16933 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16934 s
&@builddir@
&$ac_builddir&;t t
16935 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16936 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16937 s
&@INSTALL@
&$ac_INSTALL&;t t
16938 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16939 $ac_datarootdir_hack
16941 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16942 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16943 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16944 { (exit 1); exit 1; }; }
16946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16947 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16949 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16950 which seems to be undefined. Please make sure it is defined." >&5
16951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16952 which seems to be undefined. Please make sure it is defined." >&2;}
16956 -) cat "$tmp/out" && rm -f "$tmp/out";;
16957 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16959 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16960 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16961 { (exit 1); exit 1; }; }
16967 if test x"$ac_file" != x-; then
16969 $as_echo "/* $configure_input */" \
16970 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16971 } >"$tmp/config.h" \
16972 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16973 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16974 { (exit 1); exit 1; }; }
16975 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16976 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16977 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16980 mv "$tmp/config.h" "$ac_file" \
16981 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16982 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16983 { (exit 1); exit 1; }; }
16986 $as_echo "/* $configure_input */" \
16987 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16988 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16989 $as_echo "$as_me: error: could not create -" >&2;}
16990 { (exit 1); exit 1; }; }
17000 { (exit 0); exit 0; }
17002 chmod +x $CONFIG_STATUS
17003 ac_clean_files=$ac_clean_files_save
17005 test $ac_write_fail = 0 ||
17006 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17007 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17008 { (exit 1); exit 1; }; }
17011 # configure is writing to config.log, and then calls config.status.
17012 # config.status does its own redirection, appending to config.log.
17013 # Unfortunately, on DOS this fails, as config.log is still kept open
17014 # by configure, so config.status won't be able to
write to it
; its
17015 # output is simply discarded. So we exec the FD to /dev/null,
17016 # effectively closing config.log, so it can be properly (re)opened and
17017 # appended to by config.status. When coming back to configure, we
17018 # need to make the FD available again.
17019 if test "$no_create" != yes; then
17021 ac_config_status_args
=
17022 test "$silent" = yes &&
17023 ac_config_status_args
="$ac_config_status_args --quiet"
17025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17028 # would make configure fail if this is the last instruction.
17029 $ac_cs_success ||
{ (exit 1); exit 1; }
17031 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17032 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17033 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17037 if test x
$ODIRECT != xyes
; then
17038 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
17039 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}