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
794 program_transform_name
806 enable_option_checking
823 with_cmirrord_pidfile
848 with_dmeventd_pidfile
852 ac_precious_vars
='build_alias
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
958 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
961 -build |
--build |
--buil |
--bui |
--bu)
962 ac_prev
=build_alias
;;
963 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
964 build_alias
=$ac_optarg ;;
966 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
967 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
968 ac_prev
=cache_file
;;
969 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
970 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
971 cache_file
=$ac_optarg ;;
974 cache_file
=config.cache
;;
976 -datadir |
--datadir |
--datadi |
--datad)
978 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
979 datadir
=$ac_optarg ;;
981 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
982 |
--dataroo |
--dataro |
--datar)
983 ac_prev
=datarootdir
;;
984 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
985 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
986 datarootdir
=$ac_optarg ;;
988 -disable-* |
--disable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
993 { (exit 1); exit 1; }; }
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1225 { (exit 1); exit 1; }; }
1226 ac_useropt_orig
=$ac_useropt
1227 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1232 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1233 ac_unrecognized_sep
=', ';;
1235 eval with_
$ac_useropt=\
$ac_optarg ;;
1237 -without-* |
--without-*)
1238 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1241 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1242 { (exit 1); exit 1; }; }
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1273 Try \`$0 --help' for more information." >&2
1274 { (exit 1); exit 1; }; }
1278 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1281 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1282 { (exit 1); exit 1; }; }
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1300 { (exit 1); exit 1; }; }
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1307 { (exit 1); exit 1; }; } ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1312 # Check all directory arguments for consistency.
1313 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1318 eval ac_val
=\$
$ac_var
1319 # Remove trailing slashes.
1322 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\
$ac_val;;
1325 # Be sure to have absolute directory names.
1327 [\\/$
]* | ?
:[\\/]* ) continue;;
1328 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1330 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1331 { (exit 1); exit 1; }; }
1334 # There might be people who depend on the old broken behavior: `$host'
1335 # used to hold the argument of --host etc.
1336 # FIXME: To remove some day.
1339 target
=$target_alias
1341 # FIXME: To remove some day.
1342 if test "x$host_alias" != x
; then
1343 if test "x$build_alias" = x
; then
1344 cross_compiling
=maybe
1345 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1346 If a cross compiler is detected then cross compile mode will be used." >&2
1347 elif test "x$build_alias" != "x$host_alias"; then
1353 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1355 test "$silent" = yes && exec 6>/dev
/null
1358 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di
=`ls -di .` &&
1360 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1361 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1362 { (exit 1); exit 1; }; }
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1365 { (exit 1); exit 1; }; }
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted
=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir
=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted
=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1404 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1405 { (exit 1); exit 1; }; }
1407 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1410 { (exit 1); exit 1; }; }
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1420 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422 for ac_var
in $ac_precious_vars; do
1423 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1425 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1436 \`configure' configures this package to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1494 --build=BUILD configure
for building on BUILD
[guessed
]
1495 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1496 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1500 if test -n "$ac_init_help"; then
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-static_link Use this to link the tools to their libraries
1509 statically. Default is dynamic linking
1510 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1511 device-mapper is missing from the kernel
1512 --disable-readline Disable readline support
1513 --enable-realtime Enable realtime
clock support
1514 --enable-cmirrord Enable the cluster mirror log daemon
1515 --enable-debug Enable debugging
1516 --enable-profiling Gather gcov profiling data
1517 --disable-devmapper Disable LVM2 device-mapper interaction
1518 --enable-udev_sync Enable synchronisation with udev processing
1519 --enable-udev_rules Install rule files needed
for udev synchronisation
1520 --enable-compat Enable support
for old device-mapper versions
1521 --enable-units-compat Enable output compatibility with old versions that
1522 that don
't use KiB-style unit suffixes
1523 --disable-driver Disable calls to device-mapper in the kernel
1524 --disable-o_direct Disable O_DIRECT
1525 --enable-applib Build application library
1526 --enable-cmdlib Build shared command library
1527 --enable-pkgconfig Install pkgconfig support
1528 --disable-fsadm Disable fsadm
1529 --enable-dmeventd Enable the device-mapper event daemon
1530 --disable-selinux Disable selinux support
1531 --enable-nls Enable Native Language Support
1534 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1535 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1536 --with-user=USER Set the owner of installed files [USER=]
1537 --with-group=GROUP Set the group owner of installed files [GROUP=]
1538 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1539 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1540 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1541 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1543 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1545 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1547 --with-snapshots=TYPE Snapshot support: internal/shared/none
1549 --with-mirrors=TYPE Mirror support: internal/shared/none
1551 --with-clvmd=TYPE Build cluster LVM Daemon.
1552 The following cluster manager combinations are valid:
1553 * cman,gulm (RHEL4 or equivalent)
1554 * cman (RHEL5 or equivalent)
1555 * cman,corosync,openais (or selection of them)
1557 * none (disable build)
1559 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1560 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1561 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1562 --with-confdir=DIR Configuration files in DIR [/etc]
1563 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1564 --with-usrlibdir=DIR
1565 --with-usrsbindir=DIR
1566 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1567 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1568 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1569 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1570 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1581 PKG_CONFIG path to pkg-config utility
1582 PKGCONFIGINIT_CFLAGS
1583 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1585 linker flags for PKGCONFIGINIT, overriding pkg-config
1586 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1587 CCS_LIBS linker flags for CCS, overriding pkg-config
1588 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1589 GULM_LIBS linker flags for GULM, overriding pkg-config
1590 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1591 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1593 C compiler flags for COROSYNC, overriding pkg-config
1595 linker flags for COROSYNC, overriding pkg-config
1597 C compiler flags for QUORUM, overriding pkg-config
1598 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1600 C compiler flags for SALCK, overriding pkg-config
1601 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1603 C compiler flags for CONFDB, overriding pkg-config
1604 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1605 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1606 CPG_LIBS linker flags for CPG, overriding pkg-config
1607 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1608 DLM_LIBS linker flags for DLM, overriding pkg-config
1610 C compiler flags for SACKPT, overriding pkg-config
1611 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1613 Use these variables to override the choices made by `configure' or to
help
1614 it to
find libraries and programs with nonstandard names
/locations.
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1629 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1631 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1636 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1639 ac_abs_top_builddir
=$ac_pwd
1640 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir
=$ac_top_build_prefix
1645 .
) # We are building in place.
1647 ac_top_srcdir
=$ac_top_builddir_sub
1648 ac_abs_top_srcdir
=$ac_pwd ;;
1649 [\\/]* | ?
:[\\/]* ) # Absolute name.
1650 ac_srcdir
=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir
=$srcdir
1652 ac_abs_top_srcdir
=$srcdir ;;
1654 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1658 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1660 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1679 generated by GNU Autoconf
2.63
1681 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1682 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1683 This configure
script is free software
; the Free Software Foundation
1684 gives unlimited permission to copy
, distribute and modify it.
1688 cat >config.log
<<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1692 It was created by $as_me, which was
1693 generated by GNU Autoconf 2.63. Invocation command line was
1705 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1706 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1707 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1708 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1709 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1711 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1712 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1714 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1715 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1716 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1717 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1718 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1719 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1720 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir
=.
1729 $as_echo "PATH: $as_dir"
1745 # Keep a trace of the command line.
1746 # Strip out --no-create and --no-recursion so they do not pile up.
1747 # Strip out --silent because we don't want to record it for future runs.
1748 # Also quote any args containing shell meta-characters.
1749 # Make two passes to allow for proper duplicate-argument suppression.
1753 ac_must_keep_next
=false
1759 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1760 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1761 |
-silent |
--silent |
--silen |
--sile |
--sil)
1764 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1769 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1770 if test $ac_must_keep_next = true
; then
1771 ac_must_keep_next
=false
# Got value, back to normal.
1774 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1775 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1776 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1777 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1778 case "$ac_configure_args0 " in
1779 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1782 -* ) ac_must_keep_next
=true
;;
1785 ac_configure_args
="$ac_configure_args '$ac_arg'"
1790 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1791 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1793 # When interrupted or exit'd, cleanup temporary files, and complete
1794 # config.log. We remove comments because anyway the quotes in there
1795 # would cause problems or look ugly.
1796 # WARNING: Use '\'' to represent an apostrophe within the trap.
1797 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1798 trap 'exit_status=$?
1799 # Save into config.log some information that might help in debugging.
1804 ## ---------------- ##
1805 ## Cache variables. ##
1806 ## ---------------- ##
1809 # The following way of writing the cache mishandles newlines in values,
1811 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1812 eval ac_val=\$$ac_var
1816 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1817 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1820 _ | IFS | as_nl) ;; #(
1821 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1822 *) $as_unset $ac_var ;;
1827 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1828 *${as_nl}ac_space=\ *)
1830 "s/'\''/'\''\\\\'\'''\''/g;
1831 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1842 ## ----------------- ##
1843 ## Output variables. ##
1844 ## ----------------- ##
1847 for ac_var in $ac_subst_vars
1849 eval ac_val=\$$ac_var
1851 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1853 $as_echo "$ac_var='\''$ac_val'\''"
1857 if test -n "$ac_subst_files"; then
1859 ## ------------------- ##
1860 ## File substitutions. ##
1861 ## ------------------- ##
1864 for ac_var
in $ac_subst_files
1866 eval ac_val
=\$
$ac_var
1868 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1870 $as_echo "$ac_var='\''$ac_val'\''"
1875 if test -s confdefs.h; then
1885 test "$ac_signal" != 0 &&
1886 $as_echo "$as_me: caught signal $ac_signal"
1887 $as_echo "$as_me: exit $exit_status"
1889 rm -f core *.core core.conftest.* &&
1890 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1893 for ac_signal
in 1 2 13 15; do
1894 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1898 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1899 rm -f -r conftest
* confdefs.h
1901 # Predefined preprocessor variables.
1903 cat >>confdefs.h
<<_ACEOF
1904 #define PACKAGE_NAME "$PACKAGE_NAME"
1908 cat >>confdefs.h
<<_ACEOF
1909 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1913 cat >>confdefs.h
<<_ACEOF
1914 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1918 cat >>confdefs.h
<<_ACEOF
1919 #define PACKAGE_STRING "$PACKAGE_STRING"
1923 cat >>confdefs.h
<<_ACEOF
1924 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928 # Let the site file select an alternate cache file if it wants to.
1929 # Prefer an explicitly selected file to automatically selected ones.
1932 if test -n "$CONFIG_SITE"; then
1933 ac_site_file1
=$CONFIG_SITE
1934 elif test "x$prefix" != xNONE
; then
1935 ac_site_file1
=$prefix/share
/config.site
1936 ac_site_file2
=$prefix/etc
/config.site
1938 ac_site_file1
=$ac_default_prefix/share
/config.site
1939 ac_site_file2
=$ac_default_prefix/etc
/config.site
1941 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1943 test "x$ac_site_file" = xNONE
&& continue
1944 if test -r "$ac_site_file"; then
1945 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1946 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1947 sed 's/^/| /' "$ac_site_file" >&5
1952 if test -r "$cache_file"; then
1953 # Some versions of bash will fail to source /dev/null (special
1954 # files actually), so we avoid doing that.
1955 if test -f "$cache_file"; then
1956 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1957 $as_echo "$as_me: loading cache $cache_file" >&6;}
1959 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1960 *) .
"./$cache_file";;
1964 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1965 $as_echo "$as_me: creating cache $cache_file" >&6;}
1969 # Check that the precious variables saved in the cache have kept the same
1971 ac_cache_corrupted
=false
1972 for ac_var
in $ac_precious_vars; do
1973 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1974 eval ac_new_set
=\
$ac_env_${ac_var}_set
1975 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1976 eval ac_new_val
=\
$ac_env_${ac_var}_value
1977 case $ac_old_set,$ac_new_set in
1979 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1980 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1981 ac_cache_corrupted
=: ;;
1983 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1984 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1985 ac_cache_corrupted
=: ;;
1988 if test "x$ac_old_val" != "x$ac_new_val"; then
1989 # differences in whitespace do not lead to failure.
1990 ac_old_val_w
=`echo x $ac_old_val`
1991 ac_new_val_w
=`echo x $ac_new_val`
1992 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1993 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1994 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1995 ac_cache_corrupted
=:
1997 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1998 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1999 eval $ac_var=\
$ac_old_val
2001 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2002 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2003 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2004 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2007 # Pass precious variables to config.status.
2008 if test "$ac_new_set" = set; then
2010 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2011 *) ac_arg
=$ac_var=$ac_new_val ;;
2013 case " $ac_configure_args " in
2014 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2015 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2019 if $ac_cache_corrupted; then
2020 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2022 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2023 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2024 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2025 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2026 { (exit 1); exit 1; }; }
2046 ac_cpp
='$CPP $CPPFLAGS'
2047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2053 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2056 ################################################################################
2058 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2059 if test -f "$ac_dir/install-sh"; then
2061 ac_install_sh
="$ac_aux_dir/install-sh -c"
2063 elif test -f "$ac_dir/install.sh"; then
2065 ac_install_sh
="$ac_aux_dir/install.sh -c"
2067 elif test -f "$ac_dir/shtool"; then
2069 ac_install_sh
="$ac_aux_dir/shtool install -c"
2073 if test -z "$ac_aux_dir"; then
2074 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2075 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2076 { (exit 1); exit 1; }; }
2079 # These three variables are undocumented and unsupported,
2080 # and are intended to be withdrawn in a future Autoconf release.
2081 # They can cause serious problems if a builder's source tree is in a directory
2082 # whose full name contains unusual characters.
2083 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2084 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2085 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2089 ################################################################################
2090 # Make sure we can run config.sub.
2091 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2092 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2093 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2097 $as_echo_n "checking build system type... " >&6; }
2098 if test "${ac_cv_build+set}" = set; then
2099 $as_echo_n "(cached) " >&6
2101 ac_build_alias
=$build_alias
2102 test "x$ac_build_alias" = x
&&
2103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2104 test "x$ac_build_alias" = x
&&
2105 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2106 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2107 { (exit 1); exit 1; }; }
2108 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2109 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2110 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2111 { (exit 1); exit 1; }; }
2114 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2115 $as_echo "$ac_cv_build" >&6; }
2116 case $ac_cv_build in
2118 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2119 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2120 { (exit 1); exit 1; }; };;
2123 ac_save_IFS
=$IFS; IFS
='-'
2129 # Remember, the first character of IFS is used to create $*,
2130 # except with old shells:
2133 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2136 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2137 $as_echo_n "checking host system type... " >&6; }
2138 if test "${ac_cv_host+set}" = set; then
2139 $as_echo_n "(cached) " >&6
2141 if test "x$host_alias" = x
; then
2142 ac_cv_host
=$ac_cv_build
2144 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2145 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2146 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2147 { (exit 1); exit 1; }; }
2151 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2152 $as_echo "$ac_cv_host" >&6; }
2155 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2156 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2157 { (exit 1); exit 1; }; };;
2160 ac_save_IFS
=$IFS; IFS
='-'
2166 # Remember, the first character of IFS is used to create $*,
2167 # except with old shells:
2170 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2173 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2174 $as_echo_n "checking target system type... " >&6; }
2175 if test "${ac_cv_target+set}" = set; then
2176 $as_echo_n "(cached) " >&6
2178 if test "x$target_alias" = x
; then
2179 ac_cv_target
=$ac_cv_host
2181 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2182 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2183 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2188 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2189 $as_echo "$ac_cv_target" >&6; }
2190 case $ac_cv_target in
2192 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2193 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2194 { (exit 1); exit 1; }; };;
2196 target
=$ac_cv_target
2197 ac_save_IFS
=$IFS; IFS
='-'
2203 # Remember, the first character of IFS is used to create $*,
2204 # except with old shells:
2207 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2210 # The aliases save the names the user supplied, while $host etc.
2211 # will get canonicalized.
2212 test -n "$target_alias" &&
2213 test "$program_prefix$program_suffix$program_transform_name" = \
2215 program_prefix
=${target_alias}-
2220 COPTIMISE_FLAG
="-O2"
2221 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2222 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2223 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2224 LDDEPS
="$LDDEPS .export.sym"
2225 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2235 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2236 COPTIMISE_FLAG
="-O2"
2237 CLDFLAGS
="$CLDFLAGS"
2238 CLDWHOLEARCHIVE
="-all_load"
2250 ################################################################################
2251 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2252 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2253 if test "${ac_cv_path_SED+set}" = set; then
2254 $as_echo_n "(cached) " >&6
2256 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2257 for ac_i
in 1 2 3 4 5 6 7; do
2258 ac_script
="$ac_script$as_nl$ac_script"
2260 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2261 $as_unset ac_script || ac_script
=
2262 if test -z "$SED"; then
2263 ac_path_SED_found
=false
2264 # Loop through the user's path and test for each of PROGNAME-LIST
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_prog
in sed gsed
; do
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2273 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2274 # Check for GNU ac_path_SED and select it if it is found.
2275 # Check for GNU $ac_path_SED
2276 case `"$ac_path_SED" --version 2>&1` in
2278 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2281 $as_echo_n 0123456789 >"conftest.in"
2284 cat "conftest.in" "conftest.in" >"conftest.tmp"
2285 mv "conftest.tmp" "conftest.in"
2286 cp "conftest.in" "conftest.nl"
2287 $as_echo '' >> "conftest.nl"
2288 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2289 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2290 ac_count
=`expr $ac_count + 1`
2291 if test $ac_count -gt ${ac_path_SED_max-0}; then
2292 # Best one so far, save it but keep looking for a better one
2293 ac_cv_path_SED
="$ac_path_SED"
2294 ac_path_SED_max
=$ac_count
2296 # 10*(2^10) chars as input seems more than enough
2297 test $ac_count -gt 10 && break
2299 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2302 $ac_path_SED_found && break 3
2307 if test -z "$ac_cv_path_SED"; then
2308 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2309 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2310 { (exit 1); exit 1; }; }
2317 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2318 $as_echo "$ac_cv_path_SED" >&6; }
2319 SED
="$ac_cv_path_SED"
2322 for ac_prog
in gawk mawk nawk
awk
2324 # Extract the first word of "$ac_prog", so it can be a program name with args.
2325 set dummy
$ac_prog; ac_word
=$2
2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if test "${ac_cv_prog_AWK+set}" = set; then
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$AWK"; then
2332 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir
=.
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_AWK
="$ac_prog"
2342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 if test -n "$AWK"; then
2353 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2354 $as_echo "$AWK" >&6; }
2356 { $as_echo "$as_me:$LINENO: result: no" >&5
2357 $as_echo "no" >&6; }
2361 test -n "$AWK" && break
2365 ac_cpp
='$CPP $CPPFLAGS'
2366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2369 if test -n "$ac_tool_prefix"; then
2370 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2371 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC
="$CC" # Let the user override the test.
2380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir
=.
2385 for ac_exec_ext
in '' $ac_executable_extensions; do
2386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2387 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2398 if test -n "$CC"; then
2399 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2400 $as_echo "$CC" >&6; }
2402 { $as_echo "$as_me:$LINENO: result: no" >&5
2403 $as_echo "no" >&6; }
2408 if test -z "$ac_cv_prog_CC"; then
2410 # Extract the first word of "gcc", so it can be a program name with args.
2411 set dummy gcc
; ac_word
=$2
2412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$ac_ct_CC"; then
2418 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427 ac_cv_prog_ac_ct_CC
="gcc"
2428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2438 if test -n "$ac_ct_CC"; then
2439 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2440 $as_echo "$ac_ct_CC" >&6; }
2442 { $as_echo "$as_me:$LINENO: result: no" >&5
2443 $as_echo "no" >&6; }
2446 if test "x$ac_ct_CC" = x
; then
2449 case $cross_compiling:$ac_tool_warned in
2451 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2453 ac_tool_warned
=yes ;;
2461 if test -z "$CC"; then
2462 if test -n "$ac_tool_prefix"; then
2463 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2464 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2465 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if test "${ac_cv_prog_CC+set}" = set; then
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$CC"; then
2471 ac_cv_prog_CC
="$CC" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2481 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 if test -n "$CC"; then
2492 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2493 $as_echo "$CC" >&6; }
2495 { $as_echo "$as_me:$LINENO: result: no" >&5
2496 $as_echo "no" >&6; }
2502 if test -z "$CC"; then
2503 # Extract the first word of "cc", so it can be a program name with args.
2504 set dummy cc
; ac_word
=$2
2505 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if test "${ac_cv_prog_CC+set}" = set; then
2508 $as_echo_n "(cached) " >&6
2510 if test -n "$CC"; then
2511 ac_cv_prog_CC
="$CC" # Let the user override the test.
2514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir
=.
2519 for ac_exec_ext
in '' $ac_executable_extensions; do
2520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2522 ac_prog_rejected
=yes
2526 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 if test $ac_prog_rejected = yes; then
2534 # We found a bogon in the path, so make sure we never use it.
2535 set dummy
$ac_cv_prog_CC
2537 if test $# != 0; then
2538 # We chose a different compiler from the bogus one.
2539 # However, it has the same basename, so the bogon will be chosen
2540 # first if we set CC to just the basename; use the full file name.
2542 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2548 if test -n "$CC"; then
2549 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2550 $as_echo "$CC" >&6; }
2552 { $as_echo "$as_me:$LINENO: result: no" >&5
2553 $as_echo "no" >&6; }
2558 if test -z "$CC"; then
2559 if test -n "$ac_tool_prefix"; then
2560 for ac_prog
in cl.exe
2562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2563 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC
="$CC" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$CC"; then
2591 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2592 $as_echo "$CC" >&6; }
2594 { $as_echo "$as_me:$LINENO: result: no" >&5
2595 $as_echo "no" >&6; }
2599 test -n "$CC" && break
2602 if test -z "$CC"; then
2604 for ac_prog
in cl.exe
2606 # Extract the first word of "$ac_prog", so it can be a program name with args.
2607 set dummy
$ac_prog; ac_word
=$2
2608 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_ac_ct_CC
="$ac_prog"
2624 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2634 if test -n "$ac_ct_CC"; then
2635 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2636 $as_echo "$ac_ct_CC" >&6; }
2638 { $as_echo "$as_me:$LINENO: result: no" >&5
2639 $as_echo "no" >&6; }
2643 test -n "$ac_ct_CC" && break
2646 if test "x$ac_ct_CC" = x
; then
2649 case $cross_compiling:$ac_tool_warned in
2651 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2653 ac_tool_warned
=yes ;;
2662 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2665 See \`config.log' for more details." >&5
2666 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2667 See \`config.log' for more details." >&2;}
2668 { (exit 1); exit 1; }; }; }
2670 # Provide some information about the compiler.
2671 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2674 { (ac_try
="$ac_compiler --version >&5"
2676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2680 $as_echo "$ac_try_echo") >&5
2681 (eval "$ac_compiler --version >&5") 2>&5
2683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }
2685 { (ac_try="$ac_compiler -v >&5"
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2691 $as_echo "$ac_try_echo") >&5
2692 (eval "$ac_compiler -v >&5") 2>&5
2694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }
2696 { (ac_try
="$ac_compiler -V >&5"
2698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2702 $as_echo "$ac_try_echo") >&5
2703 (eval "$ac_compiler -V >&5") 2>&5
2705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }
2708 cat >conftest.$ac_ext <<_ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2723 ac_clean_files_save=$ac_clean_files
2724 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2725 # Try to create an executable without -o first, disregard a.out.
2726 # It will help us diagnose broken compilers, and finding out an intuition
2728 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2729 $as_echo_n "checking for C compiler default output file name... " >&6; }
2730 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2732 # The possible output files:
2733 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2736 for ac_file in $ac_files
2739 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2740 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2745 if { (ac_try="$ac_link_default"
2747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2748 *) ac_try_echo
=$ac_try;;
2750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2751 $as_echo "$ac_try_echo") >&5
2752 (eval "$ac_link_default") 2>&5
2754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; then
2756 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2757 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2758 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2759 # so that the user can short-circuit this test for compilers unknown to
2761 for ac_file
in $ac_files ''
2763 test -f "$ac_file" ||
continue
2765 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2768 # We found the default executable, but exeext='' is most
2772 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2774 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2776 # We set ac_cv_exeext here because the later test for it is not
2777 # safe: cross compilers may not add the suffix if given an `-o'
2778 # argument, so we may need to know it at that point already.
2779 # Even if this section looks crufty: it has the advantage of
2786 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2792 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2793 $as_echo "$ac_file" >&6; }
2794 if test -z "$ac_file"; then
2795 $as_echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.
$ac_ext >&5
2798 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2801 See \`config.log' for more details." >&5
2802 $as_echo "$as_me: error: C compiler cannot create executables
2803 See \`config.log' for more details." >&2;}
2804 { (exit 77); exit 77; }; }; }
2807 ac_exeext
=$ac_cv_exeext
2809 # Check that the compiler produces executables we can run. If not, either
2810 # the compiler is broken, or we cross compile.
2811 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2812 $as_echo_n "checking whether the C compiler works... " >&6; }
2813 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2814 # If not cross compiling, check that we can run a simple program.
2815 if test "$cross_compiling" != yes; then
2816 if { ac_try
='./$ac_file'
2817 { (case "(($ac_try" in
2818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2822 $as_echo "$ac_try_echo") >&5
2823 (eval "$ac_try") 2>&5
2825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; }; then
2829 if test "$cross_compiling" = maybe; then
2832 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2834 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2835 If you meant to cross compile
, use \
`--host'.
2836 See \`config.log
' for more details." >&5
2837 $as_echo "$as_me: error: cannot run C compiled programs.
2838 If you meant to cross compile, use \`--host'.
2839 See \
`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }; }
2844 { $as_echo "$as_me:$LINENO: result: yes" >&5
2845 $as_echo "yes" >&6; }
2847 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2848 ac_clean_files=$ac_clean_files_save
2849 # Check that the compiler produces executables we can run. If not, either
2850 # the compiler is broken, or we cross compile.
2851 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2852 $as_echo_n "checking whether we are cross compiling... " >&6; }
2853 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2854 $as_echo "$cross_compiling" >&6; }
2856 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2857 $as_echo_n "checking for suffix of executables... " >&6; }
2858 if { (ac_try="$ac_link"
2860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2861 *) ac_try_echo
=$ac_try;;
2863 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2864 $as_echo "$ac_try_echo") >&5
2865 (eval "$ac_link") 2>&5
2867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; then
2869 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2870 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2871 # work properly (i.e., refer to `conftest.exe'), while it won't with
2873 for ac_file
in conftest.exe conftest conftest.
*; do
2874 test -f "$ac_file" ||
continue
2876 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2877 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2883 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2886 See \`config.log' for more details." >&5
2887 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2888 See \`config.log' for more details." >&2;}
2889 { (exit 1); exit 1; }; }; }
2892 rm -f conftest
$ac_cv_exeext
2893 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2894 $as_echo "$ac_cv_exeext" >&6; }
2896 rm -f conftest.
$ac_ext
2897 EXEEXT
=$ac_cv_exeext
2899 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2900 $as_echo_n "checking for suffix of object files... " >&6; }
2901 if test "${ac_cv_objext+set}" = set; then
2902 $as_echo_n "(cached) " >&6
2904 cat >conftest.
$ac_ext <<_ACEOF
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.o conftest.obj
2920 if { (ac_try
="$ac_compile"
2922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2926 $as_echo "$ac_try_echo") >&5
2927 (eval "$ac_compile") 2>&5
2929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; then
2931 for ac_file in conftest.o conftest.obj conftest.*; do
2932 test -f "$ac_file" || continue;
2934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2935 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2940 $as_echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2945 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2946 See \
`config.log' for more details." >&5
2947 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2948 See \`config.log
' for more details." >&2;}
2949 { (exit 1); exit 1; }; }; }
2952 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2954 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2955 $as_echo "$ac_cv_objext" >&6; }
2956 OBJEXT=$ac_cv_objext
2958 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2959 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2960 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2961 $as_echo_n "(cached) " >&6
2963 cat >conftest.$ac_ext <<_ACEOF
2966 cat confdefs.h >>conftest.$ac_ext
2967 cat >>conftest.$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2981 rm -f conftest.$ac_objext
2982 if { (ac_try="$ac_compile"
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2988 $as_echo "$ac_try_echo") >&5
2989 (eval "$ac_compile") 2>conftest.er1
2991 grep -v '^
*+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } && {
2996 test -z "$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2998 } && test -s conftest.$ac_objext; then
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's
/^
/|
/' conftest.$ac_ext >&5
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3011 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3012 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3013 if test $ac_compiler_gnu = yes; then
3018 ac_test_CFLAGS=${CFLAGS+set}
3019 ac_save_CFLAGS=$CFLAGS
3020 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3021 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3022 if test "${ac_cv_prog_cc_g+set}" = set; then
3023 $as_echo_n "(cached) " >&6
3025 ac_save_c_werror_flag=$ac_c_werror_flag
3026 ac_c_werror_flag=yes
3029 cat >conftest.$ac_ext <<_ACEOF
3032 cat confdefs.h >>conftest.$ac_ext
3033 cat >>conftest.$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3044 rm -f conftest.$ac_objext
3045 if { (ac_try="$ac_compile"
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3051 $as_echo "$ac_try_echo") >&5
3052 (eval "$ac_compile") 2>conftest.er1
3054 grep -v '^
*+' conftest.er1 >conftest.err
3056 cat conftest.err >&5
3057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } && {
3059 test -z "$ac_c_werror_flag" ||
3060 test ! -s conftest.err
3061 } && test -s conftest.$ac_objext; then
3064 $as_echo "$as_me: failed program was:" >&5
3065 sed 's
/^
/|
/' conftest.$ac_ext >&5
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3083 rm -f conftest.$ac_objext
3084 if { (ac_try="$ac_compile"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3090 $as_echo "$ac_try_echo") >&5
3091 (eval "$ac_compile") 2>conftest.er1
3093 grep -v '^
*+' conftest.er1 >conftest.err
3095 cat conftest.err >&5
3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_c_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest.$ac_objext; then
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's
/^
/|
/' conftest.$ac_ext >&5
3106 ac_c_werror_flag=$ac_save_c_werror_flag
3108 cat >conftest.$ac_ext <<_ACEOF
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3123 rm -f conftest.$ac_objext
3124 if { (ac_try="$ac_compile"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3130 $as_echo "$ac_try_echo") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^
*+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_c_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's
/^
/|
/' conftest.$ac_ext >&5
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_c_werror_flag=$ac_save_c_werror_flag
3158 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3159 $as_echo "$ac_cv_prog_cc_g" >&6; }
3160 if test "$ac_test_CFLAGS" = set; then
3161 CFLAGS=$ac_save_CFLAGS
3162 elif test $ac_cv_prog_cc_g = yes; then
3163 if test "$GCC" = yes; then
3169 if test "$GCC" = yes; then
3175 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3176 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3177 if test "${ac_cv_prog_cc_c89+set}" = set; then
3178 $as_echo_n "(cached) " >&6
3180 ac_cv_prog_cc_c89=no
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3190 #include <sys/types.h>
3191 #include <sys/stat.h>
3192 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3193 struct buf
{ int x
; };
3194 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3195 static char
*e
(p
, i
)
3201 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3206 s
= g
(p
, va_arg
(v
,int
));
3211 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3212 function prototypes and stuff
, but not
'\xHH' hex character constants.
3213 These don
't provoke an error unfortunately, instead are silently treated
3214 as 'x
'. The following induces an error, until -std is added to get
3215 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3216 array size at least. It's necessary to
write '\x00'==0 to get something
3217 that
's true only with -std. */
3218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3221 inside strings and character constants. */
3223 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3225 int test (int i, double x);
3226 struct s1 {int (*f) (int a);};
3227 struct s2 {int (*f) (double a);};
3228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3234 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3240 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3242 CC="$ac_save_CC $ac_arg"
3243 rm -f conftest.$ac_objext
3244 if { (ac_try="$ac_compile"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3250 $as_echo "$ac_try_echo") >&5
3251 (eval "$ac_compile") 2>conftest.er1
3253 grep -v '^
*+' conftest.er1 >conftest.err
3255 cat conftest.err >&5
3256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } && {
3258 test -z "$ac_c_werror_flag" ||
3259 test ! -s conftest.err
3260 } && test -s conftest.$ac_objext; then
3261 ac_cv_prog_cc_c89=$ac_arg
3263 $as_echo "$as_me: failed program was:" >&5
3264 sed 's
/^
/|
/' conftest.$ac_ext >&5
3269 rm -f core conftest.err conftest.$ac_objext
3270 test "x$ac_cv_prog_cc_c89" != "xno" && break
3272 rm -f conftest.$ac_ext
3277 case "x$ac_cv_prog_cc_c89" in
3279 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3280 $as_echo "none needed" >&6; } ;;
3282 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3283 $as_echo "unsupported" >&6; } ;;
3285 CC="$CC $ac_cv_prog_cc_c89"
3286 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3287 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3292 ac_cpp='$CPP $CPPFLAGS'
3293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3300 ac_cpp='$CPP $CPPFLAGS'
3301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3304 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3305 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3306 # On Suns, sometimes $CPP names a directory.
3307 if test -n "$CPP" && test -d "$CPP"; then
3310 if test -z "$CPP"; then
3311 if test "${ac_cv_prog_CPP+set}" = set; then
3312 $as_echo_n "(cached) " >&6
3314 # Double quotes because CPP needs to be expanded
3315 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3318 for ac_c_preproc_warn_flag in '' yes
3320 # Use a header file that comes with gcc, so configuring glibc
3321 # with a fresh cross-compiler works.
3322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3323 # <limits.h> exists even on freestanding compilers.
3324 # On the NeXT, cc -E runs the code through the compiler's parser
,
3325 # not just through cpp. "Syntax error" is here to catch this case.
3326 cat >conftest.
$ac_ext <<_ACEOF
3329 cat confdefs.h
>>conftest.
$ac_ext
3330 cat >>conftest.
$ac_ext <<_ACEOF
3331 /* end confdefs.h. */
3333 # include <limits.h>
3335 # include <assert.h>
3339 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3345 $as_echo "$ac_try_echo") >&5
3346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } >/dev/null && {
3353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.$ac_ext
3367 # OK, works on sane cases. Now check whether nonexistent headers
3368 # can be detected and how.
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3375 #include <ac_nonexistent.h>
3377 if { (ac_try="$ac_cpp conftest.$ac_ext"
3379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3380 *) ac_try_echo
=$ac_try;;
3382 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3383 $as_echo "$ac_try_echo") >&5
3384 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1
>conftest.err
3388 cat conftest.err
>&5
3389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } >/dev
/null
&& {
3391 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3392 test ! -s conftest.err
3394 # Broken: success on invalid input.
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.
$ac_ext >&5
3400 # Passes both tests.
3405 rm -f conftest.err conftest.
$ac_ext
3408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3409 rm -f conftest.err conftest.
$ac_ext
3410 if $ac_preproc_ok; then
3422 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3423 $as_echo "$CPP" >&6; }
3425 for ac_c_preproc_warn_flag
in '' yes
3427 # Use a header file that comes with gcc, so configuring glibc
3428 # with a fresh cross-compiler works.
3429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3430 # <limits.h> exists even on freestanding compilers.
3431 # On the NeXT, cc -E runs the code through the compiler's parser,
3432 # not just through cpp. "Syntax error" is here to catch this case.
3433 cat >conftest.
$ac_ext <<_ACEOF
3436 cat confdefs.h
>>conftest.
$ac_ext
3437 cat >>conftest.
$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3440 # include <limits.h>
3442 # include <assert.h>
3446 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } >/dev/null && {
3460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3461 test ! -s conftest.err
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3468 # Broken: fails on valid input.
3472 rm -f conftest.err conftest.$ac_ext
3474 # OK, works on sane cases. Now check whether nonexistent headers
3475 # can be detected and how.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #include <ac_nonexistent.h>
3484 if { (ac_try="$ac_cpp conftest.$ac_ext"
3486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3487 *) ac_try_echo
=$ac_try;;
3489 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3490 $as_echo "$ac_try_echo") >&5
3491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3493 grep -v '^ *+' conftest.er1
>conftest.err
3495 cat conftest.err
>&5
3496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } >/dev
/null
&& {
3498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3499 test ! -s conftest.err
3501 # Broken: success on invalid input.
3504 $as_echo "$as_me: failed program was:" >&5
3505 sed 's/^/| /' conftest.
$ac_ext >&5
3507 # Passes both tests.
3512 rm -f conftest.err conftest.
$ac_ext
3515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3516 rm -f conftest.err conftest.
$ac_ext
3517 if $ac_preproc_ok; then
3520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3523 See \`config.log' for more details." >&5
3524 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3525 See \`config.log' for more details." >&2;}
3526 { (exit 1); exit 1; }; }; }
3530 ac_cpp
='$CPP $CPPFLAGS'
3531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3536 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3537 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3538 if test "${ac_cv_path_GREP+set}" = set; then
3539 $as_echo_n "(cached) " >&6
3541 if test -z "$GREP"; then
3542 ac_path_GREP_found
=false
3543 # Loop through the user's path and test for each of PROGNAME-LIST
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_prog
in grep ggrep
; do
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3552 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3553 # Check for GNU ac_path_GREP and select it if it is found.
3554 # Check for GNU $ac_path_GREP
3555 case `"$ac_path_GREP" --version 2>&1` in
3557 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3560 $as_echo_n 0123456789 >"conftest.in"
3563 cat "conftest.in" "conftest.in" >"conftest.tmp"
3564 mv "conftest.tmp" "conftest.in"
3565 cp "conftest.in" "conftest.nl"
3566 $as_echo 'GREP' >> "conftest.nl"
3567 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3568 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3569 ac_count
=`expr $ac_count + 1`
3570 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3571 # Best one so far, save it but keep looking for a better one
3572 ac_cv_path_GREP
="$ac_path_GREP"
3573 ac_path_GREP_max
=$ac_count
3575 # 10*(2^10) chars as input seems more than enough
3576 test $ac_count -gt 10 && break
3578 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3581 $ac_path_GREP_found && break 3
3586 if test -z "$ac_cv_path_GREP"; then
3587 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3588 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3589 { (exit 1); exit 1; }; }
3592 ac_cv_path_GREP
=$GREP
3596 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3597 $as_echo "$ac_cv_path_GREP" >&6; }
3598 GREP
="$ac_cv_path_GREP"
3601 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3602 $as_echo_n "checking for egrep... " >&6; }
3603 if test "${ac_cv_path_EGREP+set}" = set; then
3604 $as_echo_n "(cached) " >&6
3606 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3607 then ac_cv_path_EGREP
="$GREP -E"
3609 if test -z "$EGREP"; then
3610 ac_path_EGREP_found
=false
3611 # Loop through the user's path and test for each of PROGNAME-LIST
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_prog
in egrep; do
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3620 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3621 # Check for GNU ac_path_EGREP and select it if it is found.
3622 # Check for GNU $ac_path_EGREP
3623 case `"$ac_path_EGREP" --version 2>&1` in
3625 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3628 $as_echo_n 0123456789 >"conftest.in"
3631 cat "conftest.in" "conftest.in" >"conftest.tmp"
3632 mv "conftest.tmp" "conftest.in"
3633 cp "conftest.in" "conftest.nl"
3634 $as_echo 'EGREP' >> "conftest.nl"
3635 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3637 ac_count
=`expr $ac_count + 1`
3638 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3639 # Best one so far, save it but keep looking for a better one
3640 ac_cv_path_EGREP
="$ac_path_EGREP"
3641 ac_path_EGREP_max
=$ac_count
3643 # 10*(2^10) chars as input seems more than enough
3644 test $ac_count -gt 10 && break
3646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3649 $ac_path_EGREP_found && break 3
3654 if test -z "$ac_cv_path_EGREP"; then
3655 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3656 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3657 { (exit 1); exit 1; }; }
3660 ac_cv_path_EGREP
=$EGREP
3665 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3666 $as_echo "$ac_cv_path_EGREP" >&6; }
3667 EGREP
="$ac_cv_path_EGREP"
3670 if test $ac_cv_c_compiler_gnu = yes; then
3671 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3672 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3673 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3674 $as_echo_n "(cached) " >&6
3676 ac_pattern
="Autoconf.*'x'"
3677 cat >conftest.
$ac_ext <<_ACEOF
3680 cat confdefs.h
>>conftest.
$ac_ext
3681 cat >>conftest.
$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3687 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3688 ac_cv_prog_gcc_traditional
=yes
3690 ac_cv_prog_gcc_traditional
=no
3695 if test $ac_cv_prog_gcc_traditional = no
; then
3696 cat >conftest.
$ac_ext <<_ACEOF
3699 cat confdefs.h
>>conftest.
$ac_ext
3700 cat >>conftest.
$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3706 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3707 ac_cv_prog_gcc_traditional
=yes
3713 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3714 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3715 if test $ac_cv_prog_gcc_traditional = yes; then
3716 CC
="$CC -traditional"
3720 # Find a good install program. We prefer a C program (faster),
3721 # so one script is as good as another. But avoid the broken or
3722 # incompatible versions:
3723 # SysV /etc/install, /usr/sbin/install
3724 # SunOS /usr/etc/install
3725 # IRIX /sbin/install
3727 # AmigaOS /C/install, which installs bootblocks on floppy discs
3728 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3729 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3730 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3731 # OS/2's system install, which has a completely different semantic
3732 # ./install, which can be erroneously created by make from ./install.sh.
3733 # Reject install programs that cannot install multiple files.
3734 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3735 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3736 if test -z "$INSTALL"; then
3737 if test "${ac_cv_path_install+set}" = set; then
3738 $as_echo_n "(cached) " >&6
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 # Account for people who put trailing slashes in PATH elements.
3747 .
/ | .
// |
/cC
/* | \
3748 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3749 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3752 # OSF1 and SCO ODT 3.0 have their own names for install.
3753 # Don't use installbsd from OSF since it installs stuff as root
3755 for ac_prog
in ginstall scoinst
install; do
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3758 if test $ac_prog = install &&
3759 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3760 # AIX install. It has an incompatible calling convention.
3762 elif test $ac_prog = install &&
3763 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3764 # program-specific install script used by HP pwplus--don't use.
3767 rm -rf conftest.one conftest.two conftest.dir
3768 echo one
> conftest.one
3769 echo two
> conftest.two
3771 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3772 test -s conftest.one
&& test -s conftest.two
&&
3773 test -s conftest.dir
/conftest.one
&&
3774 test -s conftest.dir
/conftest.two
3776 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3789 rm -rf conftest.one conftest.two conftest.dir
3792 if test "${ac_cv_path_install+set}" = set; then
3793 INSTALL
=$ac_cv_path_install
3795 # As a last resort, use the slow shell script. Don't cache a
3796 # value for INSTALL within a source directory, because that will
3797 # break other packages using the cache if that directory is
3798 # removed, or if the value is a relative name.
3799 INSTALL
=$ac_install_sh
3802 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3803 $as_echo "$INSTALL" >&6; }
3805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3806 # It thinks the first close brace ends the variable substitution.
3807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3811 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3813 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3814 $as_echo_n "checking whether ln -s works... " >&6; }
3816 if test "$LN_S" = "ln -s"; then
3817 { $as_echo "$as_me:$LINENO: result: yes" >&5
3818 $as_echo "yes" >&6; }
3820 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3821 $as_echo "no, using $LN_S" >&6; }
3824 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3825 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3827 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3828 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3829 $as_echo_n "(cached) " >&6
3831 cat >conftest.
make <<\_ACEOF
3834 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3836 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3837 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3839 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3841 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3845 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3846 { $as_echo "$as_me:$LINENO: result: yes" >&5
3847 $as_echo "yes" >&6; }
3850 { $as_echo "$as_me:$LINENO: result: no" >&5
3851 $as_echo "no" >&6; }
3852 SET_MAKE
="MAKE=${MAKE-make}"
3855 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3856 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3857 if test -z "$MKDIR_P"; then
3858 if test "${ac_cv_path_mkdir+set}" = set; then
3859 $as_echo_n "(cached) " >&6
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_prog
in mkdir gmkdir
; do
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3869 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3870 'mkdir (GNU coreutils) '* | \
3871 'mkdir (coreutils) '* | \
3872 'mkdir (fileutils) '4.1*)
3873 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3883 if test "${ac_cv_path_mkdir+set}" = set; then
3884 MKDIR_P
="$ac_cv_path_mkdir -p"
3886 # As a last resort, use the slow shell script. Don't cache a
3887 # value for MKDIR_P within a source directory, because that will
3888 # break other packages using the cache if that directory is
3889 # removed, or if the value is a relative name.
3890 test -d .
/--version && rmdir .
/--version
3891 MKDIR_P
="$ac_install_sh -d"
3894 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3895 $as_echo "$MKDIR_P" >&6; }
3897 if test -n "$ac_tool_prefix"; then
3898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3899 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if test "${ac_cv_prog_RANLIB+set}" = set; then
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$RANLIB"; then
3906 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3915 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3916 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 RANLIB
=$ac_cv_prog_RANLIB
3926 if test -n "$RANLIB"; then
3927 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3928 $as_echo "$RANLIB" >&6; }
3930 { $as_echo "$as_me:$LINENO: result: no" >&5
3931 $as_echo "no" >&6; }
3936 if test -z "$ac_cv_prog_RANLIB"; then
3937 ac_ct_RANLIB
=$RANLIB
3938 # Extract the first word of "ranlib", so it can be a program name with args.
3939 set dummy ranlib
; ac_word
=$2
3940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$ac_ct_RANLIB"; then
3946 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3966 if test -n "$ac_ct_RANLIB"; then
3967 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3968 $as_echo "$ac_ct_RANLIB" >&6; }
3970 { $as_echo "$as_me:$LINENO: result: no" >&5
3971 $as_echo "no" >&6; }
3974 if test "x$ac_ct_RANLIB" = x
; then
3977 case $cross_compiling:$ac_tool_warned in
3979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned
=yes ;;
3983 RANLIB
=$ac_ct_RANLIB
3986 RANLIB
="$ac_cv_prog_RANLIB"
3989 # Extract the first word of "cflow", so it can be a program name with args.
3990 set dummy cflow
; ac_word
=$2
3991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3994 $as_echo_n "(cached) " >&6
3998 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_exec_ext
in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4009 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4020 if test -n "$CFLOW_CMD"; then
4021 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4022 $as_echo "$CFLOW_CMD" >&6; }
4024 { $as_echo "$as_me:$LINENO: result: no" >&5
4025 $as_echo "no" >&6; }
4029 # Extract the first word of "cscope", so it can be a program name with args.
4030 set dummy cscope
; ac_word
=$2
4031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4034 $as_echo_n "(cached) " >&6
4038 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4060 if test -n "$CSCOPE_CMD"; then
4061 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4062 $as_echo "$CSCOPE_CMD" >&6; }
4064 { $as_echo "$as_me:$LINENO: result: no" >&5
4065 $as_echo "no" >&6; }
4070 ################################################################################
4077 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4078 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4079 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4080 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4081 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4082 $as_echo_n "(cached) " >&6
4084 cat >conftest.
$ac_ext <<_ACEOF
4087 cat confdefs.h
>>conftest.
$ac_ext
4088 cat >>conftest.
$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4090 #include <sys/types.h>
4102 rm -f conftest.
$ac_objext
4103 if { (ac_try
="$ac_compile"
4105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4109 $as_echo "$ac_try_echo") >&5
4110 (eval "$ac_compile") 2>conftest.er1
4112 grep -v '^ *+' conftest.er1 >conftest.err
4114 cat conftest.err >&5
4115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest.$ac_objext; then
4120 eval "$as_ac_Header=yes"
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 eval "$as_ac_Header=no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_res=`eval 'as_val=${'$as_ac_Header'}
4131 $as_echo "$as_val"'`
4132 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4133 $as_echo "$ac_res" >&6; }
4134 as_val=`eval 'as_val=${'$as_ac_Header'}
4135 $as_echo "$as_val"'`
4136 if test "x$as_val" = x""yes; then
4137 cat >>confdefs.h <<_ACEOF
4138 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4141 ac_header_dirent=$ac_hdr; break
4145 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4146 if test $ac_header_dirent = dirent.h; then
4147 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4148 $as_echo_n "checking for library containing opendir... " >&6; }
4149 if test "${ac_cv_search_opendir+set}" = set; then
4150 $as_echo_n "(cached) " >&6
4152 ac_func_search_save_LIBS=$LIBS
4153 cat >conftest.$ac_ext <<_ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4160 /* Override any GCC internal prototype to avoid an error.
4161 Use char because int might match the return type of a GCC
4162 builtin and then its argument prototype would still apply. */
4175 for ac_lib in '' dir; do
4176 if test -z "$ac_lib"; then
4177 ac_res="none required"
4180 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4182 rm -f conftest.$ac_objext conftest$ac_exeext
4183 if { (ac_try="$ac_link"
4185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4186 *) ac_try_echo
=$ac_try;;
4188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4189 $as_echo "$ac_try_echo") >&5
4190 (eval "$ac_link") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest
$ac_exeext && {
4200 test "$cross_compiling" = yes ||
4201 $as_test_x conftest
$ac_exeext
4203 ac_cv_search_opendir
=$ac_res
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4211 rm -rf conftest.dSYM
4212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4214 if test "${ac_cv_search_opendir+set}" = set; then
4218 if test "${ac_cv_search_opendir+set}" = set; then
4221 ac_cv_search_opendir
=no
4224 LIBS
=$ac_func_search_save_LIBS
4226 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4227 $as_echo "$ac_cv_search_opendir" >&6; }
4228 ac_res
=$ac_cv_search_opendir
4229 if test "$ac_res" != no
; then
4230 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4235 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4236 $as_echo_n "checking for library containing opendir... " >&6; }
4237 if test "${ac_cv_search_opendir+set}" = set; then
4238 $as_echo_n "(cached) " >&6
4240 ac_func_search_save_LIBS
=$LIBS
4241 cat >conftest.
$ac_ext <<_ACEOF
4244 cat confdefs.h
>>conftest.
$ac_ext
4245 cat >>conftest.
$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4248 /* Override any GCC internal prototype to avoid an error.
4249 Use char because int might match the return type of a GCC
4250 builtin and then its argument prototype would still apply. */
4263 for ac_lib
in '' x
; do
4264 if test -z "$ac_lib"; then
4265 ac_res
="none required"
4268 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4270 rm -f conftest.
$ac_objext conftest
$ac_exeext
4271 if { (ac_try
="$ac_link"
4273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4277 $as_echo "$ac_try_echo") >&5
4278 (eval "$ac_link") 2>conftest.er1
4280 grep -v '^ *+' conftest.er1 >conftest.err
4282 cat conftest.err >&5
4283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } && {
4285 test -z "$ac_c_werror_flag" ||
4286 test ! -s conftest.err
4287 } && test -s conftest$ac_exeext && {
4288 test "$cross_compiling" = yes ||
4289 $as_test_x conftest$ac_exeext
4291 ac_cv_search_opendir=$ac_res
4293 $as_echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.$ac_ext >&5
4299 rm -rf conftest.dSYM
4300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4302 if test "${ac_cv_search_opendir+set}" = set; then
4306 if test "${ac_cv_search_opendir+set}" = set; then
4309 ac_cv_search_opendir=no
4312 LIBS=$ac_func_search_save_LIBS
4314 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4315 $as_echo "$ac_cv_search_opendir" >&6; }
4316 ac_res=$ac_cv_search_opendir
4317 if test "$ac_res" != no; then
4318 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4324 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4325 $as_echo_n "checking for ANSI C header files... " >&6; }
4326 if test "${ac_cv_header_stdc+set}" = set; then
4327 $as_echo_n "(cached) " >&6
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4348 rm -f conftest.$ac_objext
4349 if { (ac_try="$ac_compile"
4351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4352 *) ac_try_echo
=$ac_try;;
4354 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4355 $as_echo "$ac_try_echo") >&5
4356 (eval "$ac_compile") 2>conftest.er1
4358 grep -v '^ *+' conftest.er1
>conftest.err
4360 cat conftest.err
>&5
4361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } && {
4363 test -z "$ac_c_werror_flag" ||
4364 test ! -s conftest.err
4365 } && test -s conftest.
$ac_objext; then
4366 ac_cv_header_stdc
=yes
4368 $as_echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.
$ac_ext >&5
4371 ac_cv_header_stdc
=no
4374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4376 if test $ac_cv_header_stdc = yes; then
4377 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4378 cat >conftest.
$ac_ext <<_ACEOF
4381 cat confdefs.h
>>conftest.
$ac_ext
4382 cat >>conftest.
$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4388 $EGREP "memchr" >/dev
/null
2>&1; then
4391 ac_cv_header_stdc
=no
4397 if test $ac_cv_header_stdc = yes; then
4398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4399 cat >conftest.
$ac_ext <<_ACEOF
4402 cat confdefs.h
>>conftest.
$ac_ext
4403 cat >>conftest.
$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4409 $EGREP "free" >/dev
/null
2>&1; then
4412 ac_cv_header_stdc
=no
4418 if test $ac_cv_header_stdc = yes; then
4419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4420 if test "$cross_compiling" = yes; then
4423 cat >conftest.
$ac_ext <<_ACEOF
4426 cat confdefs.h
>>conftest.
$ac_ext
4427 cat >>conftest.
$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4431 #if ((' ' & 0x0FF) == 0x020)
4432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4435 # define ISLOWER(c) \
4436 (('a' <= (c) && (c) <= 'i') \
4437 || ('j' <= (c) && (c) <= 'r') \
4438 || ('s' <= (c) && (c) <= 'z'))
4439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4447 for (i = 0; i < 256; i++)
4448 if (XOR (islower (i), ISLOWER (i))
4449 || toupper (i) != TOUPPER (i))
4454 rm -f conftest
$ac_exeext
4455 if { (ac_try
="$ac_link"
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4461 $as_echo "$ac_try_echo") >&5
4462 (eval "$ac_link") 2>&5
4464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4468 *) ac_try_echo
=$ac_try;;
4470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4471 $as_echo "$ac_try_echo") >&5
4472 (eval "$ac_try") 2>&5
4474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4478 $as_echo "$as_me: program exited with status $ac_status" >&5
4479 $as_echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4483 ac_cv_header_stdc
=no
4485 rm -rf conftest.dSYM
4486 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4492 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4493 $as_echo "$ac_cv_header_stdc" >&6; }
4494 if test $ac_cv_header_stdc = yes; then
4496 cat >>confdefs.h
<<\_ACEOF
4497 #define STDC_HEADERS 1
4502 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4503 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4504 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4505 $as_echo_n "(cached) " >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 #include <sys/types.h>
4514 #include <sys/wait.h>
4516 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4519 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4527 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4532 rm -f conftest.
$ac_objext
4533 if { (ac_try
="$ac_compile"
4535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4536 *) ac_try_echo=$ac_try;;
4538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4539 $as_echo "$ac_try_echo") >&5
4540 (eval "$ac_compile") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest.$ac_objext; then
4550 ac_cv_header_sys_wait_h=yes
4552 $as_echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 ac_cv_header_sys_wait_h=no
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4561 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4562 if test $ac_cv_header_sys_wait_h = yes; then
4564 cat >>confdefs.h <<\_ACEOF
4565 #define HAVE_SYS_WAIT_H 1
4570 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4571 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4572 if test "${ac_cv_header_time+set}" = set; then
4573 $as_echo_n "(cached) " >&6
4575 cat >conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4581 #include <sys/types.h>
4582 #include <sys/time.h>
4588 if ((struct tm *) 0)
4594 rm -f conftest.$ac_objext
4595 if { (ac_try="$ac_compile"
4597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4598 *) ac_try_echo
=$ac_try;;
4600 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4601 $as_echo "$ac_try_echo") >&5
4602 (eval "$ac_compile") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1
>conftest.err
4606 cat conftest.err
>&5
4607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest.
$ac_objext; then
4612 ac_cv_header_time
=yes
4614 $as_echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.
$ac_ext >&5
4617 ac_cv_header_time
=no
4620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4623 $as_echo "$ac_cv_header_time" >&6; }
4624 if test $ac_cv_header_time = yes; then
4626 cat >>confdefs.h
<<\_ACEOF
4627 #define TIME_WITH_SYS_TIME 1
4633 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4643 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4644 inttypes.h stdint.h unistd.h
4646 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4647 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4648 $as_echo_n "checking for $ac_header... " >&6; }
4649 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4650 $as_echo_n "(cached) " >&6
4652 cat >conftest.
$ac_ext <<_ACEOF
4655 cat confdefs.h
>>conftest.
$ac_ext
4656 cat >>conftest.
$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4658 $ac_includes_default
4660 #include <$ac_header>
4662 rm -f conftest.
$ac_objext
4663 if { (ac_try
="$ac_compile"
4665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4669 $as_echo "$ac_try_echo") >&5
4670 (eval "$ac_compile") 2>conftest.er1
4672 grep -v '^ *+' conftest.er1 >conftest.err
4674 cat conftest.err >&5
4675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest.$ac_objext; then
4680 eval "$as_ac_Header=yes"
4682 $as_echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 eval "$as_ac_Header=no"
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 ac_res=`eval 'as_val=${'$as_ac_Header'}
4691 $as_echo "$as_val"'`
4692 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4693 $as_echo "$ac_res" >&6; }
4694 as_val=`eval 'as_val=${'$as_ac_Header'}
4695 $as_echo "$as_val"'`
4696 if test "x$as_val" = x""yes; then
4697 cat >>confdefs.h <<_ACEOF
4698 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4719 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4720 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4725 $as_echo_n "checking for $ac_header... " >&6; }
4726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4727 $as_echo_n "(cached) " >&6
4729 ac_res=`eval 'as_val=${'$as_ac_Header'}
4730 $as_echo "$as_val"'`
4731 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4732 $as_echo "$ac_res" >&6; }
4734 # Is the header compilable?
4735 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4736 $as_echo_n "checking $ac_header usability... " >&6; }
4737 cat >conftest.$ac_ext <<_ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 $ac_includes_default
4744 #include <$ac_header>
4746 rm -f conftest.$ac_objext
4747 if { (ac_try="$ac_compile"
4749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4750 *) ac_try_echo
=$ac_try;;
4752 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4753 $as_echo "$ac_try_echo") >&5
4754 (eval "$ac_compile") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1
>conftest.err
4758 cat conftest.err
>&5
4759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest.
$ac_objext; then
4764 ac_header_compiler
=yes
4766 $as_echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.
$ac_ext >&5
4769 ac_header_compiler
=no
4772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4774 $as_echo "$ac_header_compiler" >&6; }
4776 # Is the header present?
4777 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4778 $as_echo_n "checking $ac_header presence... " >&6; }
4779 cat >conftest.
$ac_ext <<_ACEOF
4782 cat confdefs.h
>>conftest.
$ac_ext
4783 cat >>conftest.
$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 #include <$ac_header>
4787 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4793 $as_echo "$ac_try_echo") >&5
4794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4796 grep -v '^ *+' conftest.er1 >conftest.err
4798 cat conftest.err >&5
4799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } >/dev/null && {
4801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4802 test ! -s conftest.err
4804 ac_header_preproc=yes
4806 $as_echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.$ac_ext >&5
4809 ac_header_preproc=no
4812 rm -f conftest.err conftest.$ac_ext
4813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4814 $as_echo "$ac_header_preproc" >&6; }
4816 # So? What about this header?
4817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4820 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4823 ac_header_preproc=yes
4826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4827 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4829 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4831 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4833 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4837 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4841 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4842 $as_echo_n "checking for $ac_header... " >&6; }
4843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4844 $as_echo_n "(cached) " >&6
4846 eval "$as_ac_Header=\$ac_header_preproc"
4848 ac_res=`eval 'as_val=${'$as_ac_Header'}
4849 $as_echo "$as_val"'`
4850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4851 $as_echo "$ac_res" >&6; }
4854 as_val=`eval 'as_val=${'$as_ac_Header'}
4855 $as_echo "$as_val"'`
4856 if test "x$as_val" = x""yes; then
4857 cat >>confdefs.h <<_ACEOF
4858 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4862 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4863 $as_echo "$as_me: error: bailing out" >&2;}
4864 { (exit 1); exit 1; }; }
4875 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4879 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4880 $as_echo_n "checking for $ac_header... " >&6; }
4881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4882 $as_echo_n "(cached) " >&6
4884 ac_res=`eval 'as_val=${'$as_ac_Header'}
4885 $as_echo "$as_val"'`
4886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4887 $as_echo "$ac_res" >&6; }
4889 # Is the header compilable?
4890 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4891 $as_echo_n "checking $ac_header usability... " >&6; }
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4898 $ac_includes_default
4899 #include <$ac_header>
4901 rm -f conftest.$ac_objext
4902 if { (ac_try="$ac_compile"
4904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4905 *) ac_try_echo
=$ac_try;;
4907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4908 $as_echo "$ac_try_echo") >&5
4909 (eval "$ac_compile") 2>conftest.er1
4911 grep -v '^ *+' conftest.er1
>conftest.err
4913 cat conftest.err
>&5
4914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } && {
4916 test -z "$ac_c_werror_flag" ||
4917 test ! -s conftest.err
4918 } && test -s conftest.
$ac_objext; then
4919 ac_header_compiler
=yes
4921 $as_echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.
$ac_ext >&5
4924 ac_header_compiler
=no
4927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4928 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4929 $as_echo "$ac_header_compiler" >&6; }
4931 # Is the header present?
4932 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4933 $as_echo_n "checking $ac_header presence... " >&6; }
4934 cat >conftest.
$ac_ext <<_ACEOF
4937 cat confdefs.h
>>conftest.
$ac_ext
4938 cat >>conftest.
$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4940 #include <$ac_header>
4942 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4945 *) ac_try_echo=$ac_try;;
4947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4948 $as_echo "$ac_try_echo") >&5
4949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951 grep -v '^ *+' conftest.er1 >conftest.err
4953 cat conftest.err >&5
4954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } >/dev/null && {
4956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4957 test ! -s conftest.err
4959 ac_header_preproc=yes
4961 $as_echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.$ac_ext >&5
4964 ac_header_preproc=no
4967 rm -f conftest.err conftest.$ac_ext
4968 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4969 $as_echo "$ac_header_preproc" >&6; }
4971 # So? What about this header?
4972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4975 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4977 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4978 ac_header_preproc=yes
4981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4982 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4984 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4986 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4988 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4990 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4992 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4996 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4997 $as_echo_n "checking for $ac_header... " >&6; }
4998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4999 $as_echo_n "(cached) " >&6
5001 eval "$as_ac_Header=\$ac_header_preproc"
5003 ac_res=`eval 'as_val=${'$as_ac_Header'}
5004 $as_echo "$as_val"'`
5005 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5006 $as_echo "$ac_res" >&6; }
5009 as_val=`eval 'as_val=${'$as_ac_Header'}
5010 $as_echo "$as_val"'`
5011 if test "x$as_val" = x""yes; then
5012 cat >>confdefs.h <<_ACEOF
5013 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5017 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5018 $as_echo "$as_me: error: bailing out" >&2;}
5019 { (exit 1); exit 1; }; }
5027 for ac_header in machine/endian.h sys/disk.h
5029 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5031 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5032 $as_echo_n "checking for $ac_header... " >&6; }
5033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5034 $as_echo_n "(cached) " >&6
5036 ac_res=`eval 'as_val=${'$as_ac_Header'}
5037 $as_echo "$as_val"'`
5038 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5039 $as_echo "$ac_res" >&6; }
5041 # Is the header compilable?
5042 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5043 $as_echo_n "checking $ac_header usability... " >&6; }
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 $ac_includes_default
5051 #include <$ac_header>
5053 rm -f conftest.$ac_objext
5054 if { (ac_try="$ac_compile"
5056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5057 *) ac_try_echo
=$ac_try;;
5059 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5060 $as_echo "$ac_try_echo") >&5
5061 (eval "$ac_compile") 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } && {
5068 test -z "$ac_c_werror_flag" ||
5069 test ! -s conftest.err
5070 } && test -s conftest.
$ac_objext; then
5071 ac_header_compiler
=yes
5073 $as_echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.
$ac_ext >&5
5076 ac_header_compiler
=no
5079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5080 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5081 $as_echo "$ac_header_compiler" >&6; }
5083 # Is the header present?
5084 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5085 $as_echo_n "checking $ac_header presence... " >&6; }
5086 cat >conftest.
$ac_ext <<_ACEOF
5089 cat confdefs.h
>>conftest.
$ac_ext
5090 cat >>conftest.
$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5092 #include <$ac_header>
5094 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5097 *) ac_try_echo=$ac_try;;
5099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5100 $as_echo "$ac_try_echo") >&5
5101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5103 grep -v '^ *+' conftest.er1 >conftest.err
5105 cat conftest.err >&5
5106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } >/dev/null && {
5108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5109 test ! -s conftest.err
5111 ac_header_preproc=yes
5113 $as_echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5116 ac_header_preproc=no
5119 rm -f conftest.err conftest.$ac_ext
5120 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5121 $as_echo "$ac_header_preproc" >&6; }
5123 # So? What about this header?
5124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5127 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5129 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5130 ac_header_preproc=yes
5133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5134 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5136 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5138 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5140 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5142 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5144 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5148 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5149 $as_echo_n "checking for $ac_header... " >&6; }
5150 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5151 $as_echo_n "(cached) " >&6
5153 eval "$as_ac_Header=\$ac_header_preproc"
5155 ac_res=`eval 'as_val=${'$as_ac_Header'}
5156 $as_echo "$as_val"'`
5157 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5158 $as_echo "$ac_res" >&6; }
5161 as_val=`eval 'as_val=${'$as_ac_Header'}
5162 $as_echo "$as_val"'`
5163 if test "x$as_val" = x""yes; then
5164 cat >>confdefs.h <<_ACEOF
5165 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5169 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5170 $as_echo "$as_me: error: bailing out" >&2;}
5171 { (exit 1); exit 1; }; }
5194 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5195 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5196 sys/types.h unistd.h
5198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5200 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5201 $as_echo_n "checking for $ac_header... " >&6; }
5202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5203 $as_echo_n "(cached) " >&6
5205 ac_res=`eval 'as_val=${'$as_ac_Header'}
5206 $as_echo "$as_val"'`
5207 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5208 $as_echo "$ac_res" >&6; }
5210 # Is the header compilable?
5211 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5212 $as_echo_n "checking $ac_header usability... " >&6; }
5213 cat >conftest.$ac_ext <<_ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 $ac_includes_default
5220 #include <$ac_header>
5222 rm -f conftest.$ac_objext
5223 if { (ac_try="$ac_compile"
5225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5226 *) ac_try_echo
=$ac_try;;
5228 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5229 $as_echo "$ac_try_echo") >&5
5230 (eval "$ac_compile") 2>conftest.er1
5232 grep -v '^ *+' conftest.er1
>conftest.err
5234 cat conftest.err
>&5
5235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } && {
5237 test -z "$ac_c_werror_flag" ||
5238 test ! -s conftest.err
5239 } && test -s conftest.
$ac_objext; then
5240 ac_header_compiler
=yes
5242 $as_echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.
$ac_ext >&5
5245 ac_header_compiler
=no
5248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5249 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5250 $as_echo "$ac_header_compiler" >&6; }
5252 # Is the header present?
5253 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5254 $as_echo_n "checking $ac_header presence... " >&6; }
5255 cat >conftest.
$ac_ext <<_ACEOF
5258 cat confdefs.h
>>conftest.
$ac_ext
5259 cat >>conftest.
$ac_ext <<_ACEOF
5260 /* end confdefs.h. */
5261 #include <$ac_header>
5263 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5266 *) ac_try_echo=$ac_try;;
5268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5269 $as_echo "$ac_try_echo") >&5
5270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5272 grep -v '^ *+' conftest.er1 >conftest.err
5274 cat conftest.err >&5
5275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } >/dev/null && {
5277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5278 test ! -s conftest.err
5280 ac_header_preproc=yes
5282 $as_echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.$ac_ext >&5
5285 ac_header_preproc=no
5288 rm -f conftest.err conftest.$ac_ext
5289 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5290 $as_echo "$ac_header_preproc" >&6; }
5292 # So? What about this header?
5293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5296 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5298 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5299 ac_header_preproc=yes
5302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5303 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5305 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5307 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5309 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5311 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5313 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5317 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5318 $as_echo_n "checking for $ac_header... " >&6; }
5319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5320 $as_echo_n "(cached) " >&6
5322 eval "$as_ac_Header=\$ac_header_preproc"
5324 ac_res=`eval 'as_val=${'$as_ac_Header'}
5325 $as_echo "$as_val"'`
5326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5327 $as_echo "$ac_res" >&6; }
5330 as_val=`eval 'as_val=${'$as_ac_Header'}
5331 $as_echo "$as_val"'`
5332 if test "x$as_val" = x""yes; then
5333 cat >>confdefs.h <<_ACEOF
5334 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5338 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5339 $as_echo "$as_me: error: bailing out" >&2;}
5340 { (exit 1); exit 1; }; }
5347 for ac_header in termios.h sys/statvfs.h
5349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5351 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5352 $as_echo_n "checking for $ac_header... " >&6; }
5353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5354 $as_echo_n "(cached) " >&6
5356 ac_res=`eval 'as_val=${'$as_ac_Header'}
5357 $as_echo "$as_val"'`
5358 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5359 $as_echo "$ac_res" >&6; }
5361 # Is the header compilable?
5362 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5363 $as_echo_n "checking $ac_header usability... " >&6; }
5364 cat >conftest.$ac_ext <<_ACEOF
5367 cat confdefs.h >>conftest.$ac_ext
5368 cat >>conftest.$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 $ac_includes_default
5371 #include <$ac_header>
5373 rm -f conftest.$ac_objext
5374 if { (ac_try="$ac_compile"
5376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5377 *) ac_try_echo
=$ac_try;;
5379 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5380 $as_echo "$ac_try_echo") >&5
5381 (eval "$ac_compile") 2>conftest.er1
5383 grep -v '^ *+' conftest.er1
>conftest.err
5385 cat conftest.err
>&5
5386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } && {
5388 test -z "$ac_c_werror_flag" ||
5389 test ! -s conftest.err
5390 } && test -s conftest.
$ac_objext; then
5391 ac_header_compiler
=yes
5393 $as_echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.
$ac_ext >&5
5396 ac_header_compiler
=no
5399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5400 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5401 $as_echo "$ac_header_compiler" >&6; }
5403 # Is the header present?
5404 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5405 $as_echo_n "checking $ac_header presence... " >&6; }
5406 cat >conftest.
$ac_ext <<_ACEOF
5409 cat confdefs.h
>>conftest.
$ac_ext
5410 cat >>conftest.
$ac_ext <<_ACEOF
5411 /* end confdefs.h. */
5412 #include <$ac_header>
5414 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5417 *) ac_try_echo=$ac_try;;
5419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5420 $as_echo "$ac_try_echo") >&5
5421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } >/dev/null && {
5428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5429 test ! -s conftest.err
5431 ac_header_preproc=yes
5433 $as_echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.$ac_ext >&5
5436 ac_header_preproc=no
5439 rm -f conftest.err conftest.$ac_ext
5440 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5441 $as_echo "$ac_header_preproc" >&6; }
5443 # So? What about this header?
5444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5447 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5449 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5450 ac_header_preproc=yes
5453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5454 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5456 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5458 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5460 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5462 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5464 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5468 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5469 $as_echo_n "checking for $ac_header... " >&6; }
5470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5471 $as_echo_n "(cached) " >&6
5473 eval "$as_ac_Header=\$ac_header_preproc"
5475 ac_res=`eval 'as_val=${'$as_ac_Header'}
5476 $as_echo "$as_val"'`
5477 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5478 $as_echo "$ac_res" >&6; }
5481 as_val=`eval 'as_val=${'$as_ac_Header'}
5482 $as_echo "$as_val"'`
5483 if test "x$as_val" = x""yes; then
5484 cat >>confdefs.h <<_ACEOF
5485 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5493 ################################################################################
5494 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5495 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5496 if test "${ac_cv_c_const+set}" = set; then
5497 $as_echo_n "(cached) " >&6
5499 cat >conftest.$ac_ext <<_ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5509 /* FIXME: Include the comments suggested by Paul. */
5511 /* Ultrix mips cc rejects this. */
5512 typedef int charset[2];
5514 /* SunOS 4.1.1 cc rejects this. */
5515 char const *const *pcpcc;
5517 /* NEC SVR4.0.2 mips cc rejects this. */
5518 struct point {int x, y;};
5519 static struct point const zero = {0,0};
5520 /* AIX XL C 1.02.0.0 rejects this.
5521 It does not let you subtract one const X* pointer from another in
5522 an arm of an if-expression whose if-part is not a constant
5524 const char *g = "string";
5525 pcpcc = &g + (g ? g-g : 0);
5526 /* HPUX 7.0 cc rejects these. */
5528 ppc = (char**) pcpcc;
5529 pcpcc = (char const *const *) ppc;
5530 { /* SCO 3.2v4 cc rejects this. */
5532 char const *s = 0 ? (char *) 0 : (char const *) 0;
5537 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5539 const int *foo = &x[0];
5542 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5543 typedef const int *iptr;
5547 { /* AIX XL C 1.02.0.0 rejects this saying
5548 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5549 struct s { int j; const int *ap[3]; };
5550 struct s *b; b->j = 5;
5552 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5556 return !cs[0] && !zero.x;
5563 rm -f conftest.$ac_objext
5564 if { (ac_try="$ac_compile"
5566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5567 *) ac_try_echo
=$ac_try;;
5569 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5570 $as_echo "$ac_try_echo") >&5
5571 (eval "$ac_compile") 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } && {
5578 test -z "$ac_c_werror_flag" ||
5579 test ! -s conftest.err
5580 } && test -s conftest.
$ac_objext; then
5583 $as_echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.
$ac_ext >&5
5589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5591 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5592 $as_echo "$ac_cv_c_const" >&6; }
5593 if test $ac_cv_c_const = no
; then
5595 cat >>confdefs.h
<<\_ACEOF
5601 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5602 $as_echo_n "checking for inline... " >&6; }
5603 if test "${ac_cv_c_inline+set}" = set; then
5604 $as_echo_n "(cached) " >&6
5607 for ac_kw
in inline __inline__ __inline
; do
5608 cat >conftest.
$ac_ext <<_ACEOF
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5616 static $ac_kw foo_t static_foo () {return 0; }
5617 $ac_kw foo_t foo () {return 0; }
5621 rm -f conftest.
$ac_objext
5622 if { (ac_try
="$ac_compile"
5624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5628 $as_echo "$ac_try_echo") >&5
5629 (eval "$ac_compile") 2>conftest.er1
5631 grep -v '^ *+' conftest.er1 >conftest.err
5633 cat conftest.err >&5
5634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } && {
5636 test -z "$ac_c_werror_flag" ||
5637 test ! -s conftest.err
5638 } && test -s conftest.$ac_objext; then
5639 ac_cv_c_inline=$ac_kw
5641 $as_echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 test "$ac_cv_c_inline" != no && break
5652 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5653 $as_echo "$ac_cv_c_inline" >&6; }
5656 case $ac_cv_c_inline in
5659 case $ac_cv_c_inline in
5661 *) ac_val=$ac_cv_c_inline;;
5663 cat >>confdefs.h <<_ACEOF
5665 #define inline $ac_val
5671 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5672 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5673 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5674 $as_echo_n "(cached) " >&6
5676 cat >conftest.$ac_ext <<_ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 $ac_includes_default
5686 static struct stat ac_aggr;
5687 if (ac_aggr.st_rdev)
5693 rm -f conftest.$ac_objext
5694 if { (ac_try="$ac_compile"
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5700 $as_echo "$ac_try_echo") >&5
5701 (eval "$ac_compile") 2>conftest.er1
5703 grep -v '^ *+' conftest.er1
>conftest.err
5705 cat conftest.err
>&5
5706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } && {
5708 test -z "$ac_c_werror_flag" ||
5709 test ! -s conftest.err
5710 } && test -s conftest.
$ac_objext; then
5711 ac_cv_member_struct_stat_st_rdev
=yes
5713 $as_echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5726 static struct stat ac_aggr;
5727 if (sizeof ac_aggr.st_rdev)
5733 rm -f conftest.
$ac_objext
5734 if { (ac_try
="$ac_compile"
5736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5740 $as_echo "$ac_try_echo") >&5
5741 (eval "$ac_compile") 2>conftest.er1
5743 grep -v '^ *+' conftest.er1 >conftest.err
5745 cat conftest.err >&5
5746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } && {
5748 test -z "$ac_c_werror_flag" ||
5749 test ! -s conftest.err
5750 } && test -s conftest.$ac_objext; then
5751 ac_cv_member_struct_stat_st_rdev=yes
5753 $as_echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.$ac_ext >&5
5756 ac_cv_member_struct_stat_st_rdev=no
5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5764 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5765 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5766 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5768 cat >>confdefs.h <<_ACEOF
5769 #define HAVE_STRUCT_STAT_ST_RDEV 1
5775 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5776 $as_echo_n "checking for off_t... " >&6; }
5777 if test "${ac_cv_type_off_t+set}" = set; then
5778 $as_echo_n "(cached) " >&6
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5787 $ac_includes_default
5797 rm -f conftest.$ac_objext
5798 if { (ac_try="$ac_compile"
5800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5801 *) ac_try_echo
=$ac_try;;
5803 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5804 $as_echo "$ac_try_echo") >&5
5805 (eval "$ac_compile") 2>conftest.er1
5807 grep -v '^ *+' conftest.er1
>conftest.err
5809 cat conftest.err
>&5
5810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } && {
5812 test -z "$ac_c_werror_flag" ||
5813 test ! -s conftest.err
5814 } && test -s conftest.
$ac_objext; then
5815 cat >conftest.
$ac_ext <<_ACEOF
5818 cat confdefs.h
>>conftest.
$ac_ext
5819 cat >>conftest.
$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 $ac_includes_default
5825 if (sizeof ((off_t)))
5831 rm -f conftest.
$ac_objext
5832 if { (ac_try
="$ac_compile"
5834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5835 *) ac_try_echo=$ac_try;;
5837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5838 $as_echo "$ac_try_echo") >&5
5839 (eval "$ac_compile") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } && {
5846 test -z "$ac_c_werror_flag" ||
5847 test ! -s conftest.err
5848 } && test -s conftest.$ac_objext; then
5851 $as_echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ac_cv_type_off_t=yes
5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5859 $as_echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5867 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5868 $as_echo "$ac_cv_type_off_t" >&6; }
5869 if test "x$ac_cv_type_off_t" = x""yes; then
5873 cat >>confdefs.h <<_ACEOF
5874 #define off_t long int
5879 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5880 $as_echo_n "checking for pid_t... " >&6; }
5881 if test "${ac_cv_type_pid_t+set}" = set; then
5882 $as_echo_n "(cached) " >&6
5885 cat >conftest.$ac_ext <<_ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5891 $ac_includes_default
5901 rm -f conftest.$ac_objext
5902 if { (ac_try="$ac_compile"
5904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5905 *) ac_try_echo
=$ac_try;;
5907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5908 $as_echo "$ac_try_echo") >&5
5909 (eval "$ac_compile") 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } && {
5916 test -z "$ac_c_werror_flag" ||
5917 test ! -s conftest.err
5918 } && test -s conftest.
$ac_objext; then
5919 cat >conftest.
$ac_ext <<_ACEOF
5922 cat confdefs.h
>>conftest.
$ac_ext
5923 cat >>conftest.
$ac_ext <<_ACEOF
5924 /* end confdefs.h. */
5925 $ac_includes_default
5929 if (sizeof ((pid_t)))
5935 rm -f conftest.
$ac_objext
5936 if { (ac_try
="$ac_compile"
5938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5939 *) ac_try_echo=$ac_try;;
5941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5942 $as_echo "$ac_try_echo") >&5
5943 (eval "$ac_compile") 2>conftest.er1
5945 grep -v '^ *+' conftest.er1 >conftest.err
5947 cat conftest.err >&5
5948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } && {
5950 test -z "$ac_c_werror_flag" ||
5951 test ! -s conftest.err
5952 } && test -s conftest.$ac_objext; then
5955 $as_echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5958 ac_cv_type_pid_t=yes
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5963 $as_echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.$ac_ext >&5
5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5972 $as_echo "$ac_cv_type_pid_t" >&6; }
5973 if test "x$ac_cv_type_pid_t" = x""yes; then
5977 cat >>confdefs.h <<_ACEOF
5983 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5984 $as_echo_n "checking return type of signal handlers... " >&6; }
5985 if test "${ac_cv_type_signal+set}" = set; then
5986 $as_echo_n "(cached) " >&6
5988 cat >conftest.$ac_ext <<_ACEOF
5991 cat confdefs.h >>conftest.$ac_ext
5992 cat >>conftest.$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5994 #include <sys/types.h>
6000 return *(signal (0, 0)) (0) == 1;
6005 rm -f conftest.$ac_objext
6006 if { (ac_try="$ac_compile"
6008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6009 *) ac_try_echo
=$ac_try;;
6011 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6012 $as_echo "$ac_try_echo") >&5
6013 (eval "$ac_compile") 2>conftest.er1
6015 grep -v '^ *+' conftest.er1
>conftest.err
6017 cat conftest.err
>&5
6018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } && {
6020 test -z "$ac_c_werror_flag" ||
6021 test ! -s conftest.err
6022 } && test -s conftest.
$ac_objext; then
6023 ac_cv_type_signal
=int
6025 $as_echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_cv_type_signal
=void
6031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6033 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6034 $as_echo "$ac_cv_type_signal" >&6; }
6036 cat >>confdefs.h
<<_ACEOF
6037 #define RETSIGTYPE $ac_cv_type_signal
6041 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6042 $as_echo_n "checking for size_t... " >&6; }
6043 if test "${ac_cv_type_size_t+set}" = set; then
6044 $as_echo_n "(cached) " >&6
6046 ac_cv_type_size_t
=no
6047 cat >conftest.
$ac_ext <<_ACEOF
6050 cat confdefs.h
>>conftest.
$ac_ext
6051 cat >>conftest.
$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6057 if (sizeof (size_t))
6063 rm -f conftest.
$ac_objext
6064 if { (ac_try
="$ac_compile"
6066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6067 *) ac_try_echo=$ac_try;;
6069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6070 $as_echo "$ac_try_echo") >&5
6071 (eval "$ac_compile") 2>conftest.er1
6073 grep -v '^ *+' conftest.er1 >conftest.err
6075 cat conftest.err >&5
6076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } && {
6078 test -z "$ac_c_werror_flag" ||
6079 test ! -s conftest.err
6080 } && test -s conftest.$ac_objext; then
6081 cat >conftest.$ac_ext <<_ACEOF
6084 cat confdefs.h >>conftest.$ac_ext
6085 cat >>conftest.$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6087 $ac_includes_default
6091 if (sizeof ((size_t)))
6097 rm -f conftest.$ac_objext
6098 if { (ac_try="$ac_compile"
6100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6101 *) ac_try_echo
=$ac_try;;
6103 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6104 $as_echo "$ac_try_echo") >&5
6105 (eval "$ac_compile") 2>conftest.er1
6107 grep -v '^ *+' conftest.er1
>conftest.err
6109 cat conftest.err
>&5
6110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && {
6112 test -z "$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 } && test -s conftest.
$ac_objext; then
6117 $as_echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.
$ac_ext >&5
6120 ac_cv_type_size_t
=yes
6123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6125 $as_echo "$as_me: failed program was:" >&5
6126 sed 's/^/| /' conftest.
$ac_ext >&5
6131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6133 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6134 $as_echo "$ac_cv_type_size_t" >&6; }
6135 if test "x$ac_cv_type_size_t" = x
""yes; then
6139 cat >>confdefs.h
<<_ACEOF
6140 #define size_t unsigned int
6145 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6146 $as_echo_n "checking for mode_t... " >&6; }
6147 if test "${ac_cv_type_mode_t+set}" = set; then
6148 $as_echo_n "(cached) " >&6
6150 ac_cv_type_mode_t
=no
6151 cat >conftest.
$ac_ext <<_ACEOF
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 $ac_includes_default
6161 if (sizeof (mode_t))
6167 rm -f conftest.
$ac_objext
6168 if { (ac_try
="$ac_compile"
6170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6174 $as_echo "$ac_try_echo") >&5
6175 (eval "$ac_compile") 2>conftest.er1
6177 grep -v '^ *+' conftest.er1 >conftest.err
6179 cat conftest.err >&5
6180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } && {
6182 test -z "$ac_c_werror_flag" ||
6183 test ! -s conftest.err
6184 } && test -s conftest.$ac_objext; then
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6191 $ac_includes_default
6195 if (sizeof ((mode_t)))
6201 rm -f conftest.$ac_objext
6202 if { (ac_try="$ac_compile"
6204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6205 *) ac_try_echo
=$ac_try;;
6207 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6208 $as_echo "$ac_try_echo") >&5
6209 (eval "$ac_compile") 2>conftest.er1
6211 grep -v '^ *+' conftest.er1
>conftest.err
6213 cat conftest.err
>&5
6214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); } && {
6216 test -z "$ac_c_werror_flag" ||
6217 test ! -s conftest.err
6218 } && test -s conftest.
$ac_objext; then
6221 $as_echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.
$ac_ext >&5
6224 ac_cv_type_mode_t
=yes
6227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6229 $as_echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.
$ac_ext >&5
6235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6237 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6238 $as_echo "$ac_cv_type_mode_t" >&6; }
6239 if test "x$ac_cv_type_mode_t" = x
""yes; then
6243 cat >>confdefs.h
<<_ACEOF
6249 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6250 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6251 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6252 $as_echo_n "(cached) " >&6
6254 cat >conftest.
$ac_ext <<_ACEOF
6257 cat confdefs.h
>>conftest.
$ac_ext
6258 cat >>conftest.
$ac_ext <<_ACEOF
6259 /* end confdefs.h. */
6260 $ac_includes_default
6264 static struct stat ac_aggr;
6265 if (ac_aggr.st_rdev)
6271 rm -f conftest.
$ac_objext
6272 if { (ac_try
="$ac_compile"
6274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6275 *) ac_try_echo=$ac_try;;
6277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6278 $as_echo "$ac_try_echo") >&5
6279 (eval "$ac_compile") 2>conftest.er1
6281 grep -v '^ *+' conftest.er1 >conftest.err
6283 cat conftest.err >&5
6284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } && {
6286 test -z "$ac_c_werror_flag" ||
6287 test ! -s conftest.err
6288 } && test -s conftest.$ac_objext; then
6289 ac_cv_member_struct_stat_st_rdev=yes
6291 $as_echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 cat >conftest.$ac_ext <<_ACEOF
6297 cat confdefs.h >>conftest.$ac_ext
6298 cat >>conftest.$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6300 $ac_includes_default
6304 static struct stat ac_aggr;
6305 if (sizeof ac_aggr.st_rdev)
6311 rm -f conftest.$ac_objext
6312 if { (ac_try="$ac_compile"
6314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6315 *) ac_try_echo
=$ac_try;;
6317 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6318 $as_echo "$ac_try_echo") >&5
6319 (eval "$ac_compile") 2>conftest.er1
6321 grep -v '^ *+' conftest.er1
>conftest.err
6323 cat conftest.err
>&5
6324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } && {
6326 test -z "$ac_c_werror_flag" ||
6327 test ! -s conftest.err
6328 } && test -s conftest.
$ac_objext; then
6329 ac_cv_member_struct_stat_st_rdev
=yes
6331 $as_echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.
$ac_ext >&5
6334 ac_cv_member_struct_stat_st_rdev
=no
6337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6342 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6343 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6344 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6346 cat >>confdefs.h
<<_ACEOF
6347 #define HAVE_STRUCT_STAT_ST_RDEV 1
6353 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6354 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6355 if test "${ac_cv_struct_tm+set}" = set; then
6356 $as_echo_n "(cached) " >&6
6358 cat >conftest.
$ac_ext <<_ACEOF
6361 cat confdefs.h
>>conftest.
$ac_ext
6362 cat >>conftest.
$ac_ext <<_ACEOF
6363 /* end confdefs.h. */
6364 #include <sys/types.h>
6371 int *p = &tm.tm_sec;
6377 rm -f conftest.
$ac_objext
6378 if { (ac_try
="$ac_compile"
6380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6381 *) ac_try_echo=$ac_try;;
6383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6384 $as_echo "$ac_try_echo") >&5
6385 (eval "$ac_compile") 2>conftest.er1
6387 grep -v '^ *+' conftest.er1 >conftest.err
6389 cat conftest.err >&5
6390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } && {
6392 test -z "$ac_c_werror_flag" ||
6393 test ! -s conftest.err
6394 } && test -s conftest.$ac_objext; then
6395 ac_cv_struct_tm=time.h
6397 $as_echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.$ac_ext >&5
6400 ac_cv_struct_tm=sys/time.h
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6406 $as_echo "$ac_cv_struct_tm" >&6; }
6407 if test $ac_cv_struct_tm = sys/time.h; then
6409 cat >>confdefs.h <<\_ACEOF
6410 #define TM_IN_SYS_TIME 1
6416 ################################################################################
6434 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6435 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6439 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6440 $as_echo_n "checking for $ac_func... " >&6; }
6441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6442 $as_echo_n "(cached) " >&6
6444 cat >conftest.$ac_ext <<_ACEOF
6447 cat confdefs.h >>conftest.$ac_ext
6448 cat >>conftest.$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6452 #define $ac_func innocuous_$ac_func
6454 /* System header to define __stub macros and hopefully few prototypes,
6455 which can conflict with char $ac_func (); below.
6456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6457 <limits.h> exists even on freestanding compilers. */
6460 # include <limits.h>
6462 # include <assert.h>
6467 /* Override any GCC internal prototype to avoid an error.
6468 Use char because int might match the return type of a GCC
6469 builtin and then its argument prototype would still apply. */
6474 /* The GNU C library defines this for functions which it implements
6475 to always fail with ENOSYS. Some functions are actually named
6476 something starting with __ and the normal name is an alias. */
6477 #if defined __stub_$ac_func || defined __stub___$ac_func
6489 rm -f conftest.$ac_objext conftest$ac_exeext
6490 if { (ac_try="$ac_link"
6492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6493 *) ac_try_echo
=$ac_try;;
6495 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6496 $as_echo "$ac_try_echo") >&5
6497 (eval "$ac_link") 2>conftest.er1
6499 grep -v '^ *+' conftest.er1
>conftest.err
6501 cat conftest.err
>&5
6502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } && {
6504 test -z "$ac_c_werror_flag" ||
6505 test ! -s conftest.err
6506 } && test -s conftest
$ac_exeext && {
6507 test "$cross_compiling" = yes ||
6508 $as_test_x conftest
$ac_exeext
6510 eval "$as_ac_var=yes"
6512 $as_echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.
$ac_ext >&5
6515 eval "$as_ac_var=no"
6518 rm -rf conftest.dSYM
6519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6520 conftest
$ac_exeext conftest.
$ac_ext
6522 ac_res
=`eval 'as_val=${'$as_ac_var'}
6523 $as_echo "$as_val"'`
6524 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6525 $as_echo "$ac_res" >&6; }
6526 as_val
=`eval 'as_val=${'$as_ac_var'}
6527 $as_echo "$as_val"'`
6528 if test "x$as_val" = x
""yes; then
6529 cat >>confdefs.h
<<_ACEOF
6530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6534 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6535 $as_echo "$as_me: error: bailing out" >&2;}
6536 { (exit 1); exit 1; }; }
6541 for ac_func
in siginterrupt
6543 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6544 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6545 $as_echo_n "checking for $ac_func... " >&6; }
6546 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6547 $as_echo_n "(cached) " >&6
6549 cat >conftest.
$ac_ext <<_ACEOF
6552 cat confdefs.h
>>conftest.
$ac_ext
6553 cat >>conftest.
$ac_ext <<_ACEOF
6554 /* end confdefs.h. */
6555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6557 #define $ac_func innocuous_$ac_func
6559 /* System header to define __stub macros and hopefully few prototypes,
6560 which can conflict with char $ac_func (); below.
6561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6562 <limits.h> exists even on freestanding compilers. */
6565 # include <limits.h>
6567 # include <assert.h>
6572 /* Override any GCC internal prototype to avoid an error.
6573 Use char because int might match the return type of a GCC
6574 builtin and then its argument prototype would still apply. */
6579 /* The GNU C library defines this for functions which it implements
6580 to always fail with ENOSYS. Some functions are actually named
6581 something starting with __ and the normal name is an alias. */
6582 #if defined __stub_$ac_func || defined __stub___$ac_func
6594 rm -f conftest.
$ac_objext conftest
$ac_exeext
6595 if { (ac_try
="$ac_link"
6597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6598 *) ac_try_echo=$ac_try;;
6600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6601 $as_echo "$ac_try_echo") >&5
6602 (eval "$ac_link") 2>conftest.er1
6604 grep -v '^ *+' conftest.er1 >conftest.err
6606 cat conftest.err >&5
6607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } && {
6609 test -z "$ac_c_werror_flag" ||
6610 test ! -s conftest.err
6611 } && test -s conftest$ac_exeext && {
6612 test "$cross_compiling" = yes ||
6613 $as_test_x conftest$ac_exeext
6615 eval "$as_ac_var=yes"
6617 $as_echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6620 eval "$as_ac_var=no"
6623 rm -rf conftest.dSYM
6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625 conftest$ac_exeext conftest.$ac_ext
6627 ac_res=`eval 'as_val=${'$as_ac_var'}
6628 $as_echo "$as_val"'`
6629 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6630 $as_echo "$ac_res" >&6; }
6631 as_val=`eval 'as_val=${'$as_ac_var'}
6632 $as_echo "$as_val"'`
6633 if test "x$as_val" = x""yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6641 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6642 # for constant arguments. Useless!
6643 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6644 $as_echo_n "checking for working alloca.h... " >&6; }
6645 if test "${ac_cv_working_alloca_h+set}" = set; then
6646 $as_echo_n "(cached) " >&6
6648 cat >conftest.$ac_ext <<_ACEOF
6651 cat confdefs.h >>conftest.$ac_ext
6652 cat >>conftest.$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6658 char *p = (char *) alloca (2 * sizeof (int));
6664 rm -f conftest.$ac_objext conftest$ac_exeext
6665 if { (ac_try="$ac_link"
6667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6668 *) ac_try_echo
=$ac_try;;
6670 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6671 $as_echo "$ac_try_echo") >&5
6672 (eval "$ac_link") 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } && {
6679 test -z "$ac_c_werror_flag" ||
6680 test ! -s conftest.err
6681 } && test -s conftest
$ac_exeext && {
6682 test "$cross_compiling" = yes ||
6683 $as_test_x conftest
$ac_exeext
6685 ac_cv_working_alloca_h
=yes
6687 $as_echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.
$ac_ext >&5
6690 ac_cv_working_alloca_h
=no
6693 rm -rf conftest.dSYM
6694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6695 conftest
$ac_exeext conftest.
$ac_ext
6697 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6698 $as_echo "$ac_cv_working_alloca_h" >&6; }
6699 if test $ac_cv_working_alloca_h = yes; then
6701 cat >>confdefs.h
<<\_ACEOF
6702 #define HAVE_ALLOCA_H 1
6707 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6708 $as_echo_n "checking for alloca... " >&6; }
6709 if test "${ac_cv_func_alloca_works+set}" = set; then
6710 $as_echo_n "(cached) " >&6
6712 cat >conftest.
$ac_ext <<_ACEOF
6715 cat confdefs.h
>>conftest.
$ac_ext
6716 cat >>conftest.
$ac_ext <<_ACEOF
6717 /* end confdefs.h. */
6719 # define alloca __builtin_alloca
6722 # include <malloc.h>
6723 # define alloca _alloca
6725 # ifdef HAVE_ALLOCA_H
6726 # include <alloca.h>
6731 # ifndef alloca /* predefined by HP cc +Olibcalls */
6742 char *p = (char *) alloca (1);
6748 rm -f conftest.
$ac_objext conftest
$ac_exeext
6749 if { (ac_try
="$ac_link"
6751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6752 *) ac_try_echo=$ac_try;;
6754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6755 $as_echo "$ac_try_echo") >&5
6756 (eval "$ac_link") 2>conftest.er1
6758 grep -v '^ *+' conftest.er1 >conftest.err
6760 cat conftest.err >&5
6761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } && {
6763 test -z "$ac_c_werror_flag" ||
6764 test ! -s conftest.err
6765 } && test -s conftest$ac_exeext && {
6766 test "$cross_compiling" = yes ||
6767 $as_test_x conftest$ac_exeext
6769 ac_cv_func_alloca_works=yes
6771 $as_echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_func_alloca_works=no
6777 rm -rf conftest.dSYM
6778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6779 conftest$ac_exeext conftest.$ac_ext
6781 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6782 $as_echo "$ac_cv_func_alloca_works" >&6; }
6784 if test $ac_cv_func_alloca_works = yes; then
6786 cat >>confdefs.h <<\_ACEOF
6787 #define HAVE_ALLOCA 1
6791 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6792 # that cause trouble. Some versions do not even contain alloca or
6793 # contain a buggy version. If you still want to use their alloca,
6794 # use ar to extract alloca.o from them instead of compiling alloca.c.
6796 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6798 cat >>confdefs.h <<\_ACEOF
6803 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6804 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6805 if test "${ac_cv_os_cray+set}" = set; then
6806 $as_echo_n "(cached
) " >&6
6808 cat >conftest.$ac_ext <<_ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 #if defined CRAY && ! defined CRAY2
6821 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6822 $EGREP "webecray
" >/dev/null 2>&1; then
6830 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6831 $as_echo "$ac_cv_os_cray" >&6; }
6832 if test $ac_cv_os_cray = yes; then
6833 for ac_func in _getb67 GETB67 getb67; do
6834 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6835 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6836 $as_echo_n "checking
for $ac_func...
" >&6; }
6837 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6838 $as_echo_n "(cached
) " >&6
6840 cat >conftest.$ac_ext <<_ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6848 #define $ac_func innocuous_$ac_func
6850 /* System header to define __stub macros and hopefully few prototypes,
6851 which can conflict with char $ac_func (); below.
6852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6853 <limits.h> exists even on freestanding compilers. */
6856 # include <limits.h>
6858 # include <assert.h>
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6870 /* The GNU C library defines this for functions which it implements
6871 to always fail with ENOSYS. Some functions are actually named
6872 something starting with __ and the normal name is an alias. */
6873 #if defined __stub_$ac_func || defined __stub___$ac_func
6885 rm -f conftest.$ac_objext conftest$ac_exeext
6886 if { (ac_try="$ac_link"
6888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889 *) ac_try_echo=$ac_try;;
6891 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6892 $as_echo "$ac_try_echo") >&5
6893 (eval "$ac_link") 2>conftest.er1
6895 grep -v '^ *+' conftest.er1 >conftest.err
6897 cat conftest.err >&5
6898 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6899 (exit $ac_status); } && {
6900 test -z "$ac_c_werror_flag" ||
6901 test ! -s conftest.err
6902 } && test -s conftest$ac_exeext && {
6903 test "$cross_compiling" = yes ||
6904 $as_test_x conftest$ac_exeext
6906 eval "$as_ac_var=yes"
6908 $as_echo "$as_me: failed program was
:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 eval "$as_ac_var=no
"
6914 rm -rf conftest.dSYM
6915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6916 conftest$ac_exeext conftest.$ac_ext
6918 ac_res=`eval 'as_val=${'$as_ac_var'}
6919 $as_echo "$as_val"'`
6920 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6921 $as_echo "$ac_res" >&6; }
6922 as_val=`eval 'as_val=${'$as_ac_var'}
6923 $as_echo "$as_val"'`
6924 if test "x
$as_val" = x""yes; then
6926 cat >>confdefs.h <<_ACEOF
6927 #define CRAY_STACKSEG_END $ac_func
6936 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6937 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6938 if test "${ac_cv_c_stack_direction+set}" = set; then
6939 $as_echo_n "(cached
) " >&6
6941 if test "$cross_compiling" = yes; then
6942 ac_cv_c_stack_direction=0
6944 cat >conftest.$ac_ext <<_ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 $ac_includes_default
6952 find_stack_direction ()
6954 static char *addr = 0;
6959 return find_stack_direction ();
6962 return (&dummy > addr) ? 1 : -1;
6968 return find_stack_direction () < 0;
6971 rm -f conftest$ac_exeext
6972 if { (ac_try="$ac_link"
6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975 *) ac_try_echo=$ac_try;;
6977 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6978 $as_echo "$ac_try_echo") >&5
6979 (eval "$ac_link") 2>&5
6981 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6983 { (case "(($ac_try" in
6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 *) ac_try_echo=$ac_try;;
6987 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6988 $as_echo "$ac_try_echo") >&5
6989 (eval "$ac_try") 2>&5
6991 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_c_stack_direction=1
6995 $as_echo "$as_me: program exited with status
$ac_status" >&5
6996 $as_echo "$as_me: failed program was
:" >&5
6997 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_cv_c_stack_direction=-1
7002 rm -rf conftest.dSYM
7003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7008 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7009 $as_echo "$ac_cv_c_stack_direction" >&6; }
7011 cat >>confdefs.h <<_ACEOF
7012 #define STACK_DIRECTION $ac_cv_c_stack_direction
7018 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7019 $as_echo_n "checking whether closedir returns void...
" >&6; }
7020 if test "${ac_cv_func_closedir_void+set}" = set; then
7021 $as_echo_n "(cached
) " >&6
7023 if test "$cross_compiling" = yes; then
7024 ac_cv_func_closedir_void=yes
7026 cat >conftest.$ac_ext <<_ACEOF
7029 cat confdefs.h >>conftest.$ac_ext
7030 cat >>conftest.$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7032 $ac_includes_default
7033 #include <$ac_header_dirent>
7041 return closedir (opendir (".
")) != 0;
7046 rm -f conftest$ac_exeext
7047 if { (ac_try="$ac_link"
7049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;;
7052 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7053 $as_echo "$ac_try_echo") >&5
7054 (eval "$ac_link") 2>&5
7056 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7058 { (case "(($ac_try" in
7059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7062 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7063 $as_echo "$ac_try_echo") >&5
7064 (eval "$ac_try") 2>&5
7066 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7067 (exit $ac_status); }; }; then
7068 ac_cv_func_closedir_void=no
7070 $as_echo "$as_me: program exited with status
$ac_status" >&5
7071 $as_echo "$as_me: failed program was
:" >&5
7072 sed 's/^/| /' conftest.$ac_ext >&5
7075 ac_cv_func_closedir_void=yes
7077 rm -rf conftest.dSYM
7078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7083 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7084 $as_echo "$ac_cv_func_closedir_void" >&6; }
7085 if test $ac_cv_func_closedir_void = yes; then
7087 cat >>confdefs.h <<\_ACEOF
7088 #define CLOSEDIR_VOID 1
7094 for ac_header in vfork.h
7096 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7097 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7098 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7099 $as_echo_n "checking
for $ac_header...
" >&6; }
7100 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7101 $as_echo_n "(cached
) " >&6
7103 ac_res=`eval 'as_val=${'$as_ac_Header'}
7104 $as_echo "$as_val"'`
7105 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7106 $as_echo "$ac_res" >&6; }
7108 # Is the header compilable?
7109 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7110 $as_echo_n "checking
$ac_header usability...
" >&6; }
7111 cat >conftest.$ac_ext <<_ACEOF
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 $ac_includes_default
7118 #include <$ac_header>
7120 rm -f conftest.$ac_objext
7121 if { (ac_try="$ac_compile"
7123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7124 *) ac_try_echo=$ac_try;;
7126 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7127 $as_echo "$ac_try_echo") >&5
7128 (eval "$ac_compile") 2>conftest.er1
7130 grep -v '^ *+' conftest.er1 >conftest.err
7132 cat conftest.err >&5
7133 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7134 (exit $ac_status); } && {
7135 test -z "$ac_c_werror_flag" ||
7136 test ! -s conftest.err
7137 } && test -s conftest.$ac_objext; then
7138 ac_header_compiler=yes
7140 $as_echo "$as_me: failed program was
:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7143 ac_header_compiler=no
7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7148 $as_echo "$ac_header_compiler" >&6; }
7150 # Is the header present?
7151 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7152 $as_echo_n "checking
$ac_header presence...
" >&6; }
7153 cat >conftest.$ac_ext <<_ACEOF
7156 cat confdefs.h >>conftest.$ac_ext
7157 cat >>conftest.$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7159 #include <$ac_header>
7161 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7164 *) ac_try_echo=$ac_try;;
7166 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7167 $as_echo "$ac_try_echo") >&5
7168 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7170 grep -v '^ *+' conftest.er1 >conftest.err
7172 cat conftest.err >&5
7173 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7174 (exit $ac_status); } >/dev/null && {
7175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7176 test ! -s conftest.err
7178 ac_header_preproc=yes
7180 $as_echo "$as_me: failed program was
:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7183 ac_header_preproc=no
7186 rm -f conftest.err conftest.$ac_ext
7187 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7188 $as_echo "$ac_header_preproc" >&6; }
7190 # So? What about this header?
7191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7193 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7194 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7195 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7196 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7197 ac_header_preproc=yes
7200 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7201 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7202 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7203 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7204 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7205 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7206 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7207 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7209 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7210 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7211 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7215 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7216 $as_echo_n "checking
for $ac_header...
" >&6; }
7217 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7218 $as_echo_n "(cached
) " >&6
7220 eval "$as_ac_Header=\
$ac_header_preproc"
7222 ac_res=`eval 'as_val=${'$as_ac_Header'}
7223 $as_echo "$as_val"'`
7224 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7225 $as_echo "$ac_res" >&6; }
7228 as_val=`eval 'as_val=${'$as_ac_Header'}
7229 $as_echo "$as_val"'`
7230 if test "x
$as_val" = x""yes; then
7231 cat >>confdefs.h <<_ACEOF
7232 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7241 for ac_func in fork vfork
7243 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7244 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7245 $as_echo_n "checking
for $ac_func...
" >&6; }
7246 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7247 $as_echo_n "(cached
) " >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7257 #define $ac_func innocuous_$ac_func
7259 /* System header to define __stub macros and hopefully few prototypes,
7260 which can conflict with char $ac_func (); below.
7261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7262 <limits.h> exists even on freestanding compilers. */
7265 # include <limits.h>
7267 # include <assert.h>
7272 /* Override any GCC internal prototype to avoid an error.
7273 Use char because int might match the return type of a GCC
7274 builtin and then its argument prototype would still apply. */
7279 /* The GNU C library defines this for functions which it implements
7280 to always fail with ENOSYS. Some functions are actually named
7281 something starting with __ and the normal name is an alias. */
7282 #if defined __stub_$ac_func || defined __stub___$ac_func
7294 rm -f conftest.$ac_objext conftest$ac_exeext
7295 if { (ac_try="$ac_link"
7297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7298 *) ac_try_echo=$ac_try;;
7300 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7301 $as_echo "$ac_try_echo") >&5
7302 (eval "$ac_link") 2>conftest.er1
7304 grep -v '^ *+' conftest.er1 >conftest.err
7306 cat conftest.err >&5
7307 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7308 (exit $ac_status); } && {
7309 test -z "$ac_c_werror_flag" ||
7310 test ! -s conftest.err
7311 } && test -s conftest$ac_exeext && {
7312 test "$cross_compiling" = yes ||
7313 $as_test_x conftest$ac_exeext
7315 eval "$as_ac_var=yes"
7317 $as_echo "$as_me: failed program was
:" >&5
7318 sed 's/^/| /' conftest.$ac_ext >&5
7320 eval "$as_ac_var=no
"
7323 rm -rf conftest.dSYM
7324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7325 conftest$ac_exeext conftest.$ac_ext
7327 ac_res=`eval 'as_val=${'$as_ac_var'}
7328 $as_echo "$as_val"'`
7329 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7330 $as_echo "$ac_res" >&6; }
7331 as_val=`eval 'as_val=${'$as_ac_var'}
7332 $as_echo "$as_val"'`
7333 if test "x
$as_val" = x""yes; then
7334 cat >>confdefs.h <<_ACEOF
7335 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7341 if test "x
$ac_cv_func_fork" = xyes; then
7342 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7343 $as_echo_n "checking
for working fork...
" >&6; }
7344 if test "${ac_cv_func_fork_works+set}" = set; then
7345 $as_echo_n "(cached
) " >&6
7347 if test "$cross_compiling" = yes; then
7348 ac_cv_func_fork_works=cross
7350 cat >conftest.$ac_ext <<_ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7356 $ac_includes_default
7361 /* By Ruediger Kuhlmann. */
7368 rm -f conftest$ac_exeext
7369 if { (ac_try="$ac_link"
7371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7372 *) ac_try_echo=$ac_try;;
7374 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7375 $as_echo "$ac_try_echo") >&5
7376 (eval "$ac_link") 2>&5
7378 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7380 { (case "(($ac_try" in
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7385 $as_echo "$ac_try_echo") >&5
7386 (eval "$ac_try") 2>&5
7388 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 ac_cv_func_fork_works=yes
7392 $as_echo "$as_me: program exited with status
$ac_status" >&5
7393 $as_echo "$as_me: failed program was
:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7397 ac_cv_func_fork_works=no
7399 rm -rf conftest.dSYM
7400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7405 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7406 $as_echo "$ac_cv_func_fork_works" >&6; }
7409 ac_cv_func_fork_works=$ac_cv_func_fork
7411 if test "x
$ac_cv_func_fork_works" = xcross; then
7413 *-*-amigaos* | *-*-msdosdjgpp*)
7414 # Override, as these systems have only a dummy fork() stub
7415 ac_cv_func_fork_works=no
7418 ac_cv_func_fork_works=yes
7421 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7422 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7424 ac_cv_func_vfork_works=$ac_cv_func_vfork
7425 if test "x
$ac_cv_func_vfork" = xyes; then
7426 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7427 $as_echo_n "checking
for working vfork...
" >&6; }
7428 if test "${ac_cv_func_vfork_works+set}" = set; then
7429 $as_echo_n "(cached
) " >&6
7431 if test "$cross_compiling" = yes; then
7432 ac_cv_func_vfork_works=cross
7434 cat >conftest.$ac_ext <<_ACEOF
7437 cat confdefs.h >>conftest.$ac_ext
7438 cat >>conftest.$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7440 /* Thanks to Paul Eggert for this test. */
7441 $ac_includes_default
7442 #include <sys/wait.h>
7446 /* On some sparc systems, changes by the child to local and incoming
7447 argument registers are propagated back to the parent. The compiler
7448 is told about this with #include <vfork.h>, but some compilers
7449 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7450 static variable whose address is put into a register that is
7451 clobbered by the vfork. */
7454 sparc_address_test (int arg)
7456 sparc_address_test (arg) int arg;
7477 pid_t parent = getpid ();
7480 sparc_address_test (0);
7485 /* Here is another test for sparc vfork register problems. This
7486 test uses lots of local variables, at least as many local
7487 variables as main has allocated so far including compiler
7488 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7489 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7490 reuse the register of parent for one of the local variables,
7491 since it will think that parent can't possibly be used any more
7492 in this routine. Assigning to the local variable will thus
7493 munge parent in the parent process. */
7495 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7496 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7497 /* Convince the compiler that p..p7 are live; otherwise, it might
7498 use the same hardware register for all 8 local variables. */
7499 if (p != p1 || p != p2 || p != p3 || p != p4
7500 || p != p5 || p != p6 || p != p7)
7503 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7504 from child file descriptors. If the child closes a descriptor
7505 before it execs or exits, this munges the parent's descriptor
7506 as well. Test for this by closing stdout in the child. */
7507 _exit(close(fileno(stdout)) != 0);
7512 while (wait(&status) != child)
7515 /* Was there some problem with vforking? */
7518 /* Did the child fail? (This shouldn't happen.) */
7521 /* Did the vfork/compiler bug occur? */
7522 || parent != getpid()
7524 /* Did the file descriptor bug occur? */
7525 || fstat(fileno(stdout), &st) != 0
7530 rm -f conftest$ac_exeext
7531 if { (ac_try="$ac_link"
7533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7534 *) ac_try_echo=$ac_try;;
7536 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7537 $as_echo "$ac_try_echo") >&5
7538 (eval "$ac_link") 2>&5
7540 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7542 { (case "(($ac_try" in
7543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7544 *) ac_try_echo=$ac_try;;
7546 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7547 $as_echo "$ac_try_echo") >&5
7548 (eval "$ac_try") 2>&5
7550 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7551 (exit $ac_status); }; }; then
7552 ac_cv_func_vfork_works=yes
7554 $as_echo "$as_me: program exited with status
$ac_status" >&5
7555 $as_echo "$as_me: failed program was
:" >&5
7556 sed 's/^/| /' conftest.$ac_ext >&5
7559 ac_cv_func_vfork_works=no
7561 rm -rf conftest.dSYM
7562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7567 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7568 $as_echo "$ac_cv_func_vfork_works" >&6; }
7571 if test "x
$ac_cv_func_fork_works" = xcross; then
7572 ac_cv_func_vfork_works=$ac_cv_func_vfork
7573 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7574 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7577 if test "x
$ac_cv_func_vfork_works" = xyes; then
7579 cat >>confdefs.h <<\_ACEOF
7580 #define HAVE_WORKING_VFORK 1
7585 cat >>confdefs.h <<\_ACEOF
7590 if test "x
$ac_cv_func_fork_works" = xyes; then
7592 cat >>confdefs.h <<\_ACEOF
7593 #define HAVE_WORKING_FORK 1
7598 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7599 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7600 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7601 $as_echo_n "(cached
) " >&6
7603 rm -f conftest.sym conftest.file
7605 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7606 if test "$cross_compiling" = yes; then
7607 ac_cv_func_lstat_dereferences_slashed_symlink=no
7609 cat >conftest.$ac_ext <<_ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 $ac_includes_default
7620 /* Linux will dereference the symlink and fail.
7621 That is better in the sense that it means we will not
7622 have to compile and use the lstat wrapper. */
7623 return lstat ("conftest.sym
/", &sbuf) == 0;
7628 rm -f conftest$ac_exeext
7629 if { (ac_try="$ac_link"
7631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632 *) ac_try_echo=$ac_try;;
7634 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7635 $as_echo "$ac_try_echo") >&5
7636 (eval "$ac_link") 2>&5
7638 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7640 { (case "(($ac_try" in
7641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7642 *) ac_try_echo=$ac_try;;
7644 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7645 $as_echo "$ac_try_echo") >&5
7646 (eval "$ac_try") 2>&5
7648 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7649 (exit $ac_status); }; }; then
7650 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7652 $as_echo "$as_me: program exited with status
$ac_status" >&5
7653 $as_echo "$as_me: failed program was
:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7657 ac_cv_func_lstat_dereferences_slashed_symlink=no
7659 rm -rf conftest.dSYM
7660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7665 # If the `ln -s' command failed, then we probably don't even
7666 # have an lstat function.
7667 ac_cv_func_lstat_dereferences_slashed_symlink=no
7669 rm -f conftest.sym conftest.file
7672 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7673 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7675 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7677 cat >>confdefs.h <<_ACEOF
7678 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7682 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7683 case " $LIBOBJS " in
7684 *" lstat.
$ac_objext "* ) ;;
7685 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7691 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7692 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7693 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7694 $as_echo_n "(cached
) " >&6
7696 if test "$cross_compiling" = yes; then
7697 ac_cv_func_lstat_empty_string_bug=yes
7699 cat >conftest.$ac_ext <<_ACEOF
7702 cat confdefs.h >>conftest.$ac_ext
7703 cat >>conftest.$ac_ext <<_ACEOF
7704 /* end confdefs.h. */
7705 $ac_includes_default
7710 return lstat ("", &sbuf) == 0;
7715 rm -f conftest$ac_exeext
7716 if { (ac_try="$ac_link"
7718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7719 *) ac_try_echo=$ac_try;;
7721 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7722 $as_echo "$ac_try_echo") >&5
7723 (eval "$ac_link") 2>&5
7725 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7727 { (case "(($ac_try" in
7728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7729 *) ac_try_echo=$ac_try;;
7731 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7732 $as_echo "$ac_try_echo") >&5
7733 (eval "$ac_try") 2>&5
7735 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7736 (exit $ac_status); }; }; then
7737 ac_cv_func_lstat_empty_string_bug=no
7739 $as_echo "$as_me: program exited with status
$ac_status" >&5
7740 $as_echo "$as_me: failed program was
:" >&5
7741 sed 's/^/| /' conftest.$ac_ext >&5
7744 ac_cv_func_lstat_empty_string_bug=yes
7746 rm -rf conftest.dSYM
7747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7752 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7753 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7754 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7755 case " $LIBOBJS " in
7756 *" lstat.
$ac_objext "* ) ;;
7757 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7769 for ac_header in stdlib.h
7771 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7772 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7773 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7774 $as_echo_n "checking
for $ac_header...
" >&6; }
7775 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7776 $as_echo_n "(cached
) " >&6
7778 ac_res=`eval 'as_val=${'$as_ac_Header'}
7779 $as_echo "$as_val"'`
7780 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7781 $as_echo "$ac_res" >&6; }
7783 # Is the header compilable?
7784 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7785 $as_echo_n "checking
$ac_header usability...
" >&6; }
7786 cat >conftest.$ac_ext <<_ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7792 $ac_includes_default
7793 #include <$ac_header>
7795 rm -f conftest.$ac_objext
7796 if { (ac_try="$ac_compile"
7798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7799 *) ac_try_echo=$ac_try;;
7801 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7802 $as_echo "$ac_try_echo") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7805 grep -v '^ *+' conftest.er1 >conftest.err
7807 cat conftest.err >&5
7808 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7809 (exit $ac_status); } && {
7810 test -z "$ac_c_werror_flag" ||
7811 test ! -s conftest.err
7812 } && test -s conftest.$ac_objext; then
7813 ac_header_compiler=yes
7815 $as_echo "$as_me: failed program was
:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7818 ac_header_compiler=no
7821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7822 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7823 $as_echo "$ac_header_compiler" >&6; }
7825 # Is the header present?
7826 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7827 $as_echo_n "checking
$ac_header presence...
" >&6; }
7828 cat >conftest.$ac_ext <<_ACEOF
7831 cat confdefs.h >>conftest.$ac_ext
7832 cat >>conftest.$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7834 #include <$ac_header>
7836 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7839 *) ac_try_echo=$ac_try;;
7841 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7842 $as_echo "$ac_try_echo") >&5
7843 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7845 grep -v '^ *+' conftest.er1 >conftest.err
7847 cat conftest.err >&5
7848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7849 (exit $ac_status); } >/dev/null && {
7850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7851 test ! -s conftest.err
7853 ac_header_preproc=yes
7855 $as_echo "$as_me: failed program was
:" >&5
7856 sed 's/^/| /' conftest.$ac_ext >&5
7858 ac_header_preproc=no
7861 rm -f conftest.err conftest.$ac_ext
7862 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7863 $as_echo "$ac_header_preproc" >&6; }
7865 # So? What about this header?
7866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7868 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7869 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7870 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7871 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7872 ac_header_preproc=yes
7875 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7876 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7878 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7879 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7880 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7881 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7882 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7883 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7884 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7885 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7886 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7890 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7891 $as_echo_n "checking
for $ac_header...
" >&6; }
7892 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7893 $as_echo_n "(cached
) " >&6
7895 eval "$as_ac_Header=\
$ac_header_preproc"
7897 ac_res=`eval 'as_val=${'$as_ac_Header'}
7898 $as_echo "$as_val"'`
7899 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7900 $as_echo "$ac_res" >&6; }
7903 as_val=`eval 'as_val=${'$as_ac_Header'}
7904 $as_echo "$as_val"'`
7905 if test "x
$as_val" = x""yes; then
7906 cat >>confdefs.h <<_ACEOF
7907 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7914 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7915 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7916 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7917 $as_echo_n "(cached
) " >&6
7919 if test "$cross_compiling" = yes; then
7920 ac_cv_func_malloc_0_nonnull=no
7922 cat >conftest.$ac_ext <<_ACEOF
7925 cat confdefs.h >>conftest.$ac_ext
7926 cat >>conftest.$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7928 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7929 # include <stdlib.h>
7937 return ! malloc (0);
7942 rm -f conftest$ac_exeext
7943 if { (ac_try="$ac_link"
7945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7946 *) ac_try_echo=$ac_try;;
7948 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7949 $as_echo "$ac_try_echo") >&5
7950 (eval "$ac_link") 2>&5
7952 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7954 { (case "(($ac_try" in
7955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7956 *) ac_try_echo=$ac_try;;
7958 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7959 $as_echo "$ac_try_echo") >&5
7960 (eval "$ac_try") 2>&5
7962 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7963 (exit $ac_status); }; }; then
7964 ac_cv_func_malloc_0_nonnull=yes
7966 $as_echo "$as_me: program exited with status
$ac_status" >&5
7967 $as_echo "$as_me: failed program was
:" >&5
7968 sed 's/^/| /' conftest.$ac_ext >&5
7971 ac_cv_func_malloc_0_nonnull=no
7973 rm -rf conftest.dSYM
7974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7979 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7980 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7981 if test $ac_cv_func_malloc_0_nonnull = yes; then
7983 cat >>confdefs.h <<\_ACEOF
7984 #define HAVE_MALLOC 1
7988 cat >>confdefs.h <<\_ACEOF
7989 #define HAVE_MALLOC 0
7992 case " $LIBOBJS " in
7993 *" malloc.
$ac_objext "* ) ;;
7994 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
7999 cat >>confdefs.h <<\_ACEOF
8000 #define malloc rpl_malloc
8007 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8008 $as_echo_n "checking
for working memcmp...
" >&6; }
8009 if test "${ac_cv_func_memcmp_working+set}" = set; then
8010 $as_echo_n "(cached
) " >&6
8012 if test "$cross_compiling" = yes; then
8013 ac_cv_func_memcmp_working=no
8015 cat >conftest.$ac_ext <<_ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021 $ac_includes_default
8026 /* Some versions of memcmp are not 8-bit clean. */
8027 char c0 = '\100', c1 = '\200', c2 = '\201';
8028 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8031 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8032 or more and with at least one buffer not starting on a 4-byte boundary.
8033 William Lewis provided this test program. */
8038 for (i = 0; i < 4; i++)
8042 strcpy (a, "--------01111111");
8043 strcpy (b, "--------10000000");
8044 if (memcmp (a, b, 16) >= 0)
8054 rm -f conftest$ac_exeext
8055 if { (ac_try="$ac_link"
8057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8058 *) ac_try_echo=$ac_try;;
8060 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8061 $as_echo "$ac_try_echo") >&5
8062 (eval "$ac_link") 2>&5
8064 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8066 { (case "(($ac_try" in
8067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068 *) ac_try_echo=$ac_try;;
8070 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8071 $as_echo "$ac_try_echo") >&5
8072 (eval "$ac_try") 2>&5
8074 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8075 (exit $ac_status); }; }; then
8076 ac_cv_func_memcmp_working=yes
8078 $as_echo "$as_me: program exited with status
$ac_status" >&5
8079 $as_echo "$as_me: failed program was
:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8083 ac_cv_func_memcmp_working=no
8085 rm -rf conftest.dSYM
8086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8091 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8092 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8093 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8094 *" memcmp.
$ac_objext "* ) ;;
8095 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8102 for ac_header in stdlib.h unistd.h
8104 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8105 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8106 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8107 $as_echo_n "checking
for $ac_header...
" >&6; }
8108 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8109 $as_echo_n "(cached
) " >&6
8111 ac_res=`eval 'as_val=${'$as_ac_Header'}
8112 $as_echo "$as_val"'`
8113 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8114 $as_echo "$ac_res" >&6; }
8116 # Is the header compilable?
8117 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8118 $as_echo_n "checking
$ac_header usability...
" >&6; }
8119 cat >conftest.$ac_ext <<_ACEOF
8122 cat confdefs.h >>conftest.$ac_ext
8123 cat >>conftest.$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8125 $ac_includes_default
8126 #include <$ac_header>
8128 rm -f conftest.$ac_objext
8129 if { (ac_try="$ac_compile"
8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8134 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8135 $as_echo "$ac_try_echo") >&5
8136 (eval "$ac_compile") 2>conftest.er1
8138 grep -v '^ *+' conftest.er1 >conftest.err
8140 cat conftest.err >&5
8141 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8142 (exit $ac_status); } && {
8143 test -z "$ac_c_werror_flag" ||
8144 test ! -s conftest.err
8145 } && test -s conftest.$ac_objext; then
8146 ac_header_compiler=yes
8148 $as_echo "$as_me: failed program was
:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 ac_header_compiler=no
8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8155 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8156 $as_echo "$ac_header_compiler" >&6; }
8158 # Is the header present?
8159 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8160 $as_echo_n "checking
$ac_header presence...
" >&6; }
8161 cat >conftest.$ac_ext <<_ACEOF
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 #include <$ac_header>
8169 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8172 *) ac_try_echo=$ac_try;;
8174 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8175 $as_echo "$ac_try_echo") >&5
8176 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8178 grep -v '^ *+' conftest.er1 >conftest.err
8180 cat conftest.err >&5
8181 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8182 (exit $ac_status); } >/dev/null && {
8183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8184 test ! -s conftest.err
8186 ac_header_preproc=yes
8188 $as_echo "$as_me: failed program was
:" >&5
8189 sed 's/^/| /' conftest.$ac_ext >&5
8191 ac_header_preproc=no
8194 rm -f conftest.err conftest.$ac_ext
8195 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8196 $as_echo "$ac_header_preproc" >&6; }
8198 # So? What about this header?
8199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8201 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8202 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8203 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8204 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8205 ac_header_preproc=yes
8208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8209 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8210 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8211 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8212 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8213 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8214 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8215 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8217 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8218 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8219 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8223 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8224 $as_echo_n "checking
for $ac_header...
" >&6; }
8225 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8226 $as_echo_n "(cached
) " >&6
8228 eval "$as_ac_Header=\
$ac_header_preproc"
8230 ac_res=`eval 'as_val=${'$as_ac_Header'}
8231 $as_echo "$as_val"'`
8232 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8236 as_val=`eval 'as_val=${'$as_ac_Header'}
8237 $as_echo "$as_val"'`
8238 if test "x
$as_val" = x""yes; then
8239 cat >>confdefs.h <<_ACEOF
8240 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8248 for ac_func in getpagesize
8250 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8251 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8252 $as_echo_n "checking
for $ac_func...
" >&6; }
8253 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8254 $as_echo_n "(cached
) " >&6
8256 cat >conftest.$ac_ext <<_ACEOF
8259 cat confdefs.h >>conftest.$ac_ext
8260 cat >>conftest.$ac_ext <<_ACEOF
8261 /* end confdefs.h. */
8262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8264 #define $ac_func innocuous_$ac_func
8266 /* System header to define __stub macros and hopefully few prototypes,
8267 which can conflict with char $ac_func (); below.
8268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8269 <limits.h> exists even on freestanding compilers. */
8272 # include <limits.h>
8274 # include <assert.h>
8279 /* Override any GCC internal prototype to avoid an error.
8280 Use char because int might match the return type of a GCC
8281 builtin and then its argument prototype would still apply. */
8286 /* The GNU C library defines this for functions which it implements
8287 to always fail with ENOSYS. Some functions are actually named
8288 something starting with __ and the normal name is an alias. */
8289 #if defined __stub_$ac_func || defined __stub___$ac_func
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8307 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8308 $as_echo "$ac_try_echo") >&5
8309 (eval "$ac_link") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest$ac_exeext && {
8319 test "$cross_compiling" = yes ||
8320 $as_test_x conftest$ac_exeext
8322 eval "$as_ac_var=yes"
8324 $as_echo "$as_me: failed program was
:" >&5
8325 sed 's/^/| /' conftest.$ac_ext >&5
8327 eval "$as_ac_var=no
"
8330 rm -rf conftest.dSYM
8331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8332 conftest$ac_exeext conftest.$ac_ext
8334 ac_res=`eval 'as_val=${'$as_ac_var'}
8335 $as_echo "$as_val"'`
8336 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8337 $as_echo "$ac_res" >&6; }
8338 as_val=`eval 'as_val=${'$as_ac_var'}
8339 $as_echo "$as_val"'`
8340 if test "x
$as_val" = x""yes; then
8341 cat >>confdefs.h <<_ACEOF
8342 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8348 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8349 $as_echo_n "checking
for working mmap...
" >&6; }
8350 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8351 $as_echo_n "(cached
) " >&6
8353 if test "$cross_compiling" = yes; then
8354 ac_cv_func_mmap_fixed_mapped=no
8356 cat >conftest.$ac_ext <<_ACEOF
8359 cat confdefs.h >>conftest.$ac_ext
8360 cat >>conftest.$ac_ext <<_ACEOF
8361 /* end confdefs.h. */
8362 $ac_includes_default
8363 /* malloc might have been renamed as rpl_malloc. */
8366 /* Thanks to Mike Haertel and Jim Avera for this test.
8367 Here is a matrix of mmap possibilities:
8368 mmap private not fixed
8369 mmap private fixed at somewhere currently unmapped
8370 mmap private fixed at somewhere already mapped
8371 mmap shared not fixed
8372 mmap shared fixed at somewhere currently unmapped
8373 mmap shared fixed at somewhere already mapped
8374 For private mappings, we should verify that changes cannot be read()
8375 back from the file, nor mmap's back from the file at a different
8376 address. (There have been systems where private was not correctly
8377 implemented like the infamous i386 svr4.0, and systems where the
8378 VM page cache was not coherent with the file system buffer cache
8379 like early versions of FreeBSD and possibly contemporary NetBSD.)
8380 For shared mappings, we should conversely verify that changes get
8381 propagated back to all the places they're supposed to be.
8383 Grep wants private fixed already mapped.
8384 The main things grep needs to know about mmap are:
8385 * does it exist and is it safe to write into the mmap'd area
8386 * how to use it (BSD variants) */
8389 #include <sys/mman.h>
8391 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8395 /* This mess was copied from the GNU getpagesize.h. */
8396 #ifndef HAVE_GETPAGESIZE
8397 /* Assume that all systems that can run configure have sys/param.h. */
8398 # ifndef HAVE_SYS_PARAM_H
8399 # define HAVE_SYS_PARAM_H 1
8402 # ifdef _SC_PAGESIZE
8403 # define getpagesize() sysconf(_SC_PAGESIZE)
8404 # else /* no _SC_PAGESIZE */
8405 # ifdef HAVE_SYS_PARAM_H
8406 # include <sys/param.h>
8407 # ifdef EXEC_PAGESIZE
8408 # define getpagesize() EXEC_PAGESIZE
8409 # else /* no EXEC_PAGESIZE */
8411 # define getpagesize() NBPG * CLSIZE
8414 # endif /* no CLSIZE */
8415 # else /* no NBPG */
8417 # define getpagesize() NBPC
8418 # else /* no NBPC */
8420 # define getpagesize() PAGESIZE
8421 # endif /* PAGESIZE */
8422 # endif /* no NBPC */
8423 # endif /* no NBPG */
8424 # endif /* no EXEC_PAGESIZE */
8425 # else /* no HAVE_SYS_PARAM_H */
8426 # define getpagesize() 8192 /* punt totally */
8427 # endif /* no HAVE_SYS_PARAM_H */
8428 # endif /* no _SC_PAGESIZE */
8430 #endif /* no HAVE_GETPAGESIZE */
8435 char *data, *data2, *data3;
8439 pagesize = getpagesize ();
8441 /* First, make a file with some known garbage in it. */
8442 data = (char *) malloc (pagesize);
8445 for (i = 0; i < pagesize; ++i)
8446 *(data + i) = rand ();
8448 fd = creat ("conftest.mmap
", 0600);
8451 if (write (fd, data, pagesize) != pagesize)
8455 /* Next, try to mmap the file at a fixed address which already has
8456 something else allocated at it. If we can, also make sure that
8457 we see the same garbage. */
8458 fd = open ("conftest.mmap
", O_RDWR);
8461 data2 = (char *) malloc (2 * pagesize);
8464 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8465 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8466 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8468 for (i = 0; i < pagesize; ++i)
8469 if (*(data + i) != *(data2 + i))
8472 /* Finally, make sure that changes to the mapped area do not
8473 percolate back to the file as seen by read(). (This is a bug on
8474 some variants of i386 svr4.0.) */
8475 for (i = 0; i < pagesize; ++i)
8476 *(data2 + i) = *(data2 + i) + 1;
8477 data3 = (char *) malloc (pagesize);
8480 if (read (fd, data3, pagesize) != pagesize)
8482 for (i = 0; i < pagesize; ++i)
8483 if (*(data + i) != *(data3 + i))
8489 rm -f conftest$ac_exeext
8490 if { (ac_try="$ac_link"
8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8495 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8496 $as_echo "$ac_try_echo") >&5
8497 (eval "$ac_link") 2>&5
8499 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8501 { (case "(($ac_try" in
8502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8503 *) ac_try_echo=$ac_try;;
8505 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8506 $as_echo "$ac_try_echo") >&5
8507 (eval "$ac_try") 2>&5
8509 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8510 (exit $ac_status); }; }; then
8511 ac_cv_func_mmap_fixed_mapped=yes
8513 $as_echo "$as_me: program exited with status
$ac_status" >&5
8514 $as_echo "$as_me: failed program was
:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8518 ac_cv_func_mmap_fixed_mapped=no
8520 rm -rf conftest.dSYM
8521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8526 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8527 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8528 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8530 cat >>confdefs.h <<\_ACEOF
8537 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8538 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8539 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8540 $as_echo_n "(cached
) " >&6
8542 if test "$cross_compiling" = yes; then
8543 ac_cv_func_stat_empty_string_bug=yes
8545 cat >conftest.$ac_ext <<_ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8551 $ac_includes_default
8556 return stat ("", &sbuf) == 0;
8561 rm -f conftest$ac_exeext
8562 if { (ac_try="$ac_link"
8564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8565 *) ac_try_echo=$ac_try;;
8567 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8568 $as_echo "$ac_try_echo") >&5
8569 (eval "$ac_link") 2>&5
8571 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8573 { (case "(($ac_try" in
8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8575 *) ac_try_echo=$ac_try;;
8577 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8578 $as_echo "$ac_try_echo") >&5
8579 (eval "$ac_try") 2>&5
8581 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8582 (exit $ac_status); }; }; then
8583 ac_cv_func_stat_empty_string_bug=no
8585 $as_echo "$as_me: program exited with status
$ac_status" >&5
8586 $as_echo "$as_me: failed program was
:" >&5
8587 sed 's/^/| /' conftest.$ac_ext >&5
8590 ac_cv_func_stat_empty_string_bug=yes
8592 rm -rf conftest.dSYM
8593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8598 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8599 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8600 if test $ac_cv_func_stat_empty_string_bug = yes; then
8601 case " $LIBOBJS " in
8602 *" stat.
$ac_objext "* ) ;;
8603 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8608 cat >>confdefs.h <<_ACEOF
8609 #define HAVE_STAT_EMPTY_STRING_BUG 1
8614 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8615 $as_echo_n "checking
for working strtod...
" >&6; }
8616 if test "${ac_cv_func_strtod+set}" = set; then
8617 $as_echo_n "(cached
) " >&6
8619 if test "$cross_compiling" = yes; then
8620 ac_cv_func_strtod=no
8622 cat >conftest.$ac_ext <<_ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8629 $ac_includes_default
8637 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8638 char *string = " +69";
8641 value = strtod (string, &term);
8642 if (value != 69 || term != (string + 4))
8647 /* Under Solaris 2.4, strtod returns the wrong value for the
8648 terminating character under some conditions. */
8649 char *string = "NaN
";
8651 strtod (string, &term);
8652 if (term != string && *(term - 1) == 0)
8659 rm -f conftest$ac_exeext
8660 if { (ac_try="$ac_link"
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8665 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8666 $as_echo "$ac_try_echo") >&5
8667 (eval "$ac_link") 2>&5
8669 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8671 { (case "(($ac_try" in
8672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673 *) ac_try_echo=$ac_try;;
8675 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8676 $as_echo "$ac_try_echo") >&5
8677 (eval "$ac_try") 2>&5
8679 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 ac_cv_func_strtod=yes
8683 $as_echo "$as_me: program exited with status
$ac_status" >&5
8684 $as_echo "$as_me: failed program was
:" >&5
8685 sed 's/^/| /' conftest.$ac_ext >&5
8688 ac_cv_func_strtod=no
8690 rm -rf conftest.dSYM
8691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8696 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8697 $as_echo "$ac_cv_func_strtod" >&6; }
8698 if test $ac_cv_func_strtod = no; then
8699 case " $LIBOBJS " in
8700 *" strtod.
$ac_objext "* ) ;;
8701 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8705 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8706 $as_echo_n "checking
for pow...
" >&6; }
8707 if test "${ac_cv_func_pow+set}" = set; then
8708 $as_echo_n "(cached
) " >&6
8710 cat >conftest.$ac_ext <<_ACEOF
8713 cat confdefs.h >>conftest.$ac_ext
8714 cat >>conftest.$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8716 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8718 #define pow innocuous_pow
8720 /* System header to define __stub macros and hopefully few prototypes,
8721 which can conflict with char pow (); below.
8722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8723 <limits.h> exists even on freestanding compilers. */
8726 # include <limits.h>
8728 # include <assert.h>
8733 /* Override any GCC internal prototype to avoid an error.
8734 Use char because int might match the return type of a GCC
8735 builtin and then its argument prototype would still apply. */
8740 /* The GNU C library defines this for functions which it implements
8741 to always fail with ENOSYS. Some functions are actually named
8742 something starting with __ and the normal name is an alias. */
8743 #if defined __stub_pow || defined __stub___pow
8755 rm -f conftest.$ac_objext conftest$ac_exeext
8756 if { (ac_try="$ac_link"
8758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8759 *) ac_try_echo=$ac_try;;
8761 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8762 $as_echo "$ac_try_echo") >&5
8763 (eval "$ac_link") 2>conftest.er1
8765 grep -v '^ *+' conftest.er1 >conftest.err
8767 cat conftest.err >&5
8768 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8769 (exit $ac_status); } && {
8770 test -z "$ac_c_werror_flag" ||
8771 test ! -s conftest.err
8772 } && test -s conftest$ac_exeext && {
8773 test "$cross_compiling" = yes ||
8774 $as_test_x conftest$ac_exeext
8778 $as_echo "$as_me: failed program was
:" >&5
8779 sed 's/^/| /' conftest.$ac_ext >&5
8784 rm -rf conftest.dSYM
8785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8786 conftest$ac_exeext conftest.$ac_ext
8788 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8789 $as_echo "$ac_cv_func_pow" >&6; }
8791 if test $ac_cv_func_pow = no; then
8792 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8793 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8794 if test "${ac_cv_lib_m_pow+set}" = set; then
8795 $as_echo_n "(cached
) " >&6
8797 ac_check_lib_save_LIBS=$LIBS
8799 cat >conftest.$ac_ext <<_ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8806 /* Override any GCC internal prototype to avoid an error.
8807 Use char because int might match the return type of a GCC
8808 builtin and then its argument prototype would still apply. */
8821 rm -f conftest.$ac_objext conftest$ac_exeext
8822 if { (ac_try="$ac_link"
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8827 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8828 $as_echo "$ac_try_echo") >&5
8829 (eval "$ac_link") 2>conftest.er1
8831 grep -v '^ *+' conftest.er1 >conftest.err
8833 cat conftest.err >&5
8834 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8835 (exit $ac_status); } && {
8836 test -z "$ac_c_werror_flag" ||
8837 test ! -s conftest.err
8838 } && test -s conftest$ac_exeext && {
8839 test "$cross_compiling" = yes ||
8840 $as_test_x conftest$ac_exeext
8844 $as_echo "$as_me: failed program was
:" >&5
8845 sed 's/^/| /' conftest.$ac_ext >&5
8850 rm -rf conftest.dSYM
8851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8852 conftest$ac_exeext conftest.$ac_ext
8853 LIBS=$ac_check_lib_save_LIBS
8855 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8856 $as_echo "$ac_cv_lib_m_pow" >&6; }
8857 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8860 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8861 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8869 for ac_func in vprintf
8871 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8872 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8873 $as_echo_n "checking
for $ac_func...
" >&6; }
8874 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8875 $as_echo_n "(cached
) " >&6
8877 cat >conftest.$ac_ext <<_ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8885 #define $ac_func innocuous_$ac_func
8887 /* System header to define __stub macros and hopefully few prototypes,
8888 which can conflict with char $ac_func (); below.
8889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8890 <limits.h> exists even on freestanding compilers. */
8893 # include <limits.h>
8895 # include <assert.h>
8900 /* Override any GCC internal prototype to avoid an error.
8901 Use char because int might match the return type of a GCC
8902 builtin and then its argument prototype would still apply. */
8907 /* The GNU C library defines this for functions which it implements
8908 to always fail with ENOSYS. Some functions are actually named
8909 something starting with __ and the normal name is an alias. */
8910 #if defined __stub_$ac_func || defined __stub___$ac_func
8922 rm -f conftest.$ac_objext conftest$ac_exeext
8923 if { (ac_try="$ac_link"
8925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8926 *) ac_try_echo=$ac_try;;
8928 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8929 $as_echo "$ac_try_echo") >&5
8930 (eval "$ac_link") 2>conftest.er1
8932 grep -v '^ *+' conftest.er1 >conftest.err
8934 cat conftest.err >&5
8935 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8936 (exit $ac_status); } && {
8937 test -z "$ac_c_werror_flag" ||
8938 test ! -s conftest.err
8939 } && test -s conftest$ac_exeext && {
8940 test "$cross_compiling" = yes ||
8941 $as_test_x conftest$ac_exeext
8943 eval "$as_ac_var=yes"
8945 $as_echo "$as_me: failed program was
:" >&5
8946 sed 's/^/| /' conftest.$ac_ext >&5
8948 eval "$as_ac_var=no
"
8951 rm -rf conftest.dSYM
8952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8953 conftest$ac_exeext conftest.$ac_ext
8955 ac_res=`eval 'as_val=${'$as_ac_var'}
8956 $as_echo "$as_val"'`
8957 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8958 $as_echo "$ac_res" >&6; }
8959 as_val=`eval 'as_val=${'$as_ac_var'}
8960 $as_echo "$as_val"'`
8961 if test "x
$as_val" = x""yes; then
8962 cat >>confdefs.h <<_ACEOF
8963 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8966 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8967 $as_echo_n "checking
for _doprnt...
" >&6; }
8968 if test "${ac_cv_func__doprnt+set}" = set; then
8969 $as_echo_n "(cached
) " >&6
8971 cat >conftest.$ac_ext <<_ACEOF
8974 cat confdefs.h >>conftest.$ac_ext
8975 cat >>conftest.$ac_ext <<_ACEOF
8976 /* end confdefs.h. */
8977 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8979 #define _doprnt innocuous__doprnt
8981 /* System header to define __stub macros and hopefully few prototypes,
8982 which can conflict with char _doprnt (); below.
8983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8984 <limits.h> exists even on freestanding compilers. */
8987 # include <limits.h>
8989 # include <assert.h>
8994 /* Override any GCC internal prototype to avoid an error.
8995 Use char because int might match the return type of a GCC
8996 builtin and then its argument prototype would still apply. */
9001 /* The GNU C library defines this for functions which it implements
9002 to always fail with ENOSYS. Some functions are actually named
9003 something starting with __ and the normal name is an alias. */
9004 #if defined __stub__doprnt || defined __stub____doprnt
9016 rm -f conftest.$ac_objext conftest$ac_exeext
9017 if { (ac_try="$ac_link"
9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9020 *) ac_try_echo=$ac_try;;
9022 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9023 $as_echo "$ac_try_echo") >&5
9024 (eval "$ac_link") 2>conftest.er1
9026 grep -v '^ *+' conftest.er1 >conftest.err
9028 cat conftest.err >&5
9029 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9030 (exit $ac_status); } && {
9031 test -z "$ac_c_werror_flag" ||
9032 test ! -s conftest.err
9033 } && test -s conftest$ac_exeext && {
9034 test "$cross_compiling" = yes ||
9035 $as_test_x conftest$ac_exeext
9037 ac_cv_func__doprnt=yes
9039 $as_echo "$as_me: failed program was
:" >&5
9040 sed 's/^/| /' conftest.$ac_ext >&5
9042 ac_cv_func__doprnt=no
9045 rm -rf conftest.dSYM
9046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9047 conftest$ac_exeext conftest.$ac_ext
9049 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9050 $as_echo "$ac_cv_func__doprnt" >&6; }
9051 if test "x
$ac_cv_func__doprnt" = x""yes; then
9053 cat >>confdefs.h <<\_ACEOF
9054 #define HAVE_DOPRNT 1
9064 ################################################################################
9065 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9066 $as_echo_n "checking whether to use static linking...
" >&6; }
9067 # Check whether --enable-static_link was given.
9068 if test "${enable_static_link+set}" = set; then
9069 enableval=$enable_static_link; STATIC_LINK=$enableval
9074 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9075 $as_echo "$STATIC_LINK" >&6; }
9077 ################################################################################
9080 ################################################################################
9081 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9082 $as_echo_n "checking
file owner...
" >&6; }
9086 # Check whether --with-user was given.
9087 if test "${with_user+set}" = set; then
9088 withval=$with_user; OWNER="$withval"
9091 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9092 $as_echo "$OWNER" >&6; }
9094 if test x$OWNER != x; then
9098 ################################################################################
9099 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9100 $as_echo_n "checking group owner...
" >&6; }
9103 # Check whether --with-group was given.
9104 if test "${with_group+set}" = set; then
9105 withval=$with_group; GROUP="$withval"
9108 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9109 $as_echo "$GROUP" >&6; }
9111 if test x$GROUP != x; then
9115 ################################################################################
9116 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9117 $as_echo_n "checking device node uid...
" >&6; }
9120 # Check whether --with-device-uid was given.
9121 if test "${with_device_uid+set}" = set; then
9122 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9127 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9128 $as_echo "$DM_DEVICE_UID" >&6; }
9130 ################################################################################
9131 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9132 $as_echo_n "checking device node gid...
" >&6; }
9135 # Check whether --with-device-gid was given.
9136 if test "${with_device_gid+set}" = set; then
9137 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9142 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9143 $as_echo "$DM_DEVICE_GID" >&6; }
9145 ################################################################################
9146 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9147 $as_echo_n "checking device node mode...
" >&6; }
9150 # Check whether --with-device-mode was given.
9151 if test "${with_device_mode+set}" = set; then
9152 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9154 DM_DEVICE_MODE="0600"
9157 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9158 $as_echo "$DM_DEVICE_MODE" >&6; }
9160 ################################################################################
9161 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9162 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9163 # Check whether --enable-lvm1_fallback was given.
9164 if test "${enable_lvm1_fallback+set}" = set; then
9165 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9170 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9171 $as_echo "$LVM1_FALLBACK" >&6; }
9173 if test x$LVM1_FALLBACK = xyes; then
9175 cat >>confdefs.h <<\_ACEOF
9176 #define LVM1_FALLBACK 1
9181 ################################################################################
9182 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9183 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9185 # Check whether --with-lvm1 was given.
9186 if test "${with_lvm1+set}" = set; then
9187 withval=$with_lvm1; LVM1="$withval"
9192 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9193 $as_echo "$LVM1" >&6; }
9195 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9196 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9198 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9200 { (exit 1); exit 1; }; }
9203 if test x$LVM1 = xinternal; then
9205 cat >>confdefs.h <<\_ACEOF
9206 #define LVM1_INTERNAL 1
9211 ################################################################################
9212 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9213 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9215 # Check whether --with-pool was given.
9216 if test "${with_pool+set}" = set; then
9217 withval=$with_pool; POOL="$withval"
9222 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9223 $as_echo "$POOL" >&6; }
9225 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9226 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9228 $as_echo "$as_me: error
: --with-pool parameter invalid
9230 { (exit 1); exit 1; }; }
9233 if test x$POOL = xinternal; then
9235 cat >>confdefs.h <<\_ACEOF
9236 #define POOL_INTERNAL 1
9241 ################################################################################
9242 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9243 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9245 # Check whether --with-cluster was given.
9246 if test "${with_cluster+set}" = set; then
9247 withval=$with_cluster; CLUSTER="$withval"
9250 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9251 $as_echo "$CLUSTER" >&6; }
9253 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9254 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9256 $as_echo "$as_me: error
: --with-cluster parameter invalid
9258 { (exit 1); exit 1; }; }
9261 if test x$CLUSTER = xinternal; then
9263 cat >>confdefs.h <<\_ACEOF
9264 #define CLUSTER_LOCKING_INTERNAL 1
9269 ################################################################################
9270 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9271 $as_echo_n "checking whether to include snapshots...
" >&6; }
9273 # Check whether --with-snapshots was given.
9274 if test "${with_snapshots+set}" = set; then
9275 withval=$with_snapshots; SNAPSHOTS="$withval"
9277 SNAPSHOTS="internal
"
9280 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9281 $as_echo "$SNAPSHOTS" >&6; }
9283 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9284 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9286 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9288 { (exit 1); exit 1; }; }
9291 if test x$SNAPSHOTS = xinternal; then
9293 cat >>confdefs.h <<\_ACEOF
9294 #define SNAPSHOT_INTERNAL 1
9299 ################################################################################
9300 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9301 $as_echo_n "checking whether to include mirrors...
" >&6; }
9303 # Check whether --with-mirrors was given.
9304 if test "${with_mirrors+set}" = set; then
9305 withval=$with_mirrors; MIRRORS="$withval"
9310 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9311 $as_echo "$MIRRORS" >&6; }
9313 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9314 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9316 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9318 { (exit 1); exit 1; }; }
9321 if test x$MIRRORS = xinternal; then
9323 cat >>confdefs.h <<\_ACEOF
9324 #define MIRRORED_INTERNAL 1
9329 ################################################################################
9330 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9331 $as_echo_n "checking whether to
enable readline...
" >&6; }
9332 # Check whether --enable-readline was given.
9333 if test "${enable_readline+set}" = set; then
9334 enableval=$enable_readline; READLINE=$enableval
9339 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9340 $as_echo "$READLINE" >&6; }
9342 ################################################################################
9343 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9344 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9345 # Check whether --enable-realtime was given.
9346 if test "${enable_realtime+set}" = set; then
9347 enableval=$enable_realtime; REALTIME=$enableval
9350 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9351 $as_echo "$REALTIME" >&6; }
9353 ################################################################################
9357 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9358 if test -n "$ac_tool_prefix"; then
9359 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9360 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9361 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9362 $as_echo_n "checking
for $ac_word...
" >&6; }
9363 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9364 $as_echo_n "(cached
) " >&6
9368 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9375 test -z "$as_dir" && as_dir=.
9376 for ac_exec_ext in '' $ac_executable_extensions; do
9377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9378 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9379 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9389 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9390 if test -n "$PKG_CONFIG"; then
9391 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9392 $as_echo "$PKG_CONFIG" >&6; }
9394 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9395 $as_echo "no
" >&6; }
9400 if test -z "$ac_cv_path_PKG_CONFIG"; then
9401 ac_pt_PKG_CONFIG=$PKG_CONFIG
9402 # Extract the first word of "pkg-config
", so it can be a program name with args.
9403 set dummy pkg-config; ac_word=$2
9404 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9405 $as_echo_n "checking
for $ac_word...
" >&6; }
9406 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9407 $as_echo_n "(cached
) " >&6
9409 case $ac_pt_PKG_CONFIG in
9411 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9422 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9432 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9433 if test -n "$ac_pt_PKG_CONFIG"; then
9434 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9435 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9437 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9438 $as_echo "no
" >&6; }
9441 if test "x
$ac_pt_PKG_CONFIG" = x; then
9444 case $cross_compiling:$ac_tool_warned in
9446 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9447 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9448 ac_tool_warned=yes ;;
9450 PKG_CONFIG=$ac_pt_PKG_CONFIG
9453 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9457 if test -n "$PKG_CONFIG"; then
9458 _pkg_min_version=0.9.0
9459 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9460 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9461 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9462 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9463 $as_echo "yes" >&6; }
9465 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9466 $as_echo "no
" >&6; }
9473 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9474 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9476 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9477 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9478 elif test -n "$PKG_CONFIG"; then
9479 if test -n "$PKG_CONFIG" && \
9480 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9481 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9483 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9484 (exit $ac_status); }; then
9485 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9492 if test -n "$PKGCONFIGINIT_LIBS"; then
9493 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9494 elif test -n "$PKG_CONFIG"; then
9495 if test -n "$PKG_CONFIG" && \
9496 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9497 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9499 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9500 (exit $ac_status); }; then
9501 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9511 if test $pkg_failed = yes; then
9513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9514 _pkg_short_errors_supported=yes
9516 _pkg_short_errors_supported=no
9518 if test $_pkg_short_errors_supported = yes; then
9519 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9521 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9523 # Put the nasty error message in config.log where it belongs
9524 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9526 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9527 $as_echo "no
" >&6; }
9528 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9529 $as_echo "pkg-config initialized
" >&6; }
9530 elif test $pkg_failed = untried; then
9531 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9532 $as_echo "pkg-config initialized
" >&6; }
9534 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9535 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9536 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9537 $as_echo "yes" >&6; }
9543 ################################################################################
9544 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9545 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9547 # Check whether --with-clvmd was given.
9548 if test "${with_clvmd+set}" = set; then
9549 withval=$with_clvmd; CLVMD="$withval"
9554 if test x$CLVMD = xyes; then
9557 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9558 $as_echo "$CLVMD" >&6; }
9560 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9564 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9569 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9572 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9575 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9578 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9582 if test x$BUILDGULM = xyes; then
9583 if test x$BUILDCOROSYNC = xyes || \
9584 test x$BUILDOPENAIS = xyes; then
9585 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9586 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9587 { (exit 1); exit 1; }; }
9596 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9597 $as_echo "$as_me: error
: bailing out
" >&2;}
9598 { (exit 1); exit 1; }; }
9601 if test x$CLVMD = xall; then
9602 bailout=soft_bailout
9608 bailout=hard_bailout
9611 check_lib_no_libs() {
9618 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9619 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9620 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9621 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9622 $as_echo_n "(cached
) " >&6
9624 ac_check_lib_save_LIBS=$LIBS
9625 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9639 char $lib_no_libs_arg2 ();
9643 return $lib_no_libs_arg2 ();
9648 rm -f conftest.$ac_objext conftest$ac_exeext
9649 if { (ac_try="$ac_link"
9651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9652 *) ac_try_echo=$ac_try;;
9654 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9655 $as_echo "$ac_try_echo") >&5
9656 (eval "$ac_link") 2>conftest.er1
9658 grep -v '^ *+' conftest.er1 >conftest.err
9660 cat conftest.err >&5
9661 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest$ac_exeext && {
9666 test "$cross_compiling" = yes ||
9667 $as_test_x conftest$ac_exeext
9669 eval "$as_ac_Lib=yes"
9671 $as_echo "$as_me: failed program was
:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9674 eval "$as_ac_Lib=no
"
9677 rm -rf conftest.dSYM
9678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_lib_save_LIBS
9682 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9683 $as_echo "$as_val"'`
9684 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9685 $as_echo "$ac_res" >&6; }
9686 as_val=`eval 'as_val=${'$as_ac_Lib'}
9687 $as_echo "$as_val"'`
9688 if test "x
$as_val" = x""yes; then
9689 cat >>confdefs.h <<_ACEOF
9690 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9693 LIBS="-l$lib_no_libs_arg1 $LIBS"
9699 LIBS=$ac_check_lib_save_LIBS
9702 if test x$BUILDGULM = xyes; then
9705 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9706 $as_echo_n "checking
for CCS...
" >&6; }
9708 if test -n "$CCS_CFLAGS"; then
9709 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9710 elif test -n "$PKG_CONFIG"; then
9711 if test -n "$PKG_CONFIG" && \
9712 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9713 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9715 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9716 (exit $ac_status); }; then
9717 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9724 if test -n "$CCS_LIBS"; then
9725 pkg_cv_CCS_LIBS="$CCS_LIBS"
9726 elif test -n "$PKG_CONFIG"; then
9727 if test -n "$PKG_CONFIG" && \
9728 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9729 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9731 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9732 (exit $ac_status); }; then
9733 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9743 if test $pkg_failed = yes; then
9745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9746 _pkg_short_errors_supported=yes
9748 _pkg_short_errors_supported=no
9750 if test $_pkg_short_errors_supported = yes; then
9751 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9753 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9755 # Put the nasty error message in config.log where it belongs
9756 echo "$CCS_PKG_ERRORS" >&5
9758 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9759 $as_echo "no
" >&6; }
9762 for ac_header in ccs.h
9764 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9765 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9766 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9767 $as_echo_n "checking
for $ac_header...
" >&6; }
9768 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9769 $as_echo_n "(cached
) " >&6
9771 ac_res=`eval 'as_val=${'$as_ac_Header'}
9772 $as_echo "$as_val"'`
9773 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9774 $as_echo "$ac_res" >&6; }
9776 # Is the header compilable?
9777 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9778 $as_echo_n "checking
$ac_header usability...
" >&6; }
9779 cat >conftest.$ac_ext <<_ACEOF
9782 cat confdefs.h >>conftest.$ac_ext
9783 cat >>conftest.$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9785 $ac_includes_default
9786 #include <$ac_header>
9788 rm -f conftest.$ac_objext
9789 if { (ac_try="$ac_compile"
9791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9792 *) ac_try_echo=$ac_try;;
9794 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9795 $as_echo "$ac_try_echo") >&5
9796 (eval "$ac_compile") 2>conftest.er1
9798 grep -v '^ *+' conftest.er1 >conftest.err
9800 cat conftest.err >&5
9801 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9802 (exit $ac_status); } && {
9803 test -z "$ac_c_werror_flag" ||
9804 test ! -s conftest.err
9805 } && test -s conftest.$ac_objext; then
9806 ac_header_compiler=yes
9808 $as_echo "$as_me: failed program was
:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 ac_header_compiler=no
9814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9815 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9816 $as_echo "$ac_header_compiler" >&6; }
9818 # Is the header present?
9819 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9820 $as_echo_n "checking
$ac_header presence...
" >&6; }
9821 cat >conftest.$ac_ext <<_ACEOF
9824 cat confdefs.h >>conftest.$ac_ext
9825 cat >>conftest.$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9827 #include <$ac_header>
9829 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9834 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9835 $as_echo "$ac_try_echo") >&5
9836 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9838 grep -v '^ *+' conftest.er1 >conftest.err
9840 cat conftest.err >&5
9841 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9842 (exit $ac_status); } >/dev/null && {
9843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9844 test ! -s conftest.err
9846 ac_header_preproc=yes
9848 $as_echo "$as_me: failed program was
:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9851 ac_header_preproc=no
9854 rm -f conftest.err conftest.$ac_ext
9855 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9856 $as_echo "$ac_header_preproc" >&6; }
9858 # So? What about this header?
9859 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9861 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9862 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9863 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9864 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9865 ac_header_preproc=yes
9868 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9869 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9870 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9871 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9872 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9873 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9874 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9875 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9877 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9878 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9879 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9883 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9884 $as_echo_n "checking
for $ac_header...
" >&6; }
9885 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9886 $as_echo_n "(cached
) " >&6
9888 eval "$as_ac_Header=\
$ac_header_preproc"
9890 ac_res=`eval 'as_val=${'$as_ac_Header'}
9891 $as_echo "$as_val"'`
9892 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9893 $as_echo "$ac_res" >&6; }
9896 as_val=`eval 'as_val=${'$as_ac_Header'}
9897 $as_echo "$as_val"'`
9898 if test "x
$as_val" = x""yes; then
9899 cat >>confdefs.h <<_ACEOF
9900 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9909 check_lib_no_libs ccs ccs_connect
9910 if test $NOTFOUND = 0; then
9911 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9912 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9916 elif test $pkg_failed = untried; then
9919 for ac_header in ccs.h
9921 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9922 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9923 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9924 $as_echo_n "checking
for $ac_header...
" >&6; }
9925 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9926 $as_echo_n "(cached
) " >&6
9928 ac_res=`eval 'as_val=${'$as_ac_Header'}
9929 $as_echo "$as_val"'`
9930 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9931 $as_echo "$ac_res" >&6; }
9933 # Is the header compilable?
9934 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9935 $as_echo_n "checking
$ac_header usability...
" >&6; }
9936 cat >conftest.$ac_ext <<_ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9942 $ac_includes_default
9943 #include <$ac_header>
9945 rm -f conftest.$ac_objext
9946 if { (ac_try="$ac_compile"
9948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9949 *) ac_try_echo=$ac_try;;
9951 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9952 $as_echo "$ac_try_echo") >&5
9953 (eval "$ac_compile") 2>conftest.er1
9955 grep -v '^ *+' conftest.er1 >conftest.err
9957 cat conftest.err >&5
9958 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9959 (exit $ac_status); } && {
9960 test -z "$ac_c_werror_flag" ||
9961 test ! -s conftest.err
9962 } && test -s conftest.$ac_objext; then
9963 ac_header_compiler=yes
9965 $as_echo "$as_me: failed program was
:" >&5
9966 sed 's/^/| /' conftest.$ac_ext >&5
9968 ac_header_compiler=no
9971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9972 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9973 $as_echo "$ac_header_compiler" >&6; }
9975 # Is the header present?
9976 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9977 $as_echo_n "checking
$ac_header presence...
" >&6; }
9978 cat >conftest.$ac_ext <<_ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9984 #include <$ac_header>
9986 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9989 *) ac_try_echo=$ac_try;;
9991 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9992 $as_echo "$ac_try_echo") >&5
9993 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9995 grep -v '^ *+' conftest.er1 >conftest.err
9997 cat conftest.err >&5
9998 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9999 (exit $ac_status); } >/dev/null && {
10000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10001 test ! -s conftest.err
10003 ac_header_preproc=yes
10005 $as_echo "$as_me: failed program was
:" >&5
10006 sed 's/^/| /' conftest.$ac_ext >&5
10008 ac_header_preproc=no
10011 rm -f conftest.err conftest.$ac_ext
10012 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10013 $as_echo "$ac_header_preproc" >&6; }
10015 # So? What about this header?
10016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10018 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10019 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10020 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10021 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10022 ac_header_preproc=yes
10025 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10026 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10027 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10028 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10029 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10030 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10031 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10032 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10033 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10034 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10035 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10036 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10040 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10041 $as_echo_n "checking
for $ac_header...
" >&6; }
10042 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10043 $as_echo_n "(cached
) " >&6
10045 eval "$as_ac_Header=\
$ac_header_preproc"
10047 ac_res=`eval 'as_val=${'$as_ac_Header'}
10048 $as_echo "$as_val"'`
10049 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10050 $as_echo "$ac_res" >&6; }
10053 as_val=`eval 'as_val=${'$as_ac_Header'}
10054 $as_echo "$as_val"'`
10055 if test "x
$as_val" = x""yes; then
10056 cat >>confdefs.h <<_ACEOF
10057 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10066 check_lib_no_libs ccs ccs_connect
10067 if test $NOTFOUND = 0; then
10068 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10069 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10074 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10075 CCS_LIBS=$pkg_cv_CCS_LIBS
10076 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10077 $as_echo "yes" >&6; }
10082 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10083 $as_echo_n "checking
for GULM...
" >&6; }
10085 if test -n "$GULM_CFLAGS"; then
10086 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10087 elif test -n "$PKG_CONFIG"; then
10088 if test -n "$PKG_CONFIG" && \
10089 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10090 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10092 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10093 (exit $ac_status); }; then
10094 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10101 if test -n "$GULM_LIBS"; then
10102 pkg_cv_GULM_LIBS="$GULM_LIBS"
10103 elif test -n "$PKG_CONFIG"; then
10104 if test -n "$PKG_CONFIG" && \
10105 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10106 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10108 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10109 (exit $ac_status); }; then
10110 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10120 if test $pkg_failed = yes; then
10122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10123 _pkg_short_errors_supported=yes
10125 _pkg_short_errors_supported=no
10127 if test $_pkg_short_errors_supported = yes; then
10128 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10130 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10132 # Put the nasty error message in config.log where it belongs
10133 echo "$GULM_PKG_ERRORS" >&5
10135 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10136 $as_echo "no
" >&6; }
10139 for ac_header in libgulm.h
10141 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10142 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10143 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10144 $as_echo_n "checking
for $ac_header...
" >&6; }
10145 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10146 $as_echo_n "(cached
) " >&6
10148 ac_res=`eval 'as_val=${'$as_ac_Header'}
10149 $as_echo "$as_val"'`
10150 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10151 $as_echo "$ac_res" >&6; }
10153 # Is the header compilable?
10154 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10155 $as_echo_n "checking
$ac_header usability...
" >&6; }
10156 cat >conftest.$ac_ext <<_ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10162 $ac_includes_default
10163 #include <$ac_header>
10165 rm -f conftest.$ac_objext
10166 if { (ac_try="$ac_compile"
10167 case "(($ac_try" in
10168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10171 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10172 $as_echo "$ac_try_echo") >&5
10173 (eval "$ac_compile") 2>conftest.er1
10175 grep -v '^ *+' conftest.er1 >conftest.err
10177 cat conftest.err >&5
10178 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10179 (exit $ac_status); } && {
10180 test -z "$ac_c_werror_flag" ||
10181 test ! -s conftest.err
10182 } && test -s conftest.$ac_objext; then
10183 ac_header_compiler=yes
10185 $as_echo "$as_me: failed program was
:" >&5
10186 sed 's/^/| /' conftest.$ac_ext >&5
10188 ac_header_compiler=no
10191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10192 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10193 $as_echo "$ac_header_compiler" >&6; }
10195 # Is the header present?
10196 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10197 $as_echo_n "checking
$ac_header presence...
" >&6; }
10198 cat >conftest.$ac_ext <<_ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 #include <$ac_header>
10206 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10207 case "(($ac_try" in
10208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10209 *) ac_try_echo=$ac_try;;
10211 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10212 $as_echo "$ac_try_echo") >&5
10213 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10215 grep -v '^ *+' conftest.er1 >conftest.err
10217 cat conftest.err >&5
10218 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10219 (exit $ac_status); } >/dev/null && {
10220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10221 test ! -s conftest.err
10223 ac_header_preproc=yes
10225 $as_echo "$as_me: failed program was
:" >&5
10226 sed 's/^/| /' conftest.$ac_ext >&5
10228 ac_header_preproc=no
10231 rm -f conftest.err conftest.$ac_ext
10232 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10233 $as_echo "$ac_header_preproc" >&6; }
10235 # So? What about this header?
10236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10239 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10240 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10241 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10242 ac_header_preproc=yes
10245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10246 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10247 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10248 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10249 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10250 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10251 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10252 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10253 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10254 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10255 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10256 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10260 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10261 $as_echo_n "checking
for $ac_header...
" >&6; }
10262 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10263 $as_echo_n "(cached
) " >&6
10265 eval "$as_ac_Header=\
$ac_header_preproc"
10267 ac_res=`eval 'as_val=${'$as_ac_Header'}
10268 $as_echo "$as_val"'`
10269 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10270 $as_echo "$ac_res" >&6; }
10273 as_val=`eval 'as_val=${'$as_ac_Header'}
10274 $as_echo "$as_val"'`
10275 if test "x
$as_val" = x""yes; then
10276 cat >>confdefs.h <<_ACEOF
10277 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10286 check_lib_no_libs gulm lg_core_login
10287 if test $NOTFOUND = 0; then
10288 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10289 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10293 elif test $pkg_failed = untried; then
10296 for ac_header in libgulm.h
10298 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10299 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10300 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10301 $as_echo_n "checking
for $ac_header...
" >&6; }
10302 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10303 $as_echo_n "(cached
) " >&6
10305 ac_res=`eval 'as_val=${'$as_ac_Header'}
10306 $as_echo "$as_val"'`
10307 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10308 $as_echo "$ac_res" >&6; }
10310 # Is the header compilable?
10311 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10312 $as_echo_n "checking
$ac_header usability...
" >&6; }
10313 cat >conftest.$ac_ext <<_ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10319 $ac_includes_default
10320 #include <$ac_header>
10322 rm -f conftest.$ac_objext
10323 if { (ac_try="$ac_compile"
10324 case "(($ac_try" in
10325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10326 *) ac_try_echo=$ac_try;;
10328 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10329 $as_echo "$ac_try_echo") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10332 grep -v '^ *+' conftest.er1 >conftest.err
10334 cat conftest.err >&5
10335 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.$ac_objext; then
10340 ac_header_compiler=yes
10342 $as_echo "$as_me: failed program was
:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10345 ac_header_compiler=no
10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10349 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10350 $as_echo "$ac_header_compiler" >&6; }
10352 # Is the header present?
10353 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10354 $as_echo_n "checking
$ac_header presence...
" >&6; }
10355 cat >conftest.$ac_ext <<_ACEOF
10358 cat confdefs.h >>conftest.$ac_ext
10359 cat >>conftest.$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10361 #include <$ac_header>
10363 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10364 case "(($ac_try" in
10365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10366 *) ac_try_echo=$ac_try;;
10368 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10369 $as_echo "$ac_try_echo") >&5
10370 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10372 grep -v '^ *+' conftest.er1 >conftest.err
10374 cat conftest.err >&5
10375 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10376 (exit $ac_status); } >/dev/null && {
10377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10378 test ! -s conftest.err
10380 ac_header_preproc=yes
10382 $as_echo "$as_me: failed program was
:" >&5
10383 sed 's/^/| /' conftest.$ac_ext >&5
10385 ac_header_preproc=no
10388 rm -f conftest.err conftest.$ac_ext
10389 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10390 $as_echo "$ac_header_preproc" >&6; }
10392 # So? What about this header?
10393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10395 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10396 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10397 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10398 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10399 ac_header_preproc=yes
10402 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10403 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10404 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10405 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10406 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10407 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10408 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10409 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10410 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10411 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10412 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10413 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10417 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10418 $as_echo_n "checking
for $ac_header...
" >&6; }
10419 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10420 $as_echo_n "(cached
) " >&6
10422 eval "$as_ac_Header=\
$ac_header_preproc"
10424 ac_res=`eval 'as_val=${'$as_ac_Header'}
10425 $as_echo "$as_val"'`
10426 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10427 $as_echo "$ac_res" >&6; }
10430 as_val=`eval 'as_val=${'$as_ac_Header'}
10431 $as_echo "$as_val"'`
10432 if test "x
$as_val" = x""yes; then
10433 cat >>confdefs.h <<_ACEOF
10434 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10443 check_lib_no_libs gulm lg_core_login
10444 if test $NOTFOUND = 0; then
10445 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10446 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10451 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10452 GULM_LIBS=$pkg_cv_GULM_LIBS
10453 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10454 $as_echo "yes" >&6; }
10459 if test x$BUILDCMAN = xyes; then
10462 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10463 $as_echo_n "checking
for CMAN...
" >&6; }
10465 if test -n "$CMAN_CFLAGS"; then
10466 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10467 elif test -n "$PKG_CONFIG"; then
10468 if test -n "$PKG_CONFIG" && \
10469 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10470 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10472 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10473 (exit $ac_status); }; then
10474 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10481 if test -n "$CMAN_LIBS"; then
10482 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10483 elif test -n "$PKG_CONFIG"; then
10484 if test -n "$PKG_CONFIG" && \
10485 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10486 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10488 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10489 (exit $ac_status); }; then
10490 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10500 if test $pkg_failed = yes; then
10502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10503 _pkg_short_errors_supported=yes
10505 _pkg_short_errors_supported=no
10507 if test $_pkg_short_errors_supported = yes; then
10508 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10510 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10512 # Put the nasty error message in config.log where it belongs
10513 echo "$CMAN_PKG_ERRORS" >&5
10515 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10516 $as_echo "no
" >&6; }
10519 for ac_header in libcman.h
10521 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10522 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10523 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10524 $as_echo_n "checking
for $ac_header...
" >&6; }
10525 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10526 $as_echo_n "(cached
) " >&6
10528 ac_res=`eval 'as_val=${'$as_ac_Header'}
10529 $as_echo "$as_val"'`
10530 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10531 $as_echo "$ac_res" >&6; }
10533 # Is the header compilable?
10534 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10535 $as_echo_n "checking
$ac_header usability...
" >&6; }
10536 cat >conftest.$ac_ext <<_ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 $ac_includes_default
10543 #include <$ac_header>
10545 rm -f conftest.$ac_objext
10546 if { (ac_try="$ac_compile"
10547 case "(($ac_try" in
10548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10549 *) ac_try_echo=$ac_try;;
10551 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10552 $as_echo "$ac_try_echo") >&5
10553 (eval "$ac_compile") 2>conftest.er1
10555 grep -v '^ *+' conftest.er1 >conftest.err
10557 cat conftest.err >&5
10558 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10559 (exit $ac_status); } && {
10560 test -z "$ac_c_werror_flag" ||
10561 test ! -s conftest.err
10562 } && test -s conftest.$ac_objext; then
10563 ac_header_compiler=yes
10565 $as_echo "$as_me: failed program was
:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10568 ac_header_compiler=no
10571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10572 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10573 $as_echo "$ac_header_compiler" >&6; }
10575 # Is the header present?
10576 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10577 $as_echo_n "checking
$ac_header presence...
" >&6; }
10578 cat >conftest.$ac_ext <<_ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 #include <$ac_header>
10586 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10587 case "(($ac_try" in
10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10591 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10592 $as_echo "$ac_try_echo") >&5
10593 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10595 grep -v '^ *+' conftest.er1 >conftest.err
10597 cat conftest.err >&5
10598 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10599 (exit $ac_status); } >/dev/null && {
10600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10601 test ! -s conftest.err
10603 ac_header_preproc=yes
10605 $as_echo "$as_me: failed program was
:" >&5
10606 sed 's/^/| /' conftest.$ac_ext >&5
10608 ac_header_preproc=no
10611 rm -f conftest.err conftest.$ac_ext
10612 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10613 $as_echo "$ac_header_preproc" >&6; }
10615 # So? What about this header?
10616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10618 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10619 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10620 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10621 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10622 ac_header_preproc=yes
10625 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10626 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10627 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10628 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10629 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10630 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10631 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10632 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10633 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10634 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10635 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10636 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10640 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10641 $as_echo_n "checking
for $ac_header...
" >&6; }
10642 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10643 $as_echo_n "(cached
) " >&6
10645 eval "$as_ac_Header=\
$ac_header_preproc"
10647 ac_res=`eval 'as_val=${'$as_ac_Header'}
10648 $as_echo "$as_val"'`
10649 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10650 $as_echo "$ac_res" >&6; }
10653 as_val=`eval 'as_val=${'$as_ac_Header'}
10654 $as_echo "$as_val"'`
10655 if test "x
$as_val" = x""yes; then
10656 cat >>confdefs.h <<_ACEOF
10657 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10666 check_lib_no_libs cman cman_init
10667 if test $NOTFOUND = 0; then
10668 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10669 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10673 elif test $pkg_failed = untried; then
10676 for ac_header in libcman.h
10678 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10679 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10680 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10681 $as_echo_n "checking
for $ac_header...
" >&6; }
10682 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10683 $as_echo_n "(cached
) " >&6
10685 ac_res=`eval 'as_val=${'$as_ac_Header'}
10686 $as_echo "$as_val"'`
10687 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10688 $as_echo "$ac_res" >&6; }
10690 # Is the header compilable?
10691 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10692 $as_echo_n "checking
$ac_header usability...
" >&6; }
10693 cat >conftest.$ac_ext <<_ACEOF
10696 cat confdefs.h >>conftest.$ac_ext
10697 cat >>conftest.$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10699 $ac_includes_default
10700 #include <$ac_header>
10702 rm -f conftest.$ac_objext
10703 if { (ac_try="$ac_compile"
10704 case "(($ac_try" in
10705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10706 *) ac_try_echo=$ac_try;;
10708 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10709 $as_echo "$ac_try_echo") >&5
10710 (eval "$ac_compile") 2>conftest.er1
10712 grep -v '^ *+' conftest.er1 >conftest.err
10714 cat conftest.err >&5
10715 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10716 (exit $ac_status); } && {
10717 test -z "$ac_c_werror_flag" ||
10718 test ! -s conftest.err
10719 } && test -s conftest.$ac_objext; then
10720 ac_header_compiler=yes
10722 $as_echo "$as_me: failed program was
:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_header_compiler=no
10728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10729 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10730 $as_echo "$ac_header_compiler" >&6; }
10732 # Is the header present?
10733 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10734 $as_echo_n "checking
$ac_header presence...
" >&6; }
10735 cat >conftest.$ac_ext <<_ACEOF
10738 cat confdefs.h >>conftest.$ac_ext
10739 cat >>conftest.$ac_ext <<_ACEOF
10740 /* end confdefs.h. */
10741 #include <$ac_header>
10743 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10744 case "(($ac_try" in
10745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10746 *) ac_try_echo=$ac_try;;
10748 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10749 $as_echo "$ac_try_echo") >&5
10750 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10752 grep -v '^ *+' conftest.er1 >conftest.err
10754 cat conftest.err >&5
10755 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10756 (exit $ac_status); } >/dev/null && {
10757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10758 test ! -s conftest.err
10760 ac_header_preproc=yes
10762 $as_echo "$as_me: failed program was
:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 ac_header_preproc=no
10768 rm -f conftest.err conftest.$ac_ext
10769 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10770 $as_echo "$ac_header_preproc" >&6; }
10772 # So? What about this header?
10773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10775 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10776 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10777 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10778 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10779 ac_header_preproc=yes
10782 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10783 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10784 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10785 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10786 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10787 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10788 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10789 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10790 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10791 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10792 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10793 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10797 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10798 $as_echo_n "checking
for $ac_header...
" >&6; }
10799 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10800 $as_echo_n "(cached
) " >&6
10802 eval "$as_ac_Header=\
$ac_header_preproc"
10804 ac_res=`eval 'as_val=${'$as_ac_Header'}
10805 $as_echo "$as_val"'`
10806 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10807 $as_echo "$ac_res" >&6; }
10810 as_val=`eval 'as_val=${'$as_ac_Header'}
10811 $as_echo "$as_val"'`
10812 if test "x
$as_val" = x""yes; then
10813 cat >>confdefs.h <<_ACEOF
10814 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10823 check_lib_no_libs cman cman_init
10824 if test $NOTFOUND = 0; then
10825 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10826 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10831 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10832 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10833 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10834 $as_echo "yes" >&6; }
10841 if test x$BUILDCOROSYNC = xyes || \
10842 test x$BUILDOPENAIS = xyes; then
10845 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10846 $as_echo_n "checking
for COROSYNC...
" >&6; }
10848 if test -n "$COROSYNC_CFLAGS"; then
10849 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10850 elif test -n "$PKG_CONFIG"; then
10851 if test -n "$PKG_CONFIG" && \
10852 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10853 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10856 (exit $ac_status); }; then
10857 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10864 if test -n "$COROSYNC_LIBS"; then
10865 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10866 elif test -n "$PKG_CONFIG"; then
10867 if test -n "$PKG_CONFIG" && \
10868 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10869 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10871 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10872 (exit $ac_status); }; then
10873 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10883 if test $pkg_failed = yes; then
10885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10886 _pkg_short_errors_supported=yes
10888 _pkg_short_errors_supported=no
10890 if test $_pkg_short_errors_supported = yes; then
10891 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10893 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10895 # Put the nasty error message in config.log where it belongs
10896 echo "$COROSYNC_PKG_ERRORS" >&5
10898 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10899 $as_echo "no
" >&6; }
10901 elif test $pkg_failed = untried; then
10904 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10905 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10906 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10907 $as_echo "yes" >&6; }
10913 if test x$BUILDCOROSYNC = xyes; then
10916 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10917 $as_echo_n "checking
for QUORUM...
" >&6; }
10919 if test -n "$QUORUM_CFLAGS"; then
10920 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10921 elif test -n "$PKG_CONFIG"; then
10922 if test -n "$PKG_CONFIG" && \
10923 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10924 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10926 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10927 (exit $ac_status); }; then
10928 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10935 if test -n "$QUORUM_LIBS"; then
10936 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10937 elif test -n "$PKG_CONFIG"; then
10938 if test -n "$PKG_CONFIG" && \
10939 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10940 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10942 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10943 (exit $ac_status); }; then
10944 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10954 if test $pkg_failed = yes; then
10956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10957 _pkg_short_errors_supported=yes
10959 _pkg_short_errors_supported=no
10961 if test $_pkg_short_errors_supported = yes; then
10962 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10964 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10966 # Put the nasty error message in config.log where it belongs
10967 echo "$QUORUM_PKG_ERRORS" >&5
10969 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10970 $as_echo "no
" >&6; }
10972 elif test $pkg_failed = untried; then
10975 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10976 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10977 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10978 $as_echo "yes" >&6; }
10985 if test x$BUILDOPENAIS = xyes; then
10988 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
10989 $as_echo_n "checking
for SALCK...
" >&6; }
10991 if test -n "$SALCK_CFLAGS"; then
10992 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
10993 elif test -n "$PKG_CONFIG"; then
10994 if test -n "$PKG_CONFIG" && \
10995 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
10996 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
10998 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10999 (exit $ac_status); }; then
11000 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11007 if test -n "$SALCK_LIBS"; then
11008 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11009 elif test -n "$PKG_CONFIG"; then
11010 if test -n "$PKG_CONFIG" && \
11011 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11012 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11014 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11015 (exit $ac_status); }; then
11016 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11026 if test $pkg_failed = yes; then
11028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11029 _pkg_short_errors_supported=yes
11031 _pkg_short_errors_supported=no
11033 if test $_pkg_short_errors_supported = yes; then
11034 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11036 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11038 # Put the nasty error message in config.log where it belongs
11039 echo "$SALCK_PKG_ERRORS" >&5
11041 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11042 $as_echo "no
" >&6; }
11044 elif test $pkg_failed = untried; then
11047 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11048 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11049 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11050 $as_echo "yes" >&6; }
11058 if test x$CHECKCONFDB = xyes; then
11061 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11062 $as_echo_n "checking
for CONFDB...
" >&6; }
11064 if test -n "$CONFDB_CFLAGS"; then
11065 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11066 elif test -n "$PKG_CONFIG"; then
11067 if test -n "$PKG_CONFIG" && \
11068 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11069 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11071 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11072 (exit $ac_status); }; then
11073 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11080 if test -n "$CONFDB_LIBS"; then
11081 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11082 elif test -n "$PKG_CONFIG"; then
11083 if test -n "$PKG_CONFIG" && \
11084 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11085 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11087 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11088 (exit $ac_status); }; then
11089 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11099 if test $pkg_failed = yes; then
11101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11102 _pkg_short_errors_supported=yes
11104 _pkg_short_errors_supported=no
11106 if test $_pkg_short_errors_supported = yes; then
11107 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11109 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11111 # Put the nasty error message in config.log where it belongs
11112 echo "$CONFDB_PKG_ERRORS" >&5
11114 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11115 $as_echo "no
" >&6; }
11117 elif test $pkg_failed = untried; then
11120 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11121 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11122 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11123 $as_echo "yes" >&6; }
11128 for ac_header in corosync/confdb.h
11130 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11131 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11132 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11133 $as_echo_n "checking
for $ac_header...
" >&6; }
11134 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11135 $as_echo_n "(cached
) " >&6
11137 ac_res=`eval 'as_val=${'$as_ac_Header'}
11138 $as_echo "$as_val"'`
11139 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11140 $as_echo "$ac_res" >&6; }
11142 # Is the header compilable?
11143 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11144 $as_echo_n "checking
$ac_header usability...
" >&6; }
11145 cat >conftest.$ac_ext <<_ACEOF
11148 cat confdefs.h >>conftest.$ac_ext
11149 cat >>conftest.$ac_ext <<_ACEOF
11150 /* end confdefs.h. */
11151 $ac_includes_default
11152 #include <$ac_header>
11154 rm -f conftest.$ac_objext
11155 if { (ac_try="$ac_compile"
11156 case "(($ac_try" in
11157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11158 *) ac_try_echo=$ac_try;;
11160 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11161 $as_echo "$ac_try_echo") >&5
11162 (eval "$ac_compile") 2>conftest.er1
11164 grep -v '^ *+' conftest.er1 >conftest.err
11166 cat conftest.err >&5
11167 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11168 (exit $ac_status); } && {
11169 test -z "$ac_c_werror_flag" ||
11170 test ! -s conftest.err
11171 } && test -s conftest.$ac_objext; then
11172 ac_header_compiler=yes
11174 $as_echo "$as_me: failed program was
:" >&5
11175 sed 's/^/| /' conftest.$ac_ext >&5
11177 ac_header_compiler=no
11180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11181 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11182 $as_echo "$ac_header_compiler" >&6; }
11184 # Is the header present?
11185 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11186 $as_echo_n "checking
$ac_header presence...
" >&6; }
11187 cat >conftest.$ac_ext <<_ACEOF
11190 cat confdefs.h >>conftest.$ac_ext
11191 cat >>conftest.$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11193 #include <$ac_header>
11195 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11200 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11201 $as_echo "$ac_try_echo") >&5
11202 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11204 grep -v '^ *+' conftest.er1 >conftest.err
11206 cat conftest.err >&5
11207 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11208 (exit $ac_status); } >/dev/null && {
11209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11210 test ! -s conftest.err
11212 ac_header_preproc=yes
11214 $as_echo "$as_me: failed program was
:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_header_preproc=no
11220 rm -f conftest.err conftest.$ac_ext
11221 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11222 $as_echo "$ac_header_preproc" >&6; }
11224 # So? What about this header?
11225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11227 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11228 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11229 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11230 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11231 ac_header_preproc=yes
11234 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11235 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11237 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11239 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11240 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11241 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11242 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11243 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11244 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11245 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11249 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11250 $as_echo_n "checking
for $ac_header...
" >&6; }
11251 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11252 $as_echo_n "(cached
) " >&6
11254 eval "$as_ac_Header=\
$ac_header_preproc"
11256 ac_res=`eval 'as_val=${'$as_ac_Header'}
11257 $as_echo "$as_val"'`
11258 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11259 $as_echo "$ac_res" >&6; }
11262 as_val=`eval 'as_val=${'$as_ac_Header'}
11263 $as_echo "$as_val"'`
11264 if test "x
$as_val" = x""yes; then
11265 cat >>confdefs.h <<_ACEOF
11266 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11276 if test x$HAVE_CONFDB != xyes && \
11277 test x$HAVE_CONFDB_H = xyes; then
11278 check_lib_no_libs confdb confdb_initialize
11279 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11280 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11281 CONFDB_LIBS="-lconfdb"
11285 if test x$BUILDCOROSYNC = xyes && \
11286 test x$HAVE_CONFDB != xyes &&
11287 test x$CLVMD != xall; then
11288 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11289 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11290 { (exit 1); exit 1; }; }
11294 if test x$CHECKCPG = xyes; then
11297 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11298 $as_echo_n "checking
for CPG...
" >&6; }
11300 if test -n "$CPG_CFLAGS"; then
11301 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11302 elif test -n "$PKG_CONFIG"; then
11303 if test -n "$PKG_CONFIG" && \
11304 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11305 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11307 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11308 (exit $ac_status); }; then
11309 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11316 if test -n "$CPG_LIBS"; then
11317 pkg_cv_CPG_LIBS="$CPG_LIBS"
11318 elif test -n "$PKG_CONFIG"; then
11319 if test -n "$PKG_CONFIG" && \
11320 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11321 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11323 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11324 (exit $ac_status); }; then
11325 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11335 if test $pkg_failed = yes; then
11337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11338 _pkg_short_errors_supported=yes
11340 _pkg_short_errors_supported=no
11342 if test $_pkg_short_errors_supported = yes; then
11343 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11345 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11347 # Put the nasty error message in config.log where it belongs
11348 echo "$CPG_PKG_ERRORS" >&5
11350 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11351 $as_echo "no
" >&6; }
11353 elif test $pkg_failed = untried; then
11356 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11357 CPG_LIBS=$pkg_cv_CPG_LIBS
11358 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11359 $as_echo "yes" >&6; }
11364 if test x$CHECKDLM = xyes; then
11367 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11368 $as_echo_n "checking
for DLM...
" >&6; }
11370 if test -n "$DLM_CFLAGS"; then
11371 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11372 elif test -n "$PKG_CONFIG"; then
11373 if test -n "$PKG_CONFIG" && \
11374 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11375 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11377 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11378 (exit $ac_status); }; then
11379 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11386 if test -n "$DLM_LIBS"; then
11387 pkg_cv_DLM_LIBS="$DLM_LIBS"
11388 elif test -n "$PKG_CONFIG"; then
11389 if test -n "$PKG_CONFIG" && \
11390 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11391 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11393 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11394 (exit $ac_status); }; then
11395 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11405 if test $pkg_failed = yes; then
11407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11408 _pkg_short_errors_supported=yes
11410 _pkg_short_errors_supported=no
11412 if test $_pkg_short_errors_supported = yes; then
11413 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11415 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11417 # Put the nasty error message in config.log where it belongs
11418 echo "$DLM_PKG_ERRORS" >&5
11420 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11421 $as_echo "no
" >&6; }
11424 for ac_header in libdlm.h
11426 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11427 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11428 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11429 $as_echo_n "checking
for $ac_header...
" >&6; }
11430 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11431 $as_echo_n "(cached
) " >&6
11433 ac_res=`eval 'as_val=${'$as_ac_Header'}
11434 $as_echo "$as_val"'`
11435 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11436 $as_echo "$ac_res" >&6; }
11438 # Is the header compilable?
11439 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11440 $as_echo_n "checking
$ac_header usability...
" >&6; }
11441 cat >conftest.$ac_ext <<_ACEOF
11444 cat confdefs.h >>conftest.$ac_ext
11445 cat >>conftest.$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11447 $ac_includes_default
11448 #include <$ac_header>
11450 rm -f conftest.$ac_objext
11451 if { (ac_try="$ac_compile"
11452 case "(($ac_try" in
11453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;;
11456 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11457 $as_echo "$ac_try_echo") >&5
11458 (eval "$ac_compile") 2>conftest.er1
11460 grep -v '^ *+' conftest.er1 >conftest.err
11462 cat conftest.err >&5
11463 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11464 (exit $ac_status); } && {
11465 test -z "$ac_c_werror_flag" ||
11466 test ! -s conftest.err
11467 } && test -s conftest.$ac_objext; then
11468 ac_header_compiler=yes
11470 $as_echo "$as_me: failed program was
:" >&5
11471 sed 's/^/| /' conftest.$ac_ext >&5
11473 ac_header_compiler=no
11476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11477 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11478 $as_echo "$ac_header_compiler" >&6; }
11480 # Is the header present?
11481 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11482 $as_echo_n "checking
$ac_header presence...
" >&6; }
11483 cat >conftest.$ac_ext <<_ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 #include <$ac_header>
11491 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11492 case "(($ac_try" in
11493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11494 *) ac_try_echo=$ac_try;;
11496 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11497 $as_echo "$ac_try_echo") >&5
11498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11500 grep -v '^ *+' conftest.er1 >conftest.err
11502 cat conftest.err >&5
11503 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11504 (exit $ac_status); } >/dev/null && {
11505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11506 test ! -s conftest.err
11508 ac_header_preproc=yes
11510 $as_echo "$as_me: failed program was
:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11513 ac_header_preproc=no
11516 rm -f conftest.err conftest.$ac_ext
11517 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11518 $as_echo "$ac_header_preproc" >&6; }
11520 # So? What about this header?
11521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11523 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11524 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11525 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11526 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11527 ac_header_preproc=yes
11530 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11531 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11532 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11533 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11534 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11535 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11536 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11537 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11538 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11539 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11540 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11541 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11545 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11546 $as_echo_n "checking
for $ac_header...
" >&6; }
11547 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11548 $as_echo_n "(cached
) " >&6
11550 eval "$as_ac_Header=\
$ac_header_preproc"
11552 ac_res=`eval 'as_val=${'$as_ac_Header'}
11553 $as_echo "$as_val"'`
11554 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11555 $as_echo "$ac_res" >&6; }
11558 as_val=`eval 'as_val=${'$as_ac_Header'}
11559 $as_echo "$as_val"'`
11560 if test "x
$as_val" = x""yes; then
11561 cat >>confdefs.h <<_ACEOF
11562 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11571 check_lib_no_libs dlm dlm_lock -lpthread
11572 if test $NOTFOUND = 0; then
11573 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11574 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11575 DLM_LIBS="-ldlm -lpthread"
11578 elif test $pkg_failed = untried; then
11581 for ac_header in libdlm.h
11583 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11584 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11585 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11586 $as_echo_n "checking
for $ac_header...
" >&6; }
11587 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11588 $as_echo_n "(cached
) " >&6
11590 ac_res=`eval 'as_val=${'$as_ac_Header'}
11591 $as_echo "$as_val"'`
11592 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11593 $as_echo "$ac_res" >&6; }
11595 # Is the header compilable?
11596 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11597 $as_echo_n "checking
$ac_header usability...
" >&6; }
11598 cat >conftest.$ac_ext <<_ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 $ac_includes_default
11605 #include <$ac_header>
11607 rm -f conftest.$ac_objext
11608 if { (ac_try="$ac_compile"
11609 case "(($ac_try" in
11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11611 *) ac_try_echo=$ac_try;;
11613 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11614 $as_echo "$ac_try_echo") >&5
11615 (eval "$ac_compile") 2>conftest.er1
11617 grep -v '^ *+' conftest.er1 >conftest.err
11619 cat conftest.err >&5
11620 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11621 (exit $ac_status); } && {
11622 test -z "$ac_c_werror_flag" ||
11623 test ! -s conftest.err
11624 } && test -s conftest.$ac_objext; then
11625 ac_header_compiler=yes
11627 $as_echo "$as_me: failed program was
:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11630 ac_header_compiler=no
11633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11634 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11635 $as_echo "$ac_header_compiler" >&6; }
11637 # Is the header present?
11638 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11639 $as_echo_n "checking
$ac_header presence...
" >&6; }
11640 cat >conftest.$ac_ext <<_ACEOF
11643 cat confdefs.h >>conftest.$ac_ext
11644 cat >>conftest.$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 #include <$ac_header>
11648 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11649 case "(($ac_try" in
11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11651 *) ac_try_echo=$ac_try;;
11653 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11654 $as_echo "$ac_try_echo") >&5
11655 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11657 grep -v '^ *+' conftest.er1 >conftest.err
11659 cat conftest.err >&5
11660 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11661 (exit $ac_status); } >/dev/null && {
11662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11663 test ! -s conftest.err
11665 ac_header_preproc=yes
11667 $as_echo "$as_me: failed program was
:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11670 ac_header_preproc=no
11673 rm -f conftest.err conftest.$ac_ext
11674 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11675 $as_echo "$ac_header_preproc" >&6; }
11677 # So? What about this header?
11678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11680 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11681 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11682 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11684 ac_header_preproc=yes
11687 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11688 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11689 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11690 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11691 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11692 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11693 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11694 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11695 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11696 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11697 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11698 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11702 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11703 $as_echo_n "checking
for $ac_header...
" >&6; }
11704 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11705 $as_echo_n "(cached
) " >&6
11707 eval "$as_ac_Header=\
$ac_header_preproc"
11709 ac_res=`eval 'as_val=${'$as_ac_Header'}
11710 $as_echo "$as_val"'`
11711 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11712 $as_echo "$ac_res" >&6; }
11715 as_val=`eval 'as_val=${'$as_ac_Header'}
11716 $as_echo "$as_val"'`
11717 if test "x
$as_val" = x""yes; then
11718 cat >>confdefs.h <<_ACEOF
11719 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11728 check_lib_no_libs dlm dlm_lock -lpthread
11729 if test $NOTFOUND = 0; then
11730 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11731 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11732 DLM_LIBS="-ldlm -lpthread"
11736 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11737 DLM_LIBS=$pkg_cv_DLM_LIBS
11738 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11739 $as_echo "yes" >&6; }
11744 if test x$CLVMD = xall; then
11746 if test x$HAVE_CCS = xyes && \
11747 test x$HAVE_GULM = xyes; then
11748 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11749 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11750 CLVMD="$CLVMD,gulm
"
11752 if test x$HAVE_CMAN = xyes && \
11753 test x$HAVE_DLM = xyes; then
11754 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11755 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11756 CLVMD="$CLVMD,cman
"
11758 if test x$HAVE_COROSYNC = xyes && \
11759 test x$HAVE_QUORUM = xyes && \
11760 test x$HAVE_CPG = xyes && \
11761 test x$HAVE_DLM = xyes && \
11762 test x$HAVE_CONFDB = xyes; then
11763 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11764 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11765 CLVMD="$CLVMD,corosync
"
11767 if test x$HAVE_COROSYNC = xyes && \
11768 test x$HAVE_CPG = xyes && \
11769 test x$HAVE_SALCK = xyes; then
11770 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11771 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11772 CLVMD="$CLVMD,openais
"
11774 if test x$CLVMD = xnone; then
11775 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11776 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11780 ################################################################################
11781 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11782 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11783 # Check whether --enable-cmirrord was given.
11784 if test "${enable_cmirrord+set}" = set; then
11785 enableval=$enable_cmirrord; CMIRRORD=$enableval
11790 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11791 $as_echo "$CMIRRORD" >&6; }
11793 BUILD_CMIRRORD=$CMIRRORD
11795 ################################################################################
11798 if test "x
$BUILD_CMIRRORD" = xyes; then
11800 # Check whether --with-cmirrord-pidfile was given.
11801 if test "${with_cmirrord_pidfile+set}" = set; then
11802 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11803 #define CMIRRORD_PIDFILE "$withval"
11807 cat >>confdefs.h <<_ACEOF
11808 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11815 ################################################################################
11816 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11817 if test x$PKGCONFIG_INIT != x1; then
11822 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11823 $as_echo_n "checking
for SACKPT...
" >&6; }
11825 if test -n "$SACKPT_CFLAGS"; then
11826 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11827 elif test -n "$PKG_CONFIG"; then
11828 if test -n "$PKG_CONFIG" && \
11829 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11830 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11833 (exit $ac_status); }; then
11834 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11841 if test -n "$SACKPT_LIBS"; then
11842 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11843 elif test -n "$PKG_CONFIG"; then
11844 if test -n "$PKG_CONFIG" && \
11845 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11846 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11849 (exit $ac_status); }; then
11850 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11860 if test $pkg_failed = yes; then
11862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11863 _pkg_short_errors_supported=yes
11865 _pkg_short_errors_supported=no
11867 if test $_pkg_short_errors_supported = yes; then
11868 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11870 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11872 # Put the nasty error message in config.log where it belongs
11873 echo "$SACKPT_PKG_ERRORS" >&5
11875 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11879 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11880 installed software
in a non-standard prefix.
11882 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11883 and SACKPT_LIBS to avoid the need to call pkg-config.
11884 See the pkg-config man page
for more details.
11886 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11890 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11891 installed software
in a non-standard prefix.
11893 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11894 and SACKPT_LIBS to avoid the need to call pkg-config.
11895 See the pkg-config man page
for more details.
11897 { (exit 1); exit 1; }; }
11898 elif test $pkg_failed = untried; then
11899 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11901 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11902 is in your PATH or set the PKG_CONFIG environment variable to the full
11903 path to pkg-config.
11905 Alternatively, you may set the environment variables SACKPT_CFLAGS
11906 and SACKPT_LIBS to avoid the need to call pkg-config.
11907 See the pkg-config man page for more details.
11909 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11910 See \`config.log' for more details.
" >&5
11911 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11912 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11913 path to pkg-config.
11915 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11916 and SACKPT_LIBS to avoid the need to call pkg-config.
11917 See the pkg-config man page
for more details.
11919 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11920 See \
`config.log' for more details." >&2;}
11921 { (exit 1); exit 1; }; }; }
11923 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11924 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11925 { $as_echo "$as_me:$LINENO: result: yes" >&5
11926 $as_echo "yes" >&6; }
11929 if test x$HAVE_CPG != xyes; then
11932 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11933 $as_echo_n "checking for CPG... " >&6; }
11935 if test -n "$CPG_CFLAGS"; then
11936 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11937 elif test -n "$PKG_CONFIG"; then
11938 if test -n "$PKG_CONFIG" && \
11939 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11940 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); }; then
11944 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11951 if test -n "$CPG_LIBS"; then
11952 pkg_cv_CPG_LIBS="$CPG_LIBS"
11953 elif test -n "$PKG_CONFIG"; then
11954 if test -n "$PKG_CONFIG" && \
11955 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11956 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; then
11960 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11970 if test $pkg_failed = yes; then
11972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11973 _pkg_short_errors_supported=yes
11975 _pkg_short_errors_supported=no
11977 if test $_pkg_short_errors_supported = yes; then
11978 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11980 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11982 # Put the nasty error message in config.log where it belongs
11983 echo "$CPG_PKG_ERRORS" >&5
11985 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
11989 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11990 installed software in a non-standard prefix.
11992 Alternatively, you may set the environment variables CPG_CFLAGS
11993 and CPG_LIBS to avoid the need to call pkg-config.
11994 See the pkg-config man page for more details.
11996 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
12000 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12001 installed software in a non-standard prefix.
12003 Alternatively, you may set the environment variables CPG_CFLAGS
12004 and CPG_LIBS to avoid the need to call pkg-config.
12005 See the pkg-config man page for more details.
12007 { (exit 1); exit 1; }; }
12008 elif test $pkg_failed = untried; then
12009 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12011 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12012 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12013 path to pkg-config.
12015 Alternatively
, you may
set the environment variables CPG_CFLAGS
12016 and CPG_LIBS to avoid the need to call pkg-config.
12017 See the pkg-config man page
for more details.
12019 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12020 See \
`config.log' for more details." >&5
12021 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12022 is in your PATH or set the PKG_CONFIG environment variable to the full
12023 path to pkg-config.
12025 Alternatively, you may set the environment variables CPG_CFLAGS
12026 and CPG_LIBS to avoid the need to call pkg-config.
12027 See the pkg-config man page for more details.
12029 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12030 See \`config.log
' for more details." >&2;}
12031 { (exit 1); exit 1; }; }; }
12033 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12034 CPG_LIBS=$pkg_cv_CPG_LIBS
12035 { $as_echo "$as_me:$LINENO: result: yes" >&5
12036 $as_echo "yes" >&6; }
12042 ################################################################################
12043 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12044 $as_echo_n "checking whether to enable debugging... " >&6; }
12045 # Check whether --enable-debug was given.
12046 if test "${enable_debug+set}" = set; then
12047 enableval=$enable_debug; DEBUG=$enableval
12052 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12053 $as_echo "$DEBUG" >&6; }
12055 if test x$DEBUG = xyes; then
12061 ################################################################################
12062 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12063 $as_echo_n "checking for C optimisation flag... " >&6; }
12065 # Check whether --with-optimisation was given.
12066 if test "${with_optimisation+set}" = set; then
12067 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12070 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12071 $as_echo "$COPTIMISE_FLAG" >&6; }
12073 ################################################################################
12074 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12075 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12076 # Check whether --enable-profiling was given.
12077 if test "${enable_profiling+set}" = set; then
12078 enableval=$enable_profiling; PROFILING=$enableval
12083 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12084 $as_echo "$PROFILING" >&6; }
12086 if test "x$PROFILING" = xyes; then
12087 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12088 # Extract the first word of "lcov", so it can be a program name with args.
12089 set dummy lcov; ac_word=$2
12090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12091 $as_echo_n "checking for $ac_word... " >&6; }
12092 if test "${ac_cv_path_LCOV+set}" = set; then
12093 $as_echo_n "(cached) " >&6
12097 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12104 test -z "$as_dir" && as_dir=.
12105 for ac_exec_ext in '' $ac_executable_extensions; do
12106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12108 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12115 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
12119 LCOV=$ac_cv_path_LCOV
12120 if test -n "$LCOV"; then
12121 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12122 $as_echo "$LCOV" >&6; }
12124 { $as_echo "$as_me:$LINENO: result: no" >&5
12125 $as_echo "no" >&6; }
12129 # Extract the first word of "genhtml", so it can be a program name with args.
12130 set dummy genhtml; ac_word=$2
12131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if test "${ac_cv_path_GENHTML+set}" = set; then
12134 $as_echo_n "(cached) " >&6
12138 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12148 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12156 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
12160 GENHTML=$ac_cv_path_GENHTML
12161 if test -n "$GENHTML"; then
12162 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12163 $as_echo "$GENHTML" >&6; }
12165 { $as_echo "$as_me:$LINENO: result: no" >&5
12166 $as_echo "no" >&6; }
12170 if test "$LCOV" = no -o "$GENHTML" = no ; then
12171 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12172 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12173 { (exit 1); exit 1; }; }
12177 ################################################################################
12178 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12179 $as_echo_n "checking whether to use device-mapper... " >&6; }
12180 # Check whether --enable-devmapper was given.
12181 if test "${enable_devmapper+set}" = set; then
12182 enableval=$enable_devmapper; DEVMAPPER=$enableval
12185 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12186 $as_echo "$DEVMAPPER" >&6; }
12188 if test x$DEVMAPPER = xyes; then
12190 cat >>confdefs.h <<\_ACEOF
12191 #define DEVMAPPER_SUPPORT 1
12196 ################################################################################
12197 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12198 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12199 # Check whether --enable-udev_sync was given.
12200 if test "${enable_udev_sync+set}" = set; then
12201 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12206 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12207 $as_echo "$UDEV_SYNC" >&6; }
12209 if test x$UDEV_SYNC = xyes; then
12211 cat >>confdefs.h <<\_ACEOF
12212 #define UDEV_SYNC_SUPPORT 1
12217 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12218 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12219 # Check whether --enable-udev_rules was given.
12220 if test "${enable_udev_rules+set}" = set; then
12221 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12223 UDEV_RULES=$UDEV_SYNC
12226 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12227 $as_echo "$UDEV_RULES" >&6; }
12229 ################################################################################
12231 if test x$UDEV_SYNC = xyes; then
12232 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12233 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12234 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12235 $as_echo_n "(cached) " >&6
12237 ac_check_lib_save_LIBS=$LIBS
12238 LIBS="-ludev $LIBS"
12239 cat >conftest.$ac_ext <<_ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12252 char udev_queue_get_udev_is_active ();
12256 return udev_queue_get_udev_is_active ();
12261 rm -f conftest.$ac_objext conftest$ac_exeext
12262 if { (ac_try="$ac_link"
12263 case "(($ac_try" in
12264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12265 *) ac_try_echo=$ac_try;;
12267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12268 $as_echo "$ac_try_echo") >&5
12269 (eval "$ac_link") 2>conftest.er1
12271 grep -v '^
*+' conftest.er1 >conftest.err
12273 cat conftest.err >&5
12274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && {
12276 test -z "$ac_c_werror_flag" ||
12277 test ! -s conftest.err
12278 } && test -s conftest$ac_exeext && {
12279 test "$cross_compiling" = yes ||
12280 $as_test_x conftest$ac_exeext
12282 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12284 $as_echo "$as_me: failed program was:" >&5
12285 sed 's
/^
/|
/' conftest.$ac_ext >&5
12287 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12290 rm -rf conftest.dSYM
12291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12296 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12297 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12298 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=yes
12300 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=no
12304 if test x$HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE = xyes; then
12306 cat >>confdefs.h <<\_ACEOF
12307 #define HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE 1
12310 LIBS="-ludev $LIBS"
12312 { $as_echo "$as_me:$LINENO: WARNING: It won't be possible to get udev state. We will assume that udev is not running.
" >&5
12313 $as_echo "$as_me: WARNING
: It won
't be possible to get udev state. We will assume that udev is not running." >&2;}
12317 ################################################################################
12318 # Check whether --enable-compat was given.
12319 if test "${enable_compat+set}" = set; then
12320 enableval=$enable_compat; DM_COMPAT=$enableval
12326 ################################################################################
12327 # Check whether --enable-units-compat was given.
12328 if test "${enable_units_compat+set}" = set; then
12329 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12335 if test x$UNITS_COMPAT = xyes; then
12337 cat >>confdefs.h <<\_ACEOF
12338 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12343 ################################################################################
12344 # Check whether --enable-ioctl was given.
12345 if test "${enable_ioctl+set}" = set; then
12346 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12350 ################################################################################
12351 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12352 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12353 # Check whether --enable-o_direct was given.
12354 if test "${enable_o_direct+set}" = set; then
12355 enableval=$enable_o_direct; ODIRECT=$enableval
12358 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12359 $as_echo "$ODIRECT" >&6; }
12361 if test x$ODIRECT = xyes; then
12363 cat >>confdefs.h <<\_ACEOF
12364 #define O_DIRECT_SUPPORT 1
12369 ################################################################################
12370 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12371 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12372 # Check whether --enable-applib was given.
12373 if test "${enable_applib+set}" = set; then
12374 enableval=$enable_applib; APPLIB=$enableval
12379 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12380 $as_echo "$APPLIB" >&6; }
12382 test x$APPLIB = xyes \
12383 && LVM2APP_LIB=-llvm2app \
12386 ################################################################################
12387 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12388 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12389 # Check whether --enable-cmdlib was given.
12390 if test "${enable_cmdlib+set}" = set; then
12391 enableval=$enable_cmdlib; CMDLIB=$enableval
12396 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12397 $as_echo "$CMDLIB" >&6; }
12399 test x$CMDLIB = xyes \
12400 && LVM2CMD_LIB=-llvm2cmd \
12403 ################################################################################
12404 # Check whether --enable-pkgconfig was given.
12405 if test "${enable_pkgconfig+set}" = set; then
12406 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12412 ################################################################################
12413 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12414 $as_echo_n "checking whether to install fsadm... " >&6; }
12415 # Check whether --enable-fsadm was given.
12416 if test "${enable_fsadm+set}" = set; then
12417 enableval=$enable_fsadm; FSADM=$enableval
12420 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12421 $as_echo "$FSADM" >&6; }
12423 ################################################################################
12424 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12425 $as_echo_n "checking whether to use dmeventd... " >&6; }
12426 # Check whether --enable-dmeventd was given.
12427 if test "${enable_dmeventd+set}" = set; then
12428 enableval=$enable_dmeventd; DMEVENTD=$enableval
12431 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12432 $as_echo "$DMEVENTD" >&6; }
12434 BUILD_DMEVENTD=$DMEVENTD
12436 if test x$DMEVENTD = xyes; then
12437 if test x$MIRRORS != xinternal; then
12438 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12440 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12442 { (exit 1); exit 1; }; }
12444 if test x$CMDLIB = xno; then
12445 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12447 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12449 { (exit 1); exit 1; }; }
12453 if test x$DMEVENTD = xyes; then
12455 cat >>confdefs.h <<\_ACEOF
12461 ################################################################################
12463 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12464 $as_echo_n "checking for getline in -lc... " >&6; }
12465 if test "${ac_cv_lib_c_getline+set}" = set; then
12466 $as_echo_n "(cached) " >&6
12468 ac_check_lib_save_LIBS=$LIBS
12470 cat >conftest.$ac_ext <<_ACEOF
12473 cat confdefs.h >>conftest.$ac_ext
12474 cat >>conftest.$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12492 rm -f conftest.$ac_objext conftest$ac_exeext
12493 if { (ac_try="$ac_link"
12494 case "(($ac_try" in
12495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12496 *) ac_try_echo=$ac_try;;
12498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12499 $as_echo "$ac_try_echo") >&5
12500 (eval "$ac_link") 2>conftest.er1
12502 grep -v '^
*+' conftest.er1 >conftest.err
12504 cat conftest.err >&5
12505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } && {
12507 test -z "$ac_c_werror_flag" ||
12508 test ! -s conftest.err
12509 } && test -s conftest$ac_exeext && {
12510 test "$cross_compiling" = yes ||
12511 $as_test_x conftest$ac_exeext
12513 ac_cv_lib_c_getline=yes
12515 $as_echo "$as_me: failed program was:" >&5
12516 sed 's
/^
/|
/' conftest.$ac_ext >&5
12518 ac_cv_lib_c_getline=no
12521 rm -rf conftest.dSYM
12522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12527 $as_echo "$ac_cv_lib_c_getline" >&6; }
12528 if test "x$ac_cv_lib_c_getline" = x""yes; then
12530 cat >>confdefs.h <<\_ACEOF
12531 #define HAVE_GETLINE 1
12537 ################################################################################
12539 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12540 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12541 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12542 $as_echo_n "(cached) " >&6
12544 ac_check_lib_save_LIBS=$LIBS
12546 cat >conftest.$ac_ext <<_ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12559 char canonicalize_file_name ();
12563 return canonicalize_file_name ();
12568 rm -f conftest.$ac_objext conftest$ac_exeext
12569 if { (ac_try="$ac_link"
12570 case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12575 $as_echo "$ac_try_echo") >&5
12576 (eval "$ac_link") 2>conftest.er1
12578 grep -v '^
*+' conftest.er1 >conftest.err
12580 cat conftest.err >&5
12581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } && {
12583 test -z "$ac_c_werror_flag" ||
12584 test ! -s conftest.err
12585 } && test -s conftest$ac_exeext && {
12586 test "$cross_compiling" = yes ||
12587 $as_test_x conftest$ac_exeext
12589 ac_cv_lib_c_canonicalize_file_name=yes
12591 $as_echo "$as_me: failed program was:" >&5
12592 sed 's
/^
/|
/' conftest.$ac_ext >&5
12594 ac_cv_lib_c_canonicalize_file_name=no
12597 rm -rf conftest.dSYM
12598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12603 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12604 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12606 cat >>confdefs.h <<\_ACEOF
12607 #define HAVE_CANONICALIZE_FILE_NAME 1
12613 ################################################################################
12614 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12615 then exec_prefix="";
12618 ################################################################################
12619 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12620 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12621 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12622 $as_echo_n "(cached) " >&6
12624 ac_check_lib_save_LIBS=$LIBS
12626 cat >conftest.$ac_ext <<_ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12648 rm -f conftest.$ac_objext conftest$ac_exeext
12649 if { (ac_try="$ac_link"
12650 case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12655 $as_echo "$ac_try_echo") >&5
12656 (eval "$ac_link") 2>conftest.er1
12658 grep -v '^
*+' conftest.er1 >conftest.err
12660 cat conftest.err >&5
12661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } && {
12663 test -z "$ac_c_werror_flag" ||
12664 test ! -s conftest.err
12665 } && test -s conftest$ac_exeext && {
12666 test "$cross_compiling" = yes ||
12667 $as_test_x conftest$ac_exeext
12669 ac_cv_lib_dl_dlopen=yes
12671 $as_echo "$as_me: failed program was:" >&5
12672 sed 's
/^
/|
/' conftest.$ac_ext >&5
12674 ac_cv_lib_dl_dlopen=no
12677 rm -rf conftest.dSYM
12678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12684 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12691 if [ "x$HAVE_LIBDL" = xyes ]; then
12693 cat >>confdefs.h <<\_ACEOF
12694 #define HAVE_LIBDL 1
12702 ################################################################################
12703 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12704 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12705 \) -a "x$STATIC_LINK" = xyes ];
12706 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12708 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12710 { (exit 1); exit 1; }; }
12713 ################################################################################
12714 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12715 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12716 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12717 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12718 $as_echo_n "(cached) " >&6
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lpthread $LIBS"
12722 cat >conftest.$ac_ext <<_ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12735 char pthread_mutex_lock ();
12739 return pthread_mutex_lock ();
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (ac_try="$ac_link"
12746 case "(($ac_try" in
12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12751 $as_echo "$ac_try_echo") >&5
12752 (eval "$ac_link") 2>conftest.er1
12754 grep -v '^
*+' conftest.er1 >conftest.err
12756 cat conftest.err >&5
12757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } && {
12759 test -z "$ac_c_werror_flag" ||
12760 test ! -s conftest.err
12761 } && test -s conftest$ac_exeext && {
12762 test "$cross_compiling" = yes ||
12763 $as_test_x conftest$ac_exeext
12765 ac_cv_lib_pthread_pthread_mutex_lock=yes
12767 $as_echo "$as_me: failed program was:" >&5
12768 sed 's
/^
/|
/' conftest.$ac_ext >&5
12770 ac_cv_lib_pthread_pthread_mutex_lock=no
12773 rm -rf conftest.dSYM
12774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12779 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12780 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12781 PTHREAD_LIBS="-lpthread"
12788 ################################################################################
12789 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12790 $as_echo_n "checking whether to enable selinux support... " >&6; }
12791 # Check whether --enable-selinux was given.
12792 if test "${enable_selinux+set}" = set; then
12793 enableval=$enable_selinux; SELINUX=$enableval
12796 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12797 $as_echo "$SELINUX" >&6; }
12799 ################################################################################
12800 if test x$SELINUX = xyes; then
12801 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12802 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12803 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12804 $as_echo_n "(cached) " >&6
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lsepol $LIBS"
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12821 char sepol_check_context ();
12825 return sepol_check_context ();
12830 rm -f conftest.$ac_objext conftest$ac_exeext
12831 if { (ac_try="$ac_link"
12832 case "(($ac_try" in
12833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12834 *) ac_try_echo=$ac_try;;
12836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12837 $as_echo "$ac_try_echo") >&5
12838 (eval "$ac_link") 2>conftest.er1
12840 grep -v '^
*+' conftest.er1 >conftest.err
12842 cat conftest.err >&5
12843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } && {
12845 test -z "$ac_c_werror_flag" ||
12846 test ! -s conftest.err
12847 } && test -s conftest$ac_exeext && {
12848 test "$cross_compiling" = yes ||
12849 $as_test_x conftest$ac_exeext
12851 ac_cv_lib_sepol_sepol_check_context=yes
12853 $as_echo "$as_me: failed program was:" >&5
12854 sed 's
/^
/|
/' conftest.$ac_ext >&5
12856 ac_cv_lib_sepol_sepol_check_context=no
12859 rm -rf conftest.dSYM
12860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12865 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12866 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12873 if test x$HAVE_SEPOL = xyes; then
12875 cat >>confdefs.h <<\_ACEOF
12876 #define HAVE_SEPOL 1
12879 SELINUX_LIBS="-lsepol $SELINUX_LIBS"
12882 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12883 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12884 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12885 $as_echo_n "(cached) " >&6
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lselinux $LIBS"
12889 cat >conftest.$ac_ext <<_ACEOF
12892 cat confdefs.h >>conftest.$ac_ext
12893 cat >>conftest.$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12902 char is_selinux_enabled ();
12906 return is_selinux_enabled ();
12911 rm -f conftest.$ac_objext conftest$ac_exeext
12912 if { (ac_try="$ac_link"
12913 case "(($ac_try" in
12914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915 *) ac_try_echo=$ac_try;;
12917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12918 $as_echo "$ac_try_echo") >&5
12919 (eval "$ac_link") 2>conftest.er1
12921 grep -v '^
*+' conftest.er1 >conftest.err
12923 cat conftest.err >&5
12924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); } && {
12926 test -z "$ac_c_werror_flag" ||
12927 test ! -s conftest.err
12928 } && test -s conftest$ac_exeext && {
12929 test "$cross_compiling" = yes ||
12930 $as_test_x conftest$ac_exeext
12932 ac_cv_lib_selinux_is_selinux_enabled=yes
12934 $as_echo "$as_me: failed program was:" >&5
12935 sed 's
/^
/|
/' conftest.$ac_ext >&5
12937 ac_cv_lib_selinux_is_selinux_enabled=no
12940 rm -rf conftest.dSYM
12941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12942 conftest$ac_exeext conftest.$ac_ext
12943 LIBS=$ac_check_lib_save_LIBS
12945 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12946 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12947 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12954 if test x$HAVE_SELINUX = xyes; then
12956 cat >>confdefs.h <<\_ACEOF
12957 #define HAVE_SELINUX 1
12960 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
12962 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
12963 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
12965 LIBS="$SELINUX_LIBS $LIBS"
12967 # With --enable-static_link and selinux enabled, linking
12968 # fails on at least Debian unstable due to unsatisfied references
12969 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
12970 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
12971 lvm_saved_libs=$LIBS
12972 LIBS="$LIBS -static"
12973 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12974 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
12975 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12976 $as_echo_n "(cached) " >&6
12978 ac_func_search_save_LIBS=$LIBS
12979 cat >conftest.$ac_ext <<_ACEOF
12982 cat confdefs.h >>conftest.$ac_ext
12983 cat >>conftest.$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12992 char pthread_mutex_lock ();
12996 return pthread_mutex_lock ();
13001 for ac_lib in '' pthread; do
13002 if test -z "$ac_lib"; then
13003 ac_res="none required"
13006 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13008 rm -f conftest.$ac_objext conftest$ac_exeext
13009 if { (ac_try="$ac_link"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13015 $as_echo "$ac_try_echo") >&5
13016 (eval "$ac_link") 2>conftest.er1
13018 grep -v '^
*+' conftest.er1 >conftest.err
13020 cat conftest.err >&5
13021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } && {
13023 test -z "$ac_c_werror_flag" ||
13024 test ! -s conftest.err
13025 } && test -s conftest$ac_exeext && {
13026 test "$cross_compiling" = yes ||
13027 $as_test_x conftest$ac_exeext
13029 ac_cv_search_pthread_mutex_lock=$ac_res
13031 $as_echo "$as_me: failed program was:" >&5
13032 sed 's
/^
/|
/' conftest.$ac_ext >&5
13037 rm -rf conftest.dSYM
13038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13040 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13044 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13047 ac_cv_search_pthread_mutex_lock=no
13049 rm conftest.$ac_ext
13050 LIBS=$ac_func_search_save_LIBS
13052 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
13053 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
13054 ac_res=$ac_cv_search_pthread_mutex_lock
13055 if test "$ac_res" != no; then
13056 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13057 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
13058 LIB_PTHREAD=-lpthread
13061 LIBS=$lvm_saved_libs
13065 ################################################################################
13066 if test x$REALTIME = xyes; then
13067 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13068 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13069 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13070 $as_echo_n "(cached) " >&6
13072 ac_check_lib_save_LIBS=$LIBS
13074 cat >conftest.$ac_ext <<_ACEOF
13077 cat confdefs.h >>conftest.$ac_ext
13078 cat >>conftest.$ac_ext <<_ACEOF
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13087 char clock_gettime ();
13091 return clock_gettime ();
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (ac_try="$ac_link"
13098 case "(($ac_try" in
13099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100 *) ac_try_echo=$ac_try;;
13102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13103 $as_echo "$ac_try_echo") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^
*+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext && {
13114 test "$cross_compiling" = yes ||
13115 $as_test_x conftest$ac_exeext
13117 ac_cv_lib_rt_clock_gettime=yes
13119 $as_echo "$as_me: failed program was:" >&5
13120 sed 's
/^
/|
/' conftest.$ac_ext >&5
13122 ac_cv_lib_rt_clock_gettime=no
13125 rm -rf conftest.dSYM
13126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13127 conftest$ac_exeext conftest.$ac_ext
13128 LIBS=$ac_check_lib_save_LIBS
13130 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13131 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13132 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13139 if test x$HAVE_REALTIME = xyes; then
13141 cat >>confdefs.h <<\_ACEOF
13142 #define HAVE_REALTIME 1
13147 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13148 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13152 ################################################################################
13154 for ac_header in getopt.h
13156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
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 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13164 $as_echo "$as_val"'`
13165 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13166 $as_echo "$ac_res" >&6; }
13168 # Is the header compilable?
13169 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13170 $as_echo_n "checking $ac_header usability... " >&6; }
13171 cat >conftest.$ac_ext <<_ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 $ac_includes_default
13178 #include <$ac_header>
13180 rm -f conftest.$ac_objext
13181 if { (ac_try="$ac_compile"
13182 case "(($ac_try" in
13183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13187 $as_echo "$ac_try_echo") >&5
13188 (eval "$ac_compile") 2>conftest.er1
13190 grep -v '^
*+' conftest.er1 >conftest.err
13192 cat conftest.err >&5
13193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } && {
13195 test -z "$ac_c_werror_flag" ||
13196 test ! -s conftest.err
13197 } && test -s conftest.$ac_objext; then
13198 ac_header_compiler=yes
13200 $as_echo "$as_me: failed program was:" >&5
13201 sed 's
/^
/|
/' conftest.$ac_ext >&5
13203 ac_header_compiler=no
13206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13207 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13208 $as_echo "$ac_header_compiler" >&6; }
13210 # Is the header present?
13211 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13212 $as_echo_n "checking $ac_header presence... " >&6; }
13213 cat >conftest.$ac_ext <<_ACEOF
13216 cat confdefs.h >>conftest.$ac_ext
13217 cat >>conftest.$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13219 #include <$ac_header>
13221 if { (ac_try="$ac_cpp conftest.$ac_ext"
13222 case "(($ac_try" in
13223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13227 $as_echo "$ac_try_echo") >&5
13228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13230 grep -v '^
*+' conftest.er1 >conftest.err
13232 cat conftest.err >&5
13233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } >/dev/null && {
13235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13236 test ! -s conftest.err
13238 ac_header_preproc=yes
13240 $as_echo "$as_me: failed program was:" >&5
13241 sed 's
/^
/|
/' conftest.$ac_ext >&5
13243 ac_header_preproc=no
13246 rm -f conftest.err conftest.$ac_ext
13247 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13248 $as_echo "$ac_header_preproc" >&6; }
13250 # So? What about this header?
13251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13254 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13256 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13257 ac_header_preproc=yes
13260 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13261 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13263 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13265 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13267 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13269 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13271 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13275 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13276 $as_echo_n "checking for $ac_header... " >&6; }
13277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13278 $as_echo_n "(cached) " >&6
13280 eval "$as_ac_Header=\$ac_header_preproc"
13282 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13283 $as_echo "$as_val"'`
13284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13285 $as_echo "$ac_res" >&6; }
13288 as_val=`eval 'as_val
=${'$as_ac_Header'}
13289 $as_echo "$as_val"'`
13290 if test "x$as_val" = x""yes; then
13291 cat >>confdefs.h <<_ACEOF
13292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13295 cat >>confdefs.h <<\_ACEOF
13296 #define HAVE_GETOPTLONG 1
13304 ################################################################################
13305 if test x$READLINE != xno; then
13306 lvm_saved_libs=$LIBS
13307 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13308 $as_echo_n "checking for library containing tgetent... " >&6; }
13309 if test "${ac_cv_search_tgetent+set}" = set; then
13310 $as_echo_n "(cached) " >&6
13312 ac_func_search_save_LIBS=$LIBS
13313 cat >conftest.$ac_ext <<_ACEOF
13316 cat confdefs.h >>conftest.$ac_ext
13317 cat >>conftest.$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13335 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13336 if test -z "$ac_lib"; then
13337 ac_res="none required"
13340 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (ac_try="$ac_link"
13344 case "(($ac_try" in
13345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13346 *) ac_try_echo=$ac_try;;
13348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13349 $as_echo "$ac_try_echo") >&5
13350 (eval "$ac_link") 2>conftest.er1
13352 grep -v '^
*+' conftest.er1 >conftest.err
13354 cat conftest.err >&5
13355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && {
13357 test -z "$ac_c_werror_flag" ||
13358 test ! -s conftest.err
13359 } && test -s conftest$ac_exeext && {
13360 test "$cross_compiling" = yes ||
13361 $as_test_x conftest$ac_exeext
13363 ac_cv_search_tgetent=$ac_res
13365 $as_echo "$as_me: failed program was:" >&5
13366 sed 's
/^
/|
/' conftest.$ac_ext >&5
13371 rm -rf conftest.dSYM
13372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13374 if test "${ac_cv_search_tgetent+set}" = set; then
13378 if test "${ac_cv_search_tgetent+set}" = set; then
13381 ac_cv_search_tgetent=no
13383 rm conftest.$ac_ext
13384 LIBS=$ac_func_search_save_LIBS
13386 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13387 $as_echo "$ac_cv_search_tgetent" >&6; }
13388 ac_res=$ac_cv_search_tgetent
13389 if test "$ac_res" != no; then
13390 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13391 READLINE_LIBS=$ac_cv_search_tgetent
13394 if test "$READLINE" = yes; then
13395 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13396 --enable-readline option (which is enabled by default). Either disable readline
13397 support with --disable-readline or download and install termcap from:
13398 ftp.gnu.org/gnu/termcap
13399 Note: if you are using precompiled packages you will also need the development
13400 package as well (which may be called termcap-devel or something similar).
13401 Note: (n)curses also seems to work as a substitute for termcap. This was
13402 not found either - but you could try installing that as well." >&5
13403 $as_echo "$as_me: error: termcap could not be found which is required for the
13404 --enable-readline option (which is enabled by default). Either disable readline
13405 support with --disable-readline or download and install termcap from:
13406 ftp.gnu.org/gnu/termcap
13407 Note: if you are using precompiled packages you will also need the development
13408 package as well (which may be called termcap-devel or something similar).
13409 Note: (n)curses also seems to work as a substitute for termcap. This was
13410 not found either - but you could try installing that as well." >&2;}
13411 { (exit 1); exit 1; }; }
13415 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13416 $as_echo_n "checking for readline in -lreadline... " >&6; }
13417 if test "${ac_cv_lib_readline_readline+set}" = set; then
13418 $as_echo_n "(cached) " >&6
13420 ac_check_lib_save_LIBS=$LIBS
13421 LIBS="-lreadline $LIBS"
13422 cat >conftest.$ac_ext <<_ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13439 return readline ();
13444 rm -f conftest.$ac_objext conftest$ac_exeext
13445 if { (ac_try="$ac_link"
13446 case "(($ac_try" in
13447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13448 *) ac_try_echo=$ac_try;;
13450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13451 $as_echo "$ac_try_echo") >&5
13452 (eval "$ac_link") 2>conftest.er1
13454 grep -v '^
*+' conftest.er1 >conftest.err
13456 cat conftest.err >&5
13457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } && {
13459 test -z "$ac_c_werror_flag" ||
13460 test ! -s conftest.err
13461 } && test -s conftest$ac_exeext && {
13462 test "$cross_compiling" = yes ||
13463 $as_test_x conftest$ac_exeext
13465 ac_cv_lib_readline_readline=yes
13467 $as_echo "$as_me: failed program was:" >&5
13468 sed 's
/^
/|
/' conftest.$ac_ext >&5
13470 ac_cv_lib_readline_readline=no
13473 rm -rf conftest.dSYM
13474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13475 conftest$ac_exeext conftest.$ac_ext
13476 LIBS=$ac_check_lib_save_LIBS
13478 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13479 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13480 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13483 cat >>confdefs.h <<\_ACEOF
13484 #define READLINE_SUPPORT 1
13487 LIBS=$lvm_saved_libs
13488 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13489 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13490 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13491 $as_echo_n "(cached) " >&6
13493 ac_check_lib_save_LIBS=$LIBS
13494 LIBS="-lreadline $LIBS"
13495 cat >conftest.$ac_ext <<_ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13502 /* Override any GCC internal prototype to avoid an error.
13503 Use char because int might match the return type of a GCC
13504 builtin and then its argument prototype would still apply. */
13508 char rl_line_buffer ();
13512 return rl_line_buffer ();
13517 rm -f conftest.$ac_objext conftest$ac_exeext
13518 if { (ac_try="$ac_link"
13519 case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13524 $as_echo "$ac_try_echo") >&5
13525 (eval "$ac_link") 2>conftest.er1
13527 grep -v '^
*+' conftest.er1 >conftest.err
13529 cat conftest.err >&5
13530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } && {
13532 test -z "$ac_c_werror_flag" ||
13533 test ! -s conftest.err
13534 } && test -s conftest$ac_exeext && {
13535 test "$cross_compiling" = yes ||
13536 $as_test_x conftest$ac_exeext
13538 ac_cv_lib_readline_rl_line_buffer=yes
13540 $as_echo "$as_me: failed program was:" >&5
13541 sed 's
/^
/|
/' conftest.$ac_ext >&5
13543 ac_cv_lib_readline_rl_line_buffer=no
13546 rm -rf conftest.dSYM
13547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13548 conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_lib_save_LIBS
13551 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13552 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13553 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13554 READLINE_LIBS="-lreadline"
13557 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13558 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13559 READLINE_LIBS="-lreadline $READLINE_LIBS"
13566 if test "$READLINE" = yes; then
13567 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13568 --enable-readline option (which is enabled by default). Either disable readline
13569 support with --disable-readline or download and install readline from:
13570 ftp.gnu.org/gnu/readline
13571 Note: if you are using precompiled packages you will also need the development
13572 package as well (which may be called readline-devel or something similar)." >&5
13573 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13574 --enable-readline option (which is enabled by default). Either disable readline
13575 support with --disable-readline or download and install readline from:
13576 ftp.gnu.org/gnu/readline
13577 Note: if you are using precompiled packages you will also need the development
13578 package as well (which may be called readline-devel or something similar)." >&2;}
13579 { (exit 1); exit 1; }; }
13583 LIBS="$READLINE_LIBS $lvm_saved_libs"
13585 for ac_func in rl_completion_matches
13587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13588 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13589 $as_echo_n "checking for $ac_func... " >&6; }
13590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13591 $as_echo_n "(cached) " >&6
13593 cat >conftest.$ac_ext <<_ACEOF
13596 cat confdefs.h >>conftest.$ac_ext
13597 cat >>conftest.$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13601 #define $ac_func innocuous_$ac_func
13603 /* System header to define __stub macros and hopefully few prototypes,
13604 which can conflict with char $ac_func (); below.
13605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13606 <limits.h> exists even on freestanding compilers. */
13609 # include <limits.h>
13611 # include <assert.h>
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined __stub_$ac_func || defined __stub___$ac_func
13633 return $ac_func ();
13638 rm -f conftest.$ac_objext conftest$ac_exeext
13639 if { (ac_try="$ac_link"
13640 case "(($ac_try" in
13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13642 *) ac_try_echo=$ac_try;;
13644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13645 $as_echo "$ac_try_echo") >&5
13646 (eval "$ac_link") 2>conftest.er1
13648 grep -v '^
*+' conftest.er1 >conftest.err
13650 cat conftest.err >&5
13651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); } && {
13653 test -z "$ac_c_werror_flag" ||
13654 test ! -s conftest.err
13655 } && test -s conftest$ac_exeext && {
13656 test "$cross_compiling" = yes ||
13657 $as_test_x conftest$ac_exeext
13659 eval "$as_ac_var=yes"
13661 $as_echo "$as_me: failed program was:" >&5
13662 sed 's
/^
/|
/' conftest.$ac_ext >&5
13664 eval "$as_ac_var=no"
13667 rm -rf conftest.dSYM
13668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13669 conftest$ac_exeext conftest.$ac_ext
13671 ac_res=`eval 'as_val
=${'$as_ac_var'}
13672 $as_echo "$as_val"'`
13673 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13674 $as_echo "$ac_res" >&6; }
13675 as_val=`eval 'as_val
=${'$as_ac_var'}
13676 $as_echo "$as_val"'`
13677 if test "x$as_val" = x""yes; then
13678 cat >>confdefs.h <<_ACEOF
13679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13685 LIBS=$lvm_saved_libs
13688 ################################################################################
13689 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13690 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13691 # Check whether --enable-nls was given.
13692 if test "${enable_nls+set}" = set; then
13693 enableval=$enable_nls; INTL=$enableval
13698 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13699 $as_echo "$INTL" >&6; }
13701 if test x$INTL = xyes; then
13702 # FIXME - Move this - can be device-mapper too
13703 INTL_PACKAGE="lvm2"
13704 # Extract the first word of "msgfmt", so it can be a program name with args.
13705 set dummy msgfmt; ac_word=$2
13706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13707 $as_echo_n "checking for $ac_word... " >&6; }
13708 if test "${ac_cv_path_MSGFMT+set}" = set; then
13709 $as_echo_n "(cached) " >&6
13713 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13717 for as_dir in $PATH
13720 test -z "$as_dir" && as_dir=.
13721 for ac_exec_ext in '' $ac_executable_extensions; do
13722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13723 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13734 MSGFMT=$ac_cv_path_MSGFMT
13735 if test -n "$MSGFMT"; then
13736 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13737 $as_echo "$MSGFMT" >&6; }
13739 { $as_echo "$as_me:$LINENO: result: no" >&5
13740 $as_echo "no" >&6; }
13744 if [ "x$MSGFMT" == x ];
13745 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13747 $as_echo "$as_me: error: msgfmt not found in path $PATH
13749 { (exit 1); exit 1; }; }
13753 # Check whether --with-localedir was given.
13754 if test "${with_localedir+set}" = set; then
13755 withval=$with_localedir; LOCALEDIR="$withval"
13757 LOCALEDIR='${prefix}/share
/locale
'
13762 ################################################################################
13764 # Check whether --with-confdir was given.
13765 if test "${with_confdir+set}" = set; then
13766 withval=$with_confdir; CONFDIR="$withval"
13773 # Check whether --with-staticdir was given.
13774 if test "${with_staticdir+set}" = set; then
13775 withval=$with_staticdir; STATICDIR="$withval"
13777 STATICDIR='${exec_prefix}/sbin
'
13782 # Check whether --with-usrlibdir was given.
13783 if test "${with_usrlibdir+set}" = set; then
13784 withval=$with_usrlibdir; usrlibdir="$withval"
13786 usrlibdir='${prefix}/lib
'
13791 # Check whether --with-usrsbindir was given.
13792 if test "${with_usrsbindir+set}" = set; then
13793 withval=$with_usrsbindir; usrsbindir="$withval"
13795 usrsbindir='${prefix}/sbin
'
13799 ################################################################################
13801 # Check whether --with-udev_prefix was given.
13802 if test "${with_udev_prefix+set}" = set; then
13803 withval=$with_udev_prefix; udev_prefix="$withval"
13805 udev_prefix='${exec_prefix}'
13810 # Check whether --with-udevdir was given.
13811 if test "${with_udevdir+set}" = set; then
13812 withval=$with_udevdir; udevdir="$withval"
13814 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13818 ################################################################################
13819 if test x$READLINE = xyes; then
13822 for ac_header in readline/readline.h readline/history.h
13824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13826 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13827 $as_echo_n "checking for $ac_header... " >&6; }
13828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13829 $as_echo_n "(cached) " >&6
13831 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13832 $as_echo "$as_val"'`
13833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13834 $as_echo "$ac_res" >&6; }
13836 # Is the header compilable?
13837 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13838 $as_echo_n "checking $ac_header usability... " >&6; }
13839 cat >conftest.$ac_ext <<_ACEOF
13842 cat confdefs.h >>conftest.$ac_ext
13843 cat >>conftest.$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 $ac_includes_default
13846 #include <$ac_header>
13848 rm -f conftest.$ac_objext
13849 if { (ac_try="$ac_compile"
13850 case "(($ac_try" in
13851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13852 *) ac_try_echo=$ac_try;;
13854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13855 $as_echo "$ac_try_echo") >&5
13856 (eval "$ac_compile") 2>conftest.er1
13858 grep -v '^
*+' conftest.er1 >conftest.err
13860 cat conftest.err >&5
13861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); } && {
13863 test -z "$ac_c_werror_flag" ||
13864 test ! -s conftest.err
13865 } && test -s conftest.$ac_objext; then
13866 ac_header_compiler=yes
13868 $as_echo "$as_me: failed program was:" >&5
13869 sed 's
/^
/|
/' conftest.$ac_ext >&5
13871 ac_header_compiler=no
13874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13875 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13876 $as_echo "$ac_header_compiler" >&6; }
13878 # Is the header present?
13879 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13880 $as_echo_n "checking $ac_header presence... " >&6; }
13881 cat >conftest.$ac_ext <<_ACEOF
13884 cat confdefs.h >>conftest.$ac_ext
13885 cat >>conftest.$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13887 #include <$ac_header>
13889 if { (ac_try="$ac_cpp conftest.$ac_ext"
13890 case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13895 $as_echo "$ac_try_echo") >&5
13896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13898 grep -v '^
*+' conftest.er1 >conftest.err
13900 cat conftest.err >&5
13901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } >/dev/null && {
13903 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13904 test ! -s conftest.err
13906 ac_header_preproc=yes
13908 $as_echo "$as_me: failed program was:" >&5
13909 sed 's
/^
/|
/' conftest.$ac_ext >&5
13911 ac_header_preproc=no
13914 rm -f conftest.err conftest.$ac_ext
13915 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13916 $as_echo "$ac_header_preproc" >&6; }
13918 # So? What about this header?
13919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13922 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13923 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13924 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13925 ac_header_preproc=yes
13928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13929 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13931 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13933 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13935 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13937 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13939 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13943 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13944 $as_echo_n "checking for $ac_header... " >&6; }
13945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13946 $as_echo_n "(cached) " >&6
13948 eval "$as_ac_Header=\$ac_header_preproc"
13950 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13951 $as_echo "$as_val"'`
13952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13953 $as_echo "$ac_res" >&6; }
13956 as_val=`eval 'as_val
=${'$as_ac_Header'}
13957 $as_echo "$as_val"'`
13958 if test "x$as_val" = x""yes; then
13959 cat >>confdefs.h <<_ACEOF
13960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13964 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13965 $as_echo "$as_me: error: bailing out" >&2;}
13966 { (exit 1); exit 1; }; }
13973 if test x$CLVMD != xnone; then
13984 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
13986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13989 $as_echo_n "checking for $ac_header... " >&6; }
13990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13991 $as_echo_n "(cached) " >&6
13993 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13994 $as_echo "$as_val"'`
13995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13996 $as_echo "$ac_res" >&6; }
13998 # Is the header compilable?
13999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14000 $as_echo_n "checking $ac_header usability... " >&6; }
14001 cat >conftest.$ac_ext <<_ACEOF
14004 cat confdefs.h >>conftest.$ac_ext
14005 cat >>conftest.$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14007 $ac_includes_default
14008 #include <$ac_header>
14010 rm -f conftest.$ac_objext
14011 if { (ac_try="$ac_compile"
14012 case "(($ac_try" in
14013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14017 $as_echo "$ac_try_echo") >&5
14018 (eval "$ac_compile") 2>conftest.er1
14020 grep -v '^
*+' conftest.er1 >conftest.err
14022 cat conftest.err >&5
14023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } && {
14025 test -z "$ac_c_werror_flag" ||
14026 test ! -s conftest.err
14027 } && test -s conftest.$ac_objext; then
14028 ac_header_compiler=yes
14030 $as_echo "$as_me: failed program was:" >&5
14031 sed 's
/^
/|
/' conftest.$ac_ext >&5
14033 ac_header_compiler=no
14036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14038 $as_echo "$ac_header_compiler" >&6; }
14040 # Is the header present?
14041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14042 $as_echo_n "checking $ac_header presence... " >&6; }
14043 cat >conftest.$ac_ext <<_ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 #include <$ac_header>
14051 if { (ac_try="$ac_cpp conftest.$ac_ext"
14052 case "(($ac_try" in
14053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14054 *) ac_try_echo=$ac_try;;
14056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14057 $as_echo "$ac_try_echo") >&5
14058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14060 grep -v '^
*+' conftest.er1 >conftest.err
14062 cat conftest.err >&5
14063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } >/dev/null && {
14065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14066 test ! -s conftest.err
14068 ac_header_preproc=yes
14070 $as_echo "$as_me: failed program was:" >&5
14071 sed 's
/^
/|
/' conftest.$ac_ext >&5
14073 ac_header_preproc=no
14076 rm -f conftest.err conftest.$ac_ext
14077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14078 $as_echo "$ac_header_preproc" >&6; }
14080 # So? What about this header?
14081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14086 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14087 ac_header_preproc=yes
14090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14099 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14106 $as_echo_n "checking for $ac_header... " >&6; }
14107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14108 $as_echo_n "(cached) " >&6
14110 eval "$as_ac_Header=\$ac_header_preproc"
14112 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14113 $as_echo "$as_val"'`
14114 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14115 $as_echo "$ac_res" >&6; }
14118 as_val=`eval 'as_val
=${'$as_ac_Header'}
14119 $as_echo "$as_val"'`
14120 if test "x$as_val" = x""yes; then
14121 cat >>confdefs.h <<_ACEOF
14122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14126 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14127 $as_echo "$as_me: error: bailing out" >&2;}
14128 { (exit 1); exit 1; }; }
14138 for ac_func in dup2 getmntent memmove select socket
14140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14141 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14142 $as_echo_n "checking for $ac_func... " >&6; }
14143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14144 $as_echo_n "(cached) " >&6
14146 cat >conftest.$ac_ext <<_ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14154 #define $ac_func innocuous_$ac_func
14156 /* System header to define __stub macros and hopefully few prototypes,
14157 which can conflict with char $ac_func (); below.
14158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14159 <limits.h> exists even on freestanding compilers. */
14162 # include <limits.h>
14164 # include <assert.h>
14169 /* Override any GCC internal prototype to avoid an error.
14170 Use char because int might match the return type of a GCC
14171 builtin and then its argument prototype would still apply. */
14176 /* The GNU C library defines this for functions which it implements
14177 to always fail with ENOSYS. Some functions are actually named
14178 something starting with __ and the normal name is an alias. */
14179 #if defined __stub_$ac_func || defined __stub___$ac_func
14186 return $ac_func ();
14191 rm -f conftest.$ac_objext conftest$ac_exeext
14192 if { (ac_try="$ac_link"
14193 case "(($ac_try" in
14194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14195 *) ac_try_echo=$ac_try;;
14197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14198 $as_echo "$ac_try_echo") >&5
14199 (eval "$ac_link") 2>conftest.er1
14201 grep -v '^
*+' conftest.er1 >conftest.err
14203 cat conftest.err >&5
14204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } && {
14206 test -z "$ac_c_werror_flag" ||
14207 test ! -s conftest.err
14208 } && test -s conftest$ac_exeext && {
14209 test "$cross_compiling" = yes ||
14210 $as_test_x conftest$ac_exeext
14212 eval "$as_ac_var=yes"
14214 $as_echo "$as_me: failed program was:" >&5
14215 sed 's
/^
/|
/' conftest.$ac_ext >&5
14217 eval "$as_ac_var=no"
14220 rm -rf conftest.dSYM
14221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14222 conftest$ac_exeext conftest.$ac_ext
14224 ac_res=`eval 'as_val
=${'$as_ac_var'}
14225 $as_echo "$as_val"'`
14226 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14227 $as_echo "$ac_res" >&6; }
14228 as_val=`eval 'as_val
=${'$as_ac_var'}
14229 $as_echo "$as_val"'`
14230 if test "x$as_val" = x""yes; then
14231 cat >>confdefs.h <<_ACEOF
14232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14236 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14237 $as_echo "$as_me: error: bailing out" >&2;}
14238 { (exit 1); exit 1; }; }
14242 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14243 # -lseq on Dynix/PTX, -lgen on Unixware.
14244 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14245 $as_echo_n "checking for library containing getmntent... " >&6; }
14246 if test "${ac_cv_search_getmntent+set}" = set; then
14247 $as_echo_n "(cached) " >&6
14249 ac_func_search_save_LIBS=$LIBS
14250 cat >conftest.$ac_ext <<_ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14267 return getmntent ();
14272 for ac_lib in '' sun seq gen; do
14273 if test -z "$ac_lib"; then
14274 ac_res="none required"
14277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14279 rm -f conftest.$ac_objext conftest$ac_exeext
14280 if { (ac_try="$ac_link"
14281 case "(($ac_try" in
14282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14283 *) ac_try_echo=$ac_try;;
14285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14286 $as_echo "$ac_try_echo") >&5
14287 (eval "$ac_link") 2>conftest.er1
14289 grep -v '^
*+' conftest.er1 >conftest.err
14291 cat conftest.err >&5
14292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); } && {
14294 test -z "$ac_c_werror_flag" ||
14295 test ! -s conftest.err
14296 } && test -s conftest$ac_exeext && {
14297 test "$cross_compiling" = yes ||
14298 $as_test_x conftest$ac_exeext
14300 ac_cv_search_getmntent=$ac_res
14302 $as_echo "$as_me: failed program was:" >&5
14303 sed 's
/^
/|
/' conftest.$ac_ext >&5
14308 rm -rf conftest.dSYM
14309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14311 if test "${ac_cv_search_getmntent+set}" = set; then
14315 if test "${ac_cv_search_getmntent+set}" = set; then
14318 ac_cv_search_getmntent=no
14320 rm conftest.$ac_ext
14321 LIBS=$ac_func_search_save_LIBS
14323 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14324 $as_echo "$ac_cv_search_getmntent" >&6; }
14325 ac_res=$ac_cv_search_getmntent
14326 if test "$ac_res" != no; then
14327 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14328 ac_cv_func_getmntent=yes
14330 cat >>confdefs.h <<\_ACEOF
14331 #define HAVE_GETMNTENT 1
14335 ac_cv_func_getmntent=no
14342 for ac_header in sys/select.h sys/socket.h
14344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14346 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14347 $as_echo_n "checking for $ac_header... " >&6; }
14348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14349 $as_echo_n "(cached) " >&6
14351 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14352 $as_echo "$as_val"'`
14353 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14354 $as_echo "$ac_res" >&6; }
14356 # Is the header compilable?
14357 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14358 $as_echo_n "checking $ac_header usability... " >&6; }
14359 cat >conftest.$ac_ext <<_ACEOF
14362 cat confdefs.h >>conftest.$ac_ext
14363 cat >>conftest.$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14365 $ac_includes_default
14366 #include <$ac_header>
14368 rm -f conftest.$ac_objext
14369 if { (ac_try="$ac_compile"
14370 case "(($ac_try" in
14371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14372 *) ac_try_echo=$ac_try;;
14374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14375 $as_echo "$ac_try_echo") >&5
14376 (eval "$ac_compile") 2>conftest.er1
14378 grep -v '^
*+' conftest.er1 >conftest.err
14380 cat conftest.err >&5
14381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } && {
14383 test -z "$ac_c_werror_flag" ||
14384 test ! -s conftest.err
14385 } && test -s conftest.$ac_objext; then
14386 ac_header_compiler=yes
14388 $as_echo "$as_me: failed program was:" >&5
14389 sed 's
/^
/|
/' conftest.$ac_ext >&5
14391 ac_header_compiler=no
14394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14395 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14396 $as_echo "$ac_header_compiler" >&6; }
14398 # Is the header present?
14399 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14400 $as_echo_n "checking $ac_header presence... " >&6; }
14401 cat >conftest.$ac_ext <<_ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 #include <$ac_header>
14409 if { (ac_try="$ac_cpp conftest.$ac_ext"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14415 $as_echo "$ac_try_echo") >&5
14416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14418 grep -v '^
*+' conftest.er1 >conftest.err
14420 cat conftest.err >&5
14421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } >/dev/null && {
14423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14424 test ! -s conftest.err
14426 ac_header_preproc=yes
14428 $as_echo "$as_me: failed program was:" >&5
14429 sed 's
/^
/|
/' conftest.$ac_ext >&5
14431 ac_header_preproc=no
14434 rm -f conftest.err conftest.$ac_ext
14435 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14436 $as_echo "$ac_header_preproc" >&6; }
14438 # So? What about this header?
14439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14442 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14444 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14445 ac_header_preproc=yes
14448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14449 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14451 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14453 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14455 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14457 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14459 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14463 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14464 $as_echo_n "checking for $ac_header... " >&6; }
14465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14466 $as_echo_n "(cached) " >&6
14468 eval "$as_ac_Header=\$ac_header_preproc"
14470 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14471 $as_echo "$as_val"'`
14472 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14473 $as_echo "$ac_res" >&6; }
14476 as_val=`eval 'as_val
=${'$as_ac_Header'}
14477 $as_echo "$as_val"'`
14478 if test "x$as_val" = x""yes; then
14479 cat >>confdefs.h <<_ACEOF
14480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14487 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14488 $as_echo_n "checking types of arguments for select... " >&6; }
14489 if test "${ac_cv_func_select_args+set}" = set; then
14490 $as_echo_n "(cached) " >&6
14492 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14493 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14494 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14495 cat >conftest.$ac_ext <<_ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 $ac_includes_default
14502 #ifdef HAVE_SYS_SELECT_H
14503 # include <sys/select.h>
14505 #ifdef HAVE_SYS_SOCKET_H
14506 # include <sys/socket.h>
14512 extern int select ($ac_arg1,
14513 $ac_arg234, $ac_arg234, $ac_arg234,
14519 rm -f conftest.$ac_objext
14520 if { (ac_try="$ac_compile"
14521 case "(($ac_try" in
14522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14523 *) ac_try_echo=$ac_try;;
14525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14526 $as_echo "$ac_try_echo") >&5
14527 (eval "$ac_compile") 2>conftest.er1
14529 grep -v '^
*+' conftest.er1 >conftest.err
14531 cat conftest.err >&5
14532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } && {
14534 test -z "$ac_c_werror_flag" ||
14535 test ! -s conftest.err
14536 } && test -s conftest.$ac_objext; then
14537 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14539 $as_echo "$as_me: failed program was:" >&5
14540 sed 's
/^
/|
/' conftest.$ac_ext >&5
14545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14549 # Provide a safe default value.
14550 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14553 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14554 $as_echo "$ac_cv_func_select_args" >&6; }
14555 ac_save_IFS=$IFS; IFS=','
14556 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14560 cat >>confdefs.h <<_ACEOF
14561 #define SELECT_TYPE_ARG1 $1
14565 cat >>confdefs.h <<_ACEOF
14566 #define SELECT_TYPE_ARG234 ($2)
14570 cat >>confdefs.h <<_ACEOF
14571 #define SELECT_TYPE_ARG5 ($3)
14578 if test x$CLUSTER != xnone; then
14581 for ac_header in sys/socket.h sys/un.h
14583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14585 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14586 $as_echo_n "checking for $ac_header... " >&6; }
14587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14588 $as_echo_n "(cached) " >&6
14590 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14591 $as_echo "$as_val"'`
14592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14593 $as_echo "$ac_res" >&6; }
14595 # Is the header compilable?
14596 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14597 $as_echo_n "checking $ac_header usability... " >&6; }
14598 cat >conftest.$ac_ext <<_ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14605 #include <$ac_header>
14607 rm -f conftest.$ac_objext
14608 if { (ac_try="$ac_compile"
14609 case "(($ac_try" in
14610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14611 *) ac_try_echo=$ac_try;;
14613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14614 $as_echo "$ac_try_echo") >&5
14615 (eval "$ac_compile") 2>conftest.er1
14617 grep -v '^
*+' conftest.er1 >conftest.err
14619 cat conftest.err >&5
14620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } && {
14622 test -z "$ac_c_werror_flag" ||
14623 test ! -s conftest.err
14624 } && test -s conftest.$ac_objext; then
14625 ac_header_compiler=yes
14627 $as_echo "$as_me: failed program was:" >&5
14628 sed 's
/^
/|
/' conftest.$ac_ext >&5
14630 ac_header_compiler=no
14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14635 $as_echo "$ac_header_compiler" >&6; }
14637 # Is the header present?
14638 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14639 $as_echo_n "checking $ac_header presence... " >&6; }
14640 cat >conftest.$ac_ext <<_ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646 #include <$ac_header>
14648 if { (ac_try="$ac_cpp conftest.$ac_ext"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14654 $as_echo "$ac_try_echo") >&5
14655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14657 grep -v '^
*+' conftest.er1 >conftest.err
14659 cat conftest.err >&5
14660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } >/dev/null && {
14662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14665 ac_header_preproc=yes
14667 $as_echo "$as_me: failed program was:" >&5
14668 sed 's
/^
/|
/' conftest.$ac_ext >&5
14670 ac_header_preproc=no
14673 rm -f conftest.err conftest.$ac_ext
14674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14675 $as_echo "$ac_header_preproc" >&6; }
14677 # So? What about this header?
14678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14681 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14683 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14684 ac_header_preproc=yes
14687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14688 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14690 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14692 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14694 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14696 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14698 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14702 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14703 $as_echo_n "checking for $ac_header... " >&6; }
14704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14705 $as_echo_n "(cached) " >&6
14707 eval "$as_ac_Header=\$ac_header_preproc"
14709 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14710 $as_echo "$as_val"'`
14711 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14712 $as_echo "$ac_res" >&6; }
14715 as_val=`eval 'as_val
=${'$as_ac_Header'}
14716 $as_echo "$as_val"'`
14717 if test "x$as_val" = x""yes; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14723 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14724 $as_echo "$as_me: error: bailing out" >&2;}
14725 { (exit 1); exit 1; }; }
14731 for ac_func in socket
14733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14734 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14735 $as_echo_n "checking for $ac_func... " >&6; }
14736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14737 $as_echo_n "(cached) " >&6
14739 cat >conftest.$ac_ext <<_ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14747 #define $ac_func innocuous_$ac_func
14749 /* System header to define __stub macros and hopefully few prototypes,
14750 which can conflict with char $ac_func (); below.
14751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14752 <limits.h> exists even on freestanding compilers. */
14755 # include <limits.h>
14757 # include <assert.h>
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14769 /* The GNU C library defines this for functions which it implements
14770 to always fail with ENOSYS. Some functions are actually named
14771 something starting with __ and the normal name is an alias. */
14772 #if defined __stub_$ac_func || defined __stub___$ac_func
14779 return $ac_func ();
14784 rm -f conftest.$ac_objext conftest$ac_exeext
14785 if { (ac_try="$ac_link"
14786 case "(($ac_try" in
14787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14788 *) ac_try_echo=$ac_try;;
14790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14791 $as_echo "$ac_try_echo") >&5
14792 (eval "$ac_link") 2>conftest.er1
14794 grep -v '^
*+' conftest.er1 >conftest.err
14796 cat conftest.err >&5
14797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest$ac_exeext && {
14802 test "$cross_compiling" = yes ||
14803 $as_test_x conftest$ac_exeext
14805 eval "$as_ac_var=yes"
14807 $as_echo "$as_me: failed program was:" >&5
14808 sed 's
/^
/|
/' conftest.$ac_ext >&5
14810 eval "$as_ac_var=no"
14813 rm -rf conftest.dSYM
14814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14815 conftest$ac_exeext conftest.$ac_ext
14817 ac_res=`eval 'as_val
=${'$as_ac_var'}
14818 $as_echo "$as_val"'`
14819 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14820 $as_echo "$ac_res" >&6; }
14821 as_val=`eval 'as_val
=${'$as_ac_var'}
14822 $as_echo "$as_val"'`
14823 if test "x$as_val" = x""yes; then
14824 cat >>confdefs.h <<_ACEOF
14825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14829 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14830 $as_echo "$as_me: error: bailing out" >&2;}
14831 { (exit 1); exit 1; }; }
14837 if test x$HAVE_LIBDL = xyes; then
14839 for ac_header in dlfcn.h
14841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14843 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14844 $as_echo_n "checking for $ac_header... " >&6; }
14845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14846 $as_echo_n "(cached) " >&6
14848 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14849 $as_echo "$as_val"'`
14850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14851 $as_echo "$ac_res" >&6; }
14853 # Is the header compilable?
14854 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14855 $as_echo_n "checking $ac_header usability... " >&6; }
14856 cat >conftest.$ac_ext <<_ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14863 #include <$ac_header>
14865 rm -f conftest.$ac_objext
14866 if { (ac_try="$ac_compile"
14867 case "(($ac_try" in
14868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14872 $as_echo "$ac_try_echo") >&5
14873 (eval "$ac_compile") 2>conftest.er1
14875 grep -v '^
*+' conftest.er1 >conftest.err
14877 cat conftest.err >&5
14878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest.$ac_objext; then
14883 ac_header_compiler=yes
14885 $as_echo "$as_me: failed program was:" >&5
14886 sed 's
/^
/|
/' conftest.$ac_ext >&5
14888 ac_header_compiler=no
14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14892 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14893 $as_echo "$ac_header_compiler" >&6; }
14895 # Is the header present?
14896 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14897 $as_echo_n "checking $ac_header presence... " >&6; }
14898 cat >conftest.$ac_ext <<_ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 #include <$ac_header>
14906 if { (ac_try="$ac_cpp conftest.$ac_ext"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14912 $as_echo "$ac_try_echo") >&5
14913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14915 grep -v '^
*+' conftest.er1 >conftest.err
14917 cat conftest.err >&5
14918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } >/dev/null && {
14920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14921 test ! -s conftest.err
14923 ac_header_preproc=yes
14925 $as_echo "$as_me: failed program was:" >&5
14926 sed 's
/^
/|
/' conftest.$ac_ext >&5
14928 ac_header_preproc=no
14931 rm -f conftest.err conftest.$ac_ext
14932 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14933 $as_echo "$ac_header_preproc" >&6; }
14935 # So? What about this header?
14936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14939 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14941 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14942 ac_header_preproc=yes
14945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14946 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14947 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14948 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14950 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14952 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14954 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14956 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14960 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14961 $as_echo_n "checking for $ac_header... " >&6; }
14962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14963 $as_echo_n "(cached) " >&6
14965 eval "$as_ac_Header=\$ac_header_preproc"
14967 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14968 $as_echo "$as_val"'`
14969 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14970 $as_echo "$ac_res" >&6; }
14973 as_val=`eval 'as_val
=${'$as_ac_Header'}
14974 $as_echo "$as_val"'`
14975 if test "x$as_val" = x""yes; then
14976 cat >>confdefs.h <<_ACEOF
14977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14981 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14982 $as_echo "$as_me: error: bailing out" >&2;}
14983 { (exit 1); exit 1; }; }
14990 if test x$INTL = xyes; then
14992 for ac_header in libintl.h
14994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14996 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14997 $as_echo_n "checking for $ac_header... " >&6; }
14998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14999 $as_echo_n "(cached) " >&6
15001 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15002 $as_echo "$as_val"'`
15003 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15004 $as_echo "$ac_res" >&6; }
15006 # Is the header compilable?
15007 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15008 $as_echo_n "checking $ac_header usability... " >&6; }
15009 cat >conftest.$ac_ext <<_ACEOF
15012 cat confdefs.h >>conftest.$ac_ext
15013 cat >>conftest.$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 #include <$ac_header>
15018 rm -f conftest.$ac_objext
15019 if { (ac_try="$ac_compile"
15020 case "(($ac_try" in
15021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15022 *) ac_try_echo=$ac_try;;
15024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15025 $as_echo "$ac_try_echo") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^
*+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_header_compiler=yes
15038 $as_echo "$as_me: failed program was:" >&5
15039 sed 's
/^
/|
/' conftest.$ac_ext >&5
15041 ac_header_compiler=no
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15046 $as_echo "$ac_header_compiler" >&6; }
15048 # Is the header present?
15049 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15050 $as_echo_n "checking $ac_header presence... " >&6; }
15051 cat >conftest.$ac_ext <<_ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 #include <$ac_header>
15059 if { (ac_try="$ac_cpp conftest.$ac_ext"
15060 case "(($ac_try" in
15061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15062 *) ac_try_echo=$ac_try;;
15064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15065 $as_echo "$ac_try_echo") >&5
15066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15068 grep -v '^
*+' conftest.er1 >conftest.err
15070 cat conftest.err >&5
15071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } >/dev/null && {
15073 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15076 ac_header_preproc=yes
15078 $as_echo "$as_me: failed program was:" >&5
15079 sed 's
/^
/|
/' conftest.$ac_ext >&5
15081 ac_header_preproc=no
15084 rm -f conftest.err conftest.$ac_ext
15085 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15086 $as_echo "$ac_header_preproc" >&6; }
15088 # So? What about this header?
15089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15092 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15094 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15095 ac_header_preproc=yes
15098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15099 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15101 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15103 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15105 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15107 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15109 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15113 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15114 $as_echo_n "checking for $ac_header... " >&6; }
15115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15116 $as_echo_n "(cached) " >&6
15118 eval "$as_ac_Header=\$ac_header_preproc"
15120 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15121 $as_echo "$as_val"'`
15122 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15123 $as_echo "$ac_res" >&6; }
15126 as_val=`eval 'as_val
=${'$as_ac_Header'}
15127 $as_echo "$as_val"'`
15128 if test "x$as_val" = x""yes; then
15129 cat >>confdefs.h <<_ACEOF
15130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15134 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15135 $as_echo "$as_me: error: bailing out" >&2;}
15136 { (exit 1); exit 1; }; }
15143 if test x$HAVE_SELINUX = xyes; then
15145 for ac_header in selinux/selinux.h
15147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15150 $as_echo_n "checking for $ac_header... " >&6; }
15151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15152 $as_echo_n "(cached) " >&6
15154 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15155 $as_echo "$as_val"'`
15156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15157 $as_echo "$ac_res" >&6; }
15159 # Is the header compilable?
15160 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15161 $as_echo_n "checking $ac_header usability... " >&6; }
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168 $ac_includes_default
15169 #include <$ac_header>
15171 rm -f conftest.$ac_objext
15172 if { (ac_try="$ac_compile"
15173 case "(($ac_try" in
15174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15175 *) ac_try_echo=$ac_try;;
15177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15178 $as_echo "$ac_try_echo") >&5
15179 (eval "$ac_compile") 2>conftest.er1
15181 grep -v '^
*+' conftest.er1 >conftest.err
15183 cat conftest.err >&5
15184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } && {
15186 test -z "$ac_c_werror_flag" ||
15187 test ! -s conftest.err
15188 } && test -s conftest.$ac_objext; then
15189 ac_header_compiler=yes
15191 $as_echo "$as_me: failed program was:" >&5
15192 sed 's
/^
/|
/' conftest.$ac_ext >&5
15194 ac_header_compiler=no
15197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15198 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15199 $as_echo "$ac_header_compiler" >&6; }
15201 # Is the header present?
15202 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15203 $as_echo_n "checking $ac_header presence... " >&6; }
15204 cat >conftest.$ac_ext <<_ACEOF
15207 cat confdefs.h >>conftest.$ac_ext
15208 cat >>conftest.$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 #include <$ac_header>
15212 if { (ac_try="$ac_cpp conftest.$ac_ext"
15213 case "(($ac_try" in
15214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15215 *) ac_try_echo=$ac_try;;
15217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15218 $as_echo "$ac_try_echo") >&5
15219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15221 grep -v '^
*+' conftest.er1 >conftest.err
15223 cat conftest.err >&5
15224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } >/dev/null && {
15226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15229 ac_header_preproc=yes
15231 $as_echo "$as_me: failed program was:" >&5
15232 sed 's
/^
/|
/' conftest.$ac_ext >&5
15234 ac_header_preproc=no
15237 rm -f conftest.err conftest.$ac_ext
15238 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15239 $as_echo "$ac_header_preproc" >&6; }
15241 # So? What about this header?
15242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15245 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15247 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15248 ac_header_preproc=yes
15251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15252 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15254 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15256 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15258 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15260 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15261 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15262 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15266 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15267 $as_echo_n "checking for $ac_header... " >&6; }
15268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15269 $as_echo_n "(cached) " >&6
15271 eval "$as_ac_Header=\$ac_header_preproc"
15273 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15274 $as_echo "$as_val"'`
15275 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15276 $as_echo "$ac_res" >&6; }
15279 as_val=`eval 'as_val
=${'$as_ac_Header'}
15280 $as_echo "$as_val"'`
15281 if test "x$as_val" = x""yes; then
15282 cat >>confdefs.h <<_ACEOF
15283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15287 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15288 $as_echo "$as_me: error: bailing out" >&2;}
15289 { (exit 1); exit 1; }; }
15296 if test x$UDEV_SYNC = xyes; then
15299 for ac_header in sys/ipc.h sys/sem.h
15301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15303 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15304 $as_echo_n "checking for $ac_header... " >&6; }
15305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15306 $as_echo_n "(cached) " >&6
15308 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15309 $as_echo "$as_val"'`
15310 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15311 $as_echo "$ac_res" >&6; }
15313 # Is the header compilable?
15314 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15315 $as_echo_n "checking $ac_header usability... " >&6; }
15316 cat >conftest.$ac_ext <<_ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15322 $ac_includes_default
15323 #include <$ac_header>
15325 rm -f conftest.$ac_objext
15326 if { (ac_try="$ac_compile"
15327 case "(($ac_try" in
15328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15329 *) ac_try_echo=$ac_try;;
15331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15332 $as_echo "$ac_try_echo") >&5
15333 (eval "$ac_compile") 2>conftest.er1
15335 grep -v '^
*+' conftest.er1 >conftest.err
15337 cat conftest.err >&5
15338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); } && {
15340 test -z "$ac_c_werror_flag" ||
15341 test ! -s conftest.err
15342 } && test -s conftest.$ac_objext; then
15343 ac_header_compiler=yes
15345 $as_echo "$as_me: failed program was:" >&5
15346 sed 's
/^
/|
/' conftest.$ac_ext >&5
15348 ac_header_compiler=no
15351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15352 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15353 $as_echo "$ac_header_compiler" >&6; }
15355 # Is the header present?
15356 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15357 $as_echo_n "checking $ac_header presence... " >&6; }
15358 cat >conftest.$ac_ext <<_ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364 #include <$ac_header>
15366 if { (ac_try="$ac_cpp conftest.$ac_ext"
15367 case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15372 $as_echo "$ac_try_echo") >&5
15373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15375 grep -v '^
*+' conftest.er1 >conftest.err
15377 cat conftest.err >&5
15378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } >/dev/null && {
15380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15381 test ! -s conftest.err
15383 ac_header_preproc=yes
15385 $as_echo "$as_me: failed program was:" >&5
15386 sed 's
/^
/|
/' conftest.$ac_ext >&5
15388 ac_header_preproc=no
15391 rm -f conftest.err conftest.$ac_ext
15392 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15393 $as_echo "$ac_header_preproc" >&6; }
15395 # So? What about this header?
15396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15399 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15401 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15402 ac_header_preproc=yes
15405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15406 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15407 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15408 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15410 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15412 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15414 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15416 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15420 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15421 $as_echo_n "checking for $ac_header... " >&6; }
15422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15423 $as_echo_n "(cached) " >&6
15425 eval "$as_ac_Header=\$ac_header_preproc"
15427 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15428 $as_echo "$as_val"'`
15429 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15430 $as_echo "$ac_res" >&6; }
15433 as_val=`eval 'as_val
=${'$as_ac_Header'}
15434 $as_echo "$as_val"'`
15435 if test "x$as_val" = x""yes; then
15436 cat >>confdefs.h <<_ACEOF
15437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15441 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15442 $as_echo "$as_me: error: bailing out" >&2;}
15443 { (exit 1); exit 1; }; }
15450 ################################################################################
15451 # Extract the first word of "modprobe", so it can be a program name with args.
15452 set dummy modprobe; ac_word=$2
15453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15454 $as_echo_n "checking for $ac_word... " >&6; }
15455 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15456 $as_echo_n "(cached) " >&6
15458 case $MODPROBE_CMD in
15460 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15464 for as_dir in $PATH
15467 test -z "$as_dir" && as_dir=.
15468 for ac_exec_ext in '' $ac_executable_extensions; do
15469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15470 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15481 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15482 if test -n "$MODPROBE_CMD"; then
15483 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15484 $as_echo "$MODPROBE_CMD" >&6; }
15486 { $as_echo "$as_me:$LINENO: result: no" >&5
15487 $as_echo "no" >&6; }
15492 if test x$MODPROBE_CMD != x; then
15494 cat >>confdefs.h <<_ACEOF
15495 #define MODPROBE_CMD "$MODPROBE_CMD"
15500 ################################################################################
15503 if test "$BUILD_DMEVENTD" = yes; then
15505 # Check whether --with-dmeventd-pidfile was given.
15506 if test "${with_dmeventd_pidfile+set}" = set; then
15507 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15508 #define DMEVENTD_PIDFILE "$withval"
15512 cat >>confdefs.h <<_ACEOF
15513 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15522 if test "$BUILD_DMEVENTD" = yes; then
15523 dmeventd_prefix="$exec_prefix"
15524 if test "x$dmeventd_prefix" = "xNONE"; then
15525 dmeventd_prefix="$prefix"
15527 if test "x$dmeventd_prefix" = "xNONE"; then
15531 # Check whether --with-dmeventd-path was given.
15532 if test "${with_dmeventd_path+set}" = set; then
15533 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15534 #define DMEVENTD_PATH "$withval"
15538 cat >>confdefs.h <<_ACEOF
15539 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15546 ################################################################################
15547 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15548 $as_echo_n "checking for kernel interface choice... " >&6; }
15550 # Check whether --with-interface was given.
15551 if test "${with_interface+set}" = set; then
15552 withval=$with_interface; interface="$withval"
15557 if [ "x$interface" != xioctl ];
15559 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15560 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15561 { (exit 1); exit 1; }; }
15563 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15564 $as_echo "$interface" >&6; }
15566 ################################################################################
15567 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15569 cat >>confdefs.h <<_ACEOF
15570 #define DM_LIB_VERSION $DM_LIB_VERSION
15574 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15576 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15578 VER=`cat "$srcdir"/VERSION`
15579 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15580 VER=`echo "$VER" | $AWK '{print
$1}'`
15581 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15582 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15583 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15584 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15585 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15586 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15588 ################################################################################
15675 ################################################################################
15676 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 include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/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"
15678 cat >confcache <<\_ACEOF
15679 # This file is a shell script that caches the results of configure
15680 # tests run on this system so they can be shared between configure
15681 # scripts and configure runs, see configure's option
--config-cache.
15682 # It is not useful on other systems. If it contains results you don't
15683 # want to keep, you may remove or edit it.
15685 # config.status only pays attention to the cache file if you give it
15686 # the --recheck option to rerun configure.
15688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15690 # following values.
15694 # The following way of writing the cache mishandles newlines in values,
15695 # but we know of no workaround that is simple, portable, and efficient.
15696 # So, we kill variables containing newlines.
15697 # Ultrix sh set writes to stderr and can't be redirected directly,
15698 # and sets the high bit in the cache file unless we assign to the vars.
15700 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15701 eval ac_val
=\$
$ac_var
15705 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15709 _ | IFS | as_nl
) ;; #(
15710 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15711 *) $as_unset $ac_var ;;
15717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15718 *${as_nl}ac_space
=\
*)
15719 # `set' does not quote correctly, so add quotes (double-quote
15720 # substitution turns \\\\ into \\, and sed turns \\ into \).
15723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15726 # `set' quotes correctly as required by POSIX, so do not add quotes.
15727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15741 if test -w "$cache_file"; then
15742 test "x$cache_file" != "x/dev/null" &&
15743 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15744 $as_echo "$as_me: updating cache $cache_file" >&6;}
15745 cat confcache
>$cache_file
15747 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15753 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15754 # Let make expand exec_prefix.
15755 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15757 DEFS
=-DHAVE_CONFIG_H
15761 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15762 # 1. Remove the extension, and $U if already installed.
15763 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15764 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15766 # will be set to the directory where LIBOBJS objects are built.
15767 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15768 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15770 LIBOBJS
=$ac_libobjs
15772 LTLIBOBJS
=$ac_ltlibobjs
15776 : ${CONFIG_STATUS=./config.status}
15778 ac_clean_files_save
=$ac_clean_files
15779 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15780 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15781 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15782 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15784 # Generated by $as_me.
15785 # Run this file to recreate the current configuration.
15786 # Compiler output produced by configure, useful for debugging
15787 # configure, is in config.log if it exists.
15790 ac_cs_recheck=false
15792 SHELL=\${CONFIG_SHELL-$SHELL}
15795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15796 ## --------------------- ##
15797 ## M4sh Initialization. ##
15798 ## --------------------- ##
15800 # Be more Bourne compatible
15801 DUALCASE
=1; export DUALCASE
# for MKS sh
15802 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15805 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15806 # is contrary to our usage. Disable this feature.
15807 alias -g '${1+"$@"}'='"$@"'
15808 setopt NO_GLOB_SUBST
15810 case `(set -o) 2>/dev/null` in
15811 *posix
*) set -o posix
;;
15820 # Avoid depending upon Character Ranges.
15821 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15822 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15823 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15824 as_cr_digits
='0123456789'
15825 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15830 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15831 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15832 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15833 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15834 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15835 as_echo='printf %s
\n'
15836 as_echo_n='printf %s
'
15838 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15839 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15840 as_echo_n='/usr
/ucb
/echo -n'
15842 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15843 as_echo_n_body='eval
15847 expr "X$arg" : "X\\(.*\\)$as_nl";
15848 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15850 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15852 export as_echo_n_body
15853 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15855 export as_echo_body
15856 as_echo='sh
-c $as_echo_body as_echo
'
15859 # The user is always right.
15860 if test "${PATH_SEPARATOR+set}" != set; then
15862 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15863 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15868 # Support unset when possible.
15869 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15877 # We need space, tab and new line, in precisely that order. Quoting is
15878 # there to prevent editors from complaining about space-tab.
15879 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15880 # splitting by setting IFS to empty value.)
15883 # Find who we are. Look in the path if we contain no directory separator.
15885 *[\\/]* ) as_myself=$0 ;;
15886 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15887 for as_dir in $PATH
15890 test -z "$as_dir" && as_dir=.
15891 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15897 # We did not find ourselves, most probably we were run as `sh COMMAND'
15898 # in which case we are not to be found in the path.
15899 if test "x$as_myself" = x
; then
15902 if test ! -f "$as_myself"; then
15903 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15904 { (exit 1); exit 1; }
15907 # Work around bugs in pre-3.0 UWIN ksh.
15908 for as_var
in ENV MAIL MAILPATH
15909 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15921 # Required to use basename.
15922 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15923 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15929 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15930 as_basename
=basename
15936 # Name of the executable.
15937 as_me
=`$as_basename -- "$0" ||
15938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15939 X"$0" : 'X\(//\)$' \| \
15940 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15942 sed '/^.*\/\([^/][^/]*\)\/*$/{
15961 as_lineno_1
=$LINENO
15962 as_lineno_2
=$LINENO
15963 test "x$as_lineno_1" != "x$as_lineno_2" &&
15964 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15966 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15967 # uniformly replaced by the line number. The first 'sed' inserts a
15968 # line-number line after each line using $LINENO; the second 'sed'
15969 # does the real work. The second script uses 'N' to pair each
15970 # line-number line with the line containing $LINENO, and appends
15971 # trailing '-' during substitution so that $LINENO is not a special
15972 # case at line end.
15973 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15974 # scripts with optimization help from Paolo Bonzini. Blame Lee
15975 # E. McMahon (1931-1989) for sed's syntax. :-)
15987 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15990 ' >$as_me.lineno
&&
15991 chmod +x
"$as_me.lineno" ||
15992 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15993 { (exit 1); exit 1; }; }
15995 # Don't try to exec as it changes $[0], causing all sort of problems
15996 # (the dirname of $[0] is not the place where we might find the
15997 # original and so on. Autoconf is especially sensitive to this).
15998 .
"./$as_me.lineno"
15999 # Exit status is that of the last command.
16004 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16010 ECHO_C
= ECHO_N
= ECHO_T
=
16011 case `echo -n x` in
16013 case `echo 'x\c'` in
16014 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16020 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16021 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16027 rm -f conf$$ conf$$.exe conf$$.
file
16028 if test -d conf$$.dir
; then
16029 rm -f conf$$.dir
/conf$$.
file
16032 mkdir conf$$.dir
2>/dev
/null
16034 if (echo >conf$$.
file) 2>/dev
/null
; then
16035 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16037 # ... but there are two gotchas:
16038 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16039 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16040 # In both cases, we have to default to `cp -p'.
16041 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16043 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16051 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16052 rmdir conf$$.dir
2>/dev
/null
16054 if mkdir
-p .
2>/dev
/null
; then
16057 test -d .
/-p && rmdir .
/-p
16061 if test -x / >/dev
/null
2>&1; then
16062 as_test_x
='test -x'
16064 if ls -dL / >/dev
/null
2>&1; then
16071 if test -d "$1"; then
16077 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16078 ???[sx]*):;;*)false;;esac;fi
16082 as_executable_p
=$as_test_x
16084 # Sed expression to map a string onto a valid CPP name.
16085 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16087 # Sed expression to map a string onto a valid variable name.
16088 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16093 # Save the log message, to keep $[0] and so on meaningful, and to
16094 # report actual input values of CONFIG_FILES etc. instead of their
16095 # values after options handling.
16097 This file was extended by $as_me, which was
16098 generated by GNU Autoconf 2.63. Invocation command line was
16100 CONFIG_FILES = $CONFIG_FILES
16101 CONFIG_HEADERS = $CONFIG_HEADERS
16102 CONFIG_LINKS = $CONFIG_LINKS
16103 CONFIG_COMMANDS = $CONFIG_COMMANDS
16106 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16111 case $ac_config_files in *"
16112 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16115 case $ac_config_headers in *"
16116 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16121 # Files that config.status was made for.
16122 config_files="$ac_config_files"
16123 config_headers="$ac_config_headers"
16127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16129 \`$as_me' instantiates files from templates according to the
16130 current configuration.
16132 Usage: $0 [OPTION]... [FILE]...
16134 -h, --help print this help, then exit
16135 -V, --version print version number and configuration settings, then exit
16136 -q, --quiet, --silent
16137 do not print progress messages
16138 -d, --debug don't remove temporary files
16139 --recheck update $as_me by reconfiguring in the same conditions
16140 --file=FILE[:TEMPLATE]
16141 instantiate the configuration file FILE
16142 --header=FILE[:TEMPLATE]
16143 instantiate the configuration header FILE
16145 Configuration files:
16148 Configuration headers:
16151 Report bugs to <bug-autoconf@gnu.org>."
16154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16157 configured by $0, generated by GNU Autoconf 2.63,
16158 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16160 Copyright (C) 2008 Free Software Foundation, Inc.
16161 This config.status script is free software; the Free Software Foundation
16162 gives unlimited permission to copy, distribute and modify it."
16169 test -n "\$AWK" || AWK=awk
16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16173 # The default lists apply if the user does not specify any file.
16179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16180 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16191 # Handling of the options.
16192 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16194 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16195 $as_echo "$ac_cs_version"; exit ;;
16196 --debug |
--debu |
--deb |
--de |
--d |
-d )
16198 --file |
--fil |
--fi |
--f )
16201 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16203 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16204 ac_need_defaults
=false
;;
16205 --header |
--heade |
--head |
--hea )
16208 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16210 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16211 ac_need_defaults
=false
;;
16213 # Conflict between --help and --header
16214 { $as_echo "$as_me: error: ambiguous option: $1
16215 Try \`$0 --help' for more information." >&2
16216 { (exit 1); exit 1; }; };;
16217 --help |
--hel |
-h )
16218 $as_echo "$ac_cs_usage"; exit ;;
16219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16220 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16223 # This is an error.
16224 -*) { $as_echo "$as_me: error: unrecognized option: $1
16225 Try \`$0 --help' for more information." >&2
16226 { (exit 1); exit 1; }; } ;;
16228 *) ac_config_targets
="$ac_config_targets $1"
16229 ac_need_defaults
=false
;;
16235 ac_configure_extra_args
=
16237 if $ac_cs_silent; then
16239 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16244 if \$ac_cs_recheck; then
16245 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16247 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16248 CONFIG_SHELL='$SHELL'
16249 export CONFIG_SHELL
16254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16258 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16259 ## Running $as_me. ##
16265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16270 # Handling of arguments.
16271 for ac_config_target
in $ac_config_targets
16273 case $ac_config_target in
16274 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16275 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16276 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16277 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16278 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16279 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16280 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16281 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16282 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16283 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16284 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16285 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16286 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16287 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16288 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16289 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16290 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16291 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16292 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16293 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16294 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16295 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16296 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16297 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16298 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16299 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16300 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16301 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16302 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16303 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16304 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16305 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16306 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16307 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16308 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16309 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16311 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16312 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16313 { (exit 1); exit 1; }; };;
16318 # If the user did not use the arguments to specify the items to instantiate,
16319 # then the envvar interface is used. Set only those that are not.
16320 # We use the long form for the default assignment because of an extremely
16321 # bizarre bug on SunOS 4.1.3.
16322 if $ac_need_defaults; then
16323 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16324 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16327 # Have a temporary directory for convenience. Make it in the build tree
16328 # simply because there is no reason against having it here, and in addition,
16329 # creating and moving files from /tmp can sometimes cause problems.
16330 # Hook for its removal unless debugging.
16331 # Note that there is a small window in which the directory will not be cleaned:
16332 # after its creation but before its name has been assigned to `$tmp'.
16336 trap 'exit_status=$?
16337 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16339 trap '{ (exit 1); exit 1; }' 1 2 13 15
16341 # Create a (secure) tmp directory for tmp files.
16344 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16345 test -n "$tmp" && test -d "$tmp"
16348 tmp
=.
/conf$$
-$RANDOM
16349 (umask 077 && mkdir
"$tmp")
16352 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16353 { (exit 1); exit 1; }
16356 # Set up the scripts for CONFIG_FILES section.
16357 # No need to generate them if there are no CONFIG_FILES.
16358 # This happens for instance with `./config.status config.h'.
16359 if test -n "$CONFIG_FILES"; then
16363 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16367 ac_cs_awk_cr
=$ac_cr
16370 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16375 echo "cat >conf$$subs.awk <<_ACEOF" &&
16376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16378 } >conf$$subs.sh ||
16379 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16380 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16381 { (exit 1); exit 1; }; }
16382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16384 for ac_last_try in false false false false false :; do
16385 . ./conf$$subs.sh ||
16386 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16387 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16388 { (exit 1); exit 1; }; }
16390 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16391 if test $ac_delim_n = $ac_delim_num; then
16393 elif $ac_last_try; then
16394 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16395 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16396 { (exit 1); exit 1; }; }
16398 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16401 rm -f conf$$subs.sh
16403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16408 s/^/S["/; s
/!.
*/"]=/
16418 s/\(.\{148\}\).*/\1/
16420 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16425 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16432 s/\(.\{148\}\).*/\1/
16434 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16438 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16443 ' <conf$$subs.awk | sed '
16448 ' >>$CONFIG_STATUS || ac_write_fail=1
16449 rm -f conf$$subs.awk
16450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16452 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16453 for (key in S) S_is_set[key] = 1
16459 nfields = split(line, field, "@
")
16461 len = length(field[1])
16462 for (i = 2; i < nfields; i++) {
16464 keylen = length(key)
16465 if (S_is_set[key]) {
16467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16468 len += length(value) + length(field[++i])
16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16480 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16481 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16484 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16485 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16486 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16487 { (exit 1); exit 1; }; }
16490 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16491 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16492 # trailing colons and then remove the whole line if VPATH becomes empty
16493 # (actually we leave an empty line to preserve line numbers).
16494 if test "x
$srcdir" = x.; then
16495 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16496 s/:*\$(srcdir):*/:/
16497 s/:*\${srcdir}:*/:/
16499 s/^\([^=]*=[ ]*\):*/\1/
16505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16506 fi # test -n "$CONFIG_FILES"
16508 # Set up the scripts for CONFIG_HEADERS section.
16509 # No need to generate them if there are no CONFIG_HEADERS.
16510 # This happens for instance with `./config.status Makefile'.
16511 if test -n "$CONFIG_HEADERS"; then
16512 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16516 # Transform confdefs.h into an awk script `defines.awk', embedded as
16517 # here-document in config.status, that substitutes the proper values into
16518 # config.h.in to produce config.h.
16520 # Create a delimiter string that does not exist in confdefs.h, to ease
16521 # handling of long lines.
16523 for ac_last_try in false false :; do
16524 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16525 if test -z "$ac_t"; then
16527 elif $ac_last_try; then
16528 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16529 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16530 { (exit 1); exit 1; }; }
16532 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16536 # For the awk script, D is an array of macro values keyed by name,
16537 # likewise P contains macro parameters if any. Preserve backslash
16538 # newline sequences.
16540 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16542 s/.\{148\}/&'"$ac_delim"'/g
16545 s/^[ ]*#[ ]*define[ ][ ]*/ /
16552 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16554 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16559 D["\
1"]=" \
3\\\\\\n
"\\/p
16561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16566 s/.\{148\}/&'"$ac_delim"'/g
16571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16574 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16576 ' <confdefs.h | sed '
16577 s/'"$ac_delim"'/"\\\
16578 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16581 for (key in D) D_is_set[key] = 1
16584 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16586 split(line, arg, " ")
16587 if (arg[1] == "#") {
16591 defundef
= substr
(arg
[1], 2)
16594 split(mac1
, mac2
, "(") #)
16596 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16597 if (D_is_set
[macro
]) {
16598 # Preserve the white space surrounding the "#".
16599 print prefix
"define", macro P
[macro
] D
[macro
]
16602 # Replace #undef with comments. This is necessary, for example,
16603 # in the case of _POSIX_SOURCE, which is predefined and required
16604 # on some systems where configure will not decide to define it.
16605 if (defundef
== "undef") {
16606 print
"/*", prefix defundef
, macro
, "*/"
16614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16615 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16616 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16617 { (exit 1); exit 1; }; }
16618 fi # test -n "$CONFIG_HEADERS"
16621 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16626 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16628 case $ac_mode$ac_tag in
16630 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16631 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16632 { (exit 1); exit 1; }; };;
16633 :[FH
]-) ac_tag
=-:-;;
16634 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16651 -) ac_f
="$tmp/stdin";;
16652 *) # Look for the file first in the build tree, then in the source tree
16653 # (if the path is not absolute). The absolute path cannot be DOS-style,
16654 # because $ac_f cannot contain `:'.
16658 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16660 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16661 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16662 { (exit 1); exit 1; }; };;
16664 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16665 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16668 # Let's still pretend it is `configure' which instantiates (i.e., don't
16669 # use $as_me), people would be surprised to read:
16670 # /* config.h. Generated by config.status. */
16671 configure_input
='Generated from '`
16672 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16674 if test x
"$ac_file" != x-
; then
16675 configure_input
="$ac_file. $configure_input"
16676 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16677 $as_echo "$as_me: creating $ac_file" >&6;}
16679 # Neutralize special characters interpreted by sed in replacement strings.
16680 case $configure_input in #(
16681 *\
&* |
*\|
* |
*\\* )
16682 ac_sed_conf_input
=`$as_echo "$configure_input" |
16683 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16684 *) ac_sed_conf_input
=$configure_input;;
16688 *:-:* |
*:-) cat >"$tmp/stdin" \
16689 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16690 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16691 { (exit 1); exit 1; }; } ;;
16696 ac_dir
=`$as_dirname -- "$ac_file" ||
16697 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16698 X"$ac_file" : 'X\(//\)[^/]' \| \
16699 X"$ac_file" : 'X\(//\)$' \| \
16700 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16701 $as_echo X"$ac_file" |
16702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16706 /^X\(\/\/\)[^/].*/{
16721 -*) as_dir
=.
/$as_dir;;
16723 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16727 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16728 *) as_qdir
=$as_dir;;
16730 as_dirs
="'$as_qdir' $as_dirs"
16731 as_dir
=`$as_dirname -- "$as_dir" ||
16732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16733 X"$as_dir" : 'X\(//\)[^/]' \| \
16734 X"$as_dir" : 'X\(//\)$' \| \
16735 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16736 $as_echo X"$as_dir" |
16737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16741 /^X\(\/\/\)[^/].*/{
16754 test -d "$as_dir" && break
16756 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16757 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16758 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16759 { (exit 1); exit 1; }; }; }
16763 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16765 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16766 # A ".." for each directory in $ac_dir_suffix.
16767 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16768 case $ac_top_builddir_sub in
16769 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16770 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16773 ac_abs_top_builddir
=$ac_pwd
16774 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16775 # for backward compatibility:
16776 ac_top_builddir
=$ac_top_build_prefix
16779 .
) # We are building in place.
16781 ac_top_srcdir
=$ac_top_builddir_sub
16782 ac_abs_top_srcdir
=$ac_pwd ;;
16783 [\\/]* | ?
:[\\/]* ) # Absolute name.
16784 ac_srcdir
=$srcdir$ac_dir_suffix;
16785 ac_top_srcdir
=$srcdir
16786 ac_abs_top_srcdir
=$srcdir ;;
16787 *) # Relative name.
16788 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16789 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16790 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16792 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16802 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16803 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16805 ac_MKDIR_P
=$MKDIR_P
16807 [\\/$
]* | ?
:[\\/]* ) ;;
16808 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16813 # If the template does not know about datarootdir, expand it.
16814 # FIXME: This hack should be removed a few years after 2.60.
16815 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16828 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16829 *datarootdir
*) ac_datarootdir_seen
=yes;;
16830 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16831 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16832 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16835 ac_datarootdir_hack='
16836 s&@datadir@&$datadir&g
16837 s&@docdir@&$docdir&g
16838 s&@infodir@&$infodir&g
16839 s&@localedir@&$localedir&g
16840 s&@mandir@&$mandir&g
16841 s&\\\${datarootdir}&$datarootdir&g' ;;
16845 # Neutralize VPATH when `$srcdir' = `.'.
16846 # Shell code in configure.ac might set extrasub.
16847 # FIXME: do we really want to maintain this feature?
16848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16849 ac_sed_extra="$ac_vpsub
16852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16854 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16855 s|@configure_input@|
$ac_sed_conf_input|
;t t
16856 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16857 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16858 s
&@srcdir@
&$ac_srcdir&;t t
16859 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16860 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16861 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16862 s
&@builddir@
&$ac_builddir&;t t
16863 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16864 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16865 s
&@INSTALL@
&$ac_INSTALL&;t t
16866 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16867 $ac_datarootdir_hack
16869 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16870 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16871 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16872 { (exit 1); exit 1; }; }
16874 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16875 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16876 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16878 which seems to be undefined. Please make sure it is defined." >&5
16879 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16880 which seems to be undefined. Please make sure it is defined." >&2;}
16884 -) cat "$tmp/out" && rm -f "$tmp/out";;
16885 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16887 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16888 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16889 { (exit 1); exit 1; }; }
16895 if test x"$ac_file" != x-; then
16897 $as_echo "/* $configure_input */" \
16898 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16899 } >"$tmp/config.h" \
16900 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16901 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16902 { (exit 1); exit 1; }; }
16903 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16904 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16908 mv "$tmp/config.h" "$ac_file" \
16909 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16910 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16911 { (exit 1); exit 1; }; }
16914 $as_echo "/* $configure_input */" \
16915 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16916 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16917 $as_echo "$as_me: error: could not create -" >&2;}
16918 { (exit 1); exit 1; }; }
16928 { (exit 0); exit 0; }
16930 chmod +x $CONFIG_STATUS
16931 ac_clean_files=$ac_clean_files_save
16933 test $ac_write_fail = 0 ||
16934 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16935 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16936 { (exit 1); exit 1; }; }
16939 # configure is writing to config.log, and then calls config.status.
16940 # config.status does its own redirection, appending to config.log.
16941 # Unfortunately, on DOS this fails, as config.log is still kept open
16942 # by configure, so config.status won't be able to
write to it
; its
16943 # output is simply discarded. So we exec the FD to /dev/null,
16944 # effectively closing config.log, so it can be properly (re)opened and
16945 # appended to by config.status. When coming back to configure, we
16946 # need to make the FD available again.
16947 if test "$no_create" != yes; then
16949 ac_config_status_args
=
16950 test "$silent" = yes &&
16951 ac_config_status_args
="$ac_config_status_args --quiet"
16953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16956 # would make configure fail if this is the last instruction.
16957 $ac_cs_success ||
{ (exit 1); exit 1; }
16959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16960 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16961 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16965 if test x
$ODIRECT != xyes
; then
16966 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16967 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}