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
698 DEFAULT_BACKUP_SUBDIR
699 DEFAULT_ARCHIVE_SUBDIR
808 program_transform_name
820 enable_option_checking
839 with_cmirrord_pidfile
867 with_dmeventd_pidfile
870 with_default_system_dir
871 with_default_archive_subdir
872 with_default_backup_subdir
873 with_default_cache_subdir
874 with_default_locking_dir
877 ac_precious_vars
='build_alias
911 # Initialize some variables set by options.
913 ac_init_version
=false
914 ac_unrecognized_opts
=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
925 program_transform_name
=s
,x
,x
,
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir
='${exec_prefix}/bin'
940 sbindir
='${exec_prefix}/sbin'
941 libexecdir
='${exec_prefix}/libexec'
942 datarootdir
='${prefix}/share'
943 datadir
='${datarootdir}'
944 sysconfdir
='${prefix}/etc'
945 sharedstatedir
='${prefix}/com'
946 localstatedir
='${prefix}/var'
947 includedir
='${prefix}/include'
948 oldincludedir
='/usr/include'
949 docdir
='${datarootdir}/doc/${PACKAGE}'
950 infodir
='${datarootdir}/info'
955 libdir
='${exec_prefix}/lib'
956 localedir
='${datarootdir}/locale'
957 mandir
='${datarootdir}/man'
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\
$ac_option
971 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 # Accept the important Cygnus configure options, so we can diagnose typos.
977 case $ac_dashdash$ac_option in
981 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
983 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
986 -build |
--build |
--buil |
--bui |
--bu)
987 ac_prev
=build_alias
;;
988 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
989 build_alias
=$ac_optarg ;;
991 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
992 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
993 ac_prev
=cache_file
;;
994 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
995 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
996 cache_file
=$ac_optarg ;;
999 cache_file
=config.cache
;;
1001 -datadir |
--datadir |
--datadi |
--datad)
1003 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1004 datadir
=$ac_optarg ;;
1006 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1007 |
--dataroo |
--dataro |
--datar)
1008 ac_prev
=datarootdir
;;
1009 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1010 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1011 datarootdir
=$ac_optarg ;;
1013 -disable-* |
--disable-*)
1014 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=no
;;
1030 -docdir |
--docdir |
--docdi |
--doc |
--do)
1032 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1033 docdir
=$ac_optarg ;;
1035 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1037 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1038 dvidir
=$ac_optarg ;;
1040 -enable-* |
--enable-*)
1041 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=\
$ac_optarg ;;
1057 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1058 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1059 |
--exec |
--exe |
--ex)
1060 ac_prev
=exec_prefix
;;
1061 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1062 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1063 |
--exec=* |
--exe=* |
--ex=*)
1064 exec_prefix
=$ac_optarg ;;
1066 -gas |
--gas |
--ga |
--g)
1067 # Obsolete; use --with-gas.
1070 -help |
--help |
--hel |
--he |
-h)
1071 ac_init_help
=long
;;
1072 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1073 ac_init_help
=recursive
;;
1074 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1075 ac_init_help
=short
;;
1077 -host |
--host |
--hos |
--ho)
1078 ac_prev
=host_alias
;;
1079 -host=* |
--host=* |
--hos=* |
--ho=*)
1080 host_alias
=$ac_optarg ;;
1082 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1084 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1086 htmldir
=$ac_optarg ;;
1088 -includedir |
--includedir |
--includedi |
--included |
--include \
1089 |
--includ |
--inclu |
--incl |
--inc)
1090 ac_prev
=includedir
;;
1091 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1092 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1093 includedir
=$ac_optarg ;;
1095 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1097 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1098 infodir
=$ac_optarg ;;
1100 -libdir |
--libdir |
--libdi |
--libd)
1102 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1103 libdir
=$ac_optarg ;;
1105 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1106 |
--libexe |
--libex |
--libe)
1107 ac_prev
=libexecdir
;;
1108 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1109 |
--libexe=* |
--libex=* |
--libe=*)
1110 libexecdir
=$ac_optarg ;;
1112 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1113 ac_prev
=localedir
;;
1114 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1115 localedir
=$ac_optarg ;;
1117 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1118 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1119 ac_prev
=localstatedir
;;
1120 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1121 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1122 localstatedir
=$ac_optarg ;;
1124 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1126 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1127 mandir
=$ac_optarg ;;
1129 -nfp |
--nfp |
--nf)
1130 # Obsolete; use --without-fp.
1133 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1134 |
--no-cr |
--no-c |
-n)
1137 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1138 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1141 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1142 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1143 |
--oldin |
--oldi |
--old |
--ol |
--o)
1144 ac_prev
=oldincludedir
;;
1145 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1146 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1147 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1148 oldincludedir
=$ac_optarg ;;
1150 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1152 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1153 prefix
=$ac_optarg ;;
1155 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1156 |
--program-pre |
--program-pr |
--program-p)
1157 ac_prev
=program_prefix
;;
1158 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1159 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1160 program_prefix
=$ac_optarg ;;
1162 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1163 |
--program-suf |
--program-su |
--program-s)
1164 ac_prev
=program_suffix
;;
1165 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1166 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1167 program_suffix
=$ac_optarg ;;
1169 -program-transform-name |
--program-transform-name \
1170 |
--program-transform-nam |
--program-transform-na \
1171 |
--program-transform-n |
--program-transform- \
1172 |
--program-transform |
--program-transfor \
1173 |
--program-transfo |
--program-transf \
1174 |
--program-trans |
--program-tran \
1175 |
--progr-tra |
--program-tr |
--program-t)
1176 ac_prev
=program_transform_name
;;
1177 -program-transform-name=* |
--program-transform-name=* \
1178 |
--program-transform-nam=* |
--program-transform-na=* \
1179 |
--program-transform-n=* |
--program-transform-=* \
1180 |
--program-transform=* |
--program-transfor=* \
1181 |
--program-transfo=* |
--program-transf=* \
1182 |
--program-trans=* |
--program-tran=* \
1183 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1184 program_transform_name
=$ac_optarg ;;
1186 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1188 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1189 pdfdir
=$ac_optarg ;;
1191 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1193 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1196 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1197 |
-silent |
--silent |
--silen |
--sile |
--sil)
1200 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1202 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1204 sbindir
=$ac_optarg ;;
1206 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1207 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1208 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1210 ac_prev
=sharedstatedir
;;
1211 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1212 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1213 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1215 sharedstatedir
=$ac_optarg ;;
1217 -site |
--site |
--sit)
1219 -site=* |
--site=* |
--sit=*)
1222 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1224 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1225 srcdir
=$ac_optarg ;;
1227 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1228 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1229 ac_prev
=sysconfdir
;;
1230 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1231 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1232 sysconfdir
=$ac_optarg ;;
1234 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1235 ac_prev
=target_alias
;;
1236 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1237 target_alias
=$ac_optarg ;;
1239 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1242 -version |
--version |
--versio |
--versi |
--vers |
-V)
1243 ac_init_version
=: ;;
1246 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1249 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_useropt_orig
=$ac_useropt
1252 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1257 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep
=', ';;
1260 eval with_
$ac_useropt=\
$ac_optarg ;;
1262 -without-* |
--without-*)
1263 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=no
;;
1280 # Obsolete; use --with-x.
1283 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1284 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1285 ac_prev
=x_includes
;;
1286 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1287 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1288 x_includes
=$ac_optarg ;;
1290 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1291 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1292 ac_prev
=x_libraries
;;
1293 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1294 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1295 x_libraries
=$ac_optarg ;;
1297 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1298 Try \`$0 --help' for more information." >&2
1299 { (exit 1); exit 1; }; }
1303 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1306 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1307 { (exit 1); exit 1; }; }
1308 eval $ac_envvar=\
$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1322 if test -n "$ac_prev"; then
1323 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1324 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1325 { (exit 1); exit 1; }; }
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1331 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1332 { (exit 1); exit 1; }; } ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val
=\$
$ac_var
1344 # Remove trailing slashes.
1347 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\
$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1356 { (exit 1); exit 1; }; }
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1364 target
=$target_alias
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x
; then
1368 if test "x$build_alias" = x
; then
1369 cross_compiling
=maybe
1370 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1371 If a cross compiler is detected then cross compile mode will be used." >&2
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1380 test "$silent" = yes && exec 6>/dev
/null
1383 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di
=`ls -di .` &&
1385 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1386 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1387 { (exit 1); exit 1; }; }
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1390 { (exit 1); exit 1; }; }
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted
=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir
=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$as_myself" : 'X\(//\)[^/]' \| \
1400 X"$as_myself" : 'X\(//\)$' \| \
1401 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted
=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1429 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1430 { (exit 1); exit 1; }; }
1432 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1435 { (exit 1); exit 1; }; }
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures this package to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --build=BUILD configure
for building on BUILD
[guessed
]
1520 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1521 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1525 if test -n "$ac_init_help"; then
1530 --disable-option-checking ignore unrecognized
--enable/--with options
1531 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1532 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1533 --enable-static_link use this to link the tools to their libraries
1534 statically
(default is dynamic linking
1535 --enable-lvm1_fallback use this to fall back and use LVM1 binaries
if
1536 device-mapper is missing from the kernel
1537 --disable-readline disable readline support
1538 --enable-realtime enable realtime
clock support
1539 --enable-cmirrord enable the cluster mirror log daemon
1540 --enable-debug enable debugging
1541 --enable-profiling gather gcov profiling data
1542 --enable-testing enable testing targets
in the makefile
1543 --enable-valgrind-pool enable valgrind awareness of pools
1544 --disable-devmapper disable LVM2 device-mapper interaction
1545 --enable-udev_sync enable synchronisation with udev processing
1546 --enable-udev_rules install rule files needed
for udev synchronisation
1547 --enable-compat enable support
for old device-mapper versions
1548 --enable-units-compat enable output compatibility with old versions that
1549 that
do not use KiB-style unit suffixes
1550 --disable-driver disable calls to device-mapper
in the kernel
1551 --disable-o_direct disable O_DIRECT
1552 --enable-applib build application library
1553 --enable-cmdlib build shared
command library
1554 --enable-pkgconfig install pkgconfig support
1555 --enable-write_install install user writable files
1556 --disable-fsadm disable fsadm
1557 --enable-dmeventd enable the device-mapper event daemon
1558 --disable-selinux disable selinux support
1559 --enable-nls enable Native Language Support
1562 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1563 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1564 --with-user=USER
set the owner of installed files
[USER
=]
1565 --with-group=GROUP
set the group owner of installed files
[GROUP
=]
1566 --with-device-uid=UID
set the owner used
for new device nodes
[UID
=0]
1567 --with-device-gid=GID
set the group used
for new device nodes
[GID
=0]
1568 --with-device-mode=MODE
set the mode used
for new device nodes
[MODE
=0600]
1569 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1571 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1573 --with-cluster=TYPE cluster LVM locking support
: internal
/shared
/none
1575 --with-snapshots=TYPE snapshot support
: internal
/shared
/none
1577 --with-mirrors=TYPE mirror support
: internal
/shared
/none
1579 --with-replicators=TYPE replicator support
: internal
/shared
/none
1581 --with-clvmd=TYPE build cluster LVM Daemon
1582 The following cluster manager combinations are valid
:
1583 * cman
,gulm
(RHEL4 or equivalent
)
1584 * cman
(RHEL5 or equivalent
)
1585 * cman
,corosync
,openais
(or selection of them
)
1586 * singlenode
(localhost only
)
1588 * none
(disable build
)
1590 --with-clvmd-pidfile=PATH
1591 clvmd pidfile
[/var
/run
/clvmd.pid
]
1592 --with-cmirrord-pidfile=PATH
1593 cmirrord pidfile
[/var
/run
/cmirrord.pid
]
1594 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1595 --with-localedir=DIR translation files
in DIR
[PREFIX
/share
/locale
]
1596 --with-confdir=DIR configuration files
in DIR
[/etc
]
1597 --with-staticdir=DIR static binaries
in DIR
[EPREFIX
/sbin
]
1598 --with-usrlibdir=DIR usrlib
in DIR
[PREFIX
/lib
]
1599 --with-usrsbindir=DIR usrsbin executables
in DIR
[PREFIX
/sbin
]
1600 --with-udev-prefix=UPREFIX
1601 install udev rule files
in UPREFIX
[EPREFIX
]
1602 --with-udevdir=DIR udev rules
in DIR
[UPREFIX
/lib
/udev
/rules.d
]
1603 --with-dmeventd-pidfile=PATH
1604 dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1605 --with-dmeventd-path=PATH
1606 dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1607 --with-default-run-dir=DIR Default run directory
[/var
/run
/lvm
]
1608 --with-default-system-dir=DIR
1609 default LVM system directory
[/etc
/lvm
]
1610 --with-default-archive-subdir=SUBDIR
1611 default metadata archive subdir
[archive
]
1612 --with-default-backup-subdir=SUBDIR
1613 default metadata backup subdir
[backup
]
1614 --with-default-cache-subdir=SUBDIR
1615 default metadata cache subdir
[cache
]
1616 --with-default-locking-dir=DIR
1617 default locking directory
[/var
/lock
/lvm
]
1618 --with-interface=IFACE choose kernel interface
(ioctl
) [ioctl
]
1620 Some influential environment variables
:
1621 CC C compiler
command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1624 nonstandard directory
<lib dir
>
1625 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1626 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1627 you have headers
in a nonstandard directory
<include dir
>
1629 PKG_CONFIG path to pkg-config utility
1630 PKGCONFIGINIT_CFLAGS
1631 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1633 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1634 CCS_CFLAGS C compiler flags
for CCS
, overriding pkg-config
1635 CCS_LIBS linker flags
for CCS
, overriding pkg-config
1636 GULM_CFLAGS C compiler flags
for GULM
, overriding pkg-config
1637 GULM_LIBS linker flags
for GULM
, overriding pkg-config
1638 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1639 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1641 C compiler flags
for COROSYNC
, overriding pkg-config
1643 linker flags
for COROSYNC
, overriding pkg-config
1645 C compiler flags
for QUORUM
, overriding pkg-config
1646 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1648 C compiler flags
for SALCK
, overriding pkg-config
1649 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1651 C compiler flags
for CONFDB
, overriding pkg-config
1652 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1653 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1654 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1655 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1656 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1658 C compiler flags
for SACKPT
, overriding pkg-config
1659 SACKPT_LIBS linker flags
for SACKPT
, overriding pkg-config
1661 Use these variables to override the choices made by
`configure' or to help
1662 it to find libraries and programs with nonstandard names/locations.
1668 if test "$ac_init_help" = "recursive"; then
1669 # If there are subdirs, report their specific --help.
1670 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1671 test -d "$ac_dir" ||
1672 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1679 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1680 # A ".." for each directory in $ac_dir_suffix.
1681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1682 case $ac_top_builddir_sub in
1683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1687 ac_abs_top_builddir=$ac_pwd
1688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1689 # for backward compatibility:
1690 ac_top_builddir=$ac_top_build_prefix
1693 .) # We are building in place.
1695 ac_top_srcdir=$ac_top_builddir_sub
1696 ac_abs_top_srcdir=$ac_pwd ;;
1697 [\\/]* | ?:[\\/]* ) # Absolute name.
1698 ac_srcdir=$srcdir$ac_dir_suffix;
1699 ac_top_srcdir=$srcdir
1700 ac_abs_top_srcdir=$srcdir ;;
1702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1703 ac_top_srcdir=$ac_top_build_prefix$srcdir
1704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1708 cd "$ac_dir" || { ac_status=$?; continue; }
1709 # Check for guested configure.
1710 if test -f "$ac_srcdir/configure.gnu"; then
1712 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1713 elif test -f "$ac_srcdir/configure"; then
1715 $SHELL "$ac_srcdir/configure" --help=recursive
1717 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1719 cd "$ac_pwd" || { ac_status=$?; break; }
1723 test -n "$ac_init_help" && exit $ac_status
1724 if $ac_init_version; then
1727 generated by GNU Autoconf 2.63
1729 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1730 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1731 This configure script is free software; the Free Software Foundation
1732 gives unlimited permission to copy, distribute and modify it.
1736 cat >config.log <<_ACEOF
1737 This file contains any messages produced by compilers while
1738 running configure, to aid debugging if configure makes a mistake.
1740 It was created by $as_me, which was
1741 generated by GNU Autoconf 2.63. Invocation command line was
1753 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1754 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1755 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1756 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1757 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1759 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1760 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1762 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1763 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1764 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1765 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1766 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1767 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1768 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 $as_echo "PATH: $as_dir"
1793 # Keep a trace of the command line.
1794 # Strip out --no-create and --no-recursion so they do not pile up.
1795 # Strip out --silent because we don't want to record it for future runs.
1796 # Also quote any args containing shell meta-characters.
1797 # Make two passes to allow for proper duplicate-argument suppression.
1801 ac_must_keep_next=false
1807 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1809 | -silent | --silent | --silen | --sile | --sil)
1812 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1815 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1817 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1818 if test $ac_must_keep_next = true; then
1819 ac_must_keep_next=false # Got value, back to normal.
1822 *=* | --config-cache | -C | -disable-* | --disable-* \
1823 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1824 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1825 | -with-* | --with-* | -without-* | --without-* | --x)
1826 case "$ac_configure_args0 " in
1827 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1830 -* ) ac_must_keep_next=true ;;
1833 ac_configure_args="$ac_configure_args '$ac_arg'"
1838 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1839 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1841 # When interrupted or exit'd, cleanup temporary files, and complete
1842 # config.log. We remove comments because anyway the quotes in there
1843 # would cause problems or look ugly.
1844 # WARNING: Use '\'' to represent an apostrophe within the trap.
1845 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1846 trap 'exit_status=$?
1847 # Save into config.log some information that might help in debugging.
1852 ## ---------------- ##
1853 ## Cache variables. ##
1854 ## ---------------- ##
1857 # The following way of writing the cache mishandles newlines in values,
1859 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1860 eval ac_val=\$$ac_var
1864 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868 _ | IFS | as_nl) ;; #(
1869 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870 *) $as_unset $ac_var ;;
1875 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1876 *${as_nl}ac_space=\ *)
1878 "s/'\''/'\''\\\\'\'''\''/g;
1879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1890 ## ----------------- ##
1891 ## Output variables. ##
1892 ## ----------------- ##
1895 for ac_var in $ac_subst_vars
1897 eval ac_val=\$$ac_var
1899 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1901 $as_echo "$ac_var='\''$ac_val'\''"
1905 if test -n "$ac_subst_files"; then
1907 ## ------------------- ##
1908 ## File substitutions. ##
1909 ## ------------------- ##
1912 for ac_var in $ac_subst_files
1914 eval ac_val=\$$ac_var
1916 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1918 $as_echo "$ac_var='\''$ac_val'\''"
1923 if test -s confdefs.h; then
1933 test "$ac_signal" != 0 &&
1934 $as_echo "$as_me: caught signal $ac_signal"
1935 $as_echo "$as_me: exit $exit_status"
1937 rm -f core *.core core.conftest.* &&
1938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1941 for ac_signal in 1 2 13 15; do
1942 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1947 rm -f -r conftest* confdefs.h
1949 # Predefined preprocessor variables.
1951 cat >>confdefs.h <<_ACEOF
1952 #define PACKAGE_NAME "$PACKAGE_NAME"
1956 cat >>confdefs.h <<_ACEOF
1957 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1966 cat >>confdefs.h <<_ACEOF
1967 #define PACKAGE_STRING "$PACKAGE_STRING"
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1976 # Let the site file select an alternate cache file if it wants to.
1977 # Prefer an explicitly selected file to automatically selected ones.
1980 if test -n "$CONFIG_SITE"; then
1981 ac_site_file1=$CONFIG_SITE
1982 elif test "x$prefix" != xNONE; then
1983 ac_site_file1=$prefix/share/config.site
1984 ac_site_file2=$prefix/etc/config.site
1986 ac_site_file1=$ac_default_prefix/share/config.site
1987 ac_site_file2=$ac_default_prefix/etc/config.site
1989 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1991 test "x$ac_site_file" = xNONE && continue
1992 if test -r "$ac_site_file"; then
1993 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1994 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1995 sed 's/^/| /' "$ac_site_file" >&5
2000 if test -r "$cache_file"; then
2001 # Some versions of bash will fail to source /dev/null (special
2002 # files actually), so we avoid doing that.
2003 if test -f "$cache_file"; then
2004 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2005 $as_echo "$as_me: loading cache $cache_file" >&6;}
2007 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2008 *) . "./$cache_file";;
2012 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2013 $as_echo "$as_me: creating cache $cache_file" >&6;}
2017 # Check that the precious variables saved in the cache have kept the same
2019 ac_cache_corrupted=false
2020 for ac_var in $ac_precious_vars; do
2021 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2022 eval ac_new_set=\$ac_env_${ac_var}_set
2023 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2024 eval ac_new_val=\$ac_env_${ac_var}_value
2025 case $ac_old_set,$ac_new_set in
2027 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2028 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2029 ac_cache_corrupted=: ;;
2031 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2032 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2033 ac_cache_corrupted=: ;;
2036 if test "x$ac_old_val" != "x$ac_new_val"; then
2037 # differences in whitespace do not lead to failure.
2038 ac_old_val_w=`echo x
$ac_old_val`
2039 ac_new_val_w=`echo x
$ac_new_val`
2040 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2041 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2042 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2043 ac_cache_corrupted=:
2045 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2046 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2047 eval $ac_var=\$ac_old_val
2049 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2050 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2051 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2052 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2055 # Pass precious variables to config.status.
2056 if test "$ac_new_set" = set; then
2058 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2059 *) ac_arg=$ac_var=$ac_new_val ;;
2061 case " $ac_configure_args " in
2062 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2063 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2067 if $ac_cache_corrupted; then
2068 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2070 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2071 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2072 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2073 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2074 { (exit 1); exit 1; }; }
2094 ac_cpp='$CPP $CPPFLAGS'
2095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2101 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
2104 ################################################################################
2106 for ac_dir in autoconf "$srcdir"/autoconf; do
2107 if test -f "$ac_dir/install-sh
"; then
2109 ac_install_sh="$ac_aux_dir/install-sh
-c"
2111 elif test -f "$ac_dir/install.sh
"; then
2113 ac_install_sh="$ac_aux_dir/install.sh
-c"
2115 elif test -f "$ac_dir/shtool
"; then
2117 ac_install_sh="$ac_aux_dir/shtool
install -c"
2121 if test -z "$ac_aux_dir"; then
2122 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2123 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2124 { (exit 1); exit 1; }; }
2127 # These three variables are undocumented and unsupported,
2128 # and are intended to be withdrawn in a future Autoconf release.
2129 # They can cause serious problems if a builder's source tree is in a directory
2130 # whose full name contains unusual characters.
2131 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2132 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2133 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2137 ################################################################################
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2140 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2141 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2142 { (exit 1); exit 1; }; }
2144 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2145 $as_echo_n "checking build system
type...
" >&6; }
2146 if test "${ac_cv_build+set}" = set; then
2147 $as_echo_n "(cached
) " >&6
2149 ac_build_alias=$build_alias
2150 test "x
$ac_build_alias" = x &&
2151 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2152 test "x
$ac_build_alias" = x &&
2153 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2154 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2155 { (exit 1); exit 1; }; }
2156 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2157 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2158 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2159 { (exit 1); exit 1; }; }
2162 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2163 $as_echo "$ac_cv_build" >&6; }
2164 case $ac_cv_build in
2166 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2167 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2168 { (exit 1); exit 1; }; };;
2171 ac_save_IFS=$IFS; IFS='-'
2177 # Remember, the first character of IFS is used to create $*,
2178 # except with old shells:
2181 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2184 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2185 $as_echo_n "checking
host system
type...
" >&6; }
2186 if test "${ac_cv_host+set}" = set; then
2187 $as_echo_n "(cached
) " >&6
2189 if test "x
$host_alias" = x; then
2190 ac_cv_host=$ac_cv_build
2192 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2193 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2194 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2195 { (exit 1); exit 1; }; }
2199 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2200 $as_echo "$ac_cv_host" >&6; }
2203 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2204 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2205 { (exit 1); exit 1; }; };;
2208 ac_save_IFS=$IFS; IFS='-'
2214 # Remember, the first character of IFS is used to create $*,
2215 # except with old shells:
2218 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2221 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2222 $as_echo_n "checking target system
type...
" >&6; }
2223 if test "${ac_cv_target+set}" = set; then
2224 $as_echo_n "(cached
) " >&6
2226 if test "x
$target_alias" = x; then
2227 ac_cv_target=$ac_cv_host
2229 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2230 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2231 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2232 { (exit 1); exit 1; }; }
2236 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2237 $as_echo "$ac_cv_target" >&6; }
2238 case $ac_cv_target in
2240 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2241 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2242 { (exit 1); exit 1; }; };;
2244 target=$ac_cv_target
2245 ac_save_IFS=$IFS; IFS='-'
2251 # Remember, the first character of IFS is used to create $*,
2252 # except with old shells:
2255 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2258 # The aliases save the names the user supplied, while $host etc.
2259 # will get canonicalized.
2260 test -n "$target_alias" &&
2261 test "$program_prefix$program_suffix$program_transform_name" = \
2263 program_prefix=${target_alias}-
2268 COPTIMISE_FLAG="-O2"
2269 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2270 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2271 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2272 LDDEPS="$LDDEPS .
export.sym
"
2273 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2283 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2284 COPTIMISE_FLAG="-O2"
2285 CLDFLAGS="$CLDFLAGS"
2286 CLDWHOLEARCHIVE="-all_load"
2298 ################################################################################
2299 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2300 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2301 if test "${ac_cv_path_SED+set}" = set; then
2302 $as_echo_n "(cached
) " >&6
2304 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2305 for ac_i in 1 2 3 4 5 6 7; do
2306 ac_script="$ac_script$as_nl$ac_script"
2308 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2309 $as_unset ac_script || ac_script=
2310 if test -z "$SED"; then
2311 ac_path_SED_found=false
2312 # Loop through the user's path and test for each of PROGNAME-LIST
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_prog in sed gsed; do
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2321 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2322 # Check for GNU ac_path_SED and select it if it is found.
2323 # Check for GNU $ac_path_SED
2324 case `"$ac_path_SED" --version 2>&1` in
2326 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2329 $as_echo_n 0123456789 >"conftest.
in"
2332 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2333 mv "conftest.tmp
" "conftest.
in"
2334 cp "conftest.
in" "conftest.
nl"
2335 $as_echo '' >> "conftest.
nl"
2336 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2337 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2338 ac_count=`expr $ac_count + 1`
2339 if test $ac_count -gt ${ac_path_SED_max-0}; then
2340 # Best one so far, save it but keep looking for a better one
2341 ac_cv_path_SED="$ac_path_SED"
2342 ac_path_SED_max=$ac_count
2344 # 10*(2^10) chars as input seems more than enough
2345 test $ac_count -gt 10 && break
2347 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2350 $ac_path_SED_found && break 3
2355 if test -z "$ac_cv_path_SED"; then
2356 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2357 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2358 { (exit 1); exit 1; }; }
2365 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2366 $as_echo "$ac_cv_path_SED" >&6; }
2367 SED="$ac_cv_path_SED"
2370 for ac_prog in gawk mawk nawk awk
2372 # Extract the first word of "$ac_prog", so it can be a program name with args.
2373 set dummy $ac_prog; ac_word=$2
2374 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2375 $as_echo_n "checking
for $ac_word...
" >&6; }
2376 if test "${ac_cv_prog_AWK+set}" = set; then
2377 $as_echo_n "(cached
) " >&6
2379 if test -n "$AWK"; then
2380 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_AWK="$ac_prog"
2390 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2400 if test -n "$AWK"; then
2401 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2402 $as_echo "$AWK" >&6; }
2404 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2405 $as_echo "no
" >&6; }
2409 test -n "$AWK" && break
2413 ac_cpp='$CPP $CPPFLAGS'
2414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 if test -n "$ac_tool_prefix"; then
2418 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2419 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2420 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2421 $as_echo_n "checking
for $ac_word...
" >&6; }
2422 if test "${ac_cv_prog_CC+set}" = set; then
2423 $as_echo_n "(cached
) " >&6
2425 if test -n "$CC"; then
2426 ac_cv_prog_CC="$CC" # Let the user override the test.
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2436 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2446 if test -n "$CC"; then
2447 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2448 $as_echo "$CC" >&6; }
2450 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2451 $as_echo "no
" >&6; }
2456 if test -z "$ac_cv_prog_CC"; then
2458 # Extract the first word of "gcc
", so it can be a program name with args.
2459 set dummy gcc; ac_word=$2
2460 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2461 $as_echo_n "checking
for $ac_word...
" >&6; }
2462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2463 $as_echo_n "(cached
) " >&6
2465 if test -n "$ac_ct_CC"; then
2466 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_ac_ct_CC="gcc
"
2476 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486 if test -n "$ac_ct_CC"; then
2487 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2488 $as_echo "$ac_ct_CC" >&6; }
2490 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2491 $as_echo "no
" >&6; }
2494 if test "x
$ac_ct_CC" = x; then
2497 case $cross_compiling:$ac_tool_warned in
2499 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2500 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2501 ac_tool_warned=yes ;;
2509 if test -z "$CC"; then
2510 if test -n "$ac_tool_prefix"; then
2511 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}cc; ac_word=$2
2513 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2514 $as_echo_n "checking
for $ac_word...
" >&6; }
2515 if test "${ac_cv_prog_CC+set}" = set; then
2516 $as_echo_n "(cached
) " >&6
2518 if test -n "$CC"; then
2519 ac_cv_prog_CC="$CC" # Let the user override the test.
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2529 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2539 if test -n "$CC"; then
2540 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2541 $as_echo "$CC" >&6; }
2543 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2544 $as_echo "no
" >&6; }
2550 if test -z "$CC"; then
2551 # Extract the first word of "cc
", so it can be a program name with args.
2552 set dummy cc; ac_word=$2
2553 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2554 $as_echo_n "checking
for $ac_word...
" >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2556 $as_echo_n "(cached
) " >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC="$CC" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2570 ac_prog_rejected=yes
2574 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2581 if test $ac_prog_rejected = yes; then
2582 # We found a bogon in the path, so make sure we never use it.
2583 set dummy $ac_cv_prog_CC
2585 if test $# != 0; then
2586 # We chose a different compiler from the bogus one.
2587 # However, it has the same basename, so the bogon will be chosen
2588 # first if we set CC to just the basename; use the full file name.
2590 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2596 if test -n "$CC"; then
2597 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2598 $as_echo "$CC" >&6; }
2600 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2601 $as_echo "no
" >&6; }
2606 if test -z "$CC"; then
2607 if test -n "$ac_tool_prefix"; then
2608 for ac_prog in cl.exe
2610 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2611 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2612 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2613 $as_echo_n "checking
for $ac_word...
" >&6; }
2614 if test "${ac_cv_prog_CC+set}" = set; then
2615 $as_echo_n "(cached
) " >&6
2617 if test -n "$CC"; then
2618 ac_cv_prog_CC="$CC" # Let the user override the test.
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2628 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2638 if test -n "$CC"; then
2639 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2640 $as_echo "$CC" >&6; }
2642 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2643 $as_echo "no
" >&6; }
2647 test -n "$CC" && break
2650 if test -z "$CC"; then
2652 for ac_prog in cl.exe
2654 # Extract the first word of "$ac_prog", so it can be a program name with args.
2655 set dummy $ac_prog; ac_word=$2
2656 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2657 $as_echo_n "checking
for $ac_word...
" >&6; }
2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2659 $as_echo_n "(cached
) " >&6
2661 if test -n "$ac_ct_CC"; then
2662 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_ac_ct_CC="$ac_prog"
2672 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2682 if test -n "$ac_ct_CC"; then
2683 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2684 $as_echo "$ac_ct_CC" >&6; }
2686 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2687 $as_echo "no
" >&6; }
2691 test -n "$ac_ct_CC" && break
2694 if test "x
$ac_ct_CC" = x; then
2697 case $cross_compiling:$ac_tool_warned in
2699 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2700 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2701 ac_tool_warned=yes ;;
2710 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2712 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2713 See \`config.log' for more details.
" >&5
2714 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2715 See \
`config.log' for more details." >&2;}
2716 { (exit 1); exit 1; }; }; }
2718 # Provide some information about the compiler.
2719 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2722 { (ac_try="$ac_compiler --version >&5"
2724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2725 *) ac_try_echo
=$ac_try;;
2727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2728 $as_echo "$ac_try_echo") >&5
2729 (eval "$ac_compiler --version >&5") 2>&5
2731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }
2733 { (ac_try
="$ac_compiler -v >&5"
2735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2739 $as_echo "$ac_try_echo") >&5
2740 (eval "$ac_compiler -v >&5") 2>&5
2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }
2744 { (ac_try="$ac_compiler -V >&5"
2746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2747 *) ac_try_echo
=$ac_try;;
2749 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2750 $as_echo "$ac_try_echo") >&5
2751 (eval "$ac_compiler -V >&5") 2>&5
2753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }
2756 cat >conftest.
$ac_ext <<_ACEOF
2759 cat confdefs.h
>>conftest.
$ac_ext
2760 cat >>conftest.
$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2771 ac_clean_files_save
=$ac_clean_files
2772 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2773 # Try to create an executable without -o first, disregard a.out.
2774 # It will help us diagnose broken compilers, and finding out an intuition
2776 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
2778 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2780 # The possible output files:
2781 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2784 for ac_file
in $ac_files
2787 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2788 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2793 if { (ac_try
="$ac_link_default"
2795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2799 $as_echo "$ac_try_echo") >&5
2800 (eval "$ac_link_default") 2>&5
2802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; then
2804 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2805 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2806 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2807 # so that the user can short-circuit this test for compilers unknown to
2809 for ac_file in $ac_files ''
2811 test -f "$ac_file" || continue
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2816 # We found the default executable, but exeext='' is most
2820 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2822 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2824 # We set ac_cv_exeext here because the later test for it is not
2825 # safe: cross compilers may not add the suffix if given an `-o'
2826 # argument, so we may need to know it at that point already.
2827 # Even if this section looks crufty: it has the advantage of
2834 test "$ac_cv_exeext" = no && ac_cv_exeext=
2840 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2841 $as_echo "$ac_file" >&6; }
2842 if test -z "$ac_file"; then
2843 $as_echo "$as_me: failed program was:" >&5
2844 sed 's
/^
/|
/' conftest.$ac_ext >&5
2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2847 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2848 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2849 See \`config.log
' for more details." >&5
2850 $as_echo "$as_me: error: C compiler cannot create executables
2851 See \`config.log' for more details.
" >&2;}
2852 { (exit 77); exit 77; }; }; }
2855 ac_exeext=$ac_cv_exeext
2857 # Check that the compiler produces executables we can run. If not, either
2858 # the compiler is broken, or we cross compile.
2859 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2860 $as_echo_n "checking whether the C compiler works...
" >&6; }
2861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2862 # If not cross compiling, check that we can run a simple program.
2863 if test "$cross_compiling" != yes; then
2864 if { ac_try='./$ac_file'
2865 { (case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2870 $as_echo "$ac_try_echo") >&5
2871 (eval "$ac_try") 2>&5
2873 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2874 (exit $ac_status); }; }; then
2877 if test "$cross_compiling" = maybe; then
2880 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2883 If you meant to cross compile, use \`--host'.
2884 See \
`config.log' for more details." >&5
2885 $as_echo "$as_me: error: cannot run C compiled programs.
2886 If you meant to cross compile, use \`--host'.
2887 See \`config.log' for more details.
" >&2;}
2888 { (exit 1); exit 1; }; }; }
2892 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2893 $as_echo "yes" >&6; }
2895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2896 ac_clean_files=$ac_clean_files_save
2897 # Check that the compiler produces executables we can run. If not, either
2898 # the compiler is broken, or we cross compile.
2899 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2900 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2901 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2902 $as_echo "$cross_compiling" >&6; }
2904 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2905 $as_echo_n "checking
for suffix of executables...
" >&6; }
2906 if { (ac_try="$ac_link"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913 (eval "$ac_link") 2>&5
2915 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2916 (exit $ac_status); }; then
2917 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2918 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2919 # work properly (i.e., refer to `conftest.exe'), while it won't with
2921 for ac_file in conftest.exe conftest conftest.*; do
2922 test -f "$ac_file" || continue
2924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2925 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2931 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2934 See \`config.log' for more details.
" >&5
2935 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2936 See \
`config.log' for more details." >&2;}
2937 { (exit 1); exit 1; }; }; }
2940 rm -f conftest$ac_cv_exeext
2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2942 $as_echo "$ac_cv_exeext" >&6; }
2944 rm -f conftest.$ac_ext
2945 EXEEXT=$ac_cv_exeext
2947 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2948 $as_echo_n "checking for suffix of object files... " >&6; }
2949 if test "${ac_cv_objext+set}" = set; then
2950 $as_echo_n "(cached) " >&6
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 rm -f conftest.o conftest.obj
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2971 *) ac_try_echo
=$ac_try;;
2973 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2974 $as_echo "$ac_try_echo") >&5
2975 (eval "$ac_compile") 2>&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; then
2979 for ac_file
in conftest.o conftest.obj conftest.
*; do
2980 test -f "$ac_file" ||
continue;
2982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2983 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.
$ac_ext >&5
2991 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log' for more details." >&5
2995 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details." >&2;}
2997 { (exit 1); exit 1; }; }; }
3000 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3002 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3003 $as_echo "$ac_cv_objext" >&6; }
3004 OBJEXT
=$ac_cv_objext
3006 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3007 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 $as_echo_n "(cached) " >&6
3011 cat >conftest.
$ac_ext <<_ACEOF
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.
$ac_objext
3030 if { (ac_try
="$ac_compile"
3032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3036 $as_echo "$ac_try_echo") >&5
3037 (eval "$ac_compile") 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest.$ac_objext; then
3049 $as_echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3060 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3061 if test $ac_compiler_gnu = yes; then
3066 ac_test_CFLAGS=${CFLAGS+set}
3067 ac_save_CFLAGS=$CFLAGS
3068 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3069 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3070 if test "${ac_cv_prog_cc_g+set}" = set; then
3071 $as_echo_n "(cached) " >&6
3073 ac_save_c_werror_flag=$ac_c_werror_flag
3074 ac_c_werror_flag=yes
3077 cat >conftest.$ac_ext <<_ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3092 rm -f conftest.$ac_objext
3093 if { (ac_try="$ac_compile"
3095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3096 *) ac_try_echo
=$ac_try;;
3098 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3099 $as_echo "$ac_try_echo") >&5
3100 (eval "$ac_compile") 2>conftest.er1
3102 grep -v '^ *+' conftest.er1
>conftest.err
3104 cat conftest.err
>&5
3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } && {
3107 test -z "$ac_c_werror_flag" ||
3108 test ! -s conftest.err
3109 } && test -s conftest.
$ac_objext; then
3112 $as_echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.
$ac_ext >&5
3116 cat >conftest.
$ac_ext <<_ACEOF
3119 cat confdefs.h
>>conftest.
$ac_ext
3120 cat >>conftest.
$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3131 rm -f conftest.
$ac_objext
3132 if { (ac_try
="$ac_compile"
3134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3138 $as_echo "$ac_try_echo") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3151 $as_echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 ac_c_werror_flag=$ac_save_c_werror_flag
3156 cat >conftest.$ac_ext <<_ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3175 *) ac_try_echo
=$ac_try;;
3177 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3178 $as_echo "$ac_try_echo") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3181 grep -v '^ *+' conftest.er1
>conftest.err
3183 cat conftest.err
>&5
3184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.
$ac_objext; then
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.
$ac_ext >&5
3197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3204 ac_c_werror_flag
=$ac_save_c_werror_flag
3206 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207 $as_echo "$ac_cv_prog_cc_g" >&6; }
3208 if test "$ac_test_CFLAGS" = set; then
3209 CFLAGS
=$ac_save_CFLAGS
3210 elif test $ac_cv_prog_cc_g = yes; then
3211 if test "$GCC" = yes; then
3217 if test "$GCC" = yes; then
3223 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3224 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3225 if test "${ac_cv_prog_cc_c89+set}" = set; then
3226 $as_echo_n "(cached) " >&6
3228 ac_cv_prog_cc_c89
=no
3230 cat >conftest.
$ac_ext <<_ACEOF
3233 cat confdefs.h
>>conftest.
$ac_ext
3234 cat >>conftest.
$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3238 #include <sys/types.h>
3239 #include <sys/stat.h>
3240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3241 struct buf { int x; };
3242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3243 static char *e (p, i)
3249 static char *f (char * (*g) (char **, int), char **p, ...)
3254 s = g (p, va_arg (v,int));
3259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3260 function prototypes and stuff, but not '\xHH' hex character constants.
3261 These don't provoke an error unfortunately, instead are silently treated
3262 as 'x'. The following induces an error, until -std is added to get
3263 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3264 array size at least. It's necessary to write '\x00'==0 to get something
3265 that's true only with -std. */
3266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3268 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3269 inside strings and character constants. */
3271 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3273 int test (int i, double x);
3274 struct s1 {int (*f) (int a);};
3275 struct s2 {int (*f) (double a);};
3276 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3282 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3287 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3288 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3290 CC
="$ac_save_CC $ac_arg"
3291 rm -f conftest.
$ac_objext
3292 if { (ac_try
="$ac_compile"
3294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3298 $as_echo "$ac_try_echo") >&5
3299 (eval "$ac_compile") 2>conftest.er1
3301 grep -v '^ *+' conftest.er1 >conftest.err
3303 cat conftest.err >&5
3304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } && {
3306 test -z "$ac_c_werror_flag" ||
3307 test ! -s conftest.err
3308 } && test -s conftest.$ac_objext; then
3309 ac_cv_prog_cc_c89=$ac_arg
3311 $as_echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3317 rm -f core conftest.err conftest.$ac_objext
3318 test "x$ac_cv_prog_cc_c89" != "xno" && break
3320 rm -f conftest.$ac_ext
3325 case "x$ac_cv_prog_cc_c89" in
3327 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3328 $as_echo "none needed" >&6; } ;;
3330 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3331 $as_echo "unsupported" >&6; } ;;
3333 CC="$CC $ac_cv_prog_cc_c89"
3334 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3340 ac_cpp='$CPP $CPPFLAGS'
3341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 ac_cpp='$CPP $CPPFLAGS'
3349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3353 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3354 # On Suns, sometimes $CPP names a directory.
3355 if test -n "$CPP" && test -d "$CPP"; then
3358 if test -z "$CPP"; then
3359 if test "${ac_cv_prog_CPP+set}" = set; then
3360 $as_echo_n "(cached) " >&6
3362 # Double quotes because CPP needs to be expanded
3363 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3366 for ac_c_preproc_warn_flag in '' yes
3368 # Use a header file that comes with gcc, so configuring glibc
3369 # with a fresh cross-compiler works.
3370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371 # <limits.h> exists even on freestanding compilers.
3372 # On the NeXT, cc -E runs the code through the compiler's parser,
3373 # not just through cpp. "Syntax error" is here to catch this case.
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3381 # include <limits.h>
3383 # include <assert.h>
3387 if { (ac_try="$ac_cpp conftest.$ac_ext"
3389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3390 *) ac_try_echo
=$ac_try;;
3392 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3393 $as_echo "$ac_try_echo") >&5
3394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1
>conftest.err
3398 cat conftest.err
>&5
3399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } >/dev
/null
&& {
3401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3406 $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.
$ac_ext >&5
3409 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.
$ac_ext
3415 # OK, works on sane cases. Now check whether nonexistent headers
3416 # can be detected and how.
3417 cat >conftest.
$ac_ext <<_ACEOF
3420 cat confdefs.h
>>conftest.
$ac_ext
3421 cat >>conftest.
$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3423 #include <ac_nonexistent.h>
3425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3431 $as_echo "$ac_try_echo") >&5
3432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3434 grep -v '^ *+' conftest.er1 >conftest.err
3436 cat conftest.err >&5
3437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); } >/dev/null && {
3439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3440 test ! -s conftest.err
3442 # Broken: success on invalid input.
3445 $as_echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3448 # Passes both tests.
3453 rm -f conftest.err conftest.$ac_ext
3456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3457 rm -f conftest.err conftest.
$ac_ext
3458 if $ac_preproc_ok; then
3470 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3471 $as_echo "$CPP" >&6; }
3473 for ac_c_preproc_warn_flag
in '' yes
3475 # Use a header file that comes with gcc, so configuring glibc
3476 # with a fresh cross-compiler works.
3477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3478 # <limits.h> exists even on freestanding compilers.
3479 # On the NeXT, cc -E runs the code through the compiler's parser,
3480 # not just through cpp. "Syntax error" is here to catch this case.
3481 cat >conftest.
$ac_ext <<_ACEOF
3484 cat confdefs.h
>>conftest.
$ac_ext
3485 cat >>conftest.
$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3488 # include <limits.h>
3490 # include <assert.h>
3494 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3500 $as_echo "$ac_try_echo") >&5
3501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3503 grep -v '^ *+' conftest.er1 >conftest.err
3505 cat conftest.err >&5
3506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null && {
3508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3509 test ! -s conftest.err
3513 $as_echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3516 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 #include <ac_nonexistent.h>
3532 if { (ac_try="$ac_cpp conftest.$ac_ext"
3534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3535 *) ac_try_echo
=$ac_try;;
3537 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3538 $as_echo "$ac_try_echo") >&5
3539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } >/dev
/null
&& {
3546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3547 test ! -s conftest.err
3549 # Broken: success on invalid input.
3552 $as_echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.
$ac_ext >&5
3555 # Passes both tests.
3560 rm -f conftest.err conftest.
$ac_ext
3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3564 rm -f conftest.err conftest.
$ac_ext
3565 if $ac_preproc_ok; then
3568 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3571 See \`config.log' for more details." >&5
3572 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3573 See \`config.log' for more details." >&2;}
3574 { (exit 1); exit 1; }; }; }
3578 ac_cpp
='$CPP $CPPFLAGS'
3579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3584 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3585 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3586 if test "${ac_cv_path_GREP+set}" = set; then
3587 $as_echo_n "(cached) " >&6
3589 if test -z "$GREP"; then
3590 ac_path_GREP_found
=false
3591 # Loop through the user's path and test for each of PROGNAME-LIST
3592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3596 test -z "$as_dir" && as_dir
=.
3597 for ac_prog
in grep ggrep
; do
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3600 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3601 # Check for GNU ac_path_GREP and select it if it is found.
3602 # Check for GNU $ac_path_GREP
3603 case `"$ac_path_GREP" --version 2>&1` in
3605 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3608 $as_echo_n 0123456789 >"conftest.in"
3611 cat "conftest.in" "conftest.in" >"conftest.tmp"
3612 mv "conftest.tmp" "conftest.in"
3613 cp "conftest.in" "conftest.nl"
3614 $as_echo 'GREP' >> "conftest.nl"
3615 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3616 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3617 ac_count
=`expr $ac_count + 1`
3618 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3619 # Best one so far, save it but keep looking for a better one
3620 ac_cv_path_GREP
="$ac_path_GREP"
3621 ac_path_GREP_max
=$ac_count
3623 # 10*(2^10) chars as input seems more than enough
3624 test $ac_count -gt 10 && break
3626 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3629 $ac_path_GREP_found && break 3
3634 if test -z "$ac_cv_path_GREP"; then
3635 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3636 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3637 { (exit 1); exit 1; }; }
3640 ac_cv_path_GREP
=$GREP
3644 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3645 $as_echo "$ac_cv_path_GREP" >&6; }
3646 GREP
="$ac_cv_path_GREP"
3649 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3650 $as_echo_n "checking for egrep... " >&6; }
3651 if test "${ac_cv_path_EGREP+set}" = set; then
3652 $as_echo_n "(cached) " >&6
3654 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3655 then ac_cv_path_EGREP
="$GREP -E"
3657 if test -z "$EGREP"; then
3658 ac_path_EGREP_found
=false
3659 # Loop through the user's path and test for each of PROGNAME-LIST
3660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3664 test -z "$as_dir" && as_dir
=.
3665 for ac_prog
in egrep; do
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3668 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3669 # Check for GNU ac_path_EGREP and select it if it is found.
3670 # Check for GNU $ac_path_EGREP
3671 case `"$ac_path_EGREP" --version 2>&1` in
3673 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3676 $as_echo_n 0123456789 >"conftest.in"
3679 cat "conftest.in" "conftest.in" >"conftest.tmp"
3680 mv "conftest.tmp" "conftest.in"
3681 cp "conftest.in" "conftest.nl"
3682 $as_echo 'EGREP' >> "conftest.nl"
3683 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3684 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3685 ac_count
=`expr $ac_count + 1`
3686 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3687 # Best one so far, save it but keep looking for a better one
3688 ac_cv_path_EGREP
="$ac_path_EGREP"
3689 ac_path_EGREP_max
=$ac_count
3691 # 10*(2^10) chars as input seems more than enough
3692 test $ac_count -gt 10 && break
3694 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3697 $ac_path_EGREP_found && break 3
3702 if test -z "$ac_cv_path_EGREP"; then
3703 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3704 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3705 { (exit 1); exit 1; }; }
3708 ac_cv_path_EGREP
=$EGREP
3713 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3714 $as_echo "$ac_cv_path_EGREP" >&6; }
3715 EGREP
="$ac_cv_path_EGREP"
3718 if test $ac_cv_c_compiler_gnu = yes; then
3719 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3720 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3721 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3722 $as_echo_n "(cached) " >&6
3724 ac_pattern
="Autoconf.*'x'"
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3735 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3736 ac_cv_prog_gcc_traditional
=yes
3738 ac_cv_prog_gcc_traditional
=no
3743 if test $ac_cv_prog_gcc_traditional = no
; then
3744 cat >conftest.
$ac_ext <<_ACEOF
3747 cat confdefs.h
>>conftest.
$ac_ext
3748 cat >>conftest.
$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3754 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3755 ac_cv_prog_gcc_traditional
=yes
3761 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3762 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3763 if test $ac_cv_prog_gcc_traditional = yes; then
3764 CC
="$CC -traditional"
3768 # Find a good install program. We prefer a C program (faster),
3769 # so one script is as good as another. But avoid the broken or
3770 # incompatible versions:
3771 # SysV /etc/install, /usr/sbin/install
3772 # SunOS /usr/etc/install
3773 # IRIX /sbin/install
3775 # AmigaOS /C/install, which installs bootblocks on floppy discs
3776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3779 # OS/2's system install, which has a completely different semantic
3780 # ./install, which can be erroneously created by make from ./install.sh.
3781 # Reject install programs that cannot install multiple files.
3782 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3783 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3784 if test -z "$INSTALL"; then
3785 if test "${ac_cv_path_install+set}" = set; then
3786 $as_echo_n "(cached) " >&6
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 # Account for people who put trailing slashes in PATH elements.
3795 .
/ | .
// |
/cC
/* | \
3796 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3797 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3800 # OSF1 and SCO ODT 3.0 have their own names for install.
3801 # Don't use installbsd from OSF since it installs stuff as root
3803 for ac_prog
in ginstall scoinst
install; do
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3806 if test $ac_prog = install &&
3807 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3808 # AIX install. It has an incompatible calling convention.
3810 elif test $ac_prog = install &&
3811 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3812 # program-specific install script used by HP pwplus--don't use.
3815 rm -rf conftest.one conftest.two conftest.dir
3816 echo one
> conftest.one
3817 echo two
> conftest.two
3819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3820 test -s conftest.one
&& test -s conftest.two
&&
3821 test -s conftest.dir
/conftest.one
&&
3822 test -s conftest.dir
/conftest.two
3824 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3837 rm -rf conftest.one conftest.two conftest.dir
3840 if test "${ac_cv_path_install+set}" = set; then
3841 INSTALL
=$ac_cv_path_install
3843 # As a last resort, use the slow shell script. Don't cache a
3844 # value for INSTALL within a source directory, because that will
3845 # break other packages using the cache if that directory is
3846 # removed, or if the value is a relative name.
3847 INSTALL
=$ac_install_sh
3850 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3851 $as_echo "$INSTALL" >&6; }
3853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3854 # It thinks the first close brace ends the variable substitution.
3855 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3857 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3859 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3861 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3862 $as_echo_n "checking whether ln -s works... " >&6; }
3864 if test "$LN_S" = "ln -s"; then
3865 { $as_echo "$as_me:$LINENO: result: yes" >&5
3866 $as_echo "yes" >&6; }
3868 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3869 $as_echo "no, using $LN_S" >&6; }
3872 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3873 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3875 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3876 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3877 $as_echo_n "(cached) " >&6
3879 cat >conftest.
make <<\_ACEOF
3882 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3884 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3885 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3887 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3889 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3893 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3894 { $as_echo "$as_me:$LINENO: result: yes" >&5
3895 $as_echo "yes" >&6; }
3898 { $as_echo "$as_me:$LINENO: result: no" >&5
3899 $as_echo "no" >&6; }
3900 SET_MAKE
="MAKE=${MAKE-make}"
3903 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3904 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3905 if test -z "$MKDIR_P"; then
3906 if test "${ac_cv_path_mkdir+set}" = set; then
3907 $as_echo_n "(cached) " >&6
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3913 test -z "$as_dir" && as_dir
=.
3914 for ac_prog
in mkdir gmkdir
; do
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3917 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3918 'mkdir (GNU coreutils) '* | \
3919 'mkdir (coreutils) '* | \
3920 'mkdir (fileutils) '4.1*)
3921 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3931 if test "${ac_cv_path_mkdir+set}" = set; then
3932 MKDIR_P
="$ac_cv_path_mkdir -p"
3934 # As a last resort, use the slow shell script. Don't cache a
3935 # value for MKDIR_P within a source directory, because that will
3936 # break other packages using the cache if that directory is
3937 # removed, or if the value is a relative name.
3938 test -d .
/--version && rmdir .
/--version
3939 MKDIR_P
="$ac_install_sh -d"
3942 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3943 $as_echo "$MKDIR_P" >&6; }
3945 if test -n "$ac_tool_prefix"; then
3946 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3947 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3948 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_RANLIB+set}" = set; then
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$RANLIB"; then
3954 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3964 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 RANLIB
=$ac_cv_prog_RANLIB
3974 if test -n "$RANLIB"; then
3975 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3976 $as_echo "$RANLIB" >&6; }
3978 { $as_echo "$as_me:$LINENO: result: no" >&5
3979 $as_echo "no" >&6; }
3984 if test -z "$ac_cv_prog_RANLIB"; then
3985 ac_ct_RANLIB
=$RANLIB
3986 # Extract the first word of "ranlib", so it can be a program name with args.
3987 set dummy ranlib
; ac_word
=$2
3988 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3991 $as_echo_n "(cached) " >&6
3993 if test -n "$ac_ct_RANLIB"; then
3994 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4003 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4004 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4014 if test -n "$ac_ct_RANLIB"; then
4015 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4016 $as_echo "$ac_ct_RANLIB" >&6; }
4018 { $as_echo "$as_me:$LINENO: result: no" >&5
4019 $as_echo "no" >&6; }
4022 if test "x$ac_ct_RANLIB" = x
; then
4025 case $cross_compiling:$ac_tool_warned in
4027 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4029 ac_tool_warned
=yes ;;
4031 RANLIB
=$ac_ct_RANLIB
4034 RANLIB
="$ac_cv_prog_RANLIB"
4037 # Extract the first word of "cflow", so it can be a program name with args.
4038 set dummy cflow
; ac_word
=$2
4039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4042 $as_echo_n "(cached) " >&6
4046 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4056 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4057 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4068 if test -n "$CFLOW_CMD"; then
4069 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4070 $as_echo "$CFLOW_CMD" >&6; }
4072 { $as_echo "$as_me:$LINENO: result: no" >&5
4073 $as_echo "no" >&6; }
4077 # Extract the first word of "cscope", so it can be a program name with args.
4078 set dummy cscope
; ac_word
=$2
4079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4082 $as_echo_n "(cached) " >&6
4086 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4108 if test -n "$CSCOPE_CMD"; then
4109 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4110 $as_echo "$CSCOPE_CMD" >&6; }
4112 { $as_echo "$as_me:$LINENO: result: no" >&5
4113 $as_echo "no" >&6; }
4118 ################################################################################
4125 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4126 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4127 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4128 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4129 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4130 $as_echo_n "(cached) " >&6
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4138 #include <sys/types.h>
4150 rm -f conftest.
$ac_objext
4151 if { (ac_try
="$ac_compile"
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4157 $as_echo "$ac_try_echo") >&5
4158 (eval "$ac_compile") 2>conftest.er1
4160 grep -v '^ *+' conftest.er1 >conftest.err
4162 cat conftest.err >&5
4163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } && {
4165 test -z "$ac_c_werror_flag" ||
4166 test ! -s conftest.err
4167 } && test -s conftest.$ac_objext; then
4168 eval "$as_ac_Header=yes"
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 eval "$as_ac_Header=no"
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_res=`eval 'as_val=${'$as_ac_Header'}
4179 $as_echo "$as_val"'`
4180 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4181 $as_echo "$ac_res" >&6; }
4182 as_val=`eval 'as_val=${'$as_ac_Header'}
4183 $as_echo "$as_val"'`
4184 if test "x$as_val" = x""yes; then
4185 cat >>confdefs.h <<_ACEOF
4186 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4189 ac_header_dirent=$ac_hdr; break
4193 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4194 if test $ac_header_dirent = dirent.h; then
4195 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4196 $as_echo_n "checking for library containing opendir... " >&6; }
4197 if test "${ac_cv_search_opendir+set}" = set; then
4198 $as_echo_n "(cached) " >&6
4200 ac_func_search_save_LIBS=$LIBS
4201 cat >conftest.$ac_ext <<_ACEOF
4204 cat confdefs.h >>conftest.$ac_ext
4205 cat >>conftest.$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4208 /* Override any GCC internal prototype to avoid an error.
4209 Use char because int might match the return type of a GCC
4210 builtin and then its argument prototype would still apply. */
4223 for ac_lib in '' dir; do
4224 if test -z "$ac_lib"; then
4225 ac_res="none required"
4228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4230 rm -f conftest.$ac_objext conftest$ac_exeext
4231 if { (ac_try="$ac_link"
4233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4234 *) ac_try_echo
=$ac_try;;
4236 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4237 $as_echo "$ac_try_echo") >&5
4238 (eval "$ac_link") 2>conftest.er1
4240 grep -v '^ *+' conftest.er1
>conftest.err
4242 cat conftest.err
>&5
4243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest
$ac_exeext && {
4248 test "$cross_compiling" = yes ||
4249 $as_test_x conftest
$ac_exeext
4251 ac_cv_search_opendir
=$ac_res
4253 $as_echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.
$ac_ext >&5
4259 rm -rf conftest.dSYM
4260 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4262 if test "${ac_cv_search_opendir+set}" = set; then
4266 if test "${ac_cv_search_opendir+set}" = set; then
4269 ac_cv_search_opendir
=no
4272 LIBS
=$ac_func_search_save_LIBS
4274 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4275 $as_echo "$ac_cv_search_opendir" >&6; }
4276 ac_res
=$ac_cv_search_opendir
4277 if test "$ac_res" != no
; then
4278 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4283 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4284 $as_echo_n "checking for library containing opendir... " >&6; }
4285 if test "${ac_cv_search_opendir+set}" = set; then
4286 $as_echo_n "(cached) " >&6
4288 ac_func_search_save_LIBS
=$LIBS
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4296 /* Override any GCC internal prototype to avoid an error.
4297 Use char because int might match the return type of a GCC
4298 builtin and then its argument prototype would still apply. */
4311 for ac_lib
in '' x
; do
4312 if test -z "$ac_lib"; then
4313 ac_res
="none required"
4316 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4318 rm -f conftest.
$ac_objext conftest
$ac_exeext
4319 if { (ac_try
="$ac_link"
4321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4325 $as_echo "$ac_try_echo") >&5
4326 (eval "$ac_link") 2>conftest.er1
4328 grep -v '^ *+' conftest.er1 >conftest.err
4330 cat conftest.err >&5
4331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } && {
4333 test -z "$ac_c_werror_flag" ||
4334 test ! -s conftest.err
4335 } && test -s conftest$ac_exeext && {
4336 test "$cross_compiling" = yes ||
4337 $as_test_x conftest$ac_exeext
4339 ac_cv_search_opendir=$ac_res
4341 $as_echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4347 rm -rf conftest.dSYM
4348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4350 if test "${ac_cv_search_opendir+set}" = set; then
4354 if test "${ac_cv_search_opendir+set}" = set; then
4357 ac_cv_search_opendir=no
4360 LIBS=$ac_func_search_save_LIBS
4362 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4363 $as_echo "$ac_cv_search_opendir" >&6; }
4364 ac_res=$ac_cv_search_opendir
4365 if test "$ac_res" != no; then
4366 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4372 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4373 $as_echo_n "checking for ANSI C header files... " >&6; }
4374 if test "${ac_cv_header_stdc+set}" = set; then
4375 $as_echo_n "(cached) " >&6
4377 cat >conftest.$ac_ext <<_ACEOF
4380 cat confdefs.h >>conftest.$ac_ext
4381 cat >>conftest.$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4396 rm -f conftest.$ac_objext
4397 if { (ac_try="$ac_compile"
4399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4400 *) ac_try_echo
=$ac_try;;
4402 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4403 $as_echo "$ac_try_echo") >&5
4404 (eval "$ac_compile") 2>conftest.er1
4406 grep -v '^ *+' conftest.er1
>conftest.err
4408 cat conftest.err
>&5
4409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } && {
4411 test -z "$ac_c_werror_flag" ||
4412 test ! -s conftest.err
4413 } && test -s conftest.
$ac_objext; then
4414 ac_cv_header_stdc
=yes
4416 $as_echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.
$ac_ext >&5
4419 ac_cv_header_stdc
=no
4422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4424 if test $ac_cv_header_stdc = yes; then
4425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4426 cat >conftest.
$ac_ext <<_ACEOF
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4436 $EGREP "memchr" >/dev
/null
2>&1; then
4439 ac_cv_header_stdc
=no
4445 if test $ac_cv_header_stdc = yes; then
4446 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4457 $EGREP "free" >/dev
/null
2>&1; then
4460 ac_cv_header_stdc
=no
4466 if test $ac_cv_header_stdc = yes; then
4467 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4468 if test "$cross_compiling" = yes; then
4471 cat >conftest.
$ac_ext <<_ACEOF
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4479 #if ((' ' & 0x0FF) == 0x020)
4480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4483 # define ISLOWER(c) \
4484 (('a' <= (c) && (c) <= 'i') \
4485 || ('j' <= (c) && (c) <= 'r') \
4486 || ('s' <= (c) && (c) <= 'z'))
4487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4495 for (i = 0; i < 256; i++)
4496 if (XOR (islower (i), ISLOWER (i))
4497 || toupper (i) != TOUPPER (i))
4502 rm -f conftest
$ac_exeext
4503 if { (ac_try
="$ac_link"
4505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4509 $as_echo "$ac_try_echo") >&5
4510 (eval "$ac_link") 2>&5
4512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4514 { (case "(($ac_try" in
4515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4516 *) ac_try_echo
=$ac_try;;
4518 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4519 $as_echo "$ac_try_echo") >&5
4520 (eval "$ac_try") 2>&5
4522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then
4526 $as_echo "$as_me: program exited with status $ac_status" >&5
4527 $as_echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.
$ac_ext >&5
4531 ac_cv_header_stdc
=no
4533 rm -rf conftest.dSYM
4534 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4540 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4541 $as_echo "$ac_cv_header_stdc" >&6; }
4542 if test $ac_cv_header_stdc = yes; then
4544 cat >>confdefs.h
<<\_ACEOF
4545 #define STDC_HEADERS 1
4550 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4560 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4561 inttypes.h stdint.h unistd.h
4563 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4564 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4565 $as_echo_n "checking for $ac_header... " >&6; }
4566 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4567 $as_echo_n "(cached) " >&6
4569 cat >conftest.
$ac_ext <<_ACEOF
4572 cat confdefs.h
>>conftest.
$ac_ext
4573 cat >>conftest.
$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4575 $ac_includes_default
4577 #include <$ac_header>
4579 rm -f conftest.
$ac_objext
4580 if { (ac_try
="$ac_compile"
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4586 $as_echo "$ac_try_echo") >&5
4587 (eval "$ac_compile") 2>conftest.er1
4589 grep -v '^ *+' conftest.er1 >conftest.err
4591 cat conftest.err >&5
4592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } && {
4594 test -z "$ac_c_werror_flag" ||
4595 test ! -s conftest.err
4596 } && test -s conftest.$ac_objext; then
4597 eval "$as_ac_Header=yes"
4599 $as_echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 eval "$as_ac_Header=no"
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 ac_res=`eval 'as_val=${'$as_ac_Header'}
4608 $as_echo "$as_val"'`
4609 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4610 $as_echo "$ac_res" >&6; }
4611 as_val=`eval 'as_val=${'$as_ac_Header'}
4612 $as_echo "$as_val"'`
4613 if test "x$as_val" = x""yes; then
4614 cat >>confdefs.h <<_ACEOF
4615 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4623 { $as_echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
4624 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4625 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
4626 $as_echo_n "(cached) " >&6
4628 cat >conftest.$ac_ext <<_ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 #include <sys/types.h>
4638 return makedev(0, 0);
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4647 *) ac_try_echo
=$ac_try;;
4649 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4650 $as_echo "$ac_try_echo") >&5
4651 (eval "$ac_link") 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } && {
4658 test -z "$ac_c_werror_flag" ||
4659 test ! -s conftest.err
4660 } && test -s conftest
$ac_exeext && {
4661 test "$cross_compiling" = yes ||
4662 $as_test_x conftest
$ac_exeext
4664 ac_cv_header_sys_types_h_makedev
=yes
4666 $as_echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 ac_cv_header_sys_types_h_makedev
=no
4672 rm -rf conftest.dSYM
4673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4674 conftest
$ac_exeext conftest.
$ac_ext
4677 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
4678 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4680 if test $ac_cv_header_sys_types_h_makedev = no
; then
4681 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4682 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4683 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4684 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4685 $as_echo_n "(cached) " >&6
4687 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4688 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4690 # Is the header compilable?
4691 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
4692 $as_echo_n "checking sys/mkdev.h usability... " >&6; }
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4699 $ac_includes_default
4700 #include <sys/mkdev.h>
4702 rm -f conftest.
$ac_objext
4703 if { (ac_try
="$ac_compile"
4705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4709 $as_echo "$ac_try_echo") >&5
4710 (eval "$ac_compile") 2>conftest.er1
4712 grep -v '^ *+' conftest.er1 >conftest.err
4714 cat conftest.err >&5
4715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && {
4717 test -z "$ac_c_werror_flag" ||
4718 test ! -s conftest.err
4719 } && test -s conftest.$ac_objext; then
4720 ac_header_compiler=yes
4722 $as_echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4725 ac_header_compiler=no
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4730 $as_echo "$ac_header_compiler" >&6; }
4732 # Is the header present?
4733 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
4734 $as_echo_n "checking sys/mkdev.h presence... " >&6; }
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 #include <sys/mkdev.h>
4743 if { (ac_try="$ac_cpp conftest.$ac_ext"
4745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4746 *) ac_try_echo
=$ac_try;;
4748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4749 $as_echo "$ac_try_echo") >&5
4750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } >/dev
/null
&& {
4757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4758 test ! -s conftest.err
4760 ac_header_preproc
=yes
4762 $as_echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.
$ac_ext >&5
4765 ac_header_preproc
=no
4768 rm -f conftest.err conftest.
$ac_ext
4769 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4770 $as_echo "$ac_header_preproc" >&6; }
4772 # So? What about this header?
4773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4775 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
4776 $as_echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4777 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
4778 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
4779 ac_header_preproc
=yes
4782 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
4783 $as_echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
4784 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
4785 $as_echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
4786 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
4787 $as_echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
4788 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
4789 $as_echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
4790 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4791 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4792 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
4793 $as_echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
4797 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4798 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4799 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4800 $as_echo_n "(cached) " >&6
4802 ac_cv_header_sys_mkdev_h
=$ac_header_preproc
4804 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4805 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4808 if test "x$ac_cv_header_sys_mkdev_h" = x
""yes; then
4810 cat >>confdefs.h
<<\_ACEOF
4811 #define MAJOR_IN_MKDEV 1
4818 if test $ac_cv_header_sys_mkdev_h = no
; then
4819 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4820 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4821 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4822 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4823 $as_echo_n "(cached) " >&6
4825 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4826 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4828 # Is the header compilable?
4829 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
4830 $as_echo_n "checking sys/sysmacros.h usability... " >&6; }
4831 cat >conftest.
$ac_ext <<_ACEOF
4834 cat confdefs.h
>>conftest.
$ac_ext
4835 cat >>conftest.
$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 $ac_includes_default
4838 #include <sys/sysmacros.h>
4840 rm -f conftest.
$ac_objext
4841 if { (ac_try
="$ac_compile"
4843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_compile") 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest.$ac_objext; then
4858 ac_header_compiler=yes
4860 $as_echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_header_compiler=no
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4868 $as_echo "$ac_header_compiler" >&6; }
4870 # Is the header present?
4871 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
4872 $as_echo_n "checking sys/sysmacros.h presence... " >&6; }
4873 cat >conftest.$ac_ext <<_ACEOF
4876 cat confdefs.h >>conftest.$ac_ext
4877 cat >>conftest.$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 #include <sys/sysmacros.h>
4881 if { (ac_try="$ac_cpp conftest.$ac_ext"
4883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4884 *) ac_try_echo
=$ac_try;;
4886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4887 $as_echo "$ac_try_echo") >&5
4888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4890 grep -v '^ *+' conftest.er1
>conftest.err
4892 cat conftest.err
>&5
4893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); } >/dev
/null
&& {
4895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4896 test ! -s conftest.err
4898 ac_header_preproc
=yes
4900 $as_echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.
$ac_ext >&5
4903 ac_header_preproc
=no
4906 rm -f conftest.err conftest.
$ac_ext
4907 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4908 $as_echo "$ac_header_preproc" >&6; }
4910 # So? What about this header?
4911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4913 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
4914 $as_echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4915 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
4916 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
4917 ac_header_preproc
=yes
4920 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
4921 $as_echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
4922 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
4923 $as_echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
4924 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
4925 $as_echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
4926 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
4927 $as_echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
4928 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4929 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4930 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
4931 $as_echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
4935 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4936 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4937 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4938 $as_echo_n "(cached) " >&6
4940 ac_cv_header_sys_sysmacros_h
=$ac_header_preproc
4942 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4943 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4946 if test "x$ac_cv_header_sys_sysmacros_h" = x
""yes; then
4948 cat >>confdefs.h
<<\_ACEOF
4949 #define MAJOR_IN_SYSMACROS 1
4958 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4959 $as_echo_n "checking for ANSI C header files... " >&6; }
4960 if test "${ac_cv_header_stdc+set}" = set; then
4961 $as_echo_n "(cached) " >&6
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4982 rm -f conftest.
$ac_objext
4983 if { (ac_try
="$ac_compile"
4985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4986 *) ac_try_echo=$ac_try;;
4988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4989 $as_echo "$ac_try_echo") >&5
4990 (eval "$ac_compile") 2>conftest.er1
4992 grep -v '^ *+' conftest.er1 >conftest.err
4994 cat conftest.err >&5
4995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } && {
4997 test -z "$ac_c_werror_flag" ||
4998 test ! -s conftest.err
4999 } && test -s conftest.$ac_objext; then
5000 ac_cv_header_stdc=yes
5002 $as_echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5005 ac_cv_header_stdc=no
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 if test $ac_cv_header_stdc = yes; then
5011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5012 cat >conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h >>conftest.$ac_ext
5016 cat >>conftest.$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5022 $EGREP "memchr" >/dev/null 2>&1; then
5025 ac_cv_header_stdc=no
5031 if test $ac_cv_header_stdc = yes; then
5032 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5033 cat >conftest.$ac_ext <<_ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5043 $EGREP "free" >/dev/null 2>&1; then
5046 ac_cv_header_stdc=no
5052 if test $ac_cv_header_stdc = yes; then
5053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5054 if test "$cross_compiling" = yes; then
5057 cat >conftest.$ac_ext <<_ACEOF
5060 cat confdefs.h >>conftest.$ac_ext
5061 cat >>conftest.$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5065 #if ((' ' & 0x0FF) == 0x020)
5066 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5067 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5069 # define ISLOWER(c) \
5070 (('a' <= (c) && (c) <= 'i') \
5071 || ('j' <= (c) && (c) <= 'r') \
5072 || ('s' <= (c) && (c) <= 'z'))
5073 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5076 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5081 for (i = 0; i < 256; i++)
5082 if (XOR (islower (i), ISLOWER (i))
5083 || toupper (i) != TOUPPER (i))
5088 rm -f conftest$ac_exeext
5089 if { (ac_try="$ac_link"
5091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5092 *) ac_try_echo
=$ac_try;;
5094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5095 $as_echo "$ac_try_echo") >&5
5096 (eval "$ac_link") 2>&5
5098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5100 { (case "(($ac_try" in
5101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5105 $as_echo "$ac_try_echo") >&5
5106 (eval "$ac_try") 2>&5
5108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5112 $as_echo "$as_me: program exited with status $ac_status" >&5
5113 $as_echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5117 ac_cv_header_stdc=no
5119 rm -rf conftest.dSYM
5120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5126 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5127 $as_echo "$ac_cv_header_stdc" >&6; }
5128 if test $ac_cv_header_stdc = yes; then
5130 cat >>confdefs.h <<\_ACEOF
5131 #define STDC_HEADERS 1
5136 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5137 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5138 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5139 $as_echo_n "(cached) " >&6
5141 cat >conftest.$ac_ext <<_ACEOF
5144 cat confdefs.h >>conftest.$ac_ext
5145 cat >>conftest.$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5147 #include <sys/types.h>
5148 #include <sys/wait.h>
5150 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5153 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5161 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5166 rm -f conftest.$ac_objext
5167 if { (ac_try="$ac_compile"
5169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5170 *) ac_try_echo
=$ac_try;;
5172 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5173 $as_echo "$ac_try_echo") >&5
5174 (eval "$ac_compile") 2>conftest.er1
5176 grep -v '^ *+' conftest.er1
>conftest.err
5178 cat conftest.err
>&5
5179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest.
$ac_objext; then
5184 ac_cv_header_sys_wait_h
=yes
5186 $as_echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5189 ac_cv_header_sys_wait_h
=no
5192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5194 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5195 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
5196 if test $ac_cv_header_sys_wait_h = yes; then
5198 cat >>confdefs.h
<<\_ACEOF
5199 #define HAVE_SYS_WAIT_H 1
5204 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5205 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5206 if test "${ac_cv_header_time+set}" = set; then
5207 $as_echo_n "(cached) " >&6
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5215 #include <sys/types.h>
5216 #include <sys/time.h>
5222 if ((struct tm *) 0)
5228 rm -f conftest.
$ac_objext
5229 if { (ac_try
="$ac_compile"
5231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5235 $as_echo "$ac_try_echo") >&5
5236 (eval "$ac_compile") 2>conftest.er1
5238 grep -v '^ *+' conftest.er1 >conftest.err
5240 cat conftest.err >&5
5241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } && {
5243 test -z "$ac_c_werror_flag" ||
5244 test ! -s conftest.err
5245 } && test -s conftest.$ac_objext; then
5246 ac_cv_header_time=yes
5248 $as_echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5251 ac_cv_header_time=no
5254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5256 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5257 $as_echo "$ac_cv_header_time" >&6; }
5258 if test $ac_cv_header_time = yes; then
5260 cat >>confdefs.h <<\_ACEOF
5261 #define TIME_WITH_SYS_TIME 1
5281 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
5282 langinfo.h libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h \
5285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5287 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5288 $as_echo_n "checking for $ac_header... " >&6; }
5289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5290 $as_echo_n "(cached) " >&6
5292 ac_res=`eval 'as_val=${'$as_ac_Header'}
5293 $as_echo "$as_val"'`
5294 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5295 $as_echo "$ac_res" >&6; }
5297 # Is the header compilable?
5298 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5299 $as_echo_n "checking $ac_header usability... " >&6; }
5300 cat >conftest.$ac_ext <<_ACEOF
5303 cat confdefs.h >>conftest.$ac_ext
5304 cat >>conftest.$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5306 $ac_includes_default
5307 #include <$ac_header>
5309 rm -f conftest.$ac_objext
5310 if { (ac_try="$ac_compile"
5312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5313 *) ac_try_echo
=$ac_try;;
5315 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5316 $as_echo "$ac_try_echo") >&5
5317 (eval "$ac_compile") 2>conftest.er1
5319 grep -v '^ *+' conftest.er1
>conftest.err
5321 cat conftest.err
>&5
5322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } && {
5324 test -z "$ac_c_werror_flag" ||
5325 test ! -s conftest.err
5326 } && test -s conftest.
$ac_objext; then
5327 ac_header_compiler
=yes
5329 $as_echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.
$ac_ext >&5
5332 ac_header_compiler
=no
5335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5336 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5337 $as_echo "$ac_header_compiler" >&6; }
5339 # Is the header present?
5340 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5341 $as_echo_n "checking $ac_header presence... " >&6; }
5342 cat >conftest.
$ac_ext <<_ACEOF
5345 cat confdefs.h
>>conftest.
$ac_ext
5346 cat >>conftest.
$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 #include <$ac_header>
5350 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5356 $as_echo "$ac_try_echo") >&5
5357 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5359 grep -v '^ *+' conftest.er1 >conftest.err
5361 cat conftest.err >&5
5362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } >/dev/null && {
5364 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5365 test ! -s conftest.err
5367 ac_header_preproc=yes
5369 $as_echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.$ac_ext >&5
5372 ac_header_preproc=no
5375 rm -f conftest.err conftest.$ac_ext
5376 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5377 $as_echo "$ac_header_preproc" >&6; }
5379 # So? What about this header?
5380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5383 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5385 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5386 ac_header_preproc=yes
5389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5390 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5392 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5394 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5396 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5397 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5398 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5399 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5400 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 $as_echo_n "checking for $ac_header... " >&6; }
5406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5407 $as_echo_n "(cached) " >&6
5409 eval "$as_ac_Header=\$ac_header_preproc"
5411 ac_res=`eval 'as_val=${'$as_ac_Header'}
5412 $as_echo "$as_val"'`
5413 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5414 $as_echo "$ac_res" >&6; }
5417 as_val=`eval 'as_val=${'$as_ac_Header'}
5418 $as_echo "$as_val"'`
5419 if test "x$as_val" = x""yes; then
5420 cat >>confdefs.h <<_ACEOF
5421 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5425 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5426 $as_echo "$as_me: error: bailing out" >&2;}
5427 { (exit 1); exit 1; }; }
5438 for ac_header in asm/byteorder.h linux/fs.h malloc.h
5440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5442 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5443 $as_echo_n "checking for $ac_header... " >&6; }
5444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5445 $as_echo_n "(cached) " >&6
5447 ac_res=`eval 'as_val=${'$as_ac_Header'}
5448 $as_echo "$as_val"'`
5449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5450 $as_echo "$ac_res" >&6; }
5452 # Is the header compilable?
5453 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5454 $as_echo_n "checking $ac_header usability... " >&6; }
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 $ac_includes_default
5462 #include <$ac_header>
5464 rm -f conftest.$ac_objext
5465 if { (ac_try="$ac_compile"
5467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5468 *) ac_try_echo
=$ac_try;;
5470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5471 $as_echo "$ac_try_echo") >&5
5472 (eval "$ac_compile") 2>conftest.er1
5474 grep -v '^ *+' conftest.er1
>conftest.err
5476 cat conftest.err
>&5
5477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } && {
5479 test -z "$ac_c_werror_flag" ||
5480 test ! -s conftest.err
5481 } && test -s conftest.
$ac_objext; then
5482 ac_header_compiler
=yes
5484 $as_echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.
$ac_ext >&5
5487 ac_header_compiler
=no
5490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5491 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5492 $as_echo "$ac_header_compiler" >&6; }
5494 # Is the header present?
5495 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5496 $as_echo_n "checking $ac_header presence... " >&6; }
5497 cat >conftest.
$ac_ext <<_ACEOF
5500 cat confdefs.h
>>conftest.
$ac_ext
5501 cat >>conftest.
$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5503 #include <$ac_header>
5505 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5511 $as_echo "$ac_try_echo") >&5
5512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5514 grep -v '^ *+' conftest.er1 >conftest.err
5516 cat conftest.err >&5
5517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } >/dev/null && {
5519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5520 test ! -s conftest.err
5522 ac_header_preproc=yes
5524 $as_echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5527 ac_header_preproc=no
5530 rm -f conftest.err conftest.$ac_ext
5531 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5532 $as_echo "$ac_header_preproc" >&6; }
5534 # So? What about this header?
5535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5538 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5540 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5541 ac_header_preproc=yes
5544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5545 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5547 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5549 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5551 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5553 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5555 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5560 $as_echo_n "checking for $ac_header... " >&6; }
5561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5562 $as_echo_n "(cached) " >&6
5564 eval "$as_ac_Header=\$ac_header_preproc"
5566 ac_res=`eval 'as_val=${'$as_ac_Header'}
5567 $as_echo "$as_val"'`
5568 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5569 $as_echo "$ac_res" >&6; }
5572 as_val=`eval 'as_val=${'$as_ac_Header'}
5573 $as_echo "$as_val"'`
5574 if test "x$as_val" = x""yes; then
5575 cat >>confdefs.h <<_ACEOF
5576 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5580 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5581 $as_echo "$as_me: error: bailing out" >&2;}
5582 { (exit 1); exit 1; }; }
5590 for ac_header in machine/endian.h sys/disk.h
5592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5594 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 $as_echo_n "checking for $ac_header... " >&6; }
5596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5597 $as_echo_n "(cached) " >&6
5599 ac_res=`eval 'as_val=${'$as_ac_Header'}
5600 $as_echo "$as_val"'`
5601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5602 $as_echo "$ac_res" >&6; }
5604 # Is the header compilable?
5605 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5606 $as_echo_n "checking $ac_header usability... " >&6; }
5607 cat >conftest.$ac_ext <<_ACEOF
5610 cat confdefs.h >>conftest.$ac_ext
5611 cat >>conftest.$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5613 $ac_includes_default
5614 #include <$ac_header>
5616 rm -f conftest.$ac_objext
5617 if { (ac_try="$ac_compile"
5619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5620 *) ac_try_echo
=$ac_try;;
5622 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5623 $as_echo "$ac_try_echo") >&5
5624 (eval "$ac_compile") 2>conftest.er1
5626 grep -v '^ *+' conftest.er1
>conftest.err
5628 cat conftest.err
>&5
5629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && {
5631 test -z "$ac_c_werror_flag" ||
5632 test ! -s conftest.err
5633 } && test -s conftest.
$ac_objext; then
5634 ac_header_compiler
=yes
5636 $as_echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.
$ac_ext >&5
5639 ac_header_compiler
=no
5642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5643 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5644 $as_echo "$ac_header_compiler" >&6; }
5646 # Is the header present?
5647 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5648 $as_echo_n "checking $ac_header presence... " >&6; }
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5655 #include <$ac_header>
5657 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5663 $as_echo "$ac_try_echo") >&5
5664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5666 grep -v '^ *+' conftest.er1 >conftest.err
5668 cat conftest.err >&5
5669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); } >/dev/null && {
5671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5672 test ! -s conftest.err
5674 ac_header_preproc=yes
5676 $as_echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.$ac_ext >&5
5679 ac_header_preproc=no
5682 rm -f conftest.err conftest.$ac_ext
5683 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5684 $as_echo "$ac_header_preproc" >&6; }
5686 # So? What about this header?
5687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5690 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5692 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5693 ac_header_preproc=yes
5696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5697 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5699 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5701 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5703 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5707 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 $as_echo_n "checking for $ac_header... " >&6; }
5713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5714 $as_echo_n "(cached) " >&6
5716 eval "$as_ac_Header=\$ac_header_preproc"
5718 ac_res=`eval 'as_val=${'$as_ac_Header'}
5719 $as_echo "$as_val"'`
5720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5721 $as_echo "$ac_res" >&6; }
5724 as_val=`eval 'as_val=${'$as_ac_Header'}
5725 $as_echo "$as_val"'`
5726 if test "x$as_val" = x""yes; then
5727 cat >>confdefs.h <<_ACEOF
5728 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5732 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5733 $as_echo "$as_me: error: bailing out" >&2;}
5734 { (exit 1); exit 1; }; }
5757 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5758 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5759 sys/types.h unistd.h
5761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5763 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5764 $as_echo_n "checking for $ac_header... " >&6; }
5765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5766 $as_echo_n "(cached) " >&6
5768 ac_res=`eval 'as_val=${'$as_ac_Header'}
5769 $as_echo "$as_val"'`
5770 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5771 $as_echo "$ac_res" >&6; }
5773 # Is the header compilable?
5774 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5775 $as_echo_n "checking $ac_header usability... " >&6; }
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5783 #include <$ac_header>
5785 rm -f conftest.$ac_objext
5786 if { (ac_try="$ac_compile"
5788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5789 *) ac_try_echo
=$ac_try;;
5791 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5792 $as_echo "$ac_try_echo") >&5
5793 (eval "$ac_compile") 2>conftest.er1
5795 grep -v '^ *+' conftest.er1
>conftest.err
5797 cat conftest.err
>&5
5798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } && {
5800 test -z "$ac_c_werror_flag" ||
5801 test ! -s conftest.err
5802 } && test -s conftest.
$ac_objext; then
5803 ac_header_compiler
=yes
5805 $as_echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.
$ac_ext >&5
5808 ac_header_compiler
=no
5811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5812 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5813 $as_echo "$ac_header_compiler" >&6; }
5815 # Is the header present?
5816 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5817 $as_echo_n "checking $ac_header presence... " >&6; }
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 #include <$ac_header>
5826 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5829 *) ac_try_echo=$ac_try;;
5831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5832 $as_echo "$ac_try_echo") >&5
5833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5835 grep -v '^ *+' conftest.er1 >conftest.err
5837 cat conftest.err >&5
5838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } >/dev/null && {
5840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5841 test ! -s conftest.err
5843 ac_header_preproc=yes
5845 $as_echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.$ac_ext >&5
5848 ac_header_preproc=no
5851 rm -f conftest.err conftest.$ac_ext
5852 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5853 $as_echo "$ac_header_preproc" >&6; }
5855 # So? What about this header?
5856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5859 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5861 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5862 ac_header_preproc=yes
5865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5866 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5868 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5870 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5872 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5874 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5876 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5880 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5881 $as_echo_n "checking for $ac_header... " >&6; }
5882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5883 $as_echo_n "(cached) " >&6
5885 eval "$as_ac_Header=\$ac_header_preproc"
5887 ac_res=`eval 'as_val=${'$as_ac_Header'}
5888 $as_echo "$as_val"'`
5889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5890 $as_echo "$ac_res" >&6; }
5893 as_val=`eval 'as_val=${'$as_ac_Header'}
5894 $as_echo "$as_val"'`
5895 if test "x$as_val" = x""yes; then
5896 cat >>confdefs.h <<_ACEOF
5897 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5901 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5902 $as_echo "$as_me: error: bailing out" >&2;}
5903 { (exit 1); exit 1; }; }
5910 for ac_header in termios.h sys/statvfs.h
5912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5914 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5915 $as_echo_n "checking for $ac_header... " >&6; }
5916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5917 $as_echo_n "(cached) " >&6
5919 ac_res=`eval 'as_val=${'$as_ac_Header'}
5920 $as_echo "$as_val"'`
5921 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5922 $as_echo "$ac_res" >&6; }
5924 # Is the header compilable?
5925 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5926 $as_echo_n "checking $ac_header usability... " >&6; }
5927 cat >conftest.$ac_ext <<_ACEOF
5930 cat confdefs.h >>conftest.$ac_ext
5931 cat >>conftest.$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5933 $ac_includes_default
5934 #include <$ac_header>
5936 rm -f conftest.$ac_objext
5937 if { (ac_try="$ac_compile"
5939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5940 *) ac_try_echo
=$ac_try;;
5942 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5943 $as_echo "$ac_try_echo") >&5
5944 (eval "$ac_compile") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1
>conftest.err
5948 cat conftest.err
>&5
5949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } && {
5951 test -z "$ac_c_werror_flag" ||
5952 test ! -s conftest.err
5953 } && test -s conftest.
$ac_objext; then
5954 ac_header_compiler
=yes
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.
$ac_ext >&5
5959 ac_header_compiler
=no
5962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5963 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5964 $as_echo "$ac_header_compiler" >&6; }
5966 # Is the header present?
5967 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5968 $as_echo_n "checking $ac_header presence... " >&6; }
5969 cat >conftest.
$ac_ext <<_ACEOF
5972 cat confdefs.h
>>conftest.
$ac_ext
5973 cat >>conftest.
$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 #include <$ac_header>
5977 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5980 *) ac_try_echo=$ac_try;;
5982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5983 $as_echo "$ac_try_echo") >&5
5984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5986 grep -v '^ *+' conftest.er1 >conftest.err
5988 cat conftest.err >&5
5989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } >/dev/null && {
5991 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5992 test ! -s conftest.err
5994 ac_header_preproc=yes
5996 $as_echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.$ac_ext >&5
5999 ac_header_preproc=no
6002 rm -f conftest.err conftest.$ac_ext
6003 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6004 $as_echo "$ac_header_preproc" >&6; }
6006 # So? What about this header?
6007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6010 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6012 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6013 ac_header_preproc=yes
6016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6017 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6019 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6021 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6023 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6025 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6027 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6031 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6032 $as_echo_n "checking for $ac_header... " >&6; }
6033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6034 $as_echo_n "(cached) " >&6
6036 eval "$as_ac_Header=\$ac_header_preproc"
6038 ac_res=`eval 'as_val=${'$as_ac_Header'}
6039 $as_echo "$as_val"'`
6040 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6041 $as_echo "$ac_res" >&6; }
6044 as_val=`eval 'as_val=${'$as_ac_Header'}
6045 $as_echo "$as_val"'`
6046 if test "x$as_val" = x""yes; then
6047 cat >>confdefs.h <<_ACEOF
6048 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6056 ################################################################################
6057 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6058 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6059 if test "${ac_cv_c_const+set}" = set; then
6060 $as_echo_n "(cached) " >&6
6062 cat >conftest.$ac_ext <<_ACEOF
6065 cat confdefs.h >>conftest.$ac_ext
6066 cat >>conftest.$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6072 /* FIXME: Include the comments suggested by Paul. */
6074 /* Ultrix mips cc rejects this. */
6075 typedef int charset[2];
6077 /* SunOS 4.1.1 cc rejects this. */
6078 char const *const *pcpcc;
6080 /* NEC SVR4.0.2 mips cc rejects this. */
6081 struct point {int x, y;};
6082 static struct point const zero = {0,0};
6083 /* AIX XL C 1.02.0.0 rejects this.
6084 It does not let you subtract one const X* pointer from another in
6085 an arm of an if-expression whose if-part is not a constant
6087 const char *g = "string";
6088 pcpcc = &g + (g ? g-g : 0);
6089 /* HPUX 7.0 cc rejects these. */
6091 ppc = (char**) pcpcc;
6092 pcpcc = (char const *const *) ppc;
6093 { /* SCO 3.2v4 cc rejects this. */
6095 char const *s = 0 ? (char *) 0 : (char const *) 0;
6100 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6102 const int *foo = &x[0];
6105 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6106 typedef const int *iptr;
6110 { /* AIX XL C 1.02.0.0 rejects this saying
6111 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6112 struct s { int j; const int *ap[3]; };
6113 struct s *b; b->j = 5;
6115 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6119 return !cs[0] && !zero.x;
6126 rm -f conftest.$ac_objext
6127 if { (ac_try="$ac_compile"
6129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6130 *) ac_try_echo
=$ac_try;;
6132 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6133 $as_echo "$ac_try_echo") >&5
6134 (eval "$ac_compile") 2>conftest.er1
6136 grep -v '^ *+' conftest.er1
>conftest.err
6138 cat conftest.err
>&5
6139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } && {
6141 test -z "$ac_c_werror_flag" ||
6142 test ! -s conftest.err
6143 } && test -s conftest.
$ac_objext; then
6146 $as_echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6155 $as_echo "$ac_cv_c_const" >&6; }
6156 if test $ac_cv_c_const = no
; then
6158 cat >>confdefs.h
<<\_ACEOF
6164 { $as_echo "$as_me:$LINENO: checking for inline" >&5
6165 $as_echo_n "checking for inline... " >&6; }
6166 if test "${ac_cv_c_inline+set}" = set; then
6167 $as_echo_n "(cached) " >&6
6170 for ac_kw
in inline __inline__ __inline
; do
6171 cat >conftest.
$ac_ext <<_ACEOF
6174 cat confdefs.h
>>conftest.
$ac_ext
6175 cat >>conftest.
$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6179 static $ac_kw foo_t static_foo () {return 0; }
6180 $ac_kw foo_t foo () {return 0; }
6184 rm -f conftest.
$ac_objext
6185 if { (ac_try
="$ac_compile"
6187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6188 *) ac_try_echo=$ac_try;;
6190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6191 $as_echo "$ac_try_echo") >&5
6192 (eval "$ac_compile") 2>conftest.er1
6194 grep -v '^ *+' conftest.er1 >conftest.err
6196 cat conftest.err >&5
6197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } && {
6199 test -z "$ac_c_werror_flag" ||
6200 test ! -s conftest.err
6201 } && test -s conftest.$ac_objext; then
6202 ac_cv_c_inline=$ac_kw
6204 $as_echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 test "$ac_cv_c_inline" != no && break
6215 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6216 $as_echo "$ac_cv_c_inline" >&6; }
6219 case $ac_cv_c_inline in
6222 case $ac_cv_c_inline in
6224 *) ac_val=$ac_cv_c_inline;;
6226 cat >>confdefs.h <<_ACEOF
6228 #define inline $ac_val
6234 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6235 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6236 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6237 $as_echo_n "(cached) " >&6
6239 cat >conftest.$ac_ext <<_ACEOF
6242 cat confdefs.h >>conftest.$ac_ext
6243 cat >>conftest.$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6245 $ac_includes_default
6249 static struct stat ac_aggr;
6250 if (ac_aggr.st_rdev)
6256 rm -f conftest.$ac_objext
6257 if { (ac_try="$ac_compile"
6259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6260 *) ac_try_echo
=$ac_try;;
6262 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6263 $as_echo "$ac_try_echo") >&5
6264 (eval "$ac_compile") 2>conftest.er1
6266 grep -v '^ *+' conftest.er1
>conftest.err
6268 cat conftest.err
>&5
6269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); } && {
6271 test -z "$ac_c_werror_flag" ||
6272 test ! -s conftest.err
6273 } && test -s conftest.
$ac_objext; then
6274 ac_cv_member_struct_stat_st_rdev
=yes
6276 $as_echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.
$ac_ext >&5
6279 cat >conftest.
$ac_ext <<_ACEOF
6282 cat confdefs.h
>>conftest.
$ac_ext
6283 cat >>conftest.
$ac_ext <<_ACEOF
6284 /* end confdefs.h. */
6285 $ac_includes_default
6289 static struct stat ac_aggr;
6290 if (sizeof ac_aggr.st_rdev)
6296 rm -f conftest.
$ac_objext
6297 if { (ac_try
="$ac_compile"
6299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6300 *) ac_try_echo=$ac_try;;
6302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6303 $as_echo "$ac_try_echo") >&5
6304 (eval "$ac_compile") 2>conftest.er1
6306 grep -v '^ *+' conftest.er1 >conftest.err
6308 cat conftest.err >&5
6309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); } && {
6311 test -z "$ac_c_werror_flag" ||
6312 test ! -s conftest.err
6313 } && test -s conftest.$ac_objext; then
6314 ac_cv_member_struct_stat_st_rdev=yes
6316 $as_echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6319 ac_cv_member_struct_stat_st_rdev=no
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6327 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6328 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6329 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
6331 cat >>confdefs.h <<_ACEOF
6332 #define HAVE_STRUCT_STAT_ST_RDEV 1
6338 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
6339 $as_echo_n "checking for off_t... " >&6; }
6340 if test "${ac_cv_type_off_t+set}" = set; then
6341 $as_echo_n "(cached) " >&6
6344 cat >conftest.$ac_ext <<_ACEOF
6347 cat confdefs.h >>conftest.$ac_ext
6348 cat >>conftest.$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6350 $ac_includes_default
6360 rm -f conftest.$ac_objext
6361 if { (ac_try="$ac_compile"
6363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6364 *) ac_try_echo
=$ac_try;;
6366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6367 $as_echo "$ac_try_echo") >&5
6368 (eval "$ac_compile") 2>conftest.er1
6370 grep -v '^ *+' conftest.er1
>conftest.err
6372 cat conftest.err
>&5
6373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); } && {
6375 test -z "$ac_c_werror_flag" ||
6376 test ! -s conftest.err
6377 } && test -s conftest.
$ac_objext; then
6378 cat >conftest.
$ac_ext <<_ACEOF
6381 cat confdefs.h
>>conftest.
$ac_ext
6382 cat >>conftest.
$ac_ext <<_ACEOF
6383 /* end confdefs.h. */
6384 $ac_includes_default
6388 if (sizeof ((off_t)))
6394 rm -f conftest.
$ac_objext
6395 if { (ac_try
="$ac_compile"
6397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6398 *) ac_try_echo=$ac_try;;
6400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6401 $as_echo "$ac_try_echo") >&5
6402 (eval "$ac_compile") 2>conftest.er1
6404 grep -v '^ *+' conftest.er1 >conftest.err
6406 cat conftest.err >&5
6407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } && {
6409 test -z "$ac_c_werror_flag" ||
6410 test ! -s conftest.err
6411 } && test -s conftest.$ac_objext; then
6414 $as_echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.$ac_ext >&5
6417 ac_cv_type_off_t=yes
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6422 $as_echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.$ac_ext >&5
6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6430 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6431 $as_echo "$ac_cv_type_off_t" >&6; }
6432 if test "x$ac_cv_type_off_t" = x""yes; then
6436 cat >>confdefs.h <<_ACEOF
6437 #define off_t long int
6442 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
6443 $as_echo_n "checking for pid_t... " >&6; }
6444 if test "${ac_cv_type_pid_t+set}" = set; then
6445 $as_echo_n "(cached) " >&6
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6454 $ac_includes_default
6464 rm -f conftest.$ac_objext
6465 if { (ac_try="$ac_compile"
6467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6468 *) ac_try_echo
=$ac_try;;
6470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6471 $as_echo "$ac_try_echo") >&5
6472 (eval "$ac_compile") 2>conftest.er1
6474 grep -v '^ *+' conftest.er1
>conftest.err
6476 cat conftest.err
>&5
6477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); } && {
6479 test -z "$ac_c_werror_flag" ||
6480 test ! -s conftest.err
6481 } && test -s conftest.
$ac_objext; then
6482 cat >conftest.
$ac_ext <<_ACEOF
6485 cat confdefs.h
>>conftest.
$ac_ext
6486 cat >>conftest.
$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 $ac_includes_default
6492 if (sizeof ((pid_t)))
6498 rm -f conftest.
$ac_objext
6499 if { (ac_try
="$ac_compile"
6501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6502 *) ac_try_echo=$ac_try;;
6504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6505 $as_echo "$ac_try_echo") >&5
6506 (eval "$ac_compile") 2>conftest.er1
6508 grep -v '^ *+' conftest.er1 >conftest.err
6510 cat conftest.err >&5
6511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } && {
6513 test -z "$ac_c_werror_flag" ||
6514 test ! -s conftest.err
6515 } && test -s conftest.$ac_objext; then
6518 $as_echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.$ac_ext >&5
6521 ac_cv_type_pid_t=yes
6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 $as_echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6535 $as_echo "$ac_cv_type_pid_t" >&6; }
6536 if test "x$ac_cv_type_pid_t" = x""yes; then
6540 cat >>confdefs.h <<_ACEOF
6546 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6547 $as_echo_n "checking return type of signal handlers... " >&6; }
6548 if test "${ac_cv_type_signal+set}" = set; then
6549 $as_echo_n "(cached) " >&6
6551 cat >conftest.$ac_ext <<_ACEOF
6554 cat confdefs.h >>conftest.$ac_ext
6555 cat >>conftest.$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 #include <sys/types.h>
6563 return *(signal (0, 0)) (0) == 1;
6568 rm -f conftest.$ac_objext
6569 if { (ac_try="$ac_compile"
6571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6572 *) ac_try_echo
=$ac_try;;
6574 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6575 $as_echo "$ac_try_echo") >&5
6576 (eval "$ac_compile") 2>conftest.er1
6578 grep -v '^ *+' conftest.er1
>conftest.err
6580 cat conftest.err
>&5
6581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } && {
6583 test -z "$ac_c_werror_flag" ||
6584 test ! -s conftest.err
6585 } && test -s conftest.
$ac_objext; then
6586 ac_cv_type_signal
=int
6588 $as_echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6591 ac_cv_type_signal
=void
6594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6596 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6597 $as_echo "$ac_cv_type_signal" >&6; }
6599 cat >>confdefs.h
<<_ACEOF
6600 #define RETSIGTYPE $ac_cv_type_signal
6604 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6605 $as_echo_n "checking for size_t... " >&6; }
6606 if test "${ac_cv_type_size_t+set}" = set; then
6607 $as_echo_n "(cached) " >&6
6609 ac_cv_type_size_t
=no
6610 cat >conftest.
$ac_ext <<_ACEOF
6613 cat confdefs.h
>>conftest.
$ac_ext
6614 cat >>conftest.
$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6616 $ac_includes_default
6620 if (sizeof (size_t))
6626 rm -f conftest.
$ac_objext
6627 if { (ac_try
="$ac_compile"
6629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6630 *) ac_try_echo=$ac_try;;
6632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6633 $as_echo "$ac_try_echo") >&5
6634 (eval "$ac_compile") 2>conftest.er1
6636 grep -v '^ *+' conftest.er1 >conftest.err
6638 cat conftest.err >&5
6639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && {
6641 test -z "$ac_c_werror_flag" ||
6642 test ! -s conftest.err
6643 } && test -s conftest.$ac_objext; then
6644 cat >conftest.$ac_ext <<_ACEOF
6647 cat confdefs.h >>conftest.$ac_ext
6648 cat >>conftest.$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6650 $ac_includes_default
6654 if (sizeof ((size_t)))
6660 rm -f conftest.$ac_objext
6661 if { (ac_try="$ac_compile"
6663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6664 *) ac_try_echo
=$ac_try;;
6666 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6667 $as_echo "$ac_try_echo") >&5
6668 (eval "$ac_compile") 2>conftest.er1
6670 grep -v '^ *+' conftest.er1
>conftest.err
6672 cat conftest.err
>&5
6673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } && {
6675 test -z "$ac_c_werror_flag" ||
6676 test ! -s conftest.err
6677 } && test -s conftest.
$ac_objext; then
6680 $as_echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.
$ac_ext >&5
6683 ac_cv_type_size_t
=yes
6686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6688 $as_echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6696 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6697 $as_echo "$ac_cv_type_size_t" >&6; }
6698 if test "x$ac_cv_type_size_t" = x
""yes; then
6702 cat >>confdefs.h
<<_ACEOF
6703 #define size_t unsigned int
6708 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6709 $as_echo_n "checking for mode_t... " >&6; }
6710 if test "${ac_cv_type_mode_t+set}" = set; then
6711 $as_echo_n "(cached) " >&6
6713 ac_cv_type_mode_t
=no
6714 cat >conftest.
$ac_ext <<_ACEOF
6717 cat confdefs.h
>>conftest.
$ac_ext
6718 cat >>conftest.
$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6720 $ac_includes_default
6724 if (sizeof (mode_t))
6730 rm -f conftest.
$ac_objext
6731 if { (ac_try
="$ac_compile"
6733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6734 *) ac_try_echo=$ac_try;;
6736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6737 $as_echo "$ac_try_echo") >&5
6738 (eval "$ac_compile") 2>conftest.er1
6740 grep -v '^ *+' conftest.er1 >conftest.err
6742 cat conftest.err >&5
6743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } && {
6745 test -z "$ac_c_werror_flag" ||
6746 test ! -s conftest.err
6747 } && test -s conftest.$ac_objext; then
6748 cat >conftest.$ac_ext <<_ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 $ac_includes_default
6758 if (sizeof ((mode_t)))
6764 rm -f conftest.$ac_objext
6765 if { (ac_try="$ac_compile"
6767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6768 *) ac_try_echo
=$ac_try;;
6770 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6771 $as_echo "$ac_try_echo") >&5
6772 (eval "$ac_compile") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest.
$ac_objext; then
6784 $as_echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.
$ac_ext >&5
6787 ac_cv_type_mode_t
=yes
6790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6792 $as_echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.
$ac_ext >&5
6798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6800 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6801 $as_echo "$ac_cv_type_mode_t" >&6; }
6802 if test "x$ac_cv_type_mode_t" = x
""yes; then
6806 cat >>confdefs.h
<<_ACEOF
6813 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
6814 $as_echo_n "checking for int8_t... " >&6; }
6815 if test "${ac_cv_c_int8_t+set}" = set; then
6816 $as_echo_n "(cached) " >&6
6819 for ac_type
in 'int8_t' 'int' 'long int' \
6820 'long long int' 'short int' 'signed char'; do
6821 cat >conftest.
$ac_ext <<_ACEOF
6824 cat confdefs.h
>>conftest.
$ac_ext
6825 cat >>conftest.
$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_includes_default
6831 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
6838 rm -f conftest.
$ac_objext
6839 if { (ac_try
="$ac_compile"
6841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6842 *) ac_try_echo=$ac_try;;
6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6845 $as_echo "$ac_try_echo") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.$ac_objext; then
6856 cat >conftest.$ac_ext <<_ACEOF
6859 cat confdefs.h >>conftest.$ac_ext
6860 cat >>conftest.$ac_ext <<_ACEOF
6861 /* end confdefs.h. */
6862 $ac_includes_default
6866 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
6867 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
6874 rm -f conftest.$ac_objext
6875 if { (ac_try="$ac_compile"
6877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6878 *) ac_try_echo
=$ac_try;;
6880 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6881 $as_echo "$ac_try_echo") >&5
6882 (eval "$ac_compile") 2>conftest.er1
6884 grep -v '^ *+' conftest.er1
>conftest.err
6886 cat conftest.err
>&5
6887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } && {
6889 test -z "$ac_c_werror_flag" ||
6890 test ! -s conftest.err
6891 } && test -s conftest.
$ac_objext; then
6894 $as_echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.
$ac_ext >&5
6898 int8_t
) ac_cv_c_int8_t
=yes ;;
6899 *) ac_cv_c_int8_t
=$ac_type ;;
6904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6906 $as_echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.
$ac_ext >&5
6912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6913 test "$ac_cv_c_int8_t" != no
&& break
6916 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
6917 $as_echo "$ac_cv_c_int8_t" >&6; }
6918 case $ac_cv_c_int8_t in #(
6922 cat >>confdefs.h
<<_ACEOF
6923 #define int8_t $ac_cv_c_int8_t
6929 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
6930 $as_echo_n "checking for int16_t... " >&6; }
6931 if test "${ac_cv_c_int16_t+set}" = set; then
6932 $as_echo_n "(cached) " >&6
6935 for ac_type
in 'int16_t' 'int' 'long int' \
6936 'long long int' 'short int' 'signed char'; do
6937 cat >conftest.
$ac_ext <<_ACEOF
6940 cat confdefs.h
>>conftest.
$ac_ext
6941 cat >>conftest.
$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6943 $ac_includes_default
6947 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
6954 rm -f conftest.
$ac_objext
6955 if { (ac_try
="$ac_compile"
6957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6958 *) ac_try_echo=$ac_try;;
6960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6961 $as_echo "$ac_try_echo") >&5
6962 (eval "$ac_compile") 2>conftest.er1
6964 grep -v '^ *+' conftest.er1 >conftest.err
6966 cat conftest.err >&5
6967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } && {
6969 test -z "$ac_c_werror_flag" ||
6970 test ! -s conftest.err
6971 } && test -s conftest.$ac_objext; then
6972 cat >conftest.$ac_ext <<_ACEOF
6975 cat confdefs.h >>conftest.$ac_ext
6976 cat >>conftest.$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6978 $ac_includes_default
6982 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
6983 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
6990 rm -f conftest.$ac_objext
6991 if { (ac_try="$ac_compile"
6993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6994 *) ac_try_echo
=$ac_try;;
6996 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6997 $as_echo "$ac_try_echo") >&5
6998 (eval "$ac_compile") 2>conftest.er1
7000 grep -v '^ *+' conftest.er1
>conftest.err
7002 cat conftest.err
>&5
7003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); } && {
7005 test -z "$ac_c_werror_flag" ||
7006 test ! -s conftest.err
7007 } && test -s conftest.
$ac_objext; then
7010 $as_echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.
$ac_ext >&5
7014 int16_t
) ac_cv_c_int16_t
=yes ;;
7015 *) ac_cv_c_int16_t
=$ac_type ;;
7020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7022 $as_echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.
$ac_ext >&5
7028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7029 test "$ac_cv_c_int16_t" != no
&& break
7032 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
7033 $as_echo "$ac_cv_c_int16_t" >&6; }
7034 case $ac_cv_c_int16_t in #(
7038 cat >>confdefs.h
<<_ACEOF
7039 #define int16_t $ac_cv_c_int16_t
7045 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
7046 $as_echo_n "checking for int32_t... " >&6; }
7047 if test "${ac_cv_c_int32_t+set}" = set; then
7048 $as_echo_n "(cached) " >&6
7051 for ac_type
in 'int32_t' 'int' 'long int' \
7052 'long long int' 'short int' 'signed char'; do
7053 cat >conftest.
$ac_ext <<_ACEOF
7056 cat confdefs.h
>>conftest.
$ac_ext
7057 cat >>conftest.
$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 $ac_includes_default
7063 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
7070 rm -f conftest.
$ac_objext
7071 if { (ac_try
="$ac_compile"
7073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7077 $as_echo "$ac_try_echo") >&5
7078 (eval "$ac_compile") 2>conftest.er1
7080 grep -v '^ *+' conftest.er1 >conftest.err
7082 cat conftest.err >&5
7083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && {
7085 test -z "$ac_c_werror_flag" ||
7086 test ! -s conftest.err
7087 } && test -s conftest.$ac_objext; then
7088 cat >conftest.$ac_ext <<_ACEOF
7091 cat confdefs.h >>conftest.$ac_ext
7092 cat >>conftest.$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7094 $ac_includes_default
7098 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
7099 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
7106 rm -f conftest.$ac_objext
7107 if { (ac_try="$ac_compile"
7109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7110 *) ac_try_echo
=$ac_try;;
7112 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7113 $as_echo "$ac_try_echo") >&5
7114 (eval "$ac_compile") 2>conftest.er1
7116 grep -v '^ *+' conftest.er1
>conftest.err
7118 cat conftest.err
>&5
7119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } && {
7121 test -z "$ac_c_werror_flag" ||
7122 test ! -s conftest.err
7123 } && test -s conftest.
$ac_objext; then
7126 $as_echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.
$ac_ext >&5
7130 int32_t
) ac_cv_c_int32_t
=yes ;;
7131 *) ac_cv_c_int32_t
=$ac_type ;;
7136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7138 $as_echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.
$ac_ext >&5
7144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7145 test "$ac_cv_c_int32_t" != no
&& break
7148 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
7149 $as_echo "$ac_cv_c_int32_t" >&6; }
7150 case $ac_cv_c_int32_t in #(
7154 cat >>confdefs.h
<<_ACEOF
7155 #define int32_t $ac_cv_c_int32_t
7161 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
7162 $as_echo_n "checking for int64_t... " >&6; }
7163 if test "${ac_cv_c_int64_t+set}" = set; then
7164 $as_echo_n "(cached) " >&6
7167 for ac_type
in 'int64_t' 'int' 'long int' \
7168 'long long int' 'short int' 'signed char'; do
7169 cat >conftest.
$ac_ext <<_ACEOF
7172 cat confdefs.h
>>conftest.
$ac_ext
7173 cat >>conftest.
$ac_ext <<_ACEOF
7174 /* end confdefs.h. */
7175 $ac_includes_default
7179 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
7186 rm -f conftest.
$ac_objext
7187 if { (ac_try
="$ac_compile"
7189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7190 *) ac_try_echo=$ac_try;;
7192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7193 $as_echo "$ac_try_echo") >&5
7194 (eval "$ac_compile") 2>conftest.er1
7196 grep -v '^ *+' conftest.er1 >conftest.err
7198 cat conftest.err >&5
7199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); } && {
7201 test -z "$ac_c_werror_flag" ||
7202 test ! -s conftest.err
7203 } && test -s conftest.$ac_objext; then
7204 cat >conftest.$ac_ext <<_ACEOF
7207 cat confdefs.h >>conftest.$ac_ext
7208 cat >>conftest.$ac_ext <<_ACEOF
7209 /* end confdefs.h. */
7210 $ac_includes_default
7214 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
7215 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
7222 rm -f conftest.$ac_objext
7223 if { (ac_try="$ac_compile"
7225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7226 *) ac_try_echo
=$ac_try;;
7228 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7229 $as_echo "$ac_try_echo") >&5
7230 (eval "$ac_compile") 2>conftest.er1
7232 grep -v '^ *+' conftest.er1
>conftest.err
7234 cat conftest.err
>&5
7235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } && {
7237 test -z "$ac_c_werror_flag" ||
7238 test ! -s conftest.err
7239 } && test -s conftest.
$ac_objext; then
7242 $as_echo "$as_me: failed program was:" >&5
7243 sed 's/^/| /' conftest.
$ac_ext >&5
7246 int64_t
) ac_cv_c_int64_t
=yes ;;
7247 *) ac_cv_c_int64_t
=$ac_type ;;
7252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7254 $as_echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.
$ac_ext >&5
7260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7261 test "$ac_cv_c_int64_t" != no
&& break
7264 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
7265 $as_echo "$ac_cv_c_int64_t" >&6; }
7266 case $ac_cv_c_int64_t in #(
7270 cat >>confdefs.h
<<_ACEOF
7271 #define int64_t $ac_cv_c_int64_t
7276 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
7277 $as_echo_n "checking for ssize_t... " >&6; }
7278 if test "${ac_cv_type_ssize_t+set}" = set; then
7279 $as_echo_n "(cached) " >&6
7281 ac_cv_type_ssize_t
=no
7282 cat >conftest.
$ac_ext <<_ACEOF
7285 cat confdefs.h
>>conftest.
$ac_ext
7286 cat >>conftest.
$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7288 $ac_includes_default
7292 if (sizeof (ssize_t))
7298 rm -f conftest.
$ac_objext
7299 if { (ac_try
="$ac_compile"
7301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7302 *) ac_try_echo=$ac_try;;
7304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7305 $as_echo "$ac_try_echo") >&5
7306 (eval "$ac_compile") 2>conftest.er1
7308 grep -v '^ *+' conftest.er1 >conftest.err
7310 cat conftest.err >&5
7311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); } && {
7313 test -z "$ac_c_werror_flag" ||
7314 test ! -s conftest.err
7315 } && test -s conftest.$ac_objext; then
7316 cat >conftest.$ac_ext <<_ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 $ac_includes_default
7326 if (sizeof ((ssize_t)))
7332 rm -f conftest.$ac_objext
7333 if { (ac_try="$ac_compile"
7335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7336 *) ac_try_echo
=$ac_try;;
7338 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7339 $as_echo "$ac_try_echo") >&5
7340 (eval "$ac_compile") 2>conftest.er1
7342 grep -v '^ *+' conftest.er1
>conftest.err
7344 cat conftest.err
>&5
7345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); } && {
7347 test -z "$ac_c_werror_flag" ||
7348 test ! -s conftest.err
7349 } && test -s conftest.
$ac_objext; then
7352 $as_echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.
$ac_ext >&5
7355 ac_cv_type_ssize_t
=yes
7358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7360 $as_echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.
$ac_ext >&5
7366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7368 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
7369 $as_echo "$ac_cv_type_ssize_t" >&6; }
7370 if test "x$ac_cv_type_ssize_t" = x
""yes; then
7374 cat >>confdefs.h
<<_ACEOF
7380 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7381 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7382 if test "${ac_cv_type_uid_t+set}" = set; then
7383 $as_echo_n "(cached) " >&6
7385 cat >conftest.
$ac_ext <<_ACEOF
7388 cat confdefs.h
>>conftest.
$ac_ext
7389 cat >>conftest.
$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7395 $EGREP "uid_t" >/dev
/null
2>&1; then
7396 ac_cv_type_uid_t
=yes
7403 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7404 $as_echo "$ac_cv_type_uid_t" >&6; }
7405 if test $ac_cv_type_uid_t = no
; then
7407 cat >>confdefs.h
<<\_ACEOF
7412 cat >>confdefs.h
<<\_ACEOF
7419 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
7420 $as_echo_n "checking for uint8_t... " >&6; }
7421 if test "${ac_cv_c_uint8_t+set}" = set; then
7422 $as_echo_n "(cached) " >&6
7425 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
7426 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7427 cat >conftest.
$ac_ext <<_ACEOF
7430 cat confdefs.h
>>conftest.
$ac_ext
7431 cat >>conftest.
$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 $ac_includes_default
7437 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
7444 rm -f conftest.
$ac_objext
7445 if { (ac_try
="$ac_compile"
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7451 $as_echo "$ac_try_echo") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7454 grep -v '^ *+' conftest.er1 >conftest.err
7456 cat conftest.err >&5
7457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7463 uint8_t) ac_cv_c_uint8_t=yes ;;
7464 *) ac_cv_c_uint8_t=$ac_type ;;
7468 $as_echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7475 test "$ac_cv_c_uint8_t" != no && break
7478 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
7479 $as_echo "$ac_cv_c_uint8_t" >&6; }
7480 case $ac_cv_c_uint8_t in #(
7484 cat >>confdefs.h <<\_ACEOF
7489 cat >>confdefs.h <<_ACEOF
7490 #define uint8_t $ac_cv_c_uint8_t
7496 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
7497 $as_echo_n "checking for uint16_t... " >&6; }
7498 if test "${ac_cv_c_uint16_t+set}" = set; then
7499 $as_echo_n "(cached) " >&6
7502 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
7503 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7504 cat >conftest.$ac_ext <<_ACEOF
7507 cat confdefs.h >>conftest.$ac_ext
7508 cat >>conftest.$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7510 $ac_includes_default
7514 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
7521 rm -f conftest.$ac_objext
7522 if { (ac_try="$ac_compile"
7524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7525 *) ac_try_echo
=$ac_try;;
7527 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7528 $as_echo "$ac_try_echo") >&5
7529 (eval "$ac_compile") 2>conftest.er1
7531 grep -v '^ *+' conftest.er1
>conftest.err
7533 cat conftest.err
>&5
7534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest.
$ac_objext; then
7540 uint16_t
) ac_cv_c_uint16_t
=yes ;;
7541 *) ac_cv_c_uint16_t
=$ac_type ;;
7545 $as_echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.
$ac_ext >&5
7551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7552 test "$ac_cv_c_uint16_t" != no
&& break
7555 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
7556 $as_echo "$ac_cv_c_uint16_t" >&6; }
7557 case $ac_cv_c_uint16_t in #(
7562 cat >>confdefs.h
<<_ACEOF
7563 #define uint16_t $ac_cv_c_uint16_t
7569 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
7570 $as_echo_n "checking for uint32_t... " >&6; }
7571 if test "${ac_cv_c_uint32_t+set}" = set; then
7572 $as_echo_n "(cached) " >&6
7575 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
7576 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7577 cat >conftest.
$ac_ext <<_ACEOF
7580 cat confdefs.h
>>conftest.
$ac_ext
7581 cat >>conftest.
$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 $ac_includes_default
7587 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
7594 rm -f conftest.
$ac_objext
7595 if { (ac_try
="$ac_compile"
7597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7598 *) ac_try_echo=$ac_try;;
7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7601 $as_echo "$ac_try_echo") >&5
7602 (eval "$ac_compile") 2>conftest.er1
7604 grep -v '^ *+' conftest.er1 >conftest.err
7606 cat conftest.err >&5
7607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } && {
7609 test -z "$ac_c_werror_flag" ||
7610 test ! -s conftest.err
7611 } && test -s conftest.$ac_objext; then
7613 uint32_t) ac_cv_c_uint32_t=yes ;;
7614 *) ac_cv_c_uint32_t=$ac_type ;;
7618 $as_echo "$as_me: failed program was:" >&5
7619 sed 's/^/| /' conftest.$ac_ext >&5
7624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7625 test "$ac_cv_c_uint32_t" != no && break
7628 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
7629 $as_echo "$ac_cv_c_uint32_t" >&6; }
7630 case $ac_cv_c_uint32_t in #(
7634 cat >>confdefs.h <<\_ACEOF
7639 cat >>confdefs.h <<_ACEOF
7640 #define uint32_t $ac_cv_c_uint32_t
7646 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
7647 $as_echo_n "checking for uint64_t... " >&6; }
7648 if test "${ac_cv_c_uint64_t+set}" = set; then
7649 $as_echo_n "(cached) " >&6
7652 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
7653 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7654 cat >conftest.$ac_ext <<_ACEOF
7657 cat confdefs.h >>conftest.$ac_ext
7658 cat >>conftest.$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 $ac_includes_default
7664 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
7671 rm -f conftest.$ac_objext
7672 if { (ac_try="$ac_compile"
7674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7675 *) ac_try_echo
=$ac_try;;
7677 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7678 $as_echo "$ac_try_echo") >&5
7679 (eval "$ac_compile") 2>conftest.er1
7681 grep -v '^ *+' conftest.er1
>conftest.err
7683 cat conftest.err
>&5
7684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } && {
7686 test -z "$ac_c_werror_flag" ||
7687 test ! -s conftest.err
7688 } && test -s conftest.
$ac_objext; then
7690 uint64_t
) ac_cv_c_uint64_t
=yes ;;
7691 *) ac_cv_c_uint64_t
=$ac_type ;;
7695 $as_echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.
$ac_ext >&5
7701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7702 test "$ac_cv_c_uint64_t" != no
&& break
7705 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
7706 $as_echo "$ac_cv_c_uint64_t" >&6; }
7707 case $ac_cv_c_uint64_t in #(
7711 cat >>confdefs.h
<<\_ACEOF
7716 cat >>confdefs.h
<<_ACEOF
7717 #define uint64_t $ac_cv_c_uint64_t
7722 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7723 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
7724 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7725 $as_echo_n "(cached) " >&6
7727 cat >conftest.
$ac_ext <<_ACEOF
7730 cat confdefs.h
>>conftest.
$ac_ext
7731 cat >>conftest.
$ac_ext <<_ACEOF
7732 /* end confdefs.h. */
7733 $ac_includes_default
7737 static struct stat ac_aggr;
7738 if (ac_aggr.st_rdev)
7744 rm -f conftest.
$ac_objext
7745 if { (ac_try
="$ac_compile"
7747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7748 *) ac_try_echo=$ac_try;;
7750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7751 $as_echo "$ac_try_echo") >&5
7752 (eval "$ac_compile") 2>conftest.er1
7754 grep -v '^ *+' conftest.er1 >conftest.err
7756 cat conftest.err >&5
7757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); } && {
7759 test -z "$ac_c_werror_flag" ||
7760 test ! -s conftest.err
7761 } && test -s conftest.$ac_objext; then
7762 ac_cv_member_struct_stat_st_rdev=yes
7764 $as_echo "$as_me: failed program was:" >&5
7765 sed 's/^/| /' conftest.$ac_ext >&5
7767 cat >conftest.$ac_ext <<_ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 $ac_includes_default
7777 static struct stat ac_aggr;
7778 if (sizeof ac_aggr.st_rdev)
7784 rm -f conftest.$ac_objext
7785 if { (ac_try="$ac_compile"
7787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7788 *) ac_try_echo
=$ac_try;;
7790 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7791 $as_echo "$ac_try_echo") >&5
7792 (eval "$ac_compile") 2>conftest.er1
7794 grep -v '^ *+' conftest.er1
>conftest.err
7796 cat conftest.err
>&5
7797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); } && {
7799 test -z "$ac_c_werror_flag" ||
7800 test ! -s conftest.err
7801 } && test -s conftest.
$ac_objext; then
7802 ac_cv_member_struct_stat_st_rdev
=yes
7804 $as_echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.
$ac_ext >&5
7807 ac_cv_member_struct_stat_st_rdev
=no
7810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7815 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7816 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
7817 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
7819 cat >>confdefs.h
<<_ACEOF
7820 #define HAVE_STRUCT_STAT_ST_RDEV 1
7826 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7827 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7828 if test "${ac_cv_struct_tm+set}" = set; then
7829 $as_echo_n "(cached) " >&6
7831 cat >conftest.
$ac_ext <<_ACEOF
7834 cat confdefs.h
>>conftest.
$ac_ext
7835 cat >>conftest.
$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 #include <sys/types.h>
7844 int *p = &tm.tm_sec;
7850 rm -f conftest.
$ac_objext
7851 if { (ac_try
="$ac_compile"
7853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7854 *) ac_try_echo=$ac_try;;
7856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7857 $as_echo "$ac_try_echo") >&5
7858 (eval "$ac_compile") 2>conftest.er1
7860 grep -v '^ *+' conftest.er1 >conftest.err
7862 cat conftest.err >&5
7863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest.$ac_objext; then
7868 ac_cv_struct_tm=time.h
7870 $as_echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7873 ac_cv_struct_tm=sys/time.h
7876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7878 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7879 $as_echo "$ac_cv_struct_tm" >&6; }
7880 if test $ac_cv_struct_tm = sys/time.h; then
7882 cat >>confdefs.h <<\_ACEOF
7883 #define TM_IN_SYS_TIME 1
7889 ################################################################################
7890 { $as_echo "$as_me:$LINENO: checking for library containing floor" >&5
7891 $as_echo_n "checking for library containing floor... " >&6; }
7892 if test "${ac_cv_search_floor+set}" = set; then
7893 $as_echo_n "(cached) " >&6
7895 ac_func_search_save_LIBS=$LIBS
7896 cat >conftest.$ac_ext <<_ACEOF
7899 cat confdefs.h >>conftest.$ac_ext
7900 cat >>conftest.$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 /* Override any GCC internal prototype to avoid an error.
7904 Use char because int might match the return type of a GCC
7905 builtin and then its argument prototype would still apply. */
7918 for ac_lib in '' m; do
7919 if test -z "$ac_lib"; then
7920 ac_res="none required"
7923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7925 rm -f conftest.$ac_objext conftest$ac_exeext
7926 if { (ac_try="$ac_link"
7928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7929 *) ac_try_echo
=$ac_try;;
7931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7932 $as_echo "$ac_try_echo") >&5
7933 (eval "$ac_link") 2>conftest.er1
7935 grep -v '^ *+' conftest.er1
>conftest.err
7937 cat conftest.err
>&5
7938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); } && {
7940 test -z "$ac_c_werror_flag" ||
7941 test ! -s conftest.err
7942 } && test -s conftest
$ac_exeext && {
7943 test "$cross_compiling" = yes ||
7944 $as_test_x conftest
$ac_exeext
7946 ac_cv_search_floor
=$ac_res
7948 $as_echo "$as_me: failed program was:" >&5
7949 sed 's/^/| /' conftest.
$ac_ext >&5
7954 rm -rf conftest.dSYM
7955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7957 if test "${ac_cv_search_floor+set}" = set; then
7961 if test "${ac_cv_search_floor+set}" = set; then
7964 ac_cv_search_floor
=no
7967 LIBS
=$ac_func_search_save_LIBS
7969 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_floor" >&5
7970 $as_echo "$ac_cv_search_floor" >&6; }
7971 ac_res
=$ac_cv_search_floor
7972 if test "$ac_res" != no
; then
7973 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7976 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
7977 $as_echo "$as_me: error: bailing out" >&2;}
7978 { (exit 1); exit 1; }; }
8006 for ac_func
in floor ftruncate gethostname getpagesize \
8007 gettimeofday memset mkdir
mkfifo rmdir munmap nl_langinfo setenv setlocale \
8008 strcasecmp strchr strcspn strspn strdup strncasecmp strerror strrchr \
8009 strstr strtol strtoul uname
8011 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8012 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8013 $as_echo_n "checking for $ac_func... " >&6; }
8014 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8015 $as_echo_n "(cached) " >&6
8017 cat >conftest.
$ac_ext <<_ACEOF
8020 cat confdefs.h
>>conftest.
$ac_ext
8021 cat >>conftest.
$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8025 #define $ac_func innocuous_$ac_func
8027 /* System header to define __stub macros and hopefully few prototypes,
8028 which can conflict with char $ac_func (); below.
8029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8030 <limits.h> exists even on freestanding compilers. */
8033 # include <limits.h>
8035 # include <assert.h>
8040 /* Override any GCC internal prototype to avoid an error.
8041 Use char because int might match the return type of a GCC
8042 builtin and then its argument prototype would still apply. */
8047 /* The GNU C library defines this for functions which it implements
8048 to always fail with ENOSYS. Some functions are actually named
8049 something starting with __ and the normal name is an alias. */
8050 #if defined __stub_$ac_func || defined __stub___$ac_func
8062 rm -f conftest.
$ac_objext conftest
$ac_exeext
8063 if { (ac_try
="$ac_link"
8065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8066 *) ac_try_echo=$ac_try;;
8068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8069 $as_echo "$ac_try_echo") >&5
8070 (eval "$ac_link") 2>conftest.er1
8072 grep -v '^ *+' conftest.er1 >conftest.err
8074 cat conftest.err >&5
8075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); } && {
8077 test -z "$ac_c_werror_flag" ||
8078 test ! -s conftest.err
8079 } && test -s conftest$ac_exeext && {
8080 test "$cross_compiling" = yes ||
8081 $as_test_x conftest$ac_exeext
8083 eval "$as_ac_var=yes"
8085 $as_echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 eval "$as_ac_var=no"
8091 rm -rf conftest.dSYM
8092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093 conftest$ac_exeext conftest.$ac_ext
8095 ac_res=`eval 'as_val=${'$as_ac_var'}
8096 $as_echo "$as_val"'`
8097 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8098 $as_echo "$ac_res" >&6; }
8099 as_val=`eval 'as_val=${'$as_ac_var'}
8100 $as_echo "$as_val"'`
8101 if test "x$as_val" = x""yes; then
8102 cat >>confdefs.h <<_ACEOF
8103 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8107 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
8108 $as_echo "$as_me: error: bailing out" >&2;}
8109 { (exit 1); exit 1; }; }
8114 for ac_func in siginterrupt
8116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8117 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8118 $as_echo_n "checking for $ac_func... " >&6; }
8119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8120 $as_echo_n "(cached) " >&6
8122 cat >conftest.$ac_ext <<_ACEOF
8125 cat confdefs.h >>conftest.$ac_ext
8126 cat >>conftest.$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8130 #define $ac_func innocuous_$ac_func
8132 /* System header to define __stub macros and hopefully few prototypes,
8133 which can conflict with char $ac_func (); below.
8134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8135 <limits.h> exists even on freestanding compilers. */
8138 # include <limits.h>
8140 # include <assert.h>
8145 /* Override any GCC internal prototype to avoid an error.
8146 Use char because int might match the return type of a GCC
8147 builtin and then its argument prototype would still apply. */
8152 /* The GNU C library defines this for functions which it implements
8153 to always fail with ENOSYS. Some functions are actually named
8154 something starting with __ and the normal name is an alias. */
8155 #if defined __stub_$ac_func || defined __stub___$ac_func
8167 rm -f conftest.$ac_objext conftest$ac_exeext
8168 if { (ac_try="$ac_link"
8170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8171 *) ac_try_echo
=$ac_try;;
8173 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8174 $as_echo "$ac_try_echo") >&5
8175 (eval "$ac_link") 2>conftest.er1
8177 grep -v '^ *+' conftest.er1
>conftest.err
8179 cat conftest.err
>&5
8180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); } && {
8182 test -z "$ac_c_werror_flag" ||
8183 test ! -s conftest.err
8184 } && test -s conftest
$ac_exeext && {
8185 test "$cross_compiling" = yes ||
8186 $as_test_x conftest
$ac_exeext
8188 eval "$as_ac_var=yes"
8190 $as_echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.
$ac_ext >&5
8193 eval "$as_ac_var=no"
8196 rm -rf conftest.dSYM
8197 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8198 conftest
$ac_exeext conftest.
$ac_ext
8200 ac_res
=`eval 'as_val=${'$as_ac_var'}
8201 $as_echo "$as_val"'`
8202 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8203 $as_echo "$ac_res" >&6; }
8204 as_val
=`eval 'as_val=${'$as_ac_var'}
8205 $as_echo "$as_val"'`
8206 if test "x$as_val" = x
""yes; then
8207 cat >>confdefs.h
<<_ACEOF
8208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8214 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8215 # for constant arguments. Useless!
8216 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
8217 $as_echo_n "checking for working alloca.h... " >&6; }
8218 if test "${ac_cv_working_alloca_h+set}" = set; then
8219 $as_echo_n "(cached) " >&6
8221 cat >conftest.
$ac_ext <<_ACEOF
8224 cat confdefs.h
>>conftest.
$ac_ext
8225 cat >>conftest.
$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8231 char *p = (char *) alloca (2 * sizeof (int));
8237 rm -f conftest.
$ac_objext conftest
$ac_exeext
8238 if { (ac_try
="$ac_link"
8240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8241 *) ac_try_echo=$ac_try;;
8243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8244 $as_echo "$ac_try_echo") >&5
8245 (eval "$ac_link") 2>conftest.er1
8247 grep -v '^ *+' conftest.er1 >conftest.err
8249 cat conftest.err >&5
8250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); } && {
8252 test -z "$ac_c_werror_flag" ||
8253 test ! -s conftest.err
8254 } && test -s conftest$ac_exeext && {
8255 test "$cross_compiling" = yes ||
8256 $as_test_x conftest$ac_exeext
8258 ac_cv_working_alloca_h=yes
8260 $as_echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 ac_cv_working_alloca_h=no
8266 rm -rf conftest.dSYM
8267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8268 conftest$ac_exeext conftest.$ac_ext
8270 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8271 $as_echo "$ac_cv_working_alloca_h" >&6; }
8272 if test $ac_cv_working_alloca_h = yes; then
8274 cat >>confdefs.h <<\_ACEOF
8275 #define HAVE_ALLOCA_H 1
8280 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
8281 $as_echo_n "checking for alloca... " >&6; }
8282 if test "${ac_cv_func_alloca_works+set}" = set; then
8283 $as_echo_n "(cached) " >&6
8285 cat >conftest.$ac_ext <<_ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8292 # define alloca __builtin_alloca
8295 # include <malloc.h>
8296 # define alloca _alloca
8298 # ifdef HAVE_ALLOCA_H
8299 # include <alloca.h>
8304 # ifndef alloca /* predefined by HP cc +Olibcalls */
8315 char *p = (char *) alloca (1);
8321 rm -f conftest.$ac_objext conftest$ac_exeext
8322 if { (ac_try="$ac_link"
8324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8325 *) ac_try_echo
=$ac_try;;
8327 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8328 $as_echo "$ac_try_echo") >&5
8329 (eval "$ac_link") 2>conftest.er1
8331 grep -v '^ *+' conftest.er1
>conftest.err
8333 cat conftest.err
>&5
8334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } && {
8336 test -z "$ac_c_werror_flag" ||
8337 test ! -s conftest.err
8338 } && test -s conftest
$ac_exeext && {
8339 test "$cross_compiling" = yes ||
8340 $as_test_x conftest
$ac_exeext
8342 ac_cv_func_alloca_works
=yes
8344 $as_echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.
$ac_ext >&5
8347 ac_cv_func_alloca_works
=no
8350 rm -rf conftest.dSYM
8351 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8352 conftest
$ac_exeext conftest.
$ac_ext
8354 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8355 $as_echo "$ac_cv_func_alloca_works" >&6; }
8357 if test $ac_cv_func_alloca_works = yes; then
8359 cat >>confdefs.h
<<\_ACEOF
8360 #define HAVE_ALLOCA 1
8364 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8365 # that cause trouble. Some versions do not even contain alloca or
8366 # contain a buggy version. If you still want to use their alloca,
8367 # use ar to extract alloca.o from them instead of compiling alloca.c.
8369 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
8371 cat >>confdefs.h
<<\_ACEOF
8376 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8377 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
8378 if test "${ac_cv_os_cray+set}" = set; then
8379 $as_echo_n "(cached) " >&6
8381 cat >conftest.
$ac_ext <<_ACEOF
8384 cat confdefs.h
>>conftest.
$ac_ext
8385 cat >>conftest.
$ac_ext <<_ACEOF
8386 /* end confdefs.h. */
8387 #if defined CRAY && ! defined CRAY2
8394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8395 $EGREP "webecray" >/dev
/null
2>&1; then
8403 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8404 $as_echo "$ac_cv_os_cray" >&6; }
8405 if test $ac_cv_os_cray = yes; then
8406 for ac_func
in _getb67 GETB67 getb67
; do
8407 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8408 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8409 $as_echo_n "checking for $ac_func... " >&6; }
8410 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8411 $as_echo_n "(cached) " >&6
8413 cat >conftest.
$ac_ext <<_ACEOF
8416 cat confdefs.h
>>conftest.
$ac_ext
8417 cat >>conftest.
$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8421 #define $ac_func innocuous_$ac_func
8423 /* System header to define __stub macros and hopefully few prototypes,
8424 which can conflict with char $ac_func (); below.
8425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8426 <limits.h> exists even on freestanding compilers. */
8429 # include <limits.h>
8431 # include <assert.h>
8436 /* Override any GCC internal prototype to avoid an error.
8437 Use char because int might match the return type of a GCC
8438 builtin and then its argument prototype would still apply. */
8443 /* The GNU C library defines this for functions which it implements
8444 to always fail with ENOSYS. Some functions are actually named
8445 something starting with __ and the normal name is an alias. */
8446 #if defined __stub_$ac_func || defined __stub___$ac_func
8458 rm -f conftest.
$ac_objext conftest
$ac_exeext
8459 if { (ac_try
="$ac_link"
8461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8465 $as_echo "$ac_try_echo") >&5
8466 (eval "$ac_link") 2>conftest.er1
8468 grep -v '^ *+' conftest.er1 >conftest.err
8470 cat conftest.err >&5
8471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext && {
8476 test "$cross_compiling" = yes ||
8477 $as_test_x conftest$ac_exeext
8479 eval "$as_ac_var=yes"
8481 $as_echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.$ac_ext >&5
8484 eval "$as_ac_var=no"
8487 rm -rf conftest.dSYM
8488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8489 conftest$ac_exeext conftest.$ac_ext
8491 ac_res=`eval 'as_val=${'$as_ac_var'}
8492 $as_echo "$as_val"'`
8493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8494 $as_echo "$ac_res" >&6; }
8495 as_val=`eval 'as_val=${'$as_ac_var'}
8496 $as_echo "$as_val"'`
8497 if test "x$as_val" = x""yes; then
8499 cat >>confdefs.h <<_ACEOF
8500 #define CRAY_STACKSEG_END $ac_func
8509 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8510 $as_echo_n "checking stack direction for C alloca... " >&6; }
8511 if test "${ac_cv_c_stack_direction+set}" = set; then
8512 $as_echo_n "(cached) " >&6
8514 if test "$cross_compiling" = yes; then
8515 ac_cv_c_stack_direction=0
8517 cat >conftest.$ac_ext <<_ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 $ac_includes_default
8525 find_stack_direction ()
8527 static char *addr = 0;
8532 return find_stack_direction ();
8535 return (&dummy > addr) ? 1 : -1;
8541 return find_stack_direction () < 0;
8544 rm -f conftest$ac_exeext
8545 if { (ac_try="$ac_link"
8547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8548 *) ac_try_echo
=$ac_try;;
8550 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8551 $as_echo "$ac_try_echo") >&5
8552 (eval "$ac_link") 2>&5
8554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8556 { (case "(($ac_try" in
8557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8558 *) ac_try_echo=$ac_try;;
8560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8561 $as_echo "$ac_try_echo") >&5
8562 (eval "$ac_try") 2>&5
8564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 ac_cv_c_stack_direction=1
8568 $as_echo "$as_me: program exited with status $ac_status" >&5
8569 $as_echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8573 ac_cv_c_stack_direction=-1
8575 rm -rf conftest.dSYM
8576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8581 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8582 $as_echo "$ac_cv_c_stack_direction" >&6; }
8584 cat >>confdefs.h <<_ACEOF
8585 #define STACK_DIRECTION $ac_cv_c_stack_direction
8591 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8592 $as_echo_n "checking whether closedir returns void... " >&6; }
8593 if test "${ac_cv_func_closedir_void+set}" = set; then
8594 $as_echo_n "(cached) " >&6
8596 if test "$cross_compiling" = yes; then
8597 ac_cv_func_closedir_void=yes
8599 cat >conftest.$ac_ext <<_ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8605 $ac_includes_default
8606 #include <$ac_header_dirent>
8614 return closedir (opendir (".")) != 0;
8619 rm -f conftest$ac_exeext
8620 if { (ac_try="$ac_link"
8622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8623 *) ac_try_echo
=$ac_try;;
8625 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8626 $as_echo "$ac_try_echo") >&5
8627 (eval "$ac_link") 2>&5
8629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8631 { (case "(($ac_try" in
8632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8636 $as_echo "$ac_try_echo") >&5
8637 (eval "$ac_try") 2>&5
8639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_func_closedir_void=no
8643 $as_echo "$as_me: program exited with status $ac_status" >&5
8644 $as_echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5
8648 ac_cv_func_closedir_void=yes
8650 rm -rf conftest.dSYM
8651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8656 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8657 $as_echo "$ac_cv_func_closedir_void" >&6; }
8658 if test $ac_cv_func_closedir_void = yes; then
8660 cat >>confdefs.h <<\_ACEOF
8661 #define CLOSEDIR_VOID 1
8667 for ac_header in unistd.h
8669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8671 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8672 $as_echo_n "checking for $ac_header... " >&6; }
8673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8674 $as_echo_n "(cached) " >&6
8676 ac_res=`eval 'as_val=${'$as_ac_Header'}
8677 $as_echo "$as_val"'`
8678 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8679 $as_echo "$ac_res" >&6; }
8681 # Is the header compilable?
8682 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8683 $as_echo_n "checking $ac_header usability... " >&6; }
8684 cat >conftest.$ac_ext <<_ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8690 $ac_includes_default
8691 #include <$ac_header>
8693 rm -f conftest.$ac_objext
8694 if { (ac_try="$ac_compile"
8696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8697 *) ac_try_echo
=$ac_try;;
8699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8700 $as_echo "$ac_try_echo") >&5
8701 (eval "$ac_compile") 2>conftest.er1
8703 grep -v '^ *+' conftest.er1
>conftest.err
8705 cat conftest.err
>&5
8706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && {
8708 test -z "$ac_c_werror_flag" ||
8709 test ! -s conftest.err
8710 } && test -s conftest.
$ac_objext; then
8711 ac_header_compiler
=yes
8713 $as_echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.
$ac_ext >&5
8716 ac_header_compiler
=no
8719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8720 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8721 $as_echo "$ac_header_compiler" >&6; }
8723 # Is the header present?
8724 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8725 $as_echo_n "checking $ac_header presence... " >&6; }
8726 cat >conftest.
$ac_ext <<_ACEOF
8729 cat confdefs.h
>>conftest.
$ac_ext
8730 cat >>conftest.
$ac_ext <<_ACEOF
8731 /* end confdefs.h. */
8732 #include <$ac_header>
8734 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8737 *) ac_try_echo=$ac_try;;
8739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8740 $as_echo "$ac_try_echo") >&5
8741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8743 grep -v '^ *+' conftest.er1 >conftest.err
8745 cat conftest.err >&5
8746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } >/dev/null && {
8748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8749 test ! -s conftest.err
8751 ac_header_preproc=yes
8753 $as_echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.$ac_ext >&5
8756 ac_header_preproc=no
8759 rm -f conftest.err conftest.$ac_ext
8760 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8761 $as_echo "$ac_header_preproc" >&6; }
8763 # So? What about this header?
8764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8767 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8769 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8770 ac_header_preproc=yes
8773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8774 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8776 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8778 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8780 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8782 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8784 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8788 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8789 $as_echo_n "checking for $ac_header... " >&6; }
8790 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8791 $as_echo_n "(cached) " >&6
8793 eval "$as_ac_Header=\$ac_header_preproc"
8795 ac_res=`eval 'as_val=${'$as_ac_Header'}
8796 $as_echo "$as_val"'`
8797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8798 $as_echo "$ac_res" >&6; }
8801 as_val=`eval 'as_val=${'$as_ac_Header'}
8802 $as_echo "$as_val"'`
8803 if test "x$as_val" = x""yes; then
8804 cat >>confdefs.h <<_ACEOF
8805 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8812 { $as_echo "$as_me:$LINENO: checking for working chown" >&5
8813 $as_echo_n "checking for working chown... " >&6; }
8814 if test "${ac_cv_func_chown_works+set}" = set; then
8815 $as_echo_n "(cached) " >&6
8817 if test "$cross_compiling" = yes; then
8818 ac_cv_func_chown_works=no
8820 cat >conftest.$ac_ext <<_ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8826 $ac_includes_default
8832 char *f = "conftest.chown";
8833 struct stat before, after;
8835 if (creat (f, 0600) < 0)
8837 if (stat (f, &before) < 0)
8839 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
8841 if (stat (f, &after) < 0)
8843 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
8849 rm -f conftest$ac_exeext
8850 if { (ac_try="$ac_link"
8852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8853 *) ac_try_echo
=$ac_try;;
8855 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8856 $as_echo "$ac_try_echo") >&5
8857 (eval "$ac_link") 2>&5
8859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8861 { (case "(($ac_try" in
8862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8863 *) ac_try_echo=$ac_try;;
8865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8866 $as_echo "$ac_try_echo") >&5
8867 (eval "$ac_try") 2>&5
8869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 ac_cv_func_chown_works=yes
8873 $as_echo "$as_me: program exited with status $ac_status" >&5
8874 $as_echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_func_chown_works=no
8880 rm -rf conftest.dSYM
8881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8885 rm -f conftest.chown
8888 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_chown_works" >&5
8889 $as_echo "$ac_cv_func_chown_works" >&6; }
8890 if test $ac_cv_func_chown_works = yes; then
8892 cat >>confdefs.h <<\_ACEOF
8893 #define HAVE_CHOWN 1
8899 for ac_header in vfork.h
8901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8903 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8904 $as_echo_n "checking for $ac_header... " >&6; }
8905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8906 $as_echo_n "(cached) " >&6
8908 ac_res=`eval 'as_val=${'$as_ac_Header'}
8909 $as_echo "$as_val"'`
8910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8911 $as_echo "$ac_res" >&6; }
8913 # Is the header compilable?
8914 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8915 $as_echo_n "checking $ac_header usability... " >&6; }
8916 cat >conftest.$ac_ext <<_ACEOF
8919 cat confdefs.h >>conftest.$ac_ext
8920 cat >>conftest.$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8922 $ac_includes_default
8923 #include <$ac_header>
8925 rm -f conftest.$ac_objext
8926 if { (ac_try="$ac_compile"
8928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8929 *) ac_try_echo
=$ac_try;;
8931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8932 $as_echo "$ac_try_echo") >&5
8933 (eval "$ac_compile") 2>conftest.er1
8935 grep -v '^ *+' conftest.er1
>conftest.err
8937 cat conftest.err
>&5
8938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } && {
8940 test -z "$ac_c_werror_flag" ||
8941 test ! -s conftest.err
8942 } && test -s conftest.
$ac_objext; then
8943 ac_header_compiler
=yes
8945 $as_echo "$as_me: failed program was:" >&5
8946 sed 's/^/| /' conftest.
$ac_ext >&5
8948 ac_header_compiler
=no
8951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8952 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8953 $as_echo "$ac_header_compiler" >&6; }
8955 # Is the header present?
8956 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8957 $as_echo_n "checking $ac_header presence... " >&6; }
8958 cat >conftest.
$ac_ext <<_ACEOF
8961 cat confdefs.h
>>conftest.
$ac_ext
8962 cat >>conftest.
$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8964 #include <$ac_header>
8966 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8969 *) ac_try_echo=$ac_try;;
8971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8972 $as_echo "$ac_try_echo") >&5
8973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8975 grep -v '^ *+' conftest.er1 >conftest.err
8977 cat conftest.err >&5
8978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } >/dev/null && {
8980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8981 test ! -s conftest.err
8983 ac_header_preproc=yes
8985 $as_echo "$as_me: failed program was:" >&5
8986 sed 's/^/| /' conftest.$ac_ext >&5
8988 ac_header_preproc=no
8991 rm -f conftest.err conftest.$ac_ext
8992 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8993 $as_echo "$ac_header_preproc" >&6; }
8995 # So? What about this header?
8996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8999 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9001 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9002 ac_header_preproc=yes
9005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9006 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9008 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9010 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9012 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9014 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9016 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9020 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9021 $as_echo_n "checking for $ac_header... " >&6; }
9022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9023 $as_echo_n "(cached) " >&6
9025 eval "$as_ac_Header=\$ac_header_preproc"
9027 ac_res=`eval 'as_val=${'$as_ac_Header'}
9028 $as_echo "$as_val"'`
9029 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9030 $as_echo "$ac_res" >&6; }
9033 as_val=`eval 'as_val=${'$as_ac_Header'}
9034 $as_echo "$as_val"'`
9035 if test "x$as_val" = x""yes; then
9036 cat >>confdefs.h <<_ACEOF
9037 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9046 for ac_func in fork vfork
9048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9049 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9050 $as_echo_n "checking for $ac_func... " >&6; }
9051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9052 $as_echo_n "(cached) " >&6
9054 cat >conftest.$ac_ext <<_ACEOF
9057 cat confdefs.h >>conftest.$ac_ext
9058 cat >>conftest.$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9062 #define $ac_func innocuous_$ac_func
9064 /* System header to define __stub macros and hopefully few prototypes,
9065 which can conflict with char $ac_func (); below.
9066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9067 <limits.h> exists even on freestanding compilers. */
9070 # include <limits.h>
9072 # include <assert.h>
9077 /* Override any GCC internal prototype to avoid an error.
9078 Use char because int might match the return type of a GCC
9079 builtin and then its argument prototype would still apply. */
9084 /* The GNU C library defines this for functions which it implements
9085 to always fail with ENOSYS. Some functions are actually named
9086 something starting with __ and the normal name is an alias. */
9087 #if defined __stub_$ac_func || defined __stub___$ac_func
9099 rm -f conftest.$ac_objext conftest$ac_exeext
9100 if { (ac_try="$ac_link"
9102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9103 *) ac_try_echo
=$ac_try;;
9105 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9106 $as_echo "$ac_try_echo") >&5
9107 (eval "$ac_link") 2>conftest.er1
9109 grep -v '^ *+' conftest.er1
>conftest.err
9111 cat conftest.err
>&5
9112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } && {
9114 test -z "$ac_c_werror_flag" ||
9115 test ! -s conftest.err
9116 } && test -s conftest
$ac_exeext && {
9117 test "$cross_compiling" = yes ||
9118 $as_test_x conftest
$ac_exeext
9120 eval "$as_ac_var=yes"
9122 $as_echo "$as_me: failed program was:" >&5
9123 sed 's/^/| /' conftest.
$ac_ext >&5
9125 eval "$as_ac_var=no"
9128 rm -rf conftest.dSYM
9129 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9130 conftest
$ac_exeext conftest.
$ac_ext
9132 ac_res
=`eval 'as_val=${'$as_ac_var'}
9133 $as_echo "$as_val"'`
9134 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9135 $as_echo "$ac_res" >&6; }
9136 as_val
=`eval 'as_val=${'$as_ac_var'}
9137 $as_echo "$as_val"'`
9138 if test "x$as_val" = x
""yes; then
9139 cat >>confdefs.h
<<_ACEOF
9140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9146 if test "x$ac_cv_func_fork" = xyes
; then
9147 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
9148 $as_echo_n "checking for working fork... " >&6; }
9149 if test "${ac_cv_func_fork_works+set}" = set; then
9150 $as_echo_n "(cached) " >&6
9152 if test "$cross_compiling" = yes; then
9153 ac_cv_func_fork_works
=cross
9155 cat >conftest.
$ac_ext <<_ACEOF
9158 cat confdefs.h
>>conftest.
$ac_ext
9159 cat >>conftest.
$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9161 $ac_includes_default
9166 /* By Ruediger Kuhlmann. */
9173 rm -f conftest
$ac_exeext
9174 if { (ac_try
="$ac_link"
9176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9177 *) ac_try_echo=$ac_try;;
9179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9180 $as_echo "$ac_try_echo") >&5
9181 (eval "$ac_link") 2>&5
9183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9185 { (case "(($ac_try" in
9186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9187 *) ac_try_echo
=$ac_try;;
9189 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9190 $as_echo "$ac_try_echo") >&5
9191 (eval "$ac_try") 2>&5
9193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; }; then
9195 ac_cv_func_fork_works
=yes
9197 $as_echo "$as_me: program exited with status $ac_status" >&5
9198 $as_echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.
$ac_ext >&5
9202 ac_cv_func_fork_works
=no
9204 rm -rf conftest.dSYM
9205 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9210 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
9211 $as_echo "$ac_cv_func_fork_works" >&6; }
9214 ac_cv_func_fork_works
=$ac_cv_func_fork
9216 if test "x$ac_cv_func_fork_works" = xcross
; then
9218 *-*-amigaos* |
*-*-msdosdjgpp*)
9219 # Override, as these systems have only a dummy fork() stub
9220 ac_cv_func_fork_works
=no
9223 ac_cv_func_fork_works
=yes
9226 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
9227 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
9229 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9230 if test "x$ac_cv_func_vfork" = xyes
; then
9231 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
9232 $as_echo_n "checking for working vfork... " >&6; }
9233 if test "${ac_cv_func_vfork_works+set}" = set; then
9234 $as_echo_n "(cached) " >&6
9236 if test "$cross_compiling" = yes; then
9237 ac_cv_func_vfork_works
=cross
9239 cat >conftest.
$ac_ext <<_ACEOF
9242 cat confdefs.h
>>conftest.
$ac_ext
9243 cat >>conftest.
$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9245 /* Thanks to Paul Eggert for this test. */
9246 $ac_includes_default
9247 #include <sys/wait.h>
9251 /* On some sparc systems, changes by the child to local and incoming
9252 argument registers are propagated back to the parent. The compiler
9253 is told about this with #include <vfork.h>, but some compilers
9254 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9255 static variable whose address is put into a register that is
9256 clobbered by the vfork. */
9259 sparc_address_test (int arg)
9261 sparc_address_test (arg) int arg;
9282 pid_t parent = getpid ();
9285 sparc_address_test (0);
9290 /* Here is another test for sparc vfork register problems. This
9291 test uses lots of local variables, at least as many local
9292 variables as main has allocated so far including compiler
9293 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9294 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9295 reuse the register of parent for one of the local variables,
9296 since it will think that parent can't possibly be used any more
9297 in this routine. Assigning to the local variable will thus
9298 munge parent in the parent process. */
9300 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
9301 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
9302 /* Convince the compiler that p..p7 are live; otherwise, it might
9303 use the same hardware register for all 8 local variables. */
9304 if (p != p1 || p != p2 || p != p3 || p != p4
9305 || p != p5 || p != p6 || p != p7)
9308 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9309 from child file descriptors. If the child closes a descriptor
9310 before it execs or exits, this munges the parent's descriptor
9311 as well. Test for this by closing stdout in the child. */
9312 _exit(close(fileno(stdout)) != 0);
9317 while (wait(&status) != child)
9320 /* Was there some problem with vforking? */
9323 /* Did the child fail? (This shouldn't happen.) */
9326 /* Did the vfork/compiler bug occur? */
9327 || parent != getpid()
9329 /* Did the file descriptor bug occur? */
9330 || fstat(fileno(stdout), &st) != 0
9335 rm -f conftest
$ac_exeext
9336 if { (ac_try
="$ac_link"
9338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9339 *) ac_try_echo=$ac_try;;
9341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9342 $as_echo "$ac_try_echo") >&5
9343 (eval "$ac_link") 2>&5
9345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9347 { (case "(($ac_try" in
9348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9349 *) ac_try_echo
=$ac_try;;
9351 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9352 $as_echo "$ac_try_echo") >&5
9353 (eval "$ac_try") 2>&5
9355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; }; then
9357 ac_cv_func_vfork_works
=yes
9359 $as_echo "$as_me: program exited with status $ac_status" >&5
9360 $as_echo "$as_me: failed program was:" >&5
9361 sed 's/^/| /' conftest.
$ac_ext >&5
9364 ac_cv_func_vfork_works
=no
9366 rm -rf conftest.dSYM
9367 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9372 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9373 $as_echo "$ac_cv_func_vfork_works" >&6; }
9376 if test "x$ac_cv_func_fork_works" = xcross
; then
9377 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9378 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9379 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9382 if test "x$ac_cv_func_vfork_works" = xyes
; then
9384 cat >>confdefs.h
<<\_ACEOF
9385 #define HAVE_WORKING_VFORK 1
9390 cat >>confdefs.h
<<\_ACEOF
9395 if test "x$ac_cv_func_fork_works" = xyes
; then
9397 cat >>confdefs.h
<<\_ACEOF
9398 #define HAVE_WORKING_FORK 1
9403 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
9404 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
9405 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
9406 $as_echo_n "(cached) " >&6
9408 rm -f conftest.sym conftest.
file
9410 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
9411 if test "$cross_compiling" = yes; then
9412 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9414 cat >conftest.
$ac_ext <<_ACEOF
9417 cat confdefs.h
>>conftest.
$ac_ext
9418 cat >>conftest.
$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9420 $ac_includes_default
9425 /* Linux will dereference the symlink and fail.
9426 That is better in the sense that it means we will not
9427 have to compile and use the lstat wrapper. */
9428 return lstat ("conftest.sym/", &sbuf) == 0;
9433 rm -f conftest
$ac_exeext
9434 if { (ac_try
="$ac_link"
9436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9437 *) ac_try_echo=$ac_try;;
9439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9440 $as_echo "$ac_try_echo") >&5
9441 (eval "$ac_link") 2>&5
9443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9445 { (case "(($ac_try" in
9446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9447 *) ac_try_echo
=$ac_try;;
9449 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9450 $as_echo "$ac_try_echo") >&5
9451 (eval "$ac_try") 2>&5
9453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; }; then
9455 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
9457 $as_echo "$as_me: program exited with status $ac_status" >&5
9458 $as_echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.
$ac_ext >&5
9462 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9464 rm -rf conftest.dSYM
9465 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9470 # If the `ln -s' command failed, then we probably don't even
9471 # have an lstat function.
9472 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9474 rm -f conftest.sym conftest.
file
9477 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
9478 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
9480 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
9482 cat >>confdefs.h
<<_ACEOF
9483 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
9487 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
9488 case " $LIBOBJS " in
9489 *" lstat.$ac_objext "* ) ;;
9490 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9496 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
9497 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
9498 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
9499 $as_echo_n "(cached) " >&6
9501 if test "$cross_compiling" = yes; then
9502 ac_cv_func_lstat_empty_string_bug
=yes
9504 cat >conftest.
$ac_ext <<_ACEOF
9507 cat confdefs.h
>>conftest.
$ac_ext
9508 cat >>conftest.
$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 $ac_includes_default
9515 return lstat ("", &sbuf) == 0;
9520 rm -f conftest
$ac_exeext
9521 if { (ac_try
="$ac_link"
9523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9524 *) ac_try_echo=$ac_try;;
9526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9527 $as_echo "$ac_try_echo") >&5
9528 (eval "$ac_link") 2>&5
9530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9532 { (case "(($ac_try" in
9533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9534 *) ac_try_echo
=$ac_try;;
9536 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9537 $as_echo "$ac_try_echo") >&5
9538 (eval "$ac_try") 2>&5
9540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then
9542 ac_cv_func_lstat_empty_string_bug
=no
9544 $as_echo "$as_me: program exited with status $ac_status" >&5
9545 $as_echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.
$ac_ext >&5
9549 ac_cv_func_lstat_empty_string_bug
=yes
9551 rm -rf conftest.dSYM
9552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9557 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
9558 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
9559 if test $ac_cv_func_lstat_empty_string_bug = yes; then
9560 case " $LIBOBJS " in
9561 *" lstat.$ac_objext "* ) ;;
9562 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9567 cat >>confdefs.h
<<_ACEOF
9568 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
9574 for ac_header
in stdlib.h
9576 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9577 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9578 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9579 $as_echo_n "checking for $ac_header... " >&6; }
9580 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9581 $as_echo_n "(cached) " >&6
9583 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9584 $as_echo "$as_val"'`
9585 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9586 $as_echo "$ac_res" >&6; }
9588 # Is the header compilable?
9589 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9590 $as_echo_n "checking $ac_header usability... " >&6; }
9591 cat >conftest.
$ac_ext <<_ACEOF
9594 cat confdefs.h
>>conftest.
$ac_ext
9595 cat >>conftest.
$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9597 $ac_includes_default
9598 #include <$ac_header>
9600 rm -f conftest.
$ac_objext
9601 if { (ac_try
="$ac_compile"
9603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9604 *) ac_try_echo=$ac_try;;
9606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9607 $as_echo "$ac_try_echo") >&5
9608 (eval "$ac_compile") 2>conftest.er1
9610 grep -v '^ *+' conftest.er1 >conftest.err
9612 cat conftest.err >&5
9613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } && {
9615 test -z "$ac_c_werror_flag" ||
9616 test ! -s conftest.err
9617 } && test -s conftest.$ac_objext; then
9618 ac_header_compiler=yes
9620 $as_echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9623 ac_header_compiler=no
9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9627 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9628 $as_echo "$ac_header_compiler" >&6; }
9630 # Is the header present?
9631 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9632 $as_echo_n "checking $ac_header presence... " >&6; }
9633 cat >conftest.$ac_ext <<_ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9639 #include <$ac_header>
9641 if { (ac_try="$ac_cpp conftest.$ac_ext"
9643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9644 *) ac_try_echo
=$ac_try;;
9646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9647 $as_echo "$ac_try_echo") >&5
9648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9650 grep -v '^ *+' conftest.er1
>conftest.err
9652 cat conftest.err
>&5
9653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } >/dev
/null
&& {
9655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9658 ac_header_preproc
=yes
9660 $as_echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.
$ac_ext >&5
9663 ac_header_preproc
=no
9666 rm -f conftest.err conftest.
$ac_ext
9667 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9668 $as_echo "$ac_header_preproc" >&6; }
9670 # So? What about this header?
9671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9674 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9676 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9677 ac_header_preproc
=yes
9680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9681 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9683 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9685 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9687 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9691 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9695 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9696 $as_echo_n "checking for $ac_header... " >&6; }
9697 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9698 $as_echo_n "(cached) " >&6
9700 eval "$as_ac_Header=\$ac_header_preproc"
9702 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9703 $as_echo "$as_val"'`
9704 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9705 $as_echo "$ac_res" >&6; }
9708 as_val
=`eval 'as_val=${'$as_ac_Header'}
9709 $as_echo "$as_val"'`
9710 if test "x$as_val" = x
""yes; then
9711 cat >>confdefs.h
<<_ACEOF
9712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9719 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9720 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
9721 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9722 $as_echo_n "(cached) " >&6
9724 if test "$cross_compiling" = yes; then
9725 ac_cv_func_malloc_0_nonnull
=no
9727 cat >conftest.
$ac_ext <<_ACEOF
9730 cat confdefs.h
>>conftest.
$ac_ext
9731 cat >>conftest.
$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9733 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
9734 # include <stdlib.h>
9742 return ! malloc (0);
9747 rm -f conftest
$ac_exeext
9748 if { (ac_try
="$ac_link"
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9754 $as_echo "$ac_try_echo") >&5
9755 (eval "$ac_link") 2>&5
9757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9759 { (case "(($ac_try" in
9760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9761 *) ac_try_echo
=$ac_try;;
9763 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9764 $as_echo "$ac_try_echo") >&5
9765 (eval "$ac_try") 2>&5
9767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_func_malloc_0_nonnull
=yes
9771 $as_echo "$as_me: program exited with status $ac_status" >&5
9772 $as_echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.
$ac_ext >&5
9776 ac_cv_func_malloc_0_nonnull
=no
9778 rm -rf conftest.dSYM
9779 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9784 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9785 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
9786 if test $ac_cv_func_malloc_0_nonnull = yes; then
9788 cat >>confdefs.h
<<\_ACEOF
9789 #define HAVE_MALLOC 1
9793 cat >>confdefs.h
<<\_ACEOF
9794 #define HAVE_MALLOC 0
9797 case " $LIBOBJS " in
9798 *" malloc.$ac_objext "* ) ;;
9799 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
9804 cat >>confdefs.h
<<\_ACEOF
9805 #define malloc rpl_malloc
9812 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
9813 $as_echo_n "checking for working memcmp... " >&6; }
9814 if test "${ac_cv_func_memcmp_working+set}" = set; then
9815 $as_echo_n "(cached) " >&6
9817 if test "$cross_compiling" = yes; then
9818 ac_cv_func_memcmp_working
=no
9820 cat >conftest.
$ac_ext <<_ACEOF
9823 cat confdefs.h
>>conftest.
$ac_ext
9824 cat >>conftest.
$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 $ac_includes_default
9831 /* Some versions of memcmp are not 8-bit clean. */
9832 char c0 = '\100', c1 = '\200', c2 = '\201';
9833 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9836 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9837 or more and with at least one buffer not starting on a 4-byte boundary.
9838 William Lewis provided this test program. */
9843 for (i = 0; i < 4; i++)
9847 strcpy (a, "--------01111111");
9848 strcpy (b, "--------10000000");
9849 if (memcmp (a, b, 16) >= 0)
9859 rm -f conftest
$ac_exeext
9860 if { (ac_try
="$ac_link"
9862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9863 *) ac_try_echo=$ac_try;;
9865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9866 $as_echo "$ac_try_echo") >&5
9867 (eval "$ac_link") 2>&5
9869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9871 { (case "(($ac_try" in
9872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9873 *) ac_try_echo
=$ac_try;;
9875 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9876 $as_echo "$ac_try_echo") >&5
9877 (eval "$ac_try") 2>&5
9879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; }; then
9881 ac_cv_func_memcmp_working
=yes
9883 $as_echo "$as_me: program exited with status $ac_status" >&5
9884 $as_echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9888 ac_cv_func_memcmp_working
=no
9890 rm -rf conftest.dSYM
9891 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9896 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9897 $as_echo "$ac_cv_func_memcmp_working" >&6; }
9898 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
9899 *" memcmp.$ac_objext "* ) ;;
9900 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
9907 for ac_header
in stdlib.h unistd.h
9909 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9910 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9911 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9912 $as_echo_n "checking for $ac_header... " >&6; }
9913 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9914 $as_echo_n "(cached) " >&6
9916 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9917 $as_echo "$as_val"'`
9918 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9919 $as_echo "$ac_res" >&6; }
9921 # Is the header compilable?
9922 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9923 $as_echo_n "checking $ac_header usability... " >&6; }
9924 cat >conftest.
$ac_ext <<_ACEOF
9927 cat confdefs.h
>>conftest.
$ac_ext
9928 cat >>conftest.
$ac_ext <<_ACEOF
9929 /* end confdefs.h. */
9930 $ac_includes_default
9931 #include <$ac_header>
9933 rm -f conftest.
$ac_objext
9934 if { (ac_try
="$ac_compile"
9936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9940 $as_echo "$ac_try_echo") >&5
9941 (eval "$ac_compile") 2>conftest.er1
9943 grep -v '^ *+' conftest.er1 >conftest.err
9945 cat conftest.err >&5
9946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); } && {
9948 test -z "$ac_c_werror_flag" ||
9949 test ! -s conftest.err
9950 } && test -s conftest.$ac_objext; then
9951 ac_header_compiler=yes
9953 $as_echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_header_compiler=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9960 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9961 $as_echo "$ac_header_compiler" >&6; }
9963 # Is the header present?
9964 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9965 $as_echo_n "checking $ac_header presence... " >&6; }
9966 cat >conftest.$ac_ext <<_ACEOF
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 #include <$ac_header>
9974 if { (ac_try="$ac_cpp conftest.$ac_ext"
9976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9977 *) ac_try_echo
=$ac_try;;
9979 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9980 $as_echo "$ac_try_echo") >&5
9981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9983 grep -v '^ *+' conftest.er1
>conftest.err
9985 cat conftest.err
>&5
9986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } >/dev
/null
&& {
9988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9989 test ! -s conftest.err
9991 ac_header_preproc
=yes
9993 $as_echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.
$ac_ext >&5
9996 ac_header_preproc
=no
9999 rm -f conftest.err conftest.
$ac_ext
10000 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10001 $as_echo "$ac_header_preproc" >&6; }
10003 # So? What about this header?
10004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10007 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10009 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10010 ac_header_preproc
=yes
10013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10014 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10016 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10018 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10020 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10024 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10028 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10029 $as_echo_n "checking for $ac_header... " >&6; }
10030 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10031 $as_echo_n "(cached) " >&6
10033 eval "$as_ac_Header=\$ac_header_preproc"
10035 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10036 $as_echo "$as_val"'`
10037 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10038 $as_echo "$ac_res" >&6; }
10041 as_val
=`eval 'as_val=${'$as_ac_Header'}
10042 $as_echo "$as_val"'`
10043 if test "x$as_val" = x
""yes; then
10044 cat >>confdefs.h
<<_ACEOF
10045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10053 for ac_func
in getpagesize
10055 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10056 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10057 $as_echo_n "checking for $ac_func... " >&6; }
10058 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10059 $as_echo_n "(cached) " >&6
10061 cat >conftest.
$ac_ext <<_ACEOF
10064 cat confdefs.h
>>conftest.
$ac_ext
10065 cat >>conftest.
$ac_ext <<_ACEOF
10066 /* end confdefs.h. */
10067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10069 #define $ac_func innocuous_$ac_func
10071 /* System header to define __stub macros and hopefully few prototypes,
10072 which can conflict with char $ac_func (); below.
10073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10074 <limits.h> exists even on freestanding compilers. */
10077 # include <limits.h>
10079 # include <assert.h>
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10091 /* The GNU C library defines this for functions which it implements
10092 to always fail with ENOSYS. Some functions are actually named
10093 something starting with __ and the normal name is an alias. */
10094 #if defined __stub_$ac_func || defined __stub___$ac_func
10101 return $ac_func ();
10106 rm -f conftest.
$ac_objext conftest
$ac_exeext
10107 if { (ac_try
="$ac_link"
10108 case "(($ac_try" in
10109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10113 $as_echo "$ac_try_echo") >&5
10114 (eval "$ac_link") 2>conftest.er1
10116 grep -v '^ *+' conftest.er1 >conftest.err
10118 cat conftest.err >&5
10119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); } && {
10121 test -z "$ac_c_werror_flag" ||
10122 test ! -s conftest.err
10123 } && test -s conftest$ac_exeext && {
10124 test "$cross_compiling" = yes ||
10125 $as_test_x conftest$ac_exeext
10127 eval "$as_ac_var=yes"
10129 $as_echo "$as_me: failed program was:" >&5
10130 sed 's/^/| /' conftest.$ac_ext >&5
10132 eval "$as_ac_var=no"
10135 rm -rf conftest.dSYM
10136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10137 conftest$ac_exeext conftest.$ac_ext
10139 ac_res=`eval 'as_val=${'$as_ac_var'}
10140 $as_echo "$as_val"'`
10141 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10142 $as_echo "$ac_res" >&6; }
10143 as_val=`eval 'as_val=${'$as_ac_var'}
10144 $as_echo "$as_val"'`
10145 if test "x$as_val" = x""yes; then
10146 cat >>confdefs.h <<_ACEOF
10147 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10153 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
10154 $as_echo_n "checking for working mmap... " >&6; }
10155 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10156 $as_echo_n "(cached) " >&6
10158 if test "$cross_compiling" = yes; then
10159 ac_cv_func_mmap_fixed_mapped=no
10161 cat >conftest.$ac_ext <<_ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 $ac_includes_default
10168 /* malloc might have been renamed as rpl_malloc. */
10171 /* Thanks to Mike Haertel and Jim Avera for this test.
10172 Here is a matrix of mmap possibilities:
10173 mmap private not fixed
10174 mmap private fixed at somewhere currently unmapped
10175 mmap private fixed at somewhere already mapped
10176 mmap shared not fixed
10177 mmap shared fixed at somewhere currently unmapped
10178 mmap shared fixed at somewhere already mapped
10179 For private mappings, we should verify that changes cannot be read()
10180 back from the file, nor mmap's back from the file at a different
10181 address. (There have been systems where private was not correctly
10182 implemented like the infamous i386 svr4.0, and systems where the
10183 VM page cache was not coherent with the file system buffer cache
10184 like early versions of FreeBSD and possibly contemporary NetBSD.)
10185 For shared mappings, we should conversely verify that changes get
10186 propagated back to all the places they're supposed to be.
10188 Grep wants private fixed already mapped.
10189 The main things grep needs to know about mmap are:
10190 * does it exist and is it safe to write into the mmap'd area
10191 * how to use it (BSD variants) */
10194 #include <sys/mman.h>
10196 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
10200 /* This mess was copied from the GNU getpagesize.h. */
10201 #ifndef HAVE_GETPAGESIZE
10202 /* Assume that all systems that can run configure have sys/param.h. */
10203 # ifndef HAVE_SYS_PARAM_H
10204 # define HAVE_SYS_PARAM_H 1
10207 # ifdef _SC_PAGESIZE
10208 # define getpagesize() sysconf(_SC_PAGESIZE)
10209 # else /* no _SC_PAGESIZE */
10210 # ifdef HAVE_SYS_PARAM_H
10211 # include <sys/param.h>
10212 # ifdef EXEC_PAGESIZE
10213 # define getpagesize() EXEC_PAGESIZE
10214 # else /* no EXEC_PAGESIZE */
10216 # define getpagesize() NBPG * CLSIZE
10219 # endif /* no CLSIZE */
10220 # else /* no NBPG */
10222 # define getpagesize() NBPC
10223 # else /* no NBPC */
10225 # define getpagesize() PAGESIZE
10226 # endif /* PAGESIZE */
10227 # endif /* no NBPC */
10228 # endif /* no NBPG */
10229 # endif /* no EXEC_PAGESIZE */
10230 # else /* no HAVE_SYS_PARAM_H */
10231 # define getpagesize() 8192 /* punt totally */
10232 # endif /* no HAVE_SYS_PARAM_H */
10233 # endif /* no _SC_PAGESIZE */
10235 #endif /* no HAVE_GETPAGESIZE */
10240 char *data, *data2, *data3;
10244 pagesize = getpagesize ();
10246 /* First, make a file with some known garbage in it. */
10247 data = (char *) malloc (pagesize);
10250 for (i = 0; i < pagesize; ++i)
10251 *(data + i) = rand ();
10253 fd = creat ("conftest.mmap", 0600);
10256 if (write (fd, data, pagesize) != pagesize)
10260 /* Next, try to mmap the file at a fixed address which already has
10261 something else allocated at it. If we can, also make sure that
10262 we see the same garbage. */
10263 fd = open ("conftest.mmap", O_RDWR);
10266 data2 = (char *) malloc (2 * pagesize);
10269 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10270 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10271 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10273 for (i = 0; i < pagesize; ++i)
10274 if (*(data + i) != *(data2 + i))
10277 /* Finally, make sure that changes to the mapped area do not
10278 percolate back to the file as seen by read(). (This is a bug on
10279 some variants of i386 svr4.0.) */
10280 for (i = 0; i < pagesize; ++i)
10281 *(data2 + i) = *(data2 + i) + 1;
10282 data3 = (char *) malloc (pagesize);
10285 if (read (fd, data3, pagesize) != pagesize)
10287 for (i = 0; i < pagesize; ++i)
10288 if (*(data + i) != *(data3 + i))
10294 rm -f conftest$ac_exeext
10295 if { (ac_try="$ac_link"
10296 case "(($ac_try" in
10297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10298 *) ac_try_echo
=$ac_try;;
10300 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10301 $as_echo "$ac_try_echo") >&5
10302 (eval "$ac_link") 2>&5
10304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10306 { (case "(($ac_try" in
10307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10308 *) ac_try_echo=$ac_try;;
10310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10311 $as_echo "$ac_try_echo") >&5
10312 (eval "$ac_try") 2>&5
10314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_func_mmap_fixed_mapped=yes
10318 $as_echo "$as_me: program exited with status $ac_status" >&5
10319 $as_echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 ( exit $ac_status )
10323 ac_cv_func_mmap_fixed_mapped=no
10325 rm -rf conftest.dSYM
10326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10331 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10332 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10333 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10335 cat >>confdefs.h <<\_ACEOF
10336 #define HAVE_MMAP 1
10340 rm -f conftest.mmap
10343 for ac_header in stdlib.h
10345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10347 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10348 $as_echo_n "checking for $ac_header... " >&6; }
10349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10350 $as_echo_n "(cached) " >&6
10352 ac_res=`eval 'as_val=${'$as_ac_Header'}
10353 $as_echo "$as_val"'`
10354 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10355 $as_echo "$ac_res" >&6; }
10357 # Is the header compilable?
10358 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10359 $as_echo_n "checking $ac_header usability... " >&6; }
10360 cat >conftest.$ac_ext <<_ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 $ac_includes_default
10367 #include <$ac_header>
10369 rm -f conftest.$ac_objext
10370 if { (ac_try="$ac_compile"
10371 case "(($ac_try" in
10372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10373 *) ac_try_echo
=$ac_try;;
10375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10376 $as_echo "$ac_try_echo") >&5
10377 (eval "$ac_compile") 2>conftest.er1
10379 grep -v '^ *+' conftest.er1
>conftest.err
10381 cat conftest.err
>&5
10382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } && {
10384 test -z "$ac_c_werror_flag" ||
10385 test ! -s conftest.err
10386 } && test -s conftest.
$ac_objext; then
10387 ac_header_compiler
=yes
10389 $as_echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.
$ac_ext >&5
10392 ac_header_compiler
=no
10395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10396 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10397 $as_echo "$ac_header_compiler" >&6; }
10399 # Is the header present?
10400 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10401 $as_echo_n "checking $ac_header presence... " >&6; }
10402 cat >conftest.
$ac_ext <<_ACEOF
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 #include <$ac_header>
10410 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10411 case "(($ac_try" in
10412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10413 *) ac_try_echo=$ac_try;;
10415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10416 $as_echo "$ac_try_echo") >&5
10417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10419 grep -v '^ *+' conftest.er1 >conftest.err
10421 cat conftest.err >&5
10422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } >/dev/null && {
10424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10427 ac_header_preproc=yes
10429 $as_echo "$as_me: failed program was:" >&5
10430 sed 's/^/| /' conftest.$ac_ext >&5
10432 ac_header_preproc=no
10435 rm -f conftest.err conftest.$ac_ext
10436 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10437 $as_echo "$ac_header_preproc" >&6; }
10439 # So? What about this header?
10440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10443 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10445 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10446 ac_header_preproc=yes
10449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10450 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10452 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10454 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10456 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10460 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10465 $as_echo_n "checking for $ac_header... " >&6; }
10466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10467 $as_echo_n "(cached) " >&6
10469 eval "$as_ac_Header=\$ac_header_preproc"
10471 ac_res=`eval 'as_val=${'$as_ac_Header'}
10472 $as_echo "$as_val"'`
10473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10474 $as_echo "$ac_res" >&6; }
10477 as_val=`eval 'as_val=${'$as_ac_Header'}
10478 $as_echo "$as_val"'`
10479 if test "x$as_val" = x""yes; then
10480 cat >>confdefs.h <<_ACEOF
10481 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10488 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10489 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
10490 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10491 $as_echo_n "(cached) " >&6
10493 if test "$cross_compiling" = yes; then
10494 ac_cv_func_realloc_0_nonnull=no
10496 cat >conftest.$ac_ext <<_ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10503 # include <stdlib.h>
10511 return ! realloc (0, 0);
10516 rm -f conftest$ac_exeext
10517 if { (ac_try="$ac_link"
10518 case "(($ac_try" in
10519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10520 *) ac_try_echo
=$ac_try;;
10522 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10523 $as_echo "$ac_try_echo") >&5
10524 (eval "$ac_link") 2>&5
10526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10528 { (case "(($ac_try" in
10529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10530 *) ac_try_echo=$ac_try;;
10532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10533 $as_echo "$ac_try_echo") >&5
10534 (eval "$ac_try") 2>&5
10536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; }; then
10538 ac_cv_func_realloc_0_nonnull=yes
10540 $as_echo "$as_me: program exited with status $ac_status" >&5
10541 $as_echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.$ac_ext >&5
10544 ( exit $ac_status )
10545 ac_cv_func_realloc_0_nonnull=no
10547 rm -rf conftest.dSYM
10548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10553 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10554 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
10555 if test $ac_cv_func_realloc_0_nonnull = yes; then
10557 cat >>confdefs.h <<\_ACEOF
10558 #define HAVE_REALLOC 1
10562 cat >>confdefs.h <<\_ACEOF
10563 #define HAVE_REALLOC 0
10566 case " $LIBOBJS " in
10567 *" realloc.$ac_objext "* ) ;;
10568 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
10573 cat >>confdefs.h <<\_ACEOF
10574 #define realloc rpl_realloc
10581 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10582 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10583 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10584 $as_echo_n "(cached) " >&6
10586 if test "$cross_compiling" = yes; then
10587 ac_cv_func_stat_empty_string_bug=yes
10589 cat >conftest.$ac_ext <<_ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10595 $ac_includes_default
10600 return stat ("", &sbuf) == 0;
10605 rm -f conftest$ac_exeext
10606 if { (ac_try="$ac_link"
10607 case "(($ac_try" in
10608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10609 *) ac_try_echo
=$ac_try;;
10611 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10612 $as_echo "$ac_try_echo") >&5
10613 (eval "$ac_link") 2>&5
10615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10617 { (case "(($ac_try" in
10618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10619 *) ac_try_echo=$ac_try;;
10621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10622 $as_echo "$ac_try_echo") >&5
10623 (eval "$ac_try") 2>&5
10625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_cv_func_stat_empty_string_bug=no
10629 $as_echo "$as_me: program exited with status $ac_status" >&5
10630 $as_echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 ( exit $ac_status )
10634 ac_cv_func_stat_empty_string_bug=yes
10636 rm -rf conftest.dSYM
10637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10642 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10643 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10644 if test $ac_cv_func_stat_empty_string_bug = yes; then
10645 case " $LIBOBJS " in
10646 *" stat.$ac_objext "* ) ;;
10647 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
10652 cat >>confdefs.h <<_ACEOF
10653 #define HAVE_STAT_EMPTY_STRING_BUG 1
10658 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
10659 $as_echo_n "checking for working strtod... " >&6; }
10660 if test "${ac_cv_func_strtod+set}" = set; then
10661 $as_echo_n "(cached) " >&6
10663 if test "$cross_compiling" = yes; then
10664 ac_cv_func_strtod=no
10666 cat >conftest.$ac_ext <<_ACEOF
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10673 $ac_includes_default
10681 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10682 char *string = " +69";
10685 value = strtod (string, &term);
10686 if (value != 69 || term != (string + 4))
10691 /* Under Solaris 2.4, strtod returns the wrong value for the
10692 terminating character under some conditions. */
10693 char *string = "NaN";
10695 strtod (string, &term);
10696 if (term != string && *(term - 1) == 0)
10703 rm -f conftest$ac_exeext
10704 if { (ac_try="$ac_link"
10705 case "(($ac_try" in
10706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10707 *) ac_try_echo
=$ac_try;;
10709 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10710 $as_echo "$ac_try_echo") >&5
10711 (eval "$ac_link") 2>&5
10713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10715 { (case "(($ac_try" in
10716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10717 *) ac_try_echo=$ac_try;;
10719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10720 $as_echo "$ac_try_echo") >&5
10721 (eval "$ac_try") 2>&5
10723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_func_strtod=yes
10727 $as_echo "$as_me: program exited with status $ac_status" >&5
10728 $as_echo "$as_me: failed program was:" >&5
10729 sed 's/^/| /' conftest.$ac_ext >&5
10731 ( exit $ac_status )
10732 ac_cv_func_strtod=no
10734 rm -rf conftest.dSYM
10735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10740 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
10741 $as_echo "$ac_cv_func_strtod" >&6; }
10742 if test $ac_cv_func_strtod = no; then
10743 case " $LIBOBJS " in
10744 *" strtod.$ac_objext "* ) ;;
10745 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
10749 { $as_echo "$as_me:$LINENO: checking for pow" >&5
10750 $as_echo_n "checking for pow... " >&6; }
10751 if test "${ac_cv_func_pow+set}" = set; then
10752 $as_echo_n "(cached) " >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
10761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10762 #define pow innocuous_pow
10764 /* System header to define __stub macros and hopefully few prototypes,
10765 which can conflict with char pow (); below.
10766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10767 <limits.h> exists even on freestanding compilers. */
10770 # include <limits.h>
10772 # include <assert.h>
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10784 /* The GNU C library defines this for functions which it implements
10785 to always fail with ENOSYS. Some functions are actually named
10786 something starting with __ and the normal name is an alias. */
10787 #if defined __stub_pow || defined __stub___pow
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10803 *) ac_try_echo
=$ac_try;;
10805 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10806 $as_echo "$ac_try_echo") >&5
10807 (eval "$ac_link") 2>conftest.er1
10809 grep -v '^ *+' conftest.er1
>conftest.err
10811 cat conftest.err
>&5
10812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } && {
10814 test -z "$ac_c_werror_flag" ||
10815 test ! -s conftest.err
10816 } && test -s conftest
$ac_exeext && {
10817 test "$cross_compiling" = yes ||
10818 $as_test_x conftest
$ac_exeext
10822 $as_echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.
$ac_ext >&5
10828 rm -rf conftest.dSYM
10829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10830 conftest
$ac_exeext conftest.
$ac_ext
10832 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
10833 $as_echo "$ac_cv_func_pow" >&6; }
10835 if test $ac_cv_func_pow = no
; then
10836 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
10837 $as_echo_n "checking for pow in -lm... " >&6; }
10838 if test "${ac_cv_lib_m_pow+set}" = set; then
10839 $as_echo_n "(cached) " >&6
10841 ac_check_lib_save_LIBS
=$LIBS
10843 cat >conftest.
$ac_ext <<_ACEOF
10846 cat confdefs.h
>>conftest.
$ac_ext
10847 cat >>conftest.
$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10865 rm -f conftest.
$ac_objext conftest
$ac_exeext
10866 if { (ac_try
="$ac_link"
10867 case "(($ac_try" in
10868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10869 *) ac_try_echo=$ac_try;;
10871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10872 $as_echo "$ac_try_echo") >&5
10873 (eval "$ac_link") 2>conftest.er1
10875 grep -v '^ *+' conftest.er1 >conftest.err
10877 cat conftest.err >&5
10878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } && {
10880 test -z "$ac_c_werror_flag" ||
10881 test ! -s conftest.err
10882 } && test -s conftest$ac_exeext && {
10883 test "$cross_compiling" = yes ||
10884 $as_test_x conftest$ac_exeext
10886 ac_cv_lib_m_pow=yes
10888 $as_echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.$ac_ext >&5
10894 rm -rf conftest.dSYM
10895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
10900 $as_echo "$ac_cv_lib_m_pow" >&6; }
10901 if test "x$ac_cv_lib_m_pow" = x""yes; then
10904 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
10905 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10913 for ac_func in vprintf
10915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10916 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10917 $as_echo_n "checking for $ac_func... " >&6; }
10918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10919 $as_echo_n "(cached) " >&6
10921 cat >conftest.$ac_ext <<_ACEOF
10924 cat confdefs.h >>conftest.$ac_ext
10925 cat >>conftest.$ac_ext <<_ACEOF
10926 /* end confdefs.h. */
10927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10929 #define $ac_func innocuous_$ac_func
10931 /* System header to define __stub macros and hopefully few prototypes,
10932 which can conflict with char $ac_func (); below.
10933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10934 <limits.h> exists even on freestanding compilers. */
10937 # include <limits.h>
10939 # include <assert.h>
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10951 /* The GNU C library defines this for functions which it implements
10952 to always fail with ENOSYS. Some functions are actually named
10953 something starting with __ and the normal name is an alias. */
10954 #if defined __stub_$ac_func || defined __stub___$ac_func
10961 return $ac_func ();
10966 rm -f conftest.$ac_objext conftest$ac_exeext
10967 if { (ac_try="$ac_link"
10968 case "(($ac_try" in
10969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10970 *) ac_try_echo
=$ac_try;;
10972 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10973 $as_echo "$ac_try_echo") >&5
10974 (eval "$ac_link") 2>conftest.er1
10976 grep -v '^ *+' conftest.er1
>conftest.err
10978 cat conftest.err
>&5
10979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } && {
10981 test -z "$ac_c_werror_flag" ||
10982 test ! -s conftest.err
10983 } && test -s conftest
$ac_exeext && {
10984 test "$cross_compiling" = yes ||
10985 $as_test_x conftest
$ac_exeext
10987 eval "$as_ac_var=yes"
10989 $as_echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.
$ac_ext >&5
10992 eval "$as_ac_var=no"
10995 rm -rf conftest.dSYM
10996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10997 conftest
$ac_exeext conftest.
$ac_ext
10999 ac_res
=`eval 'as_val=${'$as_ac_var'}
11000 $as_echo "$as_val"'`
11001 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11002 $as_echo "$ac_res" >&6; }
11003 as_val
=`eval 'as_val=${'$as_ac_var'}
11004 $as_echo "$as_val"'`
11005 if test "x$as_val" = x
""yes; then
11006 cat >>confdefs.h
<<_ACEOF
11007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11010 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
11011 $as_echo_n "checking for _doprnt... " >&6; }
11012 if test "${ac_cv_func__doprnt+set}" = set; then
11013 $as_echo_n "(cached) " >&6
11015 cat >conftest.
$ac_ext <<_ACEOF
11018 cat confdefs.h
>>conftest.
$ac_ext
11019 cat >>conftest.
$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11023 #define _doprnt innocuous__doprnt
11025 /* System header to define __stub macros and hopefully few prototypes,
11026 which can conflict with char _doprnt (); below.
11027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11028 <limits.h> exists even on freestanding compilers. */
11031 # include <limits.h>
11033 # include <assert.h>
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11045 /* The GNU C library defines this for functions which it implements
11046 to always fail with ENOSYS. Some functions are actually named
11047 something starting with __ and the normal name is an alias. */
11048 #if defined __stub__doprnt || defined __stub____doprnt
11060 rm -f conftest.
$ac_objext conftest
$ac_exeext
11061 if { (ac_try
="$ac_link"
11062 case "(($ac_try" in
11063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11064 *) ac_try_echo=$ac_try;;
11066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11067 $as_echo "$ac_try_echo") >&5
11068 (eval "$ac_link") 2>conftest.er1
11070 grep -v '^ *+' conftest.er1 >conftest.err
11072 cat conftest.err >&5
11073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } && {
11075 test -z "$ac_c_werror_flag" ||
11076 test ! -s conftest.err
11077 } && test -s conftest$ac_exeext && {
11078 test "$cross_compiling" = yes ||
11079 $as_test_x conftest$ac_exeext
11081 ac_cv_func__doprnt=yes
11083 $as_echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_func__doprnt=no
11089 rm -rf conftest.dSYM
11090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11091 conftest$ac_exeext conftest.$ac_ext
11093 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11094 $as_echo "$ac_cv_func__doprnt" >&6; }
11095 if test "x$ac_cv_func__doprnt" = x""yes; then
11097 cat >>confdefs.h <<\_ACEOF
11098 #define HAVE_DOPRNT 1
11108 ################################################################################
11109 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
11110 $as_echo_n "checking whether to use static linking... " >&6; }
11111 # Check whether --enable-static_link was given.
11112 if test "${enable_static_link+set}" = set; then
11113 enableval=$enable_static_link; STATIC_LINK=$enableval
11118 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
11119 $as_echo "$STATIC_LINK" >&6; }
11121 ################################################################################
11124 ################################################################################
11125 { $as_echo "$as_me:$LINENO: checking file owner" >&5
11126 $as_echo_n "checking file owner... " >&6; }
11128 # Check whether --with-user was given.
11129 if test "${with_user+set}" = set; then
11130 withval=$with_user; OWNER=$withval
11133 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
11134 $as_echo "$OWNER" >&6; }
11136 if test x$OWNER != x; then
11137 INSTALL="$INSTALL -o $OWNER"
11140 ################################################################################
11141 { $as_echo "$as_me:$LINENO: checking group owner" >&5
11142 $as_echo_n "checking group owner... " >&6; }
11144 # Check whether --with-group was given.
11145 if test "${with_group+set}" = set; then
11146 withval=$with_group; GROUP=$withval
11149 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
11150 $as_echo "$GROUP" >&6; }
11152 if test x$GROUP != x; then
11153 INSTALL="$INSTALL -g $GROUP"
11156 ################################################################################
11157 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
11158 $as_echo_n "checking device node uid... " >&6; }
11161 # Check whether --with-device-uid was given.
11162 if test "${with_device_uid+set}" = set; then
11163 withval=$with_device_uid; DM_DEVICE_UID=$withval
11168 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
11169 $as_echo "$DM_DEVICE_UID" >&6; }
11171 ################################################################################
11172 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
11173 $as_echo_n "checking device node gid... " >&6; }
11176 # Check whether --with-device-gid was given.
11177 if test "${with_device_gid+set}" = set; then
11178 withval=$with_device_gid; DM_DEVICE_GID=$withval
11183 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
11184 $as_echo "$DM_DEVICE_GID" >&6; }
11186 ################################################################################
11187 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
11188 $as_echo_n "checking device node mode... " >&6; }
11191 # Check whether --with-device-mode was given.
11192 if test "${with_device_mode+set}" = set; then
11193 withval=$with_device_mode; DM_DEVICE_MODE=$withval
11195 DM_DEVICE_MODE=0600
11198 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
11199 $as_echo "$DM_DEVICE_MODE" >&6; }
11201 ################################################################################
11202 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
11203 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
11204 # Check whether --enable-lvm1_fallback was given.
11205 if test "${enable_lvm1_fallback+set}" = set; then
11206 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
11211 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
11212 $as_echo "$LVM1_FALLBACK" >&6; }
11214 if test x$LVM1_FALLBACK = xyes; then
11216 cat >>confdefs.h <<\_ACEOF
11217 #define LVM1_FALLBACK 1
11222 ################################################################################
11223 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
11224 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
11226 # Check whether --with-lvm1 was given.
11227 if test "${with_lvm1+set}" = set; then
11228 withval=$with_lvm1; LVM1=$withval
11233 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
11234 $as_echo "$LVM1" >&6; }
11236 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
11237 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
11239 $as_echo "$as_me: error: --with-lvm1 parameter invalid
11241 { (exit 1); exit 1; }; }
11244 if test x$LVM1 = xinternal; then
11246 cat >>confdefs.h <<\_ACEOF
11247 #define LVM1_INTERNAL 1
11252 ################################################################################
11253 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
11254 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
11256 # Check whether --with-pool was given.
11257 if test "${with_pool+set}" = set; then
11258 withval=$with_pool; POOL=$withval
11263 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
11264 $as_echo "$POOL" >&6; }
11266 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
11267 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
11269 $as_echo "$as_me: error: --with-pool parameter invalid
11271 { (exit 1); exit 1; }; }
11274 if test x$POOL = xinternal; then
11276 cat >>confdefs.h <<\_ACEOF
11277 #define POOL_INTERNAL 1
11282 ################################################################################
11283 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
11284 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
11286 # Check whether --with-cluster was given.
11287 if test "${with_cluster+set}" = set; then
11288 withval=$with_cluster; CLUSTER=$withval
11291 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
11292 $as_echo "$CLUSTER" >&6; }
11294 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
11295 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
11297 $as_echo "$as_me: error: --with-cluster parameter invalid
11299 { (exit 1); exit 1; }; }
11302 if test x$CLUSTER = xinternal; then
11304 cat >>confdefs.h <<\_ACEOF
11305 #define CLUSTER_LOCKING_INTERNAL 1
11310 ################################################################################
11311 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
11312 $as_echo_n "checking whether to include snapshots... " >&6; }
11314 # Check whether --with-snapshots was given.
11315 if test "${with_snapshots+set}" = set; then
11316 withval=$with_snapshots; SNAPSHOTS=$withval
11321 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
11322 $as_echo "$SNAPSHOTS" >&6; }
11324 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
11325 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
11327 $as_echo "$as_me: error: --with-snapshots parameter invalid
11329 { (exit 1); exit 1; }; }
11332 if test x$SNAPSHOTS = xinternal; then
11334 cat >>confdefs.h <<\_ACEOF
11335 #define SNAPSHOT_INTERNAL 1
11340 ################################################################################
11341 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
11342 $as_echo_n "checking whether to include mirrors... " >&6; }
11344 # Check whether --with-mirrors was given.
11345 if test "${with_mirrors+set}" = set; then
11346 withval=$with_mirrors; MIRRORS=$withval
11351 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
11352 $as_echo "$MIRRORS" >&6; }
11354 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
11355 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
11357 $as_echo "$as_me: error: --with-mirrors parameter invalid
11359 { (exit 1); exit 1; }; }
11362 if test x$MIRRORS = xinternal; then
11364 cat >>confdefs.h <<\_ACEOF
11365 #define MIRRORED_INTERNAL 1
11370 ################################################################################
11371 { $as_echo "$as_me:$LINENO: checking whether to include replicators" >&5
11372 $as_echo_n "checking whether to include replicators... " >&6; }
11374 # Check whether --with-replicators was given.
11375 if test "${with_replicators+set}" = set; then
11376 withval=$with_replicators; REPLICATORS=$withval
11381 { $as_echo "$as_me:$LINENO: result: $REPLICATORS" >&5
11382 $as_echo "$REPLICATORS" >&6; }
11384 case "$REPLICATORS" in
11387 cat >>confdefs.h <<\_ACEOF
11388 #define REPLICATOR_INTERNAL 1
11391 *) { { $as_echo "$as_me:$LINENO: error: --with-replicators parameter invalid ($REPLICATORS)" >&5
11392 $as_echo "$as_me: error: --with-replicators parameter invalid ($REPLICATORS)" >&2;}
11393 { (exit 1); exit 1; }; } ;;
11396 ################################################################################
11397 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
11398 $as_echo_n "checking whether to enable readline... " >&6; }
11399 # Check whether --enable-readline was given.
11400 if test "${enable_readline+set}" = set; then
11401 enableval=$enable_readline; READLINE=$enableval
11406 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
11407 $as_echo "$READLINE" >&6; }
11409 ################################################################################
11410 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
11411 $as_echo_n "checking whether to enable realtime support... " >&6; }
11412 # Check whether --enable-realtime was given.
11413 if test "${enable_realtime+set}" = set; then
11414 enableval=$enable_realtime; REALTIME=$enableval
11417 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
11418 $as_echo "$REALTIME" >&6; }
11420 ################################################################################
11421 pkg_config_init() {
11424 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11425 if test -n "$ac_tool_prefix"; then
11426 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11427 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11428 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11429 $as_echo_n "checking for $ac_word... " >&6; }
11430 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11431 $as_echo_n "(cached) " >&6
11433 case $PKG_CONFIG in
11435 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $PATH
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11445 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11456 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11457 if test -n "$PKG_CONFIG"; then
11458 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11459 $as_echo "$PKG_CONFIG" >&6; }
11461 { $as_echo "$as_me:$LINENO: result: no" >&5
11462 $as_echo "no" >&6; }
11467 if test -z "$ac_cv_path_PKG_CONFIG"; then
11468 ac_pt_PKG_CONFIG=$PKG_CONFIG
11469 # Extract the first word of "pkg-config", so it can be a program name with args.
11470 set dummy pkg-config; ac_word=$2
11471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11472 $as_echo_n "checking for $ac_word... " >&6; }
11473 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11474 $as_echo_n "(cached) " >&6
11476 case $ac_pt_PKG_CONFIG in
11478 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11482 for as_dir in $PATH
11485 test -z "$as_dir" && as_dir=.
11486 for ac_exec_ext in '' $ac_executable_extensions; do
11487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11488 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11489 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11499 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11500 if test -n "$ac_pt_PKG_CONFIG"; then
11501 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11502 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11504 { $as_echo "$as_me:$LINENO: result: no" >&5
11505 $as_echo "no" >&6; }
11508 if test "x$ac_pt_PKG_CONFIG" = x; then
11511 case $cross_compiling:$ac_tool_warned in
11513 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11515 ac_tool_warned=yes ;;
11517 PKG_CONFIG=$ac_pt_PKG_CONFIG
11520 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11524 if test -n "$PKG_CONFIG"; then
11525 _pkg_min_version=0.9.0
11526 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11527 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11528 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11529 { $as_echo "$as_me:$LINENO: result: yes" >&5
11530 $as_echo "yes" >&6; }
11532 { $as_echo "$as_me:$LINENO: result: no" >&5
11533 $as_echo "no" >&6; }
11540 { $as_echo "$as_me:$LINENO: checking for PKGCONFIGINIT" >&5
11541 $as_echo_n "checking for PKGCONFIGINIT... " >&6; }
11543 if test -n "$PKGCONFIGINIT_CFLAGS"; then
11544 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
11545 elif test -n "$PKG_CONFIG"; then
11546 if test -n "$PKG_CONFIG" && \
11547 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
11548 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
11550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; then
11552 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit" 2>/dev
/null
`
11559 if test -n "$PKGCONFIGINIT_LIBS"; then
11560 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
11561 elif test -n "$PKG_CONFIG"; then
11562 if test -n "$PKG_CONFIG" && \
11563 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
11564 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
11566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); }; then
11568 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit" 2>/dev
/null
`
11578 if test $pkg_failed = yes; then
11580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11581 _pkg_short_errors_supported=yes
11583 _pkg_short_errors_supported=no
11585 if test $_pkg_short_errors_supported = yes; then
11586 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
11588 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
11590 # Put the nasty error message in config.log where it belongs
11591 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
11593 { $as_echo "$as_me:$LINENO: result: no" >&5
11594 $as_echo "no" >&6; }
11595 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
11596 $as_echo "pkg-config initialized" >&6; }
11597 elif test $pkg_failed = untried; then
11598 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
11599 $as_echo "pkg-config initialized" >&6; }
11601 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
11602 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
11603 { $as_echo "$as_me:$LINENO: result: yes" >&5
11604 $as_echo "yes" >&6; }
11610 ################################################################################
11611 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
11612 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
11614 # Check whether --with-clvmd was given.
11615 if test "${with_clvmd+set}" = set; then
11616 withval=$with_clvmd; CLVMD=$withval
11621 if test x$CLVMD = xyes; then
11624 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
11625 $as_echo "$CLVMD" >&6; }
11627 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
11631 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
11636 if [ `expr x
"$CLVMD" : '.*gulm.*'` != 0 ]; then
11639 if [ `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
11642 if [ `expr x
"$CLVMD" : '.*openais.*'` != 0 ]; then
11645 if [ `expr x
"$CLVMD" : '.*cman.*'` != 0 ]; then
11649 if test x$BUILDGULM = xyes; then
11650 if test x$BUILDCOROSYNC = xyes || \
11651 test x$BUILDOPENAIS = xyes; then
11652 { { $as_echo "$as_me:$LINENO: error: requested clvmd configuration is not valid" >&5
11653 $as_echo "$as_me: error: requested clvmd configuration is not valid" >&2;}
11654 { (exit 1); exit 1; }; }
11663 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11664 $as_echo "$as_me: error: bailing out" >&2;}
11665 { (exit 1); exit 1; }; }
11668 if test x$CLVMD = xall; then
11669 bailout=soft_bailout
11675 bailout=hard_bailout
11678 check_lib_no_libs() {
11679 lib_no_libs_arg1=$1
11681 lib_no_libs_arg2=$1
11683 lib_no_libs_args=$@
11685 as_ac_Lib=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" |
$as_tr_sh`
11686 { $as_echo "$as_me:$LINENO: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
11687 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
11688 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
11689 $as_echo_n "(cached) " >&6
11691 ac_check_lib_save_LIBS=$LIBS
11692 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
11693 cat >conftest.$ac_ext <<_ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11706 char $lib_no_libs_arg2 ();
11710 return $lib_no_libs_arg2 ();
11715 rm -f conftest.$ac_objext conftest$ac_exeext
11716 if { (ac_try="$ac_link"
11717 case "(($ac_try" in
11718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11719 *) ac_try_echo
=$ac_try;;
11721 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11722 $as_echo "$ac_try_echo") >&5
11723 (eval "$ac_link") 2>conftest.er1
11725 grep -v '^ *+' conftest.er1
>conftest.err
11727 cat conftest.err
>&5
11728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } && {
11730 test -z "$ac_c_werror_flag" ||
11731 test ! -s conftest.err
11732 } && test -s conftest
$ac_exeext && {
11733 test "$cross_compiling" = yes ||
11734 $as_test_x conftest
$ac_exeext
11736 eval "$as_ac_Lib=yes"
11738 $as_echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.
$ac_ext >&5
11741 eval "$as_ac_Lib=no"
11744 rm -rf conftest.dSYM
11745 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11746 conftest
$ac_exeext conftest.
$ac_ext
11747 LIBS
=$ac_check_lib_save_LIBS
11749 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
11750 $as_echo "$as_val"'`
11751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11752 $as_echo "$ac_res" >&6; }
11753 as_val
=`eval 'as_val=${'$as_ac_Lib'}
11754 $as_echo "$as_val"'`
11755 if test "x$as_val" = x
""yes; then
11756 cat >>confdefs.h
<<_ACEOF
11757 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
11760 LIBS
="-l$lib_no_libs_arg1 $LIBS"
11766 LIBS
=$ac_check_lib_save_LIBS
11769 if test x
$BUILDGULM = xyes
; then
11772 { $as_echo "$as_me:$LINENO: checking for CCS" >&5
11773 $as_echo_n "checking for CCS... " >&6; }
11775 if test -n "$CCS_CFLAGS"; then
11776 pkg_cv_CCS_CFLAGS
="$CCS_CFLAGS"
11777 elif test -n "$PKG_CONFIG"; then
11778 if test -n "$PKG_CONFIG" && \
11779 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11780 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; then
11784 pkg_cv_CCS_CFLAGS
=`$PKG_CONFIG --cflags "libccs" 2>/dev/null`
11791 if test -n "$CCS_LIBS"; then
11792 pkg_cv_CCS_LIBS
="$CCS_LIBS"
11793 elif test -n "$PKG_CONFIG"; then
11794 if test -n "$PKG_CONFIG" && \
11795 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11796 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; then
11800 pkg_cv_CCS_LIBS
=`$PKG_CONFIG --libs "libccs" 2>/dev/null`
11810 if test $pkg_failed = yes; then
11812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11813 _pkg_short_errors_supported
=yes
11815 _pkg_short_errors_supported
=no
11817 if test $_pkg_short_errors_supported = yes; then
11818 CCS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libccs" 2>&1`
11820 CCS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libccs" 2>&1`
11822 # Put the nasty error message in config.log where it belongs
11823 echo "$CCS_PKG_ERRORS" >&5
11825 { $as_echo "$as_me:$LINENO: result: no" >&5
11826 $as_echo "no" >&6; }
11829 for ac_header
in ccs.h
11831 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11833 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11834 $as_echo_n "checking for $ac_header... " >&6; }
11835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11836 $as_echo_n "(cached) " >&6
11838 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11839 $as_echo "$as_val"'`
11840 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11841 $as_echo "$ac_res" >&6; }
11843 # Is the header compilable?
11844 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11845 $as_echo_n "checking $ac_header usability... " >&6; }
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 $ac_includes_default
11853 #include <$ac_header>
11855 rm -f conftest.
$ac_objext
11856 if { (ac_try
="$ac_compile"
11857 case "(($ac_try" in
11858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11859 *) ac_try_echo=$ac_try;;
11861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11862 $as_echo "$ac_try_echo") >&5
11863 (eval "$ac_compile") 2>conftest.er1
11865 grep -v '^ *+' conftest.er1 >conftest.err
11867 cat conftest.err >&5
11868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } && {
11870 test -z "$ac_c_werror_flag" ||
11871 test ! -s conftest.err
11872 } && test -s conftest.$ac_objext; then
11873 ac_header_compiler=yes
11875 $as_echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.$ac_ext >&5
11878 ac_header_compiler=no
11881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11882 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11883 $as_echo "$ac_header_compiler" >&6; }
11885 # Is the header present?
11886 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11887 $as_echo_n "checking $ac_header presence... " >&6; }
11888 cat >conftest.$ac_ext <<_ACEOF
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 #include <$ac_header>
11896 if { (ac_try="$ac_cpp conftest.$ac_ext"
11897 case "(($ac_try" in
11898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11899 *) ac_try_echo
=$ac_try;;
11901 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11902 $as_echo "$ac_try_echo") >&5
11903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } >/dev
/null
&& {
11910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11911 test ! -s conftest.err
11913 ac_header_preproc
=yes
11915 $as_echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ac_header_preproc
=no
11921 rm -f conftest.err conftest.
$ac_ext
11922 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11923 $as_echo "$ac_header_preproc" >&6; }
11925 # So? What about this header?
11926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11929 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11931 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11932 ac_header_preproc
=yes
11935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11936 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11937 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11938 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11940 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11941 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11942 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11943 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11944 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11946 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11950 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11951 $as_echo_n "checking for $ac_header... " >&6; }
11952 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11953 $as_echo_n "(cached) " >&6
11955 eval "$as_ac_Header=\$ac_header_preproc"
11957 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11958 $as_echo "$as_val"'`
11959 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11960 $as_echo "$ac_res" >&6; }
11963 as_val
=`eval 'as_val=${'$as_ac_Header'}
11964 $as_echo "$as_val"'`
11965 if test "x$as_val" = x
""yes; then
11966 cat >>confdefs.h
<<_ACEOF
11967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11976 check_lib_no_libs ccs ccs_connect
11977 if test $NOTFOUND = 0; then
11978 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
11979 $as_echo "no pkg for libccs, using -lccs" >&6; }
11983 elif test $pkg_failed = untried
; then
11986 for ac_header
in ccs.h
11988 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11989 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11990 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11991 $as_echo_n "checking for $ac_header... " >&6; }
11992 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11993 $as_echo_n "(cached) " >&6
11995 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11996 $as_echo "$as_val"'`
11997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11998 $as_echo "$ac_res" >&6; }
12000 # Is the header compilable?
12001 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12002 $as_echo_n "checking $ac_header usability... " >&6; }
12003 cat >conftest.
$ac_ext <<_ACEOF
12006 cat confdefs.h
>>conftest.
$ac_ext
12007 cat >>conftest.
$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12009 $ac_includes_default
12010 #include <$ac_header>
12012 rm -f conftest.
$ac_objext
12013 if { (ac_try
="$ac_compile"
12014 case "(($ac_try" in
12015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12016 *) ac_try_echo=$ac_try;;
12018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12019 $as_echo "$ac_try_echo") >&5
12020 (eval "$ac_compile") 2>conftest.er1
12022 grep -v '^ *+' conftest.er1 >conftest.err
12024 cat conftest.err >&5
12025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } && {
12027 test -z "$ac_c_werror_flag" ||
12028 test ! -s conftest.err
12029 } && test -s conftest.$ac_objext; then
12030 ac_header_compiler=yes
12032 $as_echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.$ac_ext >&5
12035 ac_header_compiler=no
12038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12039 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12040 $as_echo "$ac_header_compiler" >&6; }
12042 # Is the header present?
12043 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12044 $as_echo_n "checking $ac_header presence... " >&6; }
12045 cat >conftest.$ac_ext <<_ACEOF
12048 cat confdefs.h >>conftest.$ac_ext
12049 cat >>conftest.$ac_ext <<_ACEOF
12050 /* end confdefs.h. */
12051 #include <$ac_header>
12053 if { (ac_try="$ac_cpp conftest.$ac_ext"
12054 case "(($ac_try" in
12055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12056 *) ac_try_echo
=$ac_try;;
12058 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12059 $as_echo "$ac_try_echo") >&5
12060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev
/null
&& {
12067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12068 test ! -s conftest.err
12070 ac_header_preproc
=yes
12072 $as_echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.
$ac_ext >&5
12075 ac_header_preproc
=no
12078 rm -f conftest.err conftest.
$ac_ext
12079 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12080 $as_echo "$ac_header_preproc" >&6; }
12082 # So? What about this header?
12083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12086 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12088 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12089 ac_header_preproc
=yes
12092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12093 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12095 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12097 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12099 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12101 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12103 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12107 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12108 $as_echo_n "checking for $ac_header... " >&6; }
12109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12110 $as_echo_n "(cached) " >&6
12112 eval "$as_ac_Header=\$ac_header_preproc"
12114 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12115 $as_echo "$as_val"'`
12116 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12117 $as_echo "$ac_res" >&6; }
12120 as_val
=`eval 'as_val=${'$as_ac_Header'}
12121 $as_echo "$as_val"'`
12122 if test "x$as_val" = x
""yes; then
12123 cat >>confdefs.h
<<_ACEOF
12124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12133 check_lib_no_libs ccs ccs_connect
12134 if test $NOTFOUND = 0; then
12135 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
12136 $as_echo "no pkg for libccs, using -lccs" >&6; }
12141 CCS_CFLAGS
=$pkg_cv_CCS_CFLAGS
12142 CCS_LIBS
=$pkg_cv_CCS_LIBS
12143 { $as_echo "$as_me:$LINENO: result: yes" >&5
12144 $as_echo "yes" >&6; }
12149 { $as_echo "$as_me:$LINENO: checking for GULM" >&5
12150 $as_echo_n "checking for GULM... " >&6; }
12152 if test -n "$GULM_CFLAGS"; then
12153 pkg_cv_GULM_CFLAGS
="$GULM_CFLAGS"
12154 elif test -n "$PKG_CONFIG"; then
12155 if test -n "$PKG_CONFIG" && \
12156 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12157 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); }; then
12161 pkg_cv_GULM_CFLAGS
=`$PKG_CONFIG --cflags "libgulm" 2>/dev/null`
12168 if test -n "$GULM_LIBS"; then
12169 pkg_cv_GULM_LIBS
="$GULM_LIBS"
12170 elif test -n "$PKG_CONFIG"; then
12171 if test -n "$PKG_CONFIG" && \
12172 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12173 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); }; then
12177 pkg_cv_GULM_LIBS
=`$PKG_CONFIG --libs "libgulm" 2>/dev/null`
12187 if test $pkg_failed = yes; then
12189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12190 _pkg_short_errors_supported
=yes
12192 _pkg_short_errors_supported
=no
12194 if test $_pkg_short_errors_supported = yes; then
12195 GULM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libgulm" 2>&1`
12197 GULM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libgulm" 2>&1`
12199 # Put the nasty error message in config.log where it belongs
12200 echo "$GULM_PKG_ERRORS" >&5
12202 { $as_echo "$as_me:$LINENO: result: no" >&5
12203 $as_echo "no" >&6; }
12206 for ac_header
in libgulm.h
12208 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12209 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12210 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12211 $as_echo_n "checking for $ac_header... " >&6; }
12212 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12213 $as_echo_n "(cached) " >&6
12215 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12216 $as_echo "$as_val"'`
12217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12218 $as_echo "$ac_res" >&6; }
12220 # Is the header compilable?
12221 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12222 $as_echo_n "checking $ac_header usability... " >&6; }
12223 cat >conftest.
$ac_ext <<_ACEOF
12226 cat confdefs.h
>>conftest.
$ac_ext
12227 cat >>conftest.
$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12229 $ac_includes_default
12230 #include <$ac_header>
12232 rm -f conftest.
$ac_objext
12233 if { (ac_try
="$ac_compile"
12234 case "(($ac_try" in
12235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12236 *) ac_try_echo=$ac_try;;
12238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12239 $as_echo "$ac_try_echo") >&5
12240 (eval "$ac_compile") 2>conftest.er1
12242 grep -v '^ *+' conftest.er1 >conftest.err
12244 cat conftest.err >&5
12245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } && {
12247 test -z "$ac_c_werror_flag" ||
12248 test ! -s conftest.err
12249 } && test -s conftest.$ac_objext; then
12250 ac_header_compiler=yes
12252 $as_echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.$ac_ext >&5
12255 ac_header_compiler=no
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12259 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12260 $as_echo "$ac_header_compiler" >&6; }
12262 # Is the header present?
12263 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12264 $as_echo_n "checking $ac_header presence... " >&6; }
12265 cat >conftest.$ac_ext <<_ACEOF
12268 cat confdefs.h >>conftest.$ac_ext
12269 cat >>conftest.$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 #include <$ac_header>
12273 if { (ac_try="$ac_cpp conftest.$ac_ext"
12274 case "(($ac_try" in
12275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12276 *) ac_try_echo
=$ac_try;;
12278 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12279 $as_echo "$ac_try_echo") >&5
12280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12282 grep -v '^ *+' conftest.er1
>conftest.err
12284 cat conftest.err
>&5
12285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } >/dev
/null
&& {
12287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12288 test ! -s conftest.err
12290 ac_header_preproc
=yes
12292 $as_echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12295 ac_header_preproc
=no
12298 rm -f conftest.err conftest.
$ac_ext
12299 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12300 $as_echo "$ac_header_preproc" >&6; }
12302 # So? What about this header?
12303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12306 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12308 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12309 ac_header_preproc
=yes
12312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12313 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12315 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12317 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12319 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12321 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12323 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12327 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12328 $as_echo_n "checking for $ac_header... " >&6; }
12329 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12330 $as_echo_n "(cached) " >&6
12332 eval "$as_ac_Header=\$ac_header_preproc"
12334 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12335 $as_echo "$as_val"'`
12336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12337 $as_echo "$ac_res" >&6; }
12340 as_val
=`eval 'as_val=${'$as_ac_Header'}
12341 $as_echo "$as_val"'`
12342 if test "x$as_val" = x
""yes; then
12343 cat >>confdefs.h
<<_ACEOF
12344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12353 check_lib_no_libs gulm lg_core_login
12354 if test $NOTFOUND = 0; then
12355 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12356 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12360 elif test $pkg_failed = untried
; then
12363 for ac_header
in libgulm.h
12365 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12366 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12367 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12368 $as_echo_n "checking for $ac_header... " >&6; }
12369 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12370 $as_echo_n "(cached) " >&6
12372 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12373 $as_echo "$as_val"'`
12374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12375 $as_echo "$ac_res" >&6; }
12377 # Is the header compilable?
12378 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12379 $as_echo_n "checking $ac_header usability... " >&6; }
12380 cat >conftest.
$ac_ext <<_ACEOF
12383 cat confdefs.h
>>conftest.
$ac_ext
12384 cat >>conftest.
$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12386 $ac_includes_default
12387 #include <$ac_header>
12389 rm -f conftest.
$ac_objext
12390 if { (ac_try
="$ac_compile"
12391 case "(($ac_try" in
12392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12393 *) ac_try_echo=$ac_try;;
12395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12396 $as_echo "$ac_try_echo") >&5
12397 (eval "$ac_compile") 2>conftest.er1
12399 grep -v '^ *+' conftest.er1 >conftest.err
12401 cat conftest.err >&5
12402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } && {
12404 test -z "$ac_c_werror_flag" ||
12405 test ! -s conftest.err
12406 } && test -s conftest.$ac_objext; then
12407 ac_header_compiler=yes
12409 $as_echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12412 ac_header_compiler=no
12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12417 $as_echo "$ac_header_compiler" >&6; }
12419 # Is the header present?
12420 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12421 $as_echo_n "checking $ac_header presence... " >&6; }
12422 cat >conftest.$ac_ext <<_ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 #include <$ac_header>
12430 if { (ac_try="$ac_cpp conftest.$ac_ext"
12431 case "(($ac_try" in
12432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12433 *) ac_try_echo
=$ac_try;;
12435 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12436 $as_echo "$ac_try_echo") >&5
12437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12439 grep -v '^ *+' conftest.er1
>conftest.err
12441 cat conftest.err
>&5
12442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } >/dev
/null
&& {
12444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12445 test ! -s conftest.err
12447 ac_header_preproc
=yes
12449 $as_echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12452 ac_header_preproc
=no
12455 rm -f conftest.err conftest.
$ac_ext
12456 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12457 $as_echo "$ac_header_preproc" >&6; }
12459 # So? What about this header?
12460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12463 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12465 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12466 ac_header_preproc
=yes
12469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12470 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12472 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12474 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12475 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12476 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12477 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12478 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12480 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12484 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12485 $as_echo_n "checking for $ac_header... " >&6; }
12486 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12487 $as_echo_n "(cached) " >&6
12489 eval "$as_ac_Header=\$ac_header_preproc"
12491 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12492 $as_echo "$as_val"'`
12493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12494 $as_echo "$ac_res" >&6; }
12497 as_val
=`eval 'as_val=${'$as_ac_Header'}
12498 $as_echo "$as_val"'`
12499 if test "x$as_val" = x
""yes; then
12500 cat >>confdefs.h
<<_ACEOF
12501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12510 check_lib_no_libs gulm lg_core_login
12511 if test $NOTFOUND = 0; then
12512 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12513 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12518 GULM_CFLAGS
=$pkg_cv_GULM_CFLAGS
12519 GULM_LIBS
=$pkg_cv_GULM_LIBS
12520 { $as_echo "$as_me:$LINENO: result: yes" >&5
12521 $as_echo "yes" >&6; }
12526 if test x
$BUILDCMAN = xyes
; then
12529 { $as_echo "$as_me:$LINENO: checking for CMAN" >&5
12530 $as_echo_n "checking for CMAN... " >&6; }
12532 if test -n "$CMAN_CFLAGS"; then
12533 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
12534 elif test -n "$PKG_CONFIG"; then
12535 if test -n "$PKG_CONFIG" && \
12536 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12537 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; then
12541 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
12548 if test -n "$CMAN_LIBS"; then
12549 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
12550 elif test -n "$PKG_CONFIG"; then
12551 if test -n "$PKG_CONFIG" && \
12552 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12553 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; then
12557 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
12567 if test $pkg_failed = yes; then
12569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12570 _pkg_short_errors_supported
=yes
12572 _pkg_short_errors_supported
=no
12574 if test $_pkg_short_errors_supported = yes; then
12575 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
12577 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
12579 # Put the nasty error message in config.log where it belongs
12580 echo "$CMAN_PKG_ERRORS" >&5
12582 { $as_echo "$as_me:$LINENO: result: no" >&5
12583 $as_echo "no" >&6; }
12586 for ac_header
in libcman.h
12588 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12589 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12590 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12591 $as_echo_n "checking for $ac_header... " >&6; }
12592 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12593 $as_echo_n "(cached) " >&6
12595 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12596 $as_echo "$as_val"'`
12597 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12598 $as_echo "$ac_res" >&6; }
12600 # Is the header compilable?
12601 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12602 $as_echo_n "checking $ac_header usability... " >&6; }
12603 cat >conftest.
$ac_ext <<_ACEOF
12606 cat confdefs.h
>>conftest.
$ac_ext
12607 cat >>conftest.
$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12609 $ac_includes_default
12610 #include <$ac_header>
12612 rm -f conftest.
$ac_objext
12613 if { (ac_try
="$ac_compile"
12614 case "(($ac_try" in
12615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12616 *) ac_try_echo=$ac_try;;
12618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12619 $as_echo "$ac_try_echo") >&5
12620 (eval "$ac_compile") 2>conftest.er1
12622 grep -v '^ *+' conftest.er1 >conftest.err
12624 cat conftest.err >&5
12625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } && {
12627 test -z "$ac_c_werror_flag" ||
12628 test ! -s conftest.err
12629 } && test -s conftest.$ac_objext; then
12630 ac_header_compiler=yes
12632 $as_echo "$as_me: failed program was:" >&5
12633 sed 's/^/| /' conftest.$ac_ext >&5
12635 ac_header_compiler=no
12638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12639 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12640 $as_echo "$ac_header_compiler" >&6; }
12642 # Is the header present?
12643 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12644 $as_echo_n "checking $ac_header presence... " >&6; }
12645 cat >conftest.$ac_ext <<_ACEOF
12648 cat confdefs.h >>conftest.$ac_ext
12649 cat >>conftest.$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12651 #include <$ac_header>
12653 if { (ac_try="$ac_cpp conftest.$ac_ext"
12654 case "(($ac_try" in
12655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12656 *) ac_try_echo
=$ac_try;;
12658 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12659 $as_echo "$ac_try_echo") >&5
12660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12662 grep -v '^ *+' conftest.er1
>conftest.err
12664 cat conftest.err
>&5
12665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } >/dev
/null
&& {
12667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12668 test ! -s conftest.err
12670 ac_header_preproc
=yes
12672 $as_echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ac_header_preproc
=no
12678 rm -f conftest.err conftest.
$ac_ext
12679 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12680 $as_echo "$ac_header_preproc" >&6; }
12682 # So? What about this header?
12683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12686 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12688 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12689 ac_header_preproc
=yes
12692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12693 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12695 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12697 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12699 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12701 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12703 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12708 $as_echo_n "checking for $ac_header... " >&6; }
12709 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12710 $as_echo_n "(cached) " >&6
12712 eval "$as_ac_Header=\$ac_header_preproc"
12714 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12715 $as_echo "$as_val"'`
12716 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12717 $as_echo "$ac_res" >&6; }
12720 as_val
=`eval 'as_val=${'$as_ac_Header'}
12721 $as_echo "$as_val"'`
12722 if test "x$as_val" = x
""yes; then
12723 cat >>confdefs.h
<<_ACEOF
12724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12733 check_lib_no_libs cman cman_init
12734 if test $NOTFOUND = 0; then
12735 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12736 $as_echo "no pkg for libcman, using -lcman" >&6; }
12740 elif test $pkg_failed = untried
; then
12743 for ac_header
in libcman.h
12745 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12746 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12747 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12748 $as_echo_n "checking for $ac_header... " >&6; }
12749 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12750 $as_echo_n "(cached) " >&6
12752 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12753 $as_echo "$as_val"'`
12754 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12755 $as_echo "$ac_res" >&6; }
12757 # Is the header compilable?
12758 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12759 $as_echo_n "checking $ac_header usability... " >&6; }
12760 cat >conftest.
$ac_ext <<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 $ac_includes_default
12767 #include <$ac_header>
12769 rm -f conftest.
$ac_objext
12770 if { (ac_try
="$ac_compile"
12771 case "(($ac_try" in
12772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12773 *) ac_try_echo=$ac_try;;
12775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12776 $as_echo "$ac_try_echo") >&5
12777 (eval "$ac_compile") 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } && {
12784 test -z "$ac_c_werror_flag" ||
12785 test ! -s conftest.err
12786 } && test -s conftest.$ac_objext; then
12787 ac_header_compiler=yes
12789 $as_echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12792 ac_header_compiler=no
12795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12796 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12797 $as_echo "$ac_header_compiler" >&6; }
12799 # Is the header present?
12800 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12801 $as_echo_n "checking $ac_header presence... " >&6; }
12802 cat >conftest.$ac_ext <<_ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 #include <$ac_header>
12810 if { (ac_try="$ac_cpp conftest.$ac_ext"
12811 case "(($ac_try" in
12812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12813 *) ac_try_echo
=$ac_try;;
12815 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12816 $as_echo "$ac_try_echo") >&5
12817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } >/dev
/null
&& {
12824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12825 test ! -s conftest.err
12827 ac_header_preproc
=yes
12829 $as_echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.
$ac_ext >&5
12832 ac_header_preproc
=no
12835 rm -f conftest.err conftest.
$ac_ext
12836 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12837 $as_echo "$ac_header_preproc" >&6; }
12839 # So? What about this header?
12840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12843 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12844 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12845 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12846 ac_header_preproc
=yes
12849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12850 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12852 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12854 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12856 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12858 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12860 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12864 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12865 $as_echo_n "checking for $ac_header... " >&6; }
12866 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12867 $as_echo_n "(cached) " >&6
12869 eval "$as_ac_Header=\$ac_header_preproc"
12871 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12872 $as_echo "$as_val"'`
12873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12874 $as_echo "$ac_res" >&6; }
12877 as_val
=`eval 'as_val=${'$as_ac_Header'}
12878 $as_echo "$as_val"'`
12879 if test "x$as_val" = x
""yes; then
12880 cat >>confdefs.h
<<_ACEOF
12881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12890 check_lib_no_libs cman cman_init
12891 if test $NOTFOUND = 0; then
12892 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12893 $as_echo "no pkg for libcman, using -lcman" >&6; }
12898 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
12899 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
12900 { $as_echo "$as_me:$LINENO: result: yes" >&5
12901 $as_echo "yes" >&6; }
12908 if test x
$BUILDCOROSYNC = xyes || \
12909 test x
$BUILDOPENAIS = xyes
; then
12912 { $as_echo "$as_me:$LINENO: checking for COROSYNC" >&5
12913 $as_echo_n "checking for COROSYNC... " >&6; }
12915 if test -n "$COROSYNC_CFLAGS"; then
12916 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
12917 elif test -n "$PKG_CONFIG"; then
12918 if test -n "$PKG_CONFIG" && \
12919 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12920 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); }; then
12924 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
12931 if test -n "$COROSYNC_LIBS"; then
12932 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
12933 elif test -n "$PKG_CONFIG"; then
12934 if test -n "$PKG_CONFIG" && \
12935 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12936 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; then
12940 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
12950 if test $pkg_failed = yes; then
12952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12953 _pkg_short_errors_supported
=yes
12955 _pkg_short_errors_supported
=no
12957 if test $_pkg_short_errors_supported = yes; then
12958 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
12960 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
12962 # Put the nasty error message in config.log where it belongs
12963 echo "$COROSYNC_PKG_ERRORS" >&5
12965 { $as_echo "$as_me:$LINENO: result: no" >&5
12966 $as_echo "no" >&6; }
12968 elif test $pkg_failed = untried
; then
12971 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
12972 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
12973 { $as_echo "$as_me:$LINENO: result: yes" >&5
12974 $as_echo "yes" >&6; }
12980 if test x
$BUILDCOROSYNC = xyes
; then
12983 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
12984 $as_echo_n "checking for QUORUM... " >&6; }
12986 if test -n "$QUORUM_CFLAGS"; then
12987 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
12988 elif test -n "$PKG_CONFIG"; then
12989 if test -n "$PKG_CONFIG" && \
12990 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
12991 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
12993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; then
12995 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
13002 if test -n "$QUORUM_LIBS"; then
13003 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
13004 elif test -n "$PKG_CONFIG"; then
13005 if test -n "$PKG_CONFIG" && \
13006 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
13007 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
13009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; then
13011 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
13021 if test $pkg_failed = yes; then
13023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13024 _pkg_short_errors_supported
=yes
13026 _pkg_short_errors_supported
=no
13028 if test $_pkg_short_errors_supported = yes; then
13029 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
13031 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
13033 # Put the nasty error message in config.log where it belongs
13034 echo "$QUORUM_PKG_ERRORS" >&5
13036 { $as_echo "$as_me:$LINENO: result: no" >&5
13037 $as_echo "no" >&6; }
13039 elif test $pkg_failed = untried
; then
13042 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
13043 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
13044 { $as_echo "$as_me:$LINENO: result: yes" >&5
13045 $as_echo "yes" >&6; }
13052 if test x
$BUILDOPENAIS = xyes
; then
13055 { $as_echo "$as_me:$LINENO: checking for SALCK" >&5
13056 $as_echo_n "checking for SALCK... " >&6; }
13058 if test -n "$SALCK_CFLAGS"; then
13059 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
13060 elif test -n "$PKG_CONFIG"; then
13061 if test -n "$PKG_CONFIG" && \
13062 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13063 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; then
13067 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
13074 if test -n "$SALCK_LIBS"; then
13075 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
13076 elif test -n "$PKG_CONFIG"; then
13077 if test -n "$PKG_CONFIG" && \
13078 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13079 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; then
13083 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
13093 if test $pkg_failed = yes; then
13095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13096 _pkg_short_errors_supported
=yes
13098 _pkg_short_errors_supported
=no
13100 if test $_pkg_short_errors_supported = yes; then
13101 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
13103 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
13105 # Put the nasty error message in config.log where it belongs
13106 echo "$SALCK_PKG_ERRORS" >&5
13108 { $as_echo "$as_me:$LINENO: result: no" >&5
13109 $as_echo "no" >&6; }
13111 elif test $pkg_failed = untried
; then
13114 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
13115 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
13116 { $as_echo "$as_me:$LINENO: result: yes" >&5
13117 $as_echo "yes" >&6; }
13125 if test x
$CHECKCONFDB = xyes
; then
13128 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
13129 $as_echo_n "checking for CONFDB... " >&6; }
13131 if test -n "$CONFDB_CFLAGS"; then
13132 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
13133 elif test -n "$PKG_CONFIG"; then
13134 if test -n "$PKG_CONFIG" && \
13135 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13136 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; then
13140 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
13147 if test -n "$CONFDB_LIBS"; then
13148 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
13149 elif test -n "$PKG_CONFIG"; then
13150 if test -n "$PKG_CONFIG" && \
13151 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13152 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; then
13156 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
13166 if test $pkg_failed = yes; then
13168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13169 _pkg_short_errors_supported
=yes
13171 _pkg_short_errors_supported
=no
13173 if test $_pkg_short_errors_supported = yes; then
13174 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
13176 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
13178 # Put the nasty error message in config.log where it belongs
13179 echo "$CONFDB_PKG_ERRORS" >&5
13181 { $as_echo "$as_me:$LINENO: result: no" >&5
13182 $as_echo "no" >&6; }
13184 elif test $pkg_failed = untried
; then
13187 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
13188 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
13189 { $as_echo "$as_me:$LINENO: result: yes" >&5
13190 $as_echo "yes" >&6; }
13195 for ac_header
in corosync
/confdb.h
13197 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13198 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13200 $as_echo_n "checking for $ac_header... " >&6; }
13201 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13202 $as_echo_n "(cached) " >&6
13204 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13205 $as_echo "$as_val"'`
13206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13207 $as_echo "$ac_res" >&6; }
13209 # Is the header compilable?
13210 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13211 $as_echo_n "checking $ac_header usability... " >&6; }
13212 cat >conftest.
$ac_ext <<_ACEOF
13215 cat confdefs.h
>>conftest.
$ac_ext
13216 cat >>conftest.
$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13218 $ac_includes_default
13219 #include <$ac_header>
13221 rm -f conftest.
$ac_objext
13222 if { (ac_try
="$ac_compile"
13223 case "(($ac_try" in
13224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13225 *) ac_try_echo=$ac_try;;
13227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13228 $as_echo "$ac_try_echo") >&5
13229 (eval "$ac_compile") 2>conftest.er1
13231 grep -v '^ *+' conftest.er1 >conftest.err
13233 cat conftest.err >&5
13234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } && {
13236 test -z "$ac_c_werror_flag" ||
13237 test ! -s conftest.err
13238 } && test -s conftest.$ac_objext; then
13239 ac_header_compiler=yes
13241 $as_echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13244 ac_header_compiler=no
13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13248 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13249 $as_echo "$ac_header_compiler" >&6; }
13251 # Is the header present?
13252 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13253 $as_echo_n "checking $ac_header presence... " >&6; }
13254 cat >conftest.$ac_ext <<_ACEOF
13257 cat confdefs.h >>conftest.$ac_ext
13258 cat >>conftest.$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13260 #include <$ac_header>
13262 if { (ac_try="$ac_cpp conftest.$ac_ext"
13263 case "(($ac_try" in
13264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13265 *) ac_try_echo
=$ac_try;;
13267 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13268 $as_echo "$ac_try_echo") >&5
13269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13271 grep -v '^ *+' conftest.er1
>conftest.err
13273 cat conftest.err
>&5
13274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } >/dev
/null
&& {
13276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13277 test ! -s conftest.err
13279 ac_header_preproc
=yes
13281 $as_echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_header_preproc
=no
13287 rm -f conftest.err conftest.
$ac_ext
13288 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13289 $as_echo "$ac_header_preproc" >&6; }
13291 # So? What about this header?
13292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13295 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13297 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13298 ac_header_preproc
=yes
13301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13302 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13304 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13306 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13308 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13310 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13312 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13316 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13317 $as_echo_n "checking for $ac_header... " >&6; }
13318 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13319 $as_echo_n "(cached) " >&6
13321 eval "$as_ac_Header=\$ac_header_preproc"
13323 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13324 $as_echo "$as_val"'`
13325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13326 $as_echo "$ac_res" >&6; }
13329 as_val
=`eval 'as_val=${'$as_ac_Header'}
13330 $as_echo "$as_val"'`
13331 if test "x$as_val" = x
""yes; then
13332 cat >>confdefs.h
<<_ACEOF
13333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13343 if test x
$HAVE_CONFDB != xyes
&& \
13344 test x
$HAVE_CONFDB_H = xyes
; then
13345 check_lib_no_libs confdb confdb_initialize
13346 { $as_echo "$as_me:$LINENO: result: no pkg for confdb, using -lconfdb" >&5
13347 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
13348 CONFDB_LIBS
="-lconfdb"
13352 if test x
$BUILDCOROSYNC = xyes
&& \
13353 test x
$HAVE_CONFDB != xyes
&&
13354 test x
$CLVMD != xall
; then
13355 { { $as_echo "$as_me:$LINENO: error: bailing out... confdb library is required" >&5
13356 $as_echo "$as_me: error: bailing out... confdb library is required" >&2;}
13357 { (exit 1); exit 1; }; }
13361 if test x
$CHECKCPG = xyes
; then
13364 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
13365 $as_echo_n "checking for CPG... " >&6; }
13367 if test -n "$CPG_CFLAGS"; then
13368 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
13369 elif test -n "$PKG_CONFIG"; then
13370 if test -n "$PKG_CONFIG" && \
13371 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
13372 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
13374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; then
13376 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
13383 if test -n "$CPG_LIBS"; then
13384 pkg_cv_CPG_LIBS
="$CPG_LIBS"
13385 elif test -n "$PKG_CONFIG"; then
13386 if test -n "$PKG_CONFIG" && \
13387 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
13388 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
13390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; then
13392 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
13402 if test $pkg_failed = yes; then
13404 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13405 _pkg_short_errors_supported
=yes
13407 _pkg_short_errors_supported
=no
13409 if test $_pkg_short_errors_supported = yes; then
13410 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
13412 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
13414 # Put the nasty error message in config.log where it belongs
13415 echo "$CPG_PKG_ERRORS" >&5
13417 { $as_echo "$as_me:$LINENO: result: no" >&5
13418 $as_echo "no" >&6; }
13420 elif test $pkg_failed = untried
; then
13423 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
13424 CPG_LIBS
=$pkg_cv_CPG_LIBS
13425 { $as_echo "$as_me:$LINENO: result: yes" >&5
13426 $as_echo "yes" >&6; }
13431 if test x
$CHECKDLM = xyes
; then
13434 { $as_echo "$as_me:$LINENO: checking for DLM" >&5
13435 $as_echo_n "checking for DLM... " >&6; }
13437 if test -n "$DLM_CFLAGS"; then
13438 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
13439 elif test -n "$PKG_CONFIG"; then
13440 if test -n "$PKG_CONFIG" && \
13441 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13442 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; then
13446 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
13453 if test -n "$DLM_LIBS"; then
13454 pkg_cv_DLM_LIBS
="$DLM_LIBS"
13455 elif test -n "$PKG_CONFIG"; then
13456 if test -n "$PKG_CONFIG" && \
13457 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13458 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; then
13462 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
13472 if test $pkg_failed = yes; then
13474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13475 _pkg_short_errors_supported
=yes
13477 _pkg_short_errors_supported
=no
13479 if test $_pkg_short_errors_supported = yes; then
13480 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
13482 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
13484 # Put the nasty error message in config.log where it belongs
13485 echo "$DLM_PKG_ERRORS" >&5
13487 { $as_echo "$as_me:$LINENO: result: no" >&5
13488 $as_echo "no" >&6; }
13491 for ac_header
in libdlm.h
13493 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13495 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13496 $as_echo_n "checking for $ac_header... " >&6; }
13497 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13498 $as_echo_n "(cached) " >&6
13500 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13501 $as_echo "$as_val"'`
13502 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13503 $as_echo "$ac_res" >&6; }
13505 # Is the header compilable?
13506 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13507 $as_echo_n "checking $ac_header usability... " >&6; }
13508 cat >conftest.
$ac_ext <<_ACEOF
13511 cat confdefs.h
>>conftest.
$ac_ext
13512 cat >>conftest.
$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 $ac_includes_default
13515 #include <$ac_header>
13517 rm -f conftest.
$ac_objext
13518 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
13535 ac_header_compiler=yes
13537 $as_echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13540 ac_header_compiler=no
13543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13545 $as_echo "$ac_header_compiler" >&6; }
13547 # Is the header present?
13548 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13549 $as_echo_n "checking $ac_header presence... " >&6; }
13550 cat >conftest.$ac_ext <<_ACEOF
13553 cat confdefs.h >>conftest.$ac_ext
13554 cat >>conftest.$ac_ext <<_ACEOF
13555 /* end confdefs.h. */
13556 #include <$ac_header>
13558 if { (ac_try="$ac_cpp conftest.$ac_ext"
13559 case "(($ac_try" in
13560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13561 *) ac_try_echo
=$ac_try;;
13563 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13564 $as_echo "$ac_try_echo") >&5
13565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13567 grep -v '^ *+' conftest.er1
>conftest.err
13569 cat conftest.err
>&5
13570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } >/dev
/null
&& {
13572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13573 test ! -s conftest.err
13575 ac_header_preproc
=yes
13577 $as_echo "$as_me: failed program was:" >&5
13578 sed 's/^/| /' conftest.
$ac_ext >&5
13580 ac_header_preproc
=no
13583 rm -f conftest.err conftest.
$ac_ext
13584 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13585 $as_echo "$ac_header_preproc" >&6; }
13587 # So? What about this header?
13588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13591 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13593 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13594 ac_header_preproc
=yes
13597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13598 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13600 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13601 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13602 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13603 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13604 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13605 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13606 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13607 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13608 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13612 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13613 $as_echo_n "checking for $ac_header... " >&6; }
13614 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13615 $as_echo_n "(cached) " >&6
13617 eval "$as_ac_Header=\$ac_header_preproc"
13619 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13620 $as_echo "$as_val"'`
13621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13622 $as_echo "$ac_res" >&6; }
13625 as_val
=`eval 'as_val=${'$as_ac_Header'}
13626 $as_echo "$as_val"'`
13627 if test "x$as_val" = x
""yes; then
13628 cat >>confdefs.h
<<_ACEOF
13629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13638 check_lib_no_libs dlm dlm_lock
-lpthread
13639 if test $NOTFOUND = 0; then
13640 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13641 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13642 DLM_LIBS
="-ldlm -lpthread"
13645 elif test $pkg_failed = untried
; then
13648 for ac_header
in libdlm.h
13650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13651 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13652 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13653 $as_echo_n "checking for $ac_header... " >&6; }
13654 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13655 $as_echo_n "(cached) " >&6
13657 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13658 $as_echo "$as_val"'`
13659 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13660 $as_echo "$ac_res" >&6; }
13662 # Is the header compilable?
13663 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13664 $as_echo_n "checking $ac_header usability... " >&6; }
13665 cat >conftest.
$ac_ext <<_ACEOF
13668 cat confdefs.h
>>conftest.
$ac_ext
13669 cat >>conftest.
$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13671 $ac_includes_default
13672 #include <$ac_header>
13674 rm -f conftest.
$ac_objext
13675 if { (ac_try
="$ac_compile"
13676 case "(($ac_try" in
13677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13678 *) ac_try_echo=$ac_try;;
13680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13681 $as_echo "$ac_try_echo") >&5
13682 (eval "$ac_compile") 2>conftest.er1
13684 grep -v '^ *+' conftest.er1 >conftest.err
13686 cat conftest.err >&5
13687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } && {
13689 test -z "$ac_c_werror_flag" ||
13690 test ! -s conftest.err
13691 } && test -s conftest.$ac_objext; then
13692 ac_header_compiler=yes
13694 $as_echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 ac_header_compiler=no
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13702 $as_echo "$ac_header_compiler" >&6; }
13704 # Is the header present?
13705 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13706 $as_echo_n "checking $ac_header presence... " >&6; }
13707 cat >conftest.$ac_ext <<_ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <$ac_header>
13715 if { (ac_try="$ac_cpp conftest.$ac_ext"
13716 case "(($ac_try" in
13717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13718 *) ac_try_echo
=$ac_try;;
13720 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13721 $as_echo "$ac_try_echo") >&5
13722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13724 grep -v '^ *+' conftest.er1
>conftest.err
13726 cat conftest.err
>&5
13727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev
/null
&& {
13729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13730 test ! -s conftest.err
13732 ac_header_preproc
=yes
13734 $as_echo "$as_me: failed program was:" >&5
13735 sed 's/^/| /' conftest.
$ac_ext >&5
13737 ac_header_preproc
=no
13740 rm -f conftest.err conftest.
$ac_ext
13741 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13742 $as_echo "$ac_header_preproc" >&6; }
13744 # So? What about this header?
13745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13748 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13750 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13751 ac_header_preproc
=yes
13754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13755 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13757 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13759 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13761 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13763 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13765 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13769 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13770 $as_echo_n "checking for $ac_header... " >&6; }
13771 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13772 $as_echo_n "(cached) " >&6
13774 eval "$as_ac_Header=\$ac_header_preproc"
13776 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13777 $as_echo "$as_val"'`
13778 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13779 $as_echo "$ac_res" >&6; }
13782 as_val
=`eval 'as_val=${'$as_ac_Header'}
13783 $as_echo "$as_val"'`
13784 if test "x$as_val" = x
""yes; then
13785 cat >>confdefs.h
<<_ACEOF
13786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13795 check_lib_no_libs dlm dlm_lock
-lpthread
13796 if test $NOTFOUND = 0; then
13797 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13798 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13799 DLM_LIBS
="-ldlm -lpthread"
13803 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
13804 DLM_LIBS
=$pkg_cv_DLM_LIBS
13805 { $as_echo "$as_me:$LINENO: result: yes" >&5
13806 $as_echo "yes" >&6; }
13811 if test x
$CLVMD = xall
; then
13813 if test x
$HAVE_CCS = xyes
&& \
13814 test x
$HAVE_GULM = xyes
; then
13815 { $as_echo "$as_me:$LINENO: result: Enabling clvmd gulm cluster manager" >&5
13816 $as_echo "Enabling clvmd gulm cluster manager" >&6; }
13817 CLVMD
="$CLVMD,gulm"
13819 if test x
$HAVE_CMAN = xyes
&& \
13820 test x
$HAVE_DLM = xyes
; then
13821 { $as_echo "$as_me:$LINENO: result: Enabling clvmd cman cluster manager" >&5
13822 $as_echo "Enabling clvmd cman cluster manager" >&6; }
13823 CLVMD
="$CLVMD,cman"
13825 if test x
$HAVE_COROSYNC = xyes
&& \
13826 test x
$HAVE_QUORUM = xyes
&& \
13827 test x
$HAVE_CPG = xyes
&& \
13828 test x
$HAVE_DLM = xyes
&& \
13829 test x
$HAVE_CONFDB = xyes
; then
13830 { $as_echo "$as_me:$LINENO: result: Enabling clvmd corosync cluster manager" >&5
13831 $as_echo "Enabling clvmd corosync cluster manager" >&6; }
13832 CLVMD
="$CLVMD,corosync"
13834 if test x
$HAVE_COROSYNC = xyes
&& \
13835 test x
$HAVE_CPG = xyes
&& \
13836 test x
$HAVE_SALCK = xyes
; then
13837 { $as_echo "$as_me:$LINENO: result: Enabling clvmd openais cluster manager" >&5
13838 $as_echo "Enabling clvmd openais cluster manager" >&6; }
13839 CLVMD
="$CLVMD,openais"
13841 if test x
$CLVMD = xnone
; then
13842 { $as_echo "$as_me:$LINENO: result: Disabling clvmd build. No cluster manager detected." >&5
13843 $as_echo "Disabling clvmd build. No cluster manager detected." >&6; }
13847 ################################################################################
13848 if test "x$CLVMD" != xnone
; then
13850 # Check whether --with-clvmd-pidfile was given.
13851 if test "${with_clvmd_pidfile+set}" = set; then
13852 withval
=$with_clvmd_pidfile; CLVMD_PIDFILE
=$withval
13854 CLVMD_PIDFILE
="/var/run/clvmd.pid"
13858 cat >>confdefs.h
<<_ACEOF
13859 #define CLVMD_PIDFILE "$CLVMD_PIDFILE"
13864 ################################################################################
13865 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon" >&5
13866 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; }
13867 # Check whether --enable-cmirrord was given.
13868 if test "${enable_cmirrord+set}" = set; then
13869 enableval
=$enable_cmirrord; CMIRRORD
=$enableval
13874 { $as_echo "$as_me:$LINENO: result: $CMIRRORD" >&5
13875 $as_echo "$CMIRRORD" >&6; }
13877 BUILD_CMIRRORD
=$CMIRRORD
13879 ################################################################################
13880 if test "x$BUILD_CMIRRORD" = xyes
; then
13882 # Check whether --with-cmirrord-pidfile was given.
13883 if test "${with_cmirrord_pidfile+set}" = set; then
13884 withval
=$with_cmirrord_pidfile; CMIRRORD_PIDFILE
=$withval
13886 CMIRRORD_PIDFILE
="/var/run/cmirrord.pid"
13890 cat >>confdefs.h
<<_ACEOF
13891 #define CMIRRORD_PIDFILE "$CMIRRORD_PIDFILE"
13896 ################################################################################
13897 if [ "x$BUILD_CMIRRORD" = xyes
]; then
13898 if test x
$PKGCONFIG_INIT != x1
; then
13903 { $as_echo "$as_me:$LINENO: checking for SACKPT" >&5
13904 $as_echo_n "checking for SACKPT... " >&6; }
13906 if test -n "$SACKPT_CFLAGS"; then
13907 pkg_cv_SACKPT_CFLAGS
="$SACKPT_CFLAGS"
13908 elif test -n "$PKG_CONFIG"; then
13909 if test -n "$PKG_CONFIG" && \
13910 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13911 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; then
13915 pkg_cv_SACKPT_CFLAGS
=`$PKG_CONFIG --cflags "libSaCkpt" 2>/dev/null`
13922 if test -n "$SACKPT_LIBS"; then
13923 pkg_cv_SACKPT_LIBS
="$SACKPT_LIBS"
13924 elif test -n "$PKG_CONFIG"; then
13925 if test -n "$PKG_CONFIG" && \
13926 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13927 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; then
13931 pkg_cv_SACKPT_LIBS
=`$PKG_CONFIG --libs "libSaCkpt" 2>/dev/null`
13941 if test $pkg_failed = yes; then
13943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13944 _pkg_short_errors_supported
=yes
13946 _pkg_short_errors_supported
=no
13948 if test $_pkg_short_errors_supported = yes; then
13949 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt" 2>&1`
13951 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaCkpt" 2>&1`
13953 # Put the nasty error message in config.log where it belongs
13954 echo "$SACKPT_PKG_ERRORS" >&5
13956 { { $as_echo "$as_me:$LINENO: error: Package requirements (libSaCkpt) were not met:
13960 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13961 installed software in a non-standard prefix.
13963 Alternatively, you may set the environment variables SACKPT_CFLAGS
13964 and SACKPT_LIBS to avoid the need to call pkg-config.
13965 See the pkg-config man page for more details.
13967 $as_echo "$as_me: error: Package requirements (libSaCkpt) were not met:
13971 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13972 installed software in a non-standard prefix.
13974 Alternatively, you may set the environment variables SACKPT_CFLAGS
13975 and SACKPT_LIBS to avoid the need to call pkg-config.
13976 See the pkg-config man page for more details.
13978 { (exit 1); exit 1; }; }
13979 elif test $pkg_failed = untried
; then
13980 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13982 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13983 is in your PATH or set the PKG_CONFIG environment variable to the full
13984 path to pkg-config.
13986 Alternatively, you may set the environment variables SACKPT_CFLAGS
13987 and SACKPT_LIBS to avoid the need to call pkg-config.
13988 See the pkg-config man page for more details.
13990 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13991 See \`config.log' for more details." >&5
13992 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13993 is in your PATH or set the PKG_CONFIG environment variable to the full
13994 path to pkg-config.
13996 Alternatively, you may set the environment variables SACKPT_CFLAGS
13997 and SACKPT_LIBS to avoid the need to call pkg-config.
13998 See the pkg-config man page for more details.
14000 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14001 See \`config.log' for more details." >&2;}
14002 { (exit 1); exit 1; }; }; }
14004 SACKPT_CFLAGS
=$pkg_cv_SACKPT_CFLAGS
14005 SACKPT_LIBS
=$pkg_cv_SACKPT_LIBS
14006 { $as_echo "$as_me:$LINENO: result: yes" >&5
14007 $as_echo "yes" >&6; }
14010 if test x
$HAVE_CPG != xyes
; then
14013 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
14014 $as_echo_n "checking for CPG... " >&6; }
14016 if test -n "$CPG_CFLAGS"; then
14017 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
14018 elif test -n "$PKG_CONFIG"; then
14019 if test -n "$PKG_CONFIG" && \
14020 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14021 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; then
14025 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
14032 if test -n "$CPG_LIBS"; then
14033 pkg_cv_CPG_LIBS
="$CPG_LIBS"
14034 elif test -n "$PKG_CONFIG"; then
14035 if test -n "$PKG_CONFIG" && \
14036 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14037 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; then
14041 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
14051 if test $pkg_failed = yes; then
14053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14054 _pkg_short_errors_supported
=yes
14056 _pkg_short_errors_supported
=no
14058 if test $_pkg_short_errors_supported = yes; then
14059 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
14061 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
14063 # Put the nasty error message in config.log where it belongs
14064 echo "$CPG_PKG_ERRORS" >&5
14066 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
14070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14071 installed software in a non-standard prefix.
14073 Alternatively, you may set the environment variables CPG_CFLAGS
14074 and CPG_LIBS to avoid the need to call pkg-config.
14075 See the pkg-config man page for more details.
14077 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
14081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14082 installed software in a non-standard prefix.
14084 Alternatively, you may set the environment variables CPG_CFLAGS
14085 and CPG_LIBS to avoid the need to call pkg-config.
14086 See the pkg-config man page for more details.
14088 { (exit 1); exit 1; }; }
14089 elif test $pkg_failed = untried
; then
14090 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14092 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14093 is in your PATH or set the PKG_CONFIG environment variable to the full
14094 path to pkg-config.
14096 Alternatively, you may set the environment variables CPG_CFLAGS
14097 and CPG_LIBS to avoid the need to call pkg-config.
14098 See the pkg-config man page for more details.
14100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14101 See \`config.log' for more details." >&5
14102 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14103 is in your PATH or set the PKG_CONFIG environment variable to the full
14104 path to pkg-config.
14106 Alternatively, you may set the environment variables CPG_CFLAGS
14107 and CPG_LIBS to avoid the need to call pkg-config.
14108 See the pkg-config man page for more details.
14110 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14111 See \`config.log' for more details." >&2;}
14112 { (exit 1); exit 1; }; }; }
14114 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
14115 CPG_LIBS
=$pkg_cv_CPG_LIBS
14116 { $as_echo "$as_me:$LINENO: result: yes" >&5
14117 $as_echo "yes" >&6; }
14123 ################################################################################
14124 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
14125 $as_echo_n "checking whether to enable debugging... " >&6; }
14126 # Check whether --enable-debug was given.
14127 if test "${enable_debug+set}" = set; then
14128 enableval
=$enable_debug; DEBUG
=$enableval
14133 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
14134 $as_echo "$DEBUG" >&6; }
14136 if test x
$DEBUG = xyes
; then
14142 ################################################################################
14143 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
14144 $as_echo_n "checking for C optimisation flag... " >&6; }
14146 # Check whether --with-optimisation was given.
14147 if test "${with_optimisation+set}" = set; then
14148 withval
=$with_optimisation; COPTIMISE_FLAG
=$withval
14151 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
14152 $as_echo "$COPTIMISE_FLAG" >&6; }
14154 ################################################################################
14155 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
14156 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
14157 # Check whether --enable-profiling was given.
14158 if test "${enable_profiling+set}" = set; then
14159 enableval
=$enable_profiling; PROFILING
=$enableval
14164 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
14165 $as_echo "$PROFILING" >&6; }
14167 if test "x$PROFILING" = xyes
; then
14168 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
14169 # Extract the first word of "lcov", so it can be a program name with args.
14170 set dummy lcov
; ac_word
=$2
14171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14172 $as_echo_n "checking for $ac_word... " >&6; }
14173 if test "${ac_cv_path_LCOV+set}" = set; then
14174 $as_echo_n "(cached) " >&6
14178 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
14181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14182 for as_dir
in $PATH
14185 test -z "$as_dir" && as_dir
=.
14186 for ac_exec_ext
in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
14189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14199 LCOV
=$ac_cv_path_LCOV
14200 if test -n "$LCOV"; then
14201 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
14202 $as_echo "$LCOV" >&6; }
14204 { $as_echo "$as_me:$LINENO: result: no" >&5
14205 $as_echo "no" >&6; }
14209 # Extract the first word of "genhtml", so it can be a program name with args.
14210 set dummy genhtml
; ac_word
=$2
14211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 $as_echo_n "checking for $ac_word... " >&6; }
14213 if test "${ac_cv_path_GENHTML+set}" = set; then
14214 $as_echo_n "(cached) " >&6
14218 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 for ac_exec_ext
in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
14229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14239 GENHTML
=$ac_cv_path_GENHTML
14240 if test -n "$GENHTML"; then
14241 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
14242 $as_echo "$GENHTML" >&6; }
14244 { $as_echo "$as_me:$LINENO: result: no" >&5
14245 $as_echo "no" >&6; }
14249 if test -z "$LCOV" -o -z "$GENHTML"; then
14250 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
14251 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
14252 { (exit 1); exit 1; }; }
14254 # Extract the first word of "genpng", so it can be a program name with args.
14255 set dummy genpng
; ac_word
=$2
14256 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 $as_echo_n "checking for $ac_word... " >&6; }
14258 if test "${ac_cv_path_GENPNG+set}" = set; then
14259 $as_echo_n "(cached) " >&6
14263 ac_cv_path_GENPNG
="$GENPNG" # Let the user override the test with a path.
14266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14267 for as_dir
in $PATH
14270 test -z "$as_dir" && as_dir
=.
14271 for ac_exec_ext
in '' $ac_executable_extensions; do
14272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14273 ac_cv_path_GENPNG
="$as_dir/$ac_word$ac_exec_ext"
14274 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14284 GENPNG
=$ac_cv_path_GENPNG
14285 if test -n "$GENPNG"; then
14286 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
14287 $as_echo "$GENPNG" >&6; }
14289 { $as_echo "$as_me:$LINENO: result: no" >&5
14290 $as_echo "no" >&6; }
14294 if test -n "$GENPNG"; then
14295 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
14296 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
14297 if $GENPNG --help > /dev
/null
2>&1 ; then
14298 { $as_echo "$as_me:$LINENO: result: ok" >&5
14299 $as_echo "ok" >&6; }
14300 GENHTML
="$GENHTML --frames"
14302 { $as_echo "$as_me:$LINENO: result: not supported" >&5
14303 $as_echo "not supported" >&6; }
14304 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
14305 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
14311 ################################################################################
14312 { $as_echo "$as_me:$LINENO: checking whether to enable unit testing" >&5
14313 $as_echo_n "checking whether to enable unit testing... " >&6; }
14314 # Check whether --enable-testing was given.
14315 if test "${enable_testing+set}" = set; then
14316 enableval
=$enable_testing; TESTING
=$enableval
14321 { $as_echo "$as_me:$LINENO: result: $TESTING" >&5
14322 $as_echo "$TESTING" >&6; }
14324 if test "$TESTING" = yes; then
14325 # Extract the first word of "ruby1.9", so it can be a program name with args.
14326 set dummy ruby1.9
; ac_word
=$2
14327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14328 $as_echo_n "checking for $ac_word... " >&6; }
14329 if test "${ac_cv_path_RUBY19+set}" = set; then
14330 $as_echo_n "(cached) " >&6
14334 ac_cv_path_RUBY19
="$RUBY19" # Let the user override the test with a path.
14337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14338 for as_dir
in $PATH
14341 test -z "$as_dir" && as_dir
=.
14342 for ac_exec_ext
in '' $ac_executable_extensions; do
14343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14344 ac_cv_path_RUBY19
="$as_dir/$ac_word$ac_exec_ext"
14345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14355 RUBY19
=$ac_cv_path_RUBY19
14356 if test -n "$RUBY19"; then
14357 { $as_echo "$as_me:$LINENO: result: $RUBY19" >&5
14358 $as_echo "$RUBY19" >&6; }
14360 { $as_echo "$as_me:$LINENO: result: no" >&5
14361 $as_echo "no" >&6; }
14365 # Extract the first word of "valgrind", so it can be a program name with args.
14366 set dummy valgrind
; ac_word
=$2
14367 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14368 $as_echo_n "checking for $ac_word... " >&6; }
14369 if test "${ac_cv_path_VALGRIND+set}" = set; then
14370 $as_echo_n "(cached) " >&6
14374 ac_cv_path_VALGRIND
="$VALGRIND" # Let the user override the test with a path.
14377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14378 for as_dir
in $PATH
14381 test -z "$as_dir" && as_dir
=.
14382 for ac_exec_ext
in '' $ac_executable_extensions; do
14383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14384 ac_cv_path_VALGRIND
="$as_dir/$ac_word$ac_exec_ext"
14385 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14395 VALGRIND
=$ac_cv_path_VALGRIND
14396 if test -n "$VALGRIND"; then
14397 { $as_echo "$as_me:$LINENO: result: $VALGRIND" >&5
14398 $as_echo "$VALGRIND" >&6; }
14400 { $as_echo "$as_me:$LINENO: result: no" >&5
14401 $as_echo "no" >&6; }
14405 if test -z "$RUBY19" -o -z "$VALGRIND"; then
14406 { { $as_echo "$as_me:$LINENO: error: ruby1.9 and valgrind are required for testing" >&5
14407 $as_echo "$as_me: error: ruby1.9 and valgrind are required for testing" >&2;}
14408 { (exit 1); exit 1; }; }
14412 ################################################################################
14413 { $as_echo "$as_me:$LINENO: checking whether to enable valgrind awareness of pools" >&5
14414 $as_echo_n "checking whether to enable valgrind awareness of pools... " >&6; }
14415 # Check whether --enable-valgrind_pool was given.
14416 if test "${enable_valgrind_pool+set}" = set; then
14417 enableval
=$enable_valgrind_pool; VALGRIND_POOL
=$enableval
14422 { $as_echo "$as_me:$LINENO: result: $VALGRIND_POOL" >&5
14423 $as_echo "$VALGRIND_POOL" >&6; }
14425 if test "$VALGRIND_POOL" = yes; then
14427 for ac_header
in valgrind
/memcheck.h
14429 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14430 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14431 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14432 $as_echo_n "checking for $ac_header... " >&6; }
14433 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14434 $as_echo_n "(cached) " >&6
14436 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14437 $as_echo "$as_val"'`
14438 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14439 $as_echo "$ac_res" >&6; }
14441 # Is the header compilable?
14442 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14443 $as_echo_n "checking $ac_header usability... " >&6; }
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14451 #include <$ac_header>
14453 rm -f conftest.
$ac_objext
14454 if { (ac_try
="$ac_compile"
14455 case "(($ac_try" in
14456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14457 *) ac_try_echo=$ac_try;;
14459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14460 $as_echo "$ac_try_echo") >&5
14461 (eval "$ac_compile") 2>conftest.er1
14463 grep -v '^ *+' conftest.er1 >conftest.err
14465 cat conftest.err >&5
14466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
14471 ac_header_compiler=yes
14473 $as_echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14476 ac_header_compiler=no
14479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14481 $as_echo "$ac_header_compiler" >&6; }
14483 # Is the header present?
14484 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14485 $as_echo_n "checking $ac_header presence... " >&6; }
14486 cat >conftest.$ac_ext <<_ACEOF
14489 cat confdefs.h >>conftest.$ac_ext
14490 cat >>conftest.$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 #include <$ac_header>
14494 if { (ac_try="$ac_cpp conftest.$ac_ext"
14495 case "(($ac_try" in
14496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14497 *) ac_try_echo
=$ac_try;;
14499 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14500 $as_echo "$ac_try_echo") >&5
14501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } >/dev
/null
&& {
14508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14511 ac_header_preproc
=yes
14513 $as_echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 ac_header_preproc
=no
14519 rm -f conftest.err conftest.
$ac_ext
14520 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14521 $as_echo "$ac_header_preproc" >&6; }
14523 # So? What about this header?
14524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14527 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14529 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14530 ac_header_preproc
=yes
14533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14534 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14536 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14538 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14540 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14542 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14544 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14548 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14549 $as_echo_n "checking for $ac_header... " >&6; }
14550 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14551 $as_echo_n "(cached) " >&6
14553 eval "$as_ac_Header=\$ac_header_preproc"
14555 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14556 $as_echo "$as_val"'`
14557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14558 $as_echo "$ac_res" >&6; }
14561 as_val
=`eval 'as_val=${'$as_ac_Header'}
14562 $as_echo "$as_val"'`
14563 if test "x$as_val" = x
""yes; then
14564 cat >>confdefs.h
<<_ACEOF
14565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14569 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14570 $as_echo "$as_me: error: bailing out" >&2;}
14571 { (exit 1); exit 1; }; }
14577 cat >>confdefs.h
<<\_ACEOF
14578 #define VALGRIND_POOL 1
14583 ################################################################################
14584 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
14585 $as_echo_n "checking whether to use device-mapper... " >&6; }
14586 # Check whether --enable-devmapper was given.
14587 if test "${enable_devmapper+set}" = set; then
14588 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
14591 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
14592 $as_echo "$DEVMAPPER" >&6; }
14594 if test x
$DEVMAPPER = xyes
; then
14596 cat >>confdefs.h
<<\_ACEOF
14597 #define DEVMAPPER_SUPPORT 1
14602 ################################################################################
14603 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
14604 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
14605 # Check whether --enable-udev_sync was given.
14606 if test "${enable_udev_sync+set}" = set; then
14607 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
14612 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
14613 $as_echo "$UDEV_SYNC" >&6; }
14615 if test x
$UDEV_SYNC = xyes
; then
14616 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
14617 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
14618 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
14619 $as_echo_n "(cached) " >&6
14621 ac_check_lib_save_LIBS
=$LIBS
14622 LIBS
="-ludev $LIBS"
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14630 /* Override any GCC internal prototype to avoid an error.
14631 Use char because int might match the return type of a GCC
14632 builtin and then its argument prototype would still apply. */
14636 char udev_queue_get_udev_is_active ();
14640 return udev_queue_get_udev_is_active ();
14645 rm -f conftest.
$ac_objext conftest
$ac_exeext
14646 if { (ac_try
="$ac_link"
14647 case "(($ac_try" in
14648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14652 $as_echo "$ac_try_echo") >&5
14653 (eval "$ac_link") 2>conftest.er1
14655 grep -v '^ *+' conftest.er1 >conftest.err
14657 cat conftest.err >&5
14658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } && {
14660 test -z "$ac_c_werror_flag" ||
14661 test ! -s conftest.err
14662 } && test -s conftest$ac_exeext && {
14663 test "$cross_compiling" = yes ||
14664 $as_test_x conftest$ac_exeext
14666 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
14668 $as_echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14671 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
14674 rm -rf conftest.dSYM
14675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_lib_save_LIBS
14679 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
14680 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
14681 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
14682 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
14684 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
14685 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
14686 { (exit 1); exit 1; }; }
14690 cat >>confdefs.h <<\_ACEOF
14691 #define UDEV_SYNC_SUPPORT 1
14696 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
14697 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
14698 # Check whether --enable-udev_rules was given.
14699 if test "${enable_udev_rules+set}" = set; then
14700 enableval=$enable_udev_rules; UDEV_RULES=$enableval
14702 UDEV_RULES=$UDEV_SYNC
14705 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
14706 $as_echo "$UDEV_RULES" >&6; }
14708 ################################################################################
14709 # Check whether --enable-compat was given.
14710 if test "${enable_compat+set}" = set; then
14711 enableval=$enable_compat; DM_COMPAT=$enableval
14717 ################################################################################
14718 # Check whether --enable-units-compat was given.
14719 if test "${enable_units_compat+set}" = set; then
14720 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
14726 if test x$UNITS_COMPAT = xyes; then
14728 cat >>confdefs.h <<\_ACEOF
14729 #define DEFAULT_SI_UNIT_CONSISTENCY 0
14734 ################################################################################
14735 # Check whether --enable-ioctl was given.
14736 if test "${enable_ioctl+set}" = set; then
14737 enableval=$enable_ioctl; DM_IOCTLS=$enableval
14741 ################################################################################
14742 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
14743 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
14744 # Check whether --enable-o_direct was given.
14745 if test "${enable_o_direct+set}" = set; then
14746 enableval=$enable_o_direct; ODIRECT=$enableval
14749 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
14750 $as_echo "$ODIRECT" >&6; }
14752 if test x$ODIRECT = xyes; then
14754 cat >>confdefs.h <<\_ACEOF
14755 #define O_DIRECT_SUPPORT 1
14760 ################################################################################
14761 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
14762 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
14763 # Check whether --enable-applib was given.
14764 if test "${enable_applib+set}" = set; then
14765 enableval=$enable_applib; APPLIB=$enableval
14770 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
14771 $as_echo "$APPLIB" >&6; }
14773 test x$APPLIB = xyes \
14774 && LVM2APP_LIB=-llvm2app \
14777 ################################################################################
14778 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
14779 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
14780 # Check whether --enable-cmdlib was given.
14781 if test "${enable_cmdlib+set}" = set; then
14782 enableval=$enable_cmdlib; CMDLIB=$enableval
14787 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
14788 $as_echo "$CMDLIB" >&6; }
14790 test x$CMDLIB = xyes \
14791 && LVM2CMD_LIB=-llvm2cmd \
14794 ################################################################################
14795 # Check whether --enable-pkgconfig was given.
14796 if test "${enable_pkgconfig+set}" = set; then
14797 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
14803 ################################################################################
14804 # Check whether --enable-write_install was given.
14805 if test "${enable_write_install+set}" = set; then
14806 enableval=$enable_write_install; WRITE_INSTALL=$enableval
14812 ################################################################################
14813 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
14814 $as_echo_n "checking whether to install fsadm... " >&6; }
14815 # Check whether --enable-fsadm was given.
14816 if test "${enable_fsadm+set}" = set; then
14817 enableval=$enable_fsadm; FSADM=$enableval
14820 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
14821 $as_echo "$FSADM" >&6; }
14823 ################################################################################
14824 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
14825 $as_echo_n "checking whether to use dmeventd... " >&6; }
14826 # Check whether --enable-dmeventd was given.
14827 if test "${enable_dmeventd+set}" = set; then
14828 enableval=$enable_dmeventd; DMEVENTD=$enableval
14831 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
14832 $as_echo "$DMEVENTD" >&6; }
14834 BUILD_DMEVENTD=$DMEVENTD
14836 if test x$DMEVENTD = xyes; then
14837 if test x$MIRRORS != xinternal; then
14838 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
14840 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
14842 { (exit 1); exit 1; }; }
14844 if test x$CMDLIB = xno; then
14845 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14847 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14849 { (exit 1); exit 1; }; }
14853 if test x$DMEVENTD = xyes; then
14855 cat >>confdefs.h <<\_ACEOF
14861 ################################################################################
14863 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
14864 $as_echo_n "checking for getline in -lc... " >&6; }
14865 if test "${ac_cv_lib_c_getline+set}" = set; then
14866 $as_echo_n "(cached) " >&6
14868 ac_check_lib_save_LIBS=$LIBS
14870 cat >conftest.$ac_ext <<_ACEOF
14873 cat confdefs.h >>conftest.$ac_ext
14874 cat >>conftest.$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14892 rm -f conftest.$ac_objext conftest$ac_exeext
14893 if { (ac_try="$ac_link"
14894 case "(($ac_try" in
14895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14896 *) ac_try_echo
=$ac_try;;
14898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14899 $as_echo "$ac_try_echo") >&5
14900 (eval "$ac_link") 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } && {
14907 test -z "$ac_c_werror_flag" ||
14908 test ! -s conftest.err
14909 } && test -s conftest
$ac_exeext && {
14910 test "$cross_compiling" = yes ||
14911 $as_test_x conftest
$ac_exeext
14913 ac_cv_lib_c_getline
=yes
14915 $as_echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.
$ac_ext >&5
14918 ac_cv_lib_c_getline
=no
14921 rm -rf conftest.dSYM
14922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14923 conftest
$ac_exeext conftest.
$ac_ext
14924 LIBS
=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
14927 $as_echo "$ac_cv_lib_c_getline" >&6; }
14928 if test "x$ac_cv_lib_c_getline" = x
""yes; then
14930 cat >>confdefs.h
<<\_ACEOF
14931 #define HAVE_GETLINE 1
14937 ################################################################################
14939 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
14940 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
14941 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
14942 $as_echo_n "(cached) " >&6
14944 ac_check_lib_save_LIBS
=$LIBS
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14959 char canonicalize_file_name ();
14963 return canonicalize_file_name ();
14968 rm -f conftest.
$ac_objext conftest
$ac_exeext
14969 if { (ac_try
="$ac_link"
14970 case "(($ac_try" in
14971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14972 *) ac_try_echo=$ac_try;;
14974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14975 $as_echo "$ac_try_echo") >&5
14976 (eval "$ac_link") 2>conftest.er1
14978 grep -v '^ *+' conftest.er1 >conftest.err
14980 cat conftest.err >&5
14981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest$ac_exeext && {
14986 test "$cross_compiling" = yes ||
14987 $as_test_x conftest$ac_exeext
14989 ac_cv_lib_c_canonicalize_file_name=yes
14991 $as_echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 ac_cv_lib_c_canonicalize_file_name=no
14997 rm -rf conftest.dSYM
14998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
15003 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
15004 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
15006 cat >>confdefs.h <<\_ACEOF
15007 #define HAVE_CANONICALIZE_FILE_NAME 1
15013 ################################################################################
15014 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
15015 then exec_prefix="";
15018 ################################################################################
15019 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15021 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15022 $as_echo_n "(cached) " >&6
15024 ac_check_lib_save_LIBS=$LIBS
15026 cat >conftest.$ac_ext <<_ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15048 rm -f conftest.$ac_objext conftest$ac_exeext
15049 if { (ac_try="$ac_link"
15050 case "(($ac_try" in
15051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15052 *) ac_try_echo
=$ac_try;;
15054 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15055 $as_echo "$ac_try_echo") >&5
15056 (eval "$ac_link") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1
>conftest.err
15060 cat conftest.err
>&5
15061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest
$ac_exeext && {
15066 test "$cross_compiling" = yes ||
15067 $as_test_x conftest
$ac_exeext
15069 ac_cv_lib_dl_dlopen
=yes
15071 $as_echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.
$ac_ext >&5
15074 ac_cv_lib_dl_dlopen
=no
15077 rm -rf conftest.dSYM
15078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15079 conftest
$ac_exeext conftest.
$ac_ext
15080 LIBS
=$ac_check_lib_save_LIBS
15082 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15083 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15084 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
15087 cat >>confdefs.h
<<\_ACEOF
15088 #define HAVE_LIBDL 1
15100 ################################################################################
15101 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
15102 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
15103 \
) -a "x$STATIC_LINK" = xyes
];
15104 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
15106 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
15108 { (exit 1); exit 1; }; }
15111 ################################################################################
15112 if [ "$DMEVENTD" = yes -o "$CLVMD" != none
] ; then
15113 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
15114 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
15115 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
15116 $as_echo_n "(cached) " >&6
15118 ac_check_lib_save_LIBS
=$LIBS
15119 LIBS
="-lpthread $LIBS"
15120 cat >conftest.
$ac_ext <<_ACEOF
15123 cat confdefs.h
>>conftest.
$ac_ext
15124 cat >>conftest.
$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15133 char pthread_mutex_lock ();
15137 return pthread_mutex_lock ();
15142 rm -f conftest.
$ac_objext conftest
$ac_exeext
15143 if { (ac_try
="$ac_link"
15144 case "(($ac_try" in
15145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15146 *) ac_try_echo=$ac_try;;
15148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15149 $as_echo "$ac_try_echo") >&5
15150 (eval "$ac_link") 2>conftest.er1
15152 grep -v '^ *+' conftest.er1 >conftest.err
15154 cat conftest.err >&5
15155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } && {
15157 test -z "$ac_c_werror_flag" ||
15158 test ! -s conftest.err
15159 } && test -s conftest$ac_exeext && {
15160 test "$cross_compiling" = yes ||
15161 $as_test_x conftest$ac_exeext
15163 ac_cv_lib_pthread_pthread_mutex_lock=yes
15165 $as_echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.$ac_ext >&5
15168 ac_cv_lib_pthread_pthread_mutex_lock=no
15171 rm -rf conftest.dSYM
15172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15173 conftest$ac_exeext conftest.$ac_ext
15174 LIBS=$ac_check_lib_save_LIBS
15176 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
15177 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
15178 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
15179 PTHREAD_LIBS="-lpthread"
15186 ################################################################################
15187 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
15188 $as_echo_n "checking whether to enable selinux support... " >&6; }
15189 # Check whether --enable-selinux was given.
15190 if test "${enable_selinux+set}" = set; then
15191 enableval=$enable_selinux; SELINUX=$enableval
15194 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
15195 $as_echo "$SELINUX" >&6; }
15197 ################################################################################
15198 if test x$SELINUX = xyes; then
15199 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
15200 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
15201 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
15202 $as_echo_n "(cached) " >&6
15204 ac_check_lib_save_LIBS=$LIBS
15205 LIBS="-lsepol $LIBS"
15206 cat >conftest.$ac_ext <<_ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15213 /* Override any GCC internal prototype to avoid an error.
15214 Use char because int might match the return type of a GCC
15215 builtin and then its argument prototype would still apply. */
15219 char sepol_check_context ();
15223 return sepol_check_context ();
15228 rm -f conftest.$ac_objext conftest$ac_exeext
15229 if { (ac_try="$ac_link"
15230 case "(($ac_try" in
15231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15232 *) ac_try_echo
=$ac_try;;
15234 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15235 $as_echo "$ac_try_echo") >&5
15236 (eval "$ac_link") 2>conftest.er1
15238 grep -v '^ *+' conftest.er1
>conftest.err
15240 cat conftest.err
>&5
15241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); } && {
15243 test -z "$ac_c_werror_flag" ||
15244 test ! -s conftest.err
15245 } && test -s conftest
$ac_exeext && {
15246 test "$cross_compiling" = yes ||
15247 $as_test_x conftest
$ac_exeext
15249 ac_cv_lib_sepol_sepol_check_context
=yes
15251 $as_echo "$as_me: failed program was:" >&5
15252 sed 's/^/| /' conftest.
$ac_ext >&5
15254 ac_cv_lib_sepol_sepol_check_context
=no
15257 rm -rf conftest.dSYM
15258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15259 conftest
$ac_exeext conftest.
$ac_ext
15260 LIBS
=$ac_check_lib_save_LIBS
15262 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
15263 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
15264 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then
15267 cat >>confdefs.h
<<\_ACEOF
15268 #define HAVE_SEPOL 1
15271 SELINUX_LIBS
="-lsepol"
15275 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
15276 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
15277 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
15278 $as_echo_n "(cached) " >&6
15280 ac_check_lib_save_LIBS
=$LIBS
15281 LIBS
="-lselinux $LIBS"
15282 cat >conftest.
$ac_ext <<_ACEOF
15285 cat confdefs.h
>>conftest.
$ac_ext
15286 cat >>conftest.
$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15295 char is_selinux_enabled ();
15299 return is_selinux_enabled ();
15304 rm -f conftest.
$ac_objext conftest
$ac_exeext
15305 if { (ac_try
="$ac_link"
15306 case "(($ac_try" in
15307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15311 $as_echo "$ac_try_echo") >&5
15312 (eval "$ac_link") 2>conftest.er1
15314 grep -v '^ *+' conftest.er1 >conftest.err
15316 cat conftest.err >&5
15317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest$ac_exeext && {
15322 test "$cross_compiling" = yes ||
15323 $as_test_x conftest$ac_exeext
15325 ac_cv_lib_selinux_is_selinux_enabled=yes
15327 $as_echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15330 ac_cv_lib_selinux_is_selinux_enabled=no
15333 rm -rf conftest.dSYM
15334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_lib_save_LIBS
15338 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
15339 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
15340 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
15343 for ac_header in selinux/selinux.h
15345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15347 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15348 $as_echo_n "checking for $ac_header... " >&6; }
15349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15350 $as_echo_n "(cached) " >&6
15352 ac_res=`eval 'as_val=${'$as_ac_Header'}
15353 $as_echo "$as_val"'`
15354 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15355 $as_echo "$ac_res" >&6; }
15357 # Is the header compilable?
15358 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15359 $as_echo_n "checking $ac_header usability... " >&6; }
15360 cat >conftest.$ac_ext <<_ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15367 #include <$ac_header>
15369 rm -f conftest.$ac_objext
15370 if { (ac_try="$ac_compile"
15371 case "(($ac_try" in
15372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15373 *) ac_try_echo
=$ac_try;;
15375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15376 $as_echo "$ac_try_echo") >&5
15377 (eval "$ac_compile") 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest.
$ac_objext; then
15387 ac_header_compiler
=yes
15389 $as_echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 ac_header_compiler
=no
15395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15397 $as_echo "$ac_header_compiler" >&6; }
15399 # Is the header present?
15400 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15401 $as_echo_n "checking $ac_header presence... " >&6; }
15402 cat >conftest.
$ac_ext <<_ACEOF
15405 cat confdefs.h
>>conftest.
$ac_ext
15406 cat >>conftest.
$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408 #include <$ac_header>
15410 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15411 case "(($ac_try" in
15412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15416 $as_echo "$ac_try_echo") >&5
15417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15419 grep -v '^ *+' conftest.er1 >conftest.err
15421 cat conftest.err >&5
15422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } >/dev/null && {
15424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15427 ac_header_preproc=yes
15429 $as_echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15432 ac_header_preproc=no
15435 rm -f conftest.err conftest.$ac_ext
15436 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15437 $as_echo "$ac_header_preproc" >&6; }
15439 # So? What about this header?
15440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15443 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15445 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15446 ac_header_preproc=yes
15449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15450 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15452 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15454 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15456 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15460 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15465 $as_echo_n "checking for $ac_header... " >&6; }
15466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15467 $as_echo_n "(cached) " >&6
15469 eval "$as_ac_Header=\$ac_header_preproc"
15471 ac_res=`eval 'as_val=${'$as_ac_Header'}
15472 $as_echo "$as_val"'`
15473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15474 $as_echo "$ac_res" >&6; }
15477 as_val=`eval 'as_val=${'$as_ac_Header'}
15478 $as_echo "$as_val"'`
15479 if test "x$as_val" = x""yes; then
15480 cat >>confdefs.h <<_ACEOF
15481 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15491 cat >>confdefs.h <<\_ACEOF
15492 #define HAVE_SELINUX 1
15495 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
15496 SELINUX_PC="libselinux"
15500 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
15501 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
15509 ################################################################################
15510 if test x$REALTIME = xyes; then
15511 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
15512 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15513 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
15514 $as_echo_n "(cached) " >&6
15516 ac_check_lib_save_LIBS=$LIBS
15518 cat >conftest.$ac_ext <<_ACEOF
15521 cat confdefs.h >>conftest.$ac_ext
15522 cat >>conftest.$ac_ext <<_ACEOF
15523 /* end confdefs.h. */
15525 /* Override any GCC internal prototype to avoid an error.
15526 Use char because int might match the return type of a GCC
15527 builtin and then its argument prototype would still apply. */
15531 char clock_gettime ();
15535 return clock_gettime ();
15540 rm -f conftest.$ac_objext conftest$ac_exeext
15541 if { (ac_try="$ac_link"
15542 case "(($ac_try" in
15543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15544 *) ac_try_echo
=$ac_try;;
15546 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15547 $as_echo "$ac_try_echo") >&5
15548 (eval "$ac_link") 2>conftest.er1
15550 grep -v '^ *+' conftest.er1
>conftest.err
15552 cat conftest.err
>&5
15553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } && {
15555 test -z "$ac_c_werror_flag" ||
15556 test ! -s conftest.err
15557 } && test -s conftest
$ac_exeext && {
15558 test "$cross_compiling" = yes ||
15559 $as_test_x conftest
$ac_exeext
15561 ac_cv_lib_rt_clock_gettime
=yes
15563 $as_echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.
$ac_ext >&5
15566 ac_cv_lib_rt_clock_gettime
=no
15569 rm -rf conftest.dSYM
15570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15571 conftest
$ac_exeext conftest.
$ac_ext
15572 LIBS
=$ac_check_lib_save_LIBS
15574 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
15575 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15576 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then
15583 if test x
$HAVE_REALTIME = xyes
; then
15585 cat >>confdefs.h
<<\_ACEOF
15586 #define HAVE_REALTIME 1
15591 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
15592 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
15596 ################################################################################
15598 for ac_header
in getopt.h
15600 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15601 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15602 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15603 $as_echo_n "checking for $ac_header... " >&6; }
15604 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15605 $as_echo_n "(cached) " >&6
15607 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15608 $as_echo "$as_val"'`
15609 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15610 $as_echo "$ac_res" >&6; }
15612 # Is the header compilable?
15613 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15614 $as_echo_n "checking $ac_header usability... " >&6; }
15615 cat >conftest.
$ac_ext <<_ACEOF
15618 cat confdefs.h
>>conftest.
$ac_ext
15619 cat >>conftest.
$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 $ac_includes_default
15622 #include <$ac_header>
15624 rm -f conftest.
$ac_objext
15625 if { (ac_try
="$ac_compile"
15626 case "(($ac_try" in
15627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15631 $as_echo "$ac_try_echo") >&5
15632 (eval "$ac_compile") 2>conftest.er1
15634 grep -v '^ *+' conftest.er1 >conftest.err
15636 cat conftest.err >&5
15637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } && {
15639 test -z "$ac_c_werror_flag" ||
15640 test ! -s conftest.err
15641 } && test -s conftest.$ac_objext; then
15642 ac_header_compiler=yes
15644 $as_echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15647 ac_header_compiler=no
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15652 $as_echo "$ac_header_compiler" >&6; }
15654 # Is the header present?
15655 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15656 $as_echo_n "checking $ac_header presence... " >&6; }
15657 cat >conftest.$ac_ext <<_ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663 #include <$ac_header>
15665 if { (ac_try="$ac_cpp conftest.$ac_ext"
15666 case "(($ac_try" in
15667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15668 *) ac_try_echo
=$ac_try;;
15670 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15671 $as_echo "$ac_try_echo") >&5
15672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15674 grep -v '^ *+' conftest.er1
>conftest.err
15676 cat conftest.err
>&5
15677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } >/dev
/null
&& {
15679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15680 test ! -s conftest.err
15682 ac_header_preproc
=yes
15684 $as_echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15687 ac_header_preproc
=no
15690 rm -f conftest.err conftest.
$ac_ext
15691 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15692 $as_echo "$ac_header_preproc" >&6; }
15694 # So? What about this header?
15695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15698 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15701 ac_header_preproc
=yes
15704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15705 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15707 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15709 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15711 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15713 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15715 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15719 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15720 $as_echo_n "checking for $ac_header... " >&6; }
15721 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15722 $as_echo_n "(cached) " >&6
15724 eval "$as_ac_Header=\$ac_header_preproc"
15726 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15727 $as_echo "$as_val"'`
15728 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15729 $as_echo "$ac_res" >&6; }
15732 as_val
=`eval 'as_val=${'$as_ac_Header'}
15733 $as_echo "$as_val"'`
15734 if test "x$as_val" = x
""yes; then
15735 cat >>confdefs.h
<<_ACEOF
15736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15739 cat >>confdefs.h
<<\_ACEOF
15740 #define HAVE_GETOPTLONG 1
15748 ################################################################################
15749 if test x
$READLINE != xno
; then
15750 lvm_saved_libs
=$LIBS
15751 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
15752 $as_echo_n "checking for library containing tgetent... " >&6; }
15753 if test "${ac_cv_search_tgetent+set}" = set; then
15754 $as_echo_n "(cached) " >&6
15756 ac_func_search_save_LIBS
=$LIBS
15757 cat >conftest.
$ac_ext <<_ACEOF
15760 cat confdefs.h
>>conftest.
$ac_ext
15761 cat >>conftest.
$ac_ext <<_ACEOF
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15779 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
15780 if test -z "$ac_lib"; then
15781 ac_res
="none required"
15784 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15786 rm -f conftest.
$ac_objext conftest
$ac_exeext
15787 if { (ac_try
="$ac_link"
15788 case "(($ac_try" in
15789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15790 *) ac_try_echo=$ac_try;;
15792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15793 $as_echo "$ac_try_echo") >&5
15794 (eval "$ac_link") 2>conftest.er1
15796 grep -v '^ *+' conftest.er1 >conftest.err
15798 cat conftest.err >&5
15799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest$ac_exeext && {
15804 test "$cross_compiling" = yes ||
15805 $as_test_x conftest$ac_exeext
15807 ac_cv_search_tgetent=$ac_res
15809 $as_echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.$ac_ext >&5
15815 rm -rf conftest.dSYM
15816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15818 if test "${ac_cv_search_tgetent+set}" = set; then
15822 if test "${ac_cv_search_tgetent+set}" = set; then
15825 ac_cv_search_tgetent=no
15827 rm conftest.$ac_ext
15828 LIBS=$ac_func_search_save_LIBS
15830 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
15831 $as_echo "$ac_cv_search_tgetent" >&6; }
15832 ac_res=$ac_cv_search_tgetent
15833 if test "$ac_res" != no; then
15834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15835 READLINE_LIBS=$ac_cv_search_tgetent
15838 if test "$READLINE" = yes; then
15839 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
15840 --enable-readline option (which is enabled by default). Either disable readline
15841 support with --disable-readline or download and install termcap from:
15842 ftp.gnu.org/gnu/termcap
15843 Note: if you are using precompiled packages you will also need the development
15844 package as well (which may be called termcap-devel or something similar).
15845 Note: (n)curses also seems to work as a substitute for termcap. This was
15846 not found either - but you could try installing that as well." >&5
15847 $as_echo "$as_me: error: termcap could not be found which is required for the
15848 --enable-readline option (which is enabled by default). Either disable readline
15849 support with --disable-readline or download and install termcap from:
15850 ftp.gnu.org/gnu/termcap
15851 Note: if you are using precompiled packages you will also need the development
15852 package as well (which may be called termcap-devel or something similar).
15853 Note: (n)curses also seems to work as a substitute for termcap. This was
15854 not found either - but you could try installing that as well." >&2;}
15855 { (exit 1); exit 1; }; }
15859 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
15860 $as_echo_n "checking for readline in -lreadline... " >&6; }
15861 if test "${ac_cv_lib_readline_readline+set}" = set; then
15862 $as_echo_n "(cached) " >&6
15864 ac_check_lib_save_LIBS=$LIBS
15865 LIBS="-lreadline $LIBS"
15866 cat >conftest.$ac_ext <<_ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15873 /* Override any GCC internal prototype to avoid an error.
15874 Use char because int might match the return type of a GCC
15875 builtin and then its argument prototype would still apply. */
15883 return readline ();
15888 rm -f conftest.$ac_objext conftest$ac_exeext
15889 if { (ac_try="$ac_link"
15890 case "(($ac_try" in
15891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15892 *) ac_try_echo
=$ac_try;;
15894 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15895 $as_echo "$ac_try_echo") >&5
15896 (eval "$ac_link") 2>conftest.er1
15898 grep -v '^ *+' conftest.er1
>conftest.err
15900 cat conftest.err
>&5
15901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && {
15903 test -z "$ac_c_werror_flag" ||
15904 test ! -s conftest.err
15905 } && test -s conftest
$ac_exeext && {
15906 test "$cross_compiling" = yes ||
15907 $as_test_x conftest
$ac_exeext
15909 ac_cv_lib_readline_readline
=yes
15911 $as_echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.
$ac_ext >&5
15914 ac_cv_lib_readline_readline
=no
15917 rm -rf conftest.dSYM
15918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15919 conftest
$ac_exeext conftest.
$ac_ext
15920 LIBS
=$ac_check_lib_save_LIBS
15922 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
15923 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15924 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
15927 cat >>confdefs.h
<<\_ACEOF
15928 #define READLINE_SUPPORT 1
15931 LIBS
=$lvm_saved_libs
15932 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
15933 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
15934 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
15935 $as_echo_n "(cached) " >&6
15937 ac_check_lib_save_LIBS
=$LIBS
15938 LIBS
="-lreadline $LIBS"
15939 cat >conftest.
$ac_ext <<_ACEOF
15942 cat confdefs.h
>>conftest.
$ac_ext
15943 cat >>conftest.
$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15946 /* Override any GCC internal prototype to avoid an error.
15947 Use char because int might match the return type of a GCC
15948 builtin and then its argument prototype would still apply. */
15952 char rl_line_buffer ();
15956 return rl_line_buffer ();
15961 rm -f conftest.
$ac_objext conftest
$ac_exeext
15962 if { (ac_try
="$ac_link"
15963 case "(($ac_try" in
15964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15965 *) ac_try_echo=$ac_try;;
15967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15968 $as_echo "$ac_try_echo") >&5
15969 (eval "$ac_link") 2>conftest.er1
15971 grep -v '^ *+' conftest.er1 >conftest.err
15973 cat conftest.err >&5
15974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } && {
15976 test -z "$ac_c_werror_flag" ||
15977 test ! -s conftest.err
15978 } && test -s conftest$ac_exeext && {
15979 test "$cross_compiling" = yes ||
15980 $as_test_x conftest$ac_exeext
15982 ac_cv_lib_readline_rl_line_buffer=yes
15984 $as_echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 ac_cv_lib_readline_rl_line_buffer=no
15990 rm -rf conftest.dSYM
15991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15995 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
15996 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
15997 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
15998 READLINE_LIBS="-lreadline"
16001 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
16002 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
16003 READLINE_LIBS="-lreadline $READLINE_LIBS"
16010 if test "$READLINE" = yes; then
16011 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
16012 --enable-readline option (which is enabled by default). Either disable readline
16013 support with --disable-readline or download and install readline from:
16014 ftp.gnu.org/gnu/readline
16015 Note: if you are using precompiled packages you will also need the development
16016 package as well (which may be called readline-devel or something similar)." >&5
16017 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
16018 --enable-readline option (which is enabled by default). Either disable readline
16019 support with --disable-readline or download and install readline from:
16020 ftp.gnu.org/gnu/readline
16021 Note: if you are using precompiled packages you will also need the development
16022 package as well (which may be called readline-devel or something similar)." >&2;}
16023 { (exit 1); exit 1; }; }
16027 LIBS="$READLINE_LIBS $lvm_saved_libs"
16029 for ac_func in rl_completion_matches
16031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16032 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16033 $as_echo_n "checking for $ac_func... " >&6; }
16034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16035 $as_echo_n "(cached) " >&6
16037 cat >conftest.$ac_ext <<_ACEOF
16040 cat confdefs.h >>conftest.$ac_ext
16041 cat >>conftest.$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16045 #define $ac_func innocuous_$ac_func
16047 /* System header to define __stub macros and hopefully few prototypes,
16048 which can conflict with char $ac_func (); below.
16049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16050 <limits.h> exists even on freestanding compilers. */
16053 # include <limits.h>
16055 # include <assert.h>
16060 /* Override any GCC internal prototype to avoid an error.
16061 Use char because int might match the return type of a GCC
16062 builtin and then its argument prototype would still apply. */
16067 /* The GNU C library defines this for functions which it implements
16068 to always fail with ENOSYS. Some functions are actually named
16069 something starting with __ and the normal name is an alias. */
16070 #if defined __stub_$ac_func || defined __stub___$ac_func
16077 return $ac_func ();
16082 rm -f conftest.$ac_objext conftest$ac_exeext
16083 if { (ac_try="$ac_link"
16084 case "(($ac_try" in
16085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16086 *) ac_try_echo
=$ac_try;;
16088 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16089 $as_echo "$ac_try_echo") >&5
16090 (eval "$ac_link") 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } && {
16097 test -z "$ac_c_werror_flag" ||
16098 test ! -s conftest.err
16099 } && test -s conftest
$ac_exeext && {
16100 test "$cross_compiling" = yes ||
16101 $as_test_x conftest
$ac_exeext
16103 eval "$as_ac_var=yes"
16105 $as_echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.
$ac_ext >&5
16108 eval "$as_ac_var=no"
16111 rm -rf conftest.dSYM
16112 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16113 conftest
$ac_exeext conftest.
$ac_ext
16115 ac_res
=`eval 'as_val=${'$as_ac_var'}
16116 $as_echo "$as_val"'`
16117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16118 $as_echo "$ac_res" >&6; }
16119 as_val
=`eval 'as_val=${'$as_ac_var'}
16120 $as_echo "$as_val"'`
16121 if test "x$as_val" = x
""yes; then
16122 cat >>confdefs.h
<<_ACEOF
16123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16129 LIBS
=$lvm_saved_libs
16132 ################################################################################
16133 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
16134 $as_echo_n "checking whether to enable internationalisation... " >&6; }
16135 # Check whether --enable-nls was given.
16136 if test "${enable_nls+set}" = set; then
16137 enableval
=$enable_nls; INTL
=$enableval
16142 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
16143 $as_echo "$INTL" >&6; }
16145 if test x
$INTL = xyes
; then
16146 # FIXME - Move this - can be device-mapper too
16147 INTL_PACKAGE
="lvm2"
16148 # Extract the first word of "msgfmt", so it can be a program name with args.
16149 set dummy msgfmt
; ac_word
=$2
16150 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16151 $as_echo_n "checking for $ac_word... " >&6; }
16152 if test "${ac_cv_path_MSGFMT+set}" = set; then
16153 $as_echo_n "(cached) " >&6
16157 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16161 for as_dir
in $PATH
16164 test -z "$as_dir" && as_dir
=.
16165 for ac_exec_ext
in '' $ac_executable_extensions; do
16166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16167 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16168 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16178 MSGFMT
=$ac_cv_path_MSGFMT
16179 if test -n "$MSGFMT"; then
16180 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16181 $as_echo "$MSGFMT" >&6; }
16183 { $as_echo "$as_me:$LINENO: result: no" >&5
16184 $as_echo "no" >&6; }
16188 if [ "x$MSGFMT" == x
];
16189 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
16191 $as_echo "$as_me: error: msgfmt not found in path $PATH
16193 { (exit 1); exit 1; }; }
16197 # Check whether --with-localedir was given.
16198 if test "${with_localedir+set}" = set; then
16199 withval
=$with_localedir; LOCALEDIR
=$withval
16201 LOCALEDIR
='${prefix}/share/locale'
16206 ################################################################################
16208 # Check whether --with-confdir was given.
16209 if test "${with_confdir+set}" = set; then
16210 withval
=$with_confdir; CONFDIR
=$withval
16217 # Check whether --with-staticdir was given.
16218 if test "${with_staticdir+set}" = set; then
16219 withval
=$with_staticdir; STATICDIR
=$withval
16221 STATICDIR
='${exec_prefix}/sbin'
16226 # Check whether --with-usrlibdir was given.
16227 if test "${with_usrlibdir+set}" = set; then
16228 withval
=$with_usrlibdir; usrlibdir
=$withval
16230 usrlibdir
='${prefix}/lib'
16235 # Check whether --with-usrsbindir was given.
16236 if test "${with_usrsbindir+set}" = set; then
16237 withval
=$with_usrsbindir; usrsbindir
=$withval
16239 usrsbindir
='${prefix}/sbin'
16243 ################################################################################
16245 # Check whether --with-udev_prefix was given.
16246 if test "${with_udev_prefix+set}" = set; then
16247 withval
=$with_udev_prefix; udev_prefix
=$withval
16249 udev_prefix
='${exec_prefix}'
16254 # Check whether --with-udevdir was given.
16255 if test "${with_udevdir+set}" = set; then
16256 withval
=$with_udevdir; udevdir
=$withval
16258 udevdir
='${udev_prefix}/lib/udev/rules.d'
16262 ################################################################################
16263 if test x
$READLINE = xyes
; then
16266 for ac_header
in readline
/readline.h readline
/history.h
16268 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16269 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16270 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16271 $as_echo_n "checking for $ac_header... " >&6; }
16272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16273 $as_echo_n "(cached) " >&6
16275 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16276 $as_echo "$as_val"'`
16277 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16278 $as_echo "$ac_res" >&6; }
16280 # Is the header compilable?
16281 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16282 $as_echo_n "checking $ac_header usability... " >&6; }
16283 cat >conftest.
$ac_ext <<_ACEOF
16286 cat confdefs.h
>>conftest.
$ac_ext
16287 cat >>conftest.
$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16289 $ac_includes_default
16290 #include <$ac_header>
16292 rm -f conftest.
$ac_objext
16293 if { (ac_try
="$ac_compile"
16294 case "(($ac_try" in
16295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16296 *) ac_try_echo=$ac_try;;
16298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16299 $as_echo "$ac_try_echo") >&5
16300 (eval "$ac_compile") 2>conftest.er1
16302 grep -v '^ *+' conftest.er1 >conftest.err
16304 cat conftest.err >&5
16305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } && {
16307 test -z "$ac_c_werror_flag" ||
16308 test ! -s conftest.err
16309 } && test -s conftest.$ac_objext; then
16310 ac_header_compiler=yes
16312 $as_echo "$as_me: failed program was:" >&5
16313 sed 's/^/| /' conftest.$ac_ext >&5
16315 ac_header_compiler=no
16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16319 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16320 $as_echo "$ac_header_compiler" >&6; }
16322 # Is the header present?
16323 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16324 $as_echo_n "checking $ac_header presence... " >&6; }
16325 cat >conftest.$ac_ext <<_ACEOF
16328 cat confdefs.h >>conftest.$ac_ext
16329 cat >>conftest.$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 #include <$ac_header>
16333 if { (ac_try="$ac_cpp conftest.$ac_ext"
16334 case "(($ac_try" in
16335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16336 *) ac_try_echo
=$ac_try;;
16338 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16339 $as_echo "$ac_try_echo") >&5
16340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16342 grep -v '^ *+' conftest.er1
>conftest.err
16344 cat conftest.err
>&5
16345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } >/dev
/null
&& {
16347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16348 test ! -s conftest.err
16350 ac_header_preproc
=yes
16352 $as_echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.
$ac_ext >&5
16355 ac_header_preproc
=no
16358 rm -f conftest.err conftest.
$ac_ext
16359 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16360 $as_echo "$ac_header_preproc" >&6; }
16362 # So? What about this header?
16363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16366 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16368 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16369 ac_header_preproc
=yes
16372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16373 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16375 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16377 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16379 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16381 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16383 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16387 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16388 $as_echo_n "checking for $ac_header... " >&6; }
16389 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16390 $as_echo_n "(cached) " >&6
16392 eval "$as_ac_Header=\$ac_header_preproc"
16394 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16395 $as_echo "$as_val"'`
16396 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16397 $as_echo "$ac_res" >&6; }
16400 as_val
=`eval 'as_val=${'$as_ac_Header'}
16401 $as_echo "$as_val"'`
16402 if test "x$as_val" = x
""yes; then
16403 cat >>confdefs.h
<<_ACEOF
16404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16408 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16409 $as_echo "$as_me: error: bailing out" >&2;}
16410 { (exit 1); exit 1; }; }
16417 if test x
$CLVMD != xnone
; then
16428 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
16430 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16431 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16432 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16433 $as_echo_n "checking for $ac_header... " >&6; }
16434 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16435 $as_echo_n "(cached) " >&6
16437 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16438 $as_echo "$as_val"'`
16439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16440 $as_echo "$ac_res" >&6; }
16442 # Is the header compilable?
16443 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16444 $as_echo_n "checking $ac_header usability... " >&6; }
16445 cat >conftest.
$ac_ext <<_ACEOF
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 #include <$ac_header>
16454 rm -f conftest.
$ac_objext
16455 if { (ac_try
="$ac_compile"
16456 case "(($ac_try" in
16457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16461 $as_echo "$ac_try_echo") >&5
16462 (eval "$ac_compile") 2>conftest.er1
16464 grep -v '^ *+' conftest.er1 >conftest.err
16466 cat conftest.err >&5
16467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } && {
16469 test -z "$ac_c_werror_flag" ||
16470 test ! -s conftest.err
16471 } && test -s conftest.$ac_objext; then
16472 ac_header_compiler=yes
16474 $as_echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16477 ac_header_compiler=no
16480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16481 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16482 $as_echo "$ac_header_compiler" >&6; }
16484 # Is the header present?
16485 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16486 $as_echo_n "checking $ac_header presence... " >&6; }
16487 cat >conftest.$ac_ext <<_ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 #include <$ac_header>
16495 if { (ac_try="$ac_cpp conftest.$ac_ext"
16496 case "(($ac_try" in
16497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16498 *) ac_try_echo
=$ac_try;;
16500 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16501 $as_echo "$ac_try_echo") >&5
16502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16504 grep -v '^ *+' conftest.er1
>conftest.err
16506 cat conftest.err
>&5
16507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } >/dev
/null
&& {
16509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16510 test ! -s conftest.err
16512 ac_header_preproc
=yes
16514 $as_echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.
$ac_ext >&5
16517 ac_header_preproc
=no
16520 rm -f conftest.err conftest.
$ac_ext
16521 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16522 $as_echo "$ac_header_preproc" >&6; }
16524 # So? What about this header?
16525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16527 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16528 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16530 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16531 ac_header_preproc
=yes
16534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16535 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16537 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16539 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16541 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16543 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16545 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16549 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16550 $as_echo_n "checking for $ac_header... " >&6; }
16551 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16552 $as_echo_n "(cached) " >&6
16554 eval "$as_ac_Header=\$ac_header_preproc"
16556 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16557 $as_echo "$as_val"'`
16558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16559 $as_echo "$ac_res" >&6; }
16562 as_val
=`eval 'as_val=${'$as_ac_Header'}
16563 $as_echo "$as_val"'`
16564 if test "x$as_val" = x
""yes; then
16565 cat >>confdefs.h
<<_ACEOF
16566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16570 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16571 $as_echo "$as_me: error: bailing out" >&2;}
16572 { (exit 1); exit 1; }; }
16582 for ac_func
in dup2 getmntent memmove
select socket
16584 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16586 $as_echo_n "checking for $ac_func... " >&6; }
16587 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16588 $as_echo_n "(cached) " >&6
16590 cat >conftest.
$ac_ext <<_ACEOF
16593 cat confdefs.h
>>conftest.
$ac_ext
16594 cat >>conftest.
$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16598 #define $ac_func innocuous_$ac_func
16600 /* System header to define __stub macros and hopefully few prototypes,
16601 which can conflict with char $ac_func (); below.
16602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16603 <limits.h> exists even on freestanding compilers. */
16606 # include <limits.h>
16608 # include <assert.h>
16613 /* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16620 /* The GNU C library defines this for functions which it implements
16621 to always fail with ENOSYS. Some functions are actually named
16622 something starting with __ and the normal name is an alias. */
16623 #if defined __stub_$ac_func || defined __stub___$ac_func
16630 return $ac_func ();
16635 rm -f conftest.
$ac_objext conftest
$ac_exeext
16636 if { (ac_try
="$ac_link"
16637 case "(($ac_try" in
16638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;;
16641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16642 $as_echo "$ac_try_echo") >&5
16643 (eval "$ac_link") 2>conftest.er1
16645 grep -v '^ *+' conftest.er1 >conftest.err
16647 cat conftest.err >&5
16648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } && {
16650 test -z "$ac_c_werror_flag" ||
16651 test ! -s conftest.err
16652 } && test -s conftest$ac_exeext && {
16653 test "$cross_compiling" = yes ||
16654 $as_test_x conftest$ac_exeext
16656 eval "$as_ac_var=yes"
16658 $as_echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.$ac_ext >&5
16661 eval "$as_ac_var=no"
16664 rm -rf conftest.dSYM
16665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16666 conftest$ac_exeext conftest.$ac_ext
16668 ac_res=`eval 'as_val=${'$as_ac_var'}
16669 $as_echo "$as_val"'`
16670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16671 $as_echo "$ac_res" >&6; }
16672 as_val=`eval 'as_val=${'$as_ac_var'}
16673 $as_echo "$as_val"'`
16674 if test "x$as_val" = x""yes; then
16675 cat >>confdefs.h <<_ACEOF
16676 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16680 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16681 $as_echo "$as_me: error: bailing out" >&2;}
16682 { (exit 1); exit 1; }; }
16686 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
16687 # -lseq on Dynix/PTX, -lgen on Unixware.
16688 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
16689 $as_echo_n "checking for library containing getmntent... " >&6; }
16690 if test "${ac_cv_search_getmntent+set}" = set; then
16691 $as_echo_n "(cached) " >&6
16693 ac_func_search_save_LIBS=$LIBS
16694 cat >conftest.$ac_ext <<_ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16701 /* Override any GCC internal prototype to avoid an error.
16702 Use char because int might match the return type of a GCC
16703 builtin and then its argument prototype would still apply. */
16711 return getmntent ();
16716 for ac_lib in '' sun seq gen; do
16717 if test -z "$ac_lib"; then
16718 ac_res="none required"
16721 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16723 rm -f conftest.$ac_objext conftest$ac_exeext
16724 if { (ac_try="$ac_link"
16725 case "(($ac_try" in
16726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16727 *) ac_try_echo
=$ac_try;;
16729 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16730 $as_echo "$ac_try_echo") >&5
16731 (eval "$ac_link") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest
$ac_exeext && {
16741 test "$cross_compiling" = yes ||
16742 $as_test_x conftest
$ac_exeext
16744 ac_cv_search_getmntent
=$ac_res
16746 $as_echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.
$ac_ext >&5
16752 rm -rf conftest.dSYM
16753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16755 if test "${ac_cv_search_getmntent+set}" = set; then
16759 if test "${ac_cv_search_getmntent+set}" = set; then
16762 ac_cv_search_getmntent
=no
16764 rm conftest.
$ac_ext
16765 LIBS
=$ac_func_search_save_LIBS
16767 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
16768 $as_echo "$ac_cv_search_getmntent" >&6; }
16769 ac_res
=$ac_cv_search_getmntent
16770 if test "$ac_res" != no
; then
16771 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16772 ac_cv_func_getmntent
=yes
16774 cat >>confdefs.h
<<\_ACEOF
16775 #define HAVE_GETMNTENT 1
16779 ac_cv_func_getmntent
=no
16785 for ac_header
in sys
/select.h sys
/socket.h
16787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16788 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16789 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16790 $as_echo_n "checking for $ac_header... " >&6; }
16791 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16792 $as_echo_n "(cached) " >&6
16794 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16795 $as_echo "$as_val"'`
16796 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16797 $as_echo "$ac_res" >&6; }
16799 # Is the header compilable?
16800 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16801 $as_echo_n "checking $ac_header usability... " >&6; }
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 $ac_includes_default
16809 #include <$ac_header>
16811 rm -f conftest.
$ac_objext
16812 if { (ac_try
="$ac_compile"
16813 case "(($ac_try" in
16814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16815 *) ac_try_echo=$ac_try;;
16817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16818 $as_echo "$ac_try_echo") >&5
16819 (eval "$ac_compile") 2>conftest.er1
16821 grep -v '^ *+' conftest.er1 >conftest.err
16823 cat conftest.err >&5
16824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } && {
16826 test -z "$ac_c_werror_flag" ||
16827 test ! -s conftest.err
16828 } && test -s conftest.$ac_objext; then
16829 ac_header_compiler=yes
16831 $as_echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_header_compiler=no
16837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16838 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16839 $as_echo "$ac_header_compiler" >&6; }
16841 # Is the header present?
16842 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16843 $as_echo_n "checking $ac_header presence... " >&6; }
16844 cat >conftest.$ac_ext <<_ACEOF
16847 cat confdefs.h >>conftest.$ac_ext
16848 cat >>conftest.$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16850 #include <$ac_header>
16852 if { (ac_try="$ac_cpp conftest.$ac_ext"
16853 case "(($ac_try" in
16854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16855 *) ac_try_echo
=$ac_try;;
16857 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16858 $as_echo "$ac_try_echo") >&5
16859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16861 grep -v '^ *+' conftest.er1
>conftest.err
16863 cat conftest.err
>&5
16864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev
/null
&& {
16866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16869 ac_header_preproc
=yes
16871 $as_echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.
$ac_ext >&5
16874 ac_header_preproc
=no
16877 rm -f conftest.err conftest.
$ac_ext
16878 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16879 $as_echo "$ac_header_preproc" >&6; }
16881 # So? What about this header?
16882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16885 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16887 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16888 ac_header_preproc
=yes
16891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16892 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16893 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16894 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16895 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16896 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16898 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16900 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16902 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16906 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16907 $as_echo_n "checking for $ac_header... " >&6; }
16908 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16909 $as_echo_n "(cached) " >&6
16911 eval "$as_ac_Header=\$ac_header_preproc"
16913 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16914 $as_echo "$as_val"'`
16915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16916 $as_echo "$ac_res" >&6; }
16919 as_val
=`eval 'as_val=${'$as_ac_Header'}
16920 $as_echo "$as_val"'`
16921 if test "x$as_val" = x
""yes; then
16922 cat >>confdefs.h
<<_ACEOF
16923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16930 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
16931 $as_echo_n "checking types of arguments for select... " >&6; }
16932 if test "${ac_cv_func_select_args+set}" = set; then
16933 $as_echo_n "(cached) " >&6
16935 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
16936 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16937 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 $ac_includes_default
16945 #ifdef HAVE_SYS_SELECT_H
16946 # include <sys/select.h>
16948 #ifdef HAVE_SYS_SOCKET_H
16949 # include <sys/socket.h>
16955 extern int select ($ac_arg1,
16956 $ac_arg234, $ac_arg234, $ac_arg234,
16962 rm -f conftest.
$ac_objext
16963 if { (ac_try
="$ac_compile"
16964 case "(($ac_try" in
16965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16969 $as_echo "$ac_try_echo") >&5
16970 (eval "$ac_compile") 2>conftest.er1
16972 grep -v '^ *+' conftest.er1 >conftest.err
16974 cat conftest.err >&5
16975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } && {
16977 test -z "$ac_c_werror_flag" ||
16978 test ! -s conftest.err
16979 } && test -s conftest.$ac_objext; then
16980 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16982 $as_echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 # Provide a safe default value.
16993 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
16996 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
16997 $as_echo "$ac_cv_func_select_args" >&6; }
16998 ac_save_IFS=$IFS; IFS=','
16999 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
17003 cat >>confdefs.h <<_ACEOF
17004 #define SELECT_TYPE_ARG1 $1
17008 cat >>confdefs.h <<_ACEOF
17009 #define SELECT_TYPE_ARG234 ($2)
17013 cat >>confdefs.h <<_ACEOF
17014 #define SELECT_TYPE_ARG5 ($3)
17021 if test x$CLUSTER != xnone; then
17024 for ac_header in sys/socket.h sys/un.h
17026 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
17027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17028 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17029 $as_echo_n "checking for $ac_header... " >&6; }
17030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17031 $as_echo_n "(cached) " >&6
17033 ac_res=`eval 'as_val=${'$as_ac_Header'}
17034 $as_echo "$as_val"'`
17035 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17036 $as_echo "$ac_res" >&6; }
17038 # Is the header compilable?
17039 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17040 $as_echo_n "checking $ac_header usability... " >&6; }
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 #include <$ac_header>
17050 rm -f conftest.$ac_objext
17051 if { (ac_try="$ac_compile"
17052 case "(($ac_try" in
17053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17054 *) ac_try_echo
=$ac_try;;
17056 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17057 $as_echo "$ac_try_echo") >&5
17058 (eval "$ac_compile") 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } && {
17065 test -z "$ac_c_werror_flag" ||
17066 test ! -s conftest.err
17067 } && test -s conftest.
$ac_objext; then
17068 ac_header_compiler
=yes
17070 $as_echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_header_compiler
=no
17076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17078 $as_echo "$ac_header_compiler" >&6; }
17080 # Is the header present?
17081 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17082 $as_echo_n "checking $ac_header presence... " >&6; }
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17091 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17092 case "(($ac_try" in
17093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17097 $as_echo "$ac_try_echo") >&5
17098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17100 grep -v '^ *+' conftest.er1 >conftest.err
17102 cat conftest.err >&5
17103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } >/dev/null && {
17105 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17106 test ! -s conftest.err
17108 ac_header_preproc=yes
17110 $as_echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17113 ac_header_preproc=no
17116 rm -f conftest.err conftest.$ac_ext
17117 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17118 $as_echo "$ac_header_preproc" >&6; }
17120 # So? What about this header?
17121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17124 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17126 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17127 ac_header_preproc=yes
17130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17131 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17133 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17135 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17137 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17139 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17141 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17145 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17146 $as_echo_n "checking for $ac_header... " >&6; }
17147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17148 $as_echo_n "(cached) " >&6
17150 eval "$as_ac_Header=\$ac_header_preproc"
17152 ac_res=`eval 'as_val=${'$as_ac_Header'}
17153 $as_echo "$as_val"'`
17154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17155 $as_echo "$ac_res" >&6; }
17158 as_val=`eval 'as_val=${'$as_ac_Header'}
17159 $as_echo "$as_val"'`
17160 if test "x$as_val" = x""yes; then
17161 cat >>confdefs.h <<_ACEOF
17162 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
17166 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17167 $as_echo "$as_me: error: bailing out" >&2;}
17168 { (exit 1); exit 1; }; }
17174 for ac_func in socket
17176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17177 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17178 $as_echo_n "checking for $ac_func... " >&6; }
17179 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17180 $as_echo_n "(cached) " >&6
17182 cat >conftest.$ac_ext <<_ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17190 #define $ac_func innocuous_$ac_func
17192 /* System header to define __stub macros and hopefully few prototypes,
17193 which can conflict with char $ac_func (); below.
17194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17195 <limits.h> exists even on freestanding compilers. */
17198 # include <limits.h>
17200 # include <assert.h>
17205 /* Override any GCC internal prototype to avoid an error.
17206 Use char because int might match the return type of a GCC
17207 builtin and then its argument prototype would still apply. */
17212 /* The GNU C library defines this for functions which it implements
17213 to always fail with ENOSYS. Some functions are actually named
17214 something starting with __ and the normal name is an alias. */
17215 #if defined __stub_$ac_func || defined __stub___$ac_func
17222 return $ac_func ();
17227 rm -f conftest.$ac_objext conftest$ac_exeext
17228 if { (ac_try="$ac_link"
17229 case "(($ac_try" in
17230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17231 *) ac_try_echo
=$ac_try;;
17233 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17234 $as_echo "$ac_try_echo") >&5
17235 (eval "$ac_link") 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } && {
17242 test -z "$ac_c_werror_flag" ||
17243 test ! -s conftest.err
17244 } && test -s conftest
$ac_exeext && {
17245 test "$cross_compiling" = yes ||
17246 $as_test_x conftest
$ac_exeext
17248 eval "$as_ac_var=yes"
17250 $as_echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.
$ac_ext >&5
17253 eval "$as_ac_var=no"
17256 rm -rf conftest.dSYM
17257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17258 conftest
$ac_exeext conftest.
$ac_ext
17260 ac_res
=`eval 'as_val=${'$as_ac_var'}
17261 $as_echo "$as_val"'`
17262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17263 $as_echo "$ac_res" >&6; }
17264 as_val
=`eval 'as_val=${'$as_ac_var'}
17265 $as_echo "$as_val"'`
17266 if test "x$as_val" = x
""yes; then
17267 cat >>confdefs.h
<<_ACEOF
17268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17272 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17273 $as_echo "$as_me: error: bailing out" >&2;}
17274 { (exit 1); exit 1; }; }
17280 if test x
$DMEVENTD = xyes
; then
17282 for ac_header
in arpa
/inet.h
17284 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17285 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17286 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17287 $as_echo_n "checking for $ac_header... " >&6; }
17288 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17289 $as_echo_n "(cached) " >&6
17291 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17292 $as_echo "$as_val"'`
17293 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17294 $as_echo "$ac_res" >&6; }
17296 # Is the header compilable?
17297 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17298 $as_echo_n "checking $ac_header usability... " >&6; }
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 $ac_includes_default
17306 #include <$ac_header>
17308 rm -f conftest.
$ac_objext
17309 if { (ac_try
="$ac_compile"
17310 case "(($ac_try" in
17311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17312 *) ac_try_echo=$ac_try;;
17314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17315 $as_echo "$ac_try_echo") >&5
17316 (eval "$ac_compile") 2>conftest.er1
17318 grep -v '^ *+' conftest.er1 >conftest.err
17320 cat conftest.err >&5
17321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } && {
17323 test -z "$ac_c_werror_flag" ||
17324 test ! -s conftest.err
17325 } && test -s conftest.$ac_objext; then
17326 ac_header_compiler=yes
17328 $as_echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_header_compiler=no
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17336 $as_echo "$ac_header_compiler" >&6; }
17338 # Is the header present?
17339 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17340 $as_echo_n "checking $ac_header presence... " >&6; }
17341 cat >conftest.$ac_ext <<_ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347 #include <$ac_header>
17349 if { (ac_try="$ac_cpp conftest.$ac_ext"
17350 case "(($ac_try" in
17351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17352 *) ac_try_echo
=$ac_try;;
17354 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17355 $as_echo "$ac_try_echo") >&5
17356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17358 grep -v '^ *+' conftest.er1
>conftest.err
17360 cat conftest.err
>&5
17361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } >/dev
/null
&& {
17363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17364 test ! -s conftest.err
17366 ac_header_preproc
=yes
17368 $as_echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 ac_header_preproc
=no
17374 rm -f conftest.err conftest.
$ac_ext
17375 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17376 $as_echo "$ac_header_preproc" >&6; }
17378 # So? What about this header?
17379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17382 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17384 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17385 ac_header_preproc
=yes
17388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17389 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17391 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17393 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17395 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17397 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17399 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17403 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17404 $as_echo_n "checking for $ac_header... " >&6; }
17405 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17406 $as_echo_n "(cached) " >&6
17408 eval "$as_ac_Header=\$ac_header_preproc"
17410 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17411 $as_echo "$as_val"'`
17412 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17413 $as_echo "$ac_res" >&6; }
17416 as_val
=`eval 'as_val=${'$as_ac_Header'}
17417 $as_echo "$as_val"'`
17418 if test "x$as_val" = x
""yes; then
17419 cat >>confdefs.h
<<_ACEOF
17420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17424 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17425 $as_echo "$as_me: error: bailing out" >&2;}
17426 { (exit 1); exit 1; }; }
17433 if test x
$HAVE_LIBDL = xyes
; then
17435 for ac_header
in dlfcn.h
17437 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17438 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17439 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17440 $as_echo_n "checking for $ac_header... " >&6; }
17441 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17442 $as_echo_n "(cached) " >&6
17444 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17445 $as_echo "$as_val"'`
17446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17447 $as_echo "$ac_res" >&6; }
17449 # Is the header compilable?
17450 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17451 $as_echo_n "checking $ac_header usability... " >&6; }
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 $ac_includes_default
17459 #include <$ac_header>
17461 rm -f conftest.
$ac_objext
17462 if { (ac_try
="$ac_compile"
17463 case "(($ac_try" in
17464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17465 *) ac_try_echo=$ac_try;;
17467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17468 $as_echo "$ac_try_echo") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17471 grep -v '^ *+' conftest.er1 >conftest.err
17473 cat conftest.err >&5
17474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.$ac_objext; then
17479 ac_header_compiler=yes
17481 $as_echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.$ac_ext >&5
17484 ac_header_compiler=no
17487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17488 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17489 $as_echo "$ac_header_compiler" >&6; }
17491 # Is the header present?
17492 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17493 $as_echo_n "checking $ac_header presence... " >&6; }
17494 cat >conftest.$ac_ext <<_ACEOF
17497 cat confdefs.h >>conftest.$ac_ext
17498 cat >>conftest.$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 #include <$ac_header>
17502 if { (ac_try="$ac_cpp conftest.$ac_ext"
17503 case "(($ac_try" in
17504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17505 *) ac_try_echo
=$ac_try;;
17507 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17508 $as_echo "$ac_try_echo") >&5
17509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17511 grep -v '^ *+' conftest.er1
>conftest.err
17513 cat conftest.err
>&5
17514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } >/dev
/null
&& {
17516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17519 ac_header_preproc
=yes
17521 $as_echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17524 ac_header_preproc
=no
17527 rm -f conftest.err conftest.
$ac_ext
17528 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17529 $as_echo "$ac_header_preproc" >&6; }
17531 # So? What about this header?
17532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17535 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17537 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17538 ac_header_preproc
=yes
17541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17542 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17544 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17546 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17548 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17552 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17556 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17557 $as_echo_n "checking for $ac_header... " >&6; }
17558 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17559 $as_echo_n "(cached) " >&6
17561 eval "$as_ac_Header=\$ac_header_preproc"
17563 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17564 $as_echo "$as_val"'`
17565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17566 $as_echo "$ac_res" >&6; }
17569 as_val
=`eval 'as_val=${'$as_ac_Header'}
17570 $as_echo "$as_val"'`
17571 if test "x$as_val" = x
""yes; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17577 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17578 $as_echo "$as_me: error: bailing out" >&2;}
17579 { (exit 1); exit 1; }; }
17586 if test x
$INTL = xyes
; then
17588 for ac_header
in libintl.h
17590 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17591 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17592 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17593 $as_echo_n "checking for $ac_header... " >&6; }
17594 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17595 $as_echo_n "(cached) " >&6
17597 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17598 $as_echo "$as_val"'`
17599 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17600 $as_echo "$ac_res" >&6; }
17602 # Is the header compilable?
17603 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17604 $as_echo_n "checking $ac_header usability... " >&6; }
17605 cat >conftest.
$ac_ext <<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 $ac_includes_default
17612 #include <$ac_header>
17614 rm -f conftest.
$ac_objext
17615 if { (ac_try
="$ac_compile"
17616 case "(($ac_try" in
17617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17621 $as_echo "$ac_try_echo") >&5
17622 (eval "$ac_compile") 2>conftest.er1
17624 grep -v '^ *+' conftest.er1 >conftest.err
17626 cat conftest.err >&5
17627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } && {
17629 test -z "$ac_c_werror_flag" ||
17630 test ! -s conftest.err
17631 } && test -s conftest.$ac_objext; then
17632 ac_header_compiler=yes
17634 $as_echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.$ac_ext >&5
17637 ac_header_compiler=no
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17642 $as_echo "$ac_header_compiler" >&6; }
17644 # Is the header present?
17645 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17646 $as_echo_n "checking $ac_header presence... " >&6; }
17647 cat >conftest.$ac_ext <<_ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17653 #include <$ac_header>
17655 if { (ac_try="$ac_cpp conftest.$ac_ext"
17656 case "(($ac_try" in
17657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17658 *) ac_try_echo
=$ac_try;;
17660 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17661 $as_echo "$ac_try_echo") >&5
17662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17664 grep -v '^ *+' conftest.er1
>conftest.err
17666 cat conftest.err
>&5
17667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } >/dev
/null
&& {
17669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17670 test ! -s conftest.err
17672 ac_header_preproc
=yes
17674 $as_echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 ac_header_preproc
=no
17680 rm -f conftest.err conftest.
$ac_ext
17681 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17682 $as_echo "$ac_header_preproc" >&6; }
17684 # So? What about this header?
17685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17688 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17690 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17691 ac_header_preproc
=yes
17694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17695 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17697 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17699 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17701 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17703 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17705 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17709 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17710 $as_echo_n "checking for $ac_header... " >&6; }
17711 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17712 $as_echo_n "(cached) " >&6
17714 eval "$as_ac_Header=\$ac_header_preproc"
17716 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17717 $as_echo "$as_val"'`
17718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17719 $as_echo "$ac_res" >&6; }
17722 as_val
=`eval 'as_val=${'$as_ac_Header'}
17723 $as_echo "$as_val"'`
17724 if test "x$as_val" = x
""yes; then
17725 cat >>confdefs.h
<<_ACEOF
17726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17730 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17731 $as_echo "$as_me: error: bailing out" >&2;}
17732 { (exit 1); exit 1; }; }
17739 if test x
$UDEV_SYNC = xyes
; then
17742 for ac_header
in sys
/ipc.h sys
/sem.h
17744 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17745 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17746 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17747 $as_echo_n "checking for $ac_header... " >&6; }
17748 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17749 $as_echo_n "(cached) " >&6
17751 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17752 $as_echo "$as_val"'`
17753 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17754 $as_echo "$ac_res" >&6; }
17756 # Is the header compilable?
17757 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17758 $as_echo_n "checking $ac_header usability... " >&6; }
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 #include <$ac_header>
17768 rm -f conftest.
$ac_objext
17769 if { (ac_try
="$ac_compile"
17770 case "(($ac_try" in
17771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17775 $as_echo "$ac_try_echo") >&5
17776 (eval "$ac_compile") 2>conftest.er1
17778 grep -v '^ *+' conftest.er1 >conftest.err
17780 cat conftest.err >&5
17781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } && {
17783 test -z "$ac_c_werror_flag" ||
17784 test ! -s conftest.err
17785 } && test -s conftest.$ac_objext; then
17786 ac_header_compiler=yes
17788 $as_echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_header_compiler=no
17794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17795 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17796 $as_echo "$ac_header_compiler" >&6; }
17798 # Is the header present?
17799 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17800 $as_echo_n "checking $ac_header presence... " >&6; }
17801 cat >conftest.$ac_ext <<_ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #include <$ac_header>
17809 if { (ac_try="$ac_cpp conftest.$ac_ext"
17810 case "(($ac_try" in
17811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17812 *) ac_try_echo
=$ac_try;;
17814 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17815 $as_echo "$ac_try_echo") >&5
17816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17818 grep -v '^ *+' conftest.er1
>conftest.err
17820 cat conftest.err
>&5
17821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } >/dev
/null
&& {
17823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17826 ac_header_preproc
=yes
17828 $as_echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_header_preproc
=no
17834 rm -f conftest.err conftest.
$ac_ext
17835 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17836 $as_echo "$ac_header_preproc" >&6; }
17838 # So? What about this header?
17839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17842 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17843 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17844 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17845 ac_header_preproc
=yes
17848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17849 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17851 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17853 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17855 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17857 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17859 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17863 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17864 $as_echo_n "checking for $ac_header... " >&6; }
17865 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17866 $as_echo_n "(cached) " >&6
17868 eval "$as_ac_Header=\$ac_header_preproc"
17870 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17871 $as_echo "$as_val"'`
17872 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17873 $as_echo "$ac_res" >&6; }
17876 as_val
=`eval 'as_val=${'$as_ac_Header'}
17877 $as_echo "$as_val"'`
17878 if test "x$as_val" = x
""yes; then
17879 cat >>confdefs.h
<<_ACEOF
17880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17884 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17885 $as_echo "$as_me: error: bailing out" >&2;}
17886 { (exit 1); exit 1; }; }
17893 ################################################################################
17894 # Extract the first word of "modprobe", so it can be a program name with args.
17895 set dummy modprobe
; ac_word
=$2
17896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17897 $as_echo_n "checking for $ac_word... " >&6; }
17898 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
17899 $as_echo_n "(cached) " >&6
17901 case $MODPROBE_CMD in
17903 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
17906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17907 for as_dir
in $PATH
17910 test -z "$as_dir" && as_dir
=.
17911 for ac_exec_ext
in '' $ac_executable_extensions; do
17912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17913 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
17914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17924 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
17925 if test -n "$MODPROBE_CMD"; then
17926 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
17927 $as_echo "$MODPROBE_CMD" >&6; }
17929 { $as_echo "$as_me:$LINENO: result: no" >&5
17930 $as_echo "no" >&6; }
17935 if test x
$MODPROBE_CMD != x
; then
17937 cat >>confdefs.h
<<_ACEOF
17938 #define MODPROBE_CMD "$MODPROBE_CMD"
17944 lvm_exec_prefix
=$exec_prefix
17945 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$prefix
17946 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$ac_default_prefix
17948 cat >>confdefs.h
<<_ACEOF
17949 #define LVM_PATH "$lvm_exec_prefix/sbin/lvm"
17953 if test "$CLVMD" != none
; then
17954 clvmd_prefix
=$ac_default_prefix
17955 test "$prefix" != NONE
&& clvmd_prefix
=$prefix
17957 cat >>confdefs.h
<<_ACEOF
17958 #define CLVMD_PATH "$clvmd_prefix/sbin/clvmd"
17963 ################################################################################
17964 if test "$BUILD_DMEVENTD" = yes; then
17966 # Check whether --with-dmeventd-pidfile was given.
17967 if test "${with_dmeventd_pidfile+set}" = set; then
17968 withval
=$with_dmeventd_pidfile; DMEVENTD_PIDFILE
=$withval
17970 DMEVENTD_PIDFILE
="/var/run/dmeventd.pid"
17974 cat >>confdefs.h
<<_ACEOF
17975 #define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
17980 if test "$BUILD_DMEVENTD" = yes; then
17982 # Check whether --with-dmeventd-path was given.
17983 if test "${with_dmeventd_path+set}" = set; then
17984 withval
=$with_dmeventd_path; DMEVENTD_PATH
=$withval
17986 DMEVENTD_PATH
="$lvm_exec_prefix/sbin/dmeventd"
17990 cat >>confdefs.h
<<_ACEOF
17991 #define DMEVENTD_PATH "$DMEVENTD_PATH"
17999 # Check whether --with-default-run-dir was given.
18000 if test "${with_default_run_dir+set}" = set; then
18001 withval
=$with_default_run_dir; DEFAULT_RUN_DIR
="$withval"
18003 DEFAULT_RUN_DIR
="/var/run/lvm"
18006 cat >>confdefs.h
<<_ACEOF
18007 #define DEFAULT_RUN_DIR "$DEFAULT_RUN_DIR"
18011 ################################################################################
18013 # Check whether --with-default-system-dir was given.
18014 if test "${with_default_system_dir+set}" = set; then
18015 withval
=$with_default_system_dir; DEFAULT_SYS_DIR
=$withval
18017 DEFAULT_SYS_DIR
="/etc/lvm"
18021 cat >>confdefs.h
<<_ACEOF
18022 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
18027 # Check whether --with-default-archive-subdir was given.
18028 if test "${with_default_archive_subdir+set}" = set; then
18029 withval
=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR
=$withval
18031 DEFAULT_ARCHIVE_SUBDIR
=archive
18035 cat >>confdefs.h
<<_ACEOF
18036 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
18041 # Check whether --with-default-backup-subdir was given.
18042 if test "${with_default_backup_subdir+set}" = set; then
18043 withval
=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR
=$withval
18045 DEFAULT_BACKUP_SUBDIR
=backup
18049 cat >>confdefs.h
<<_ACEOF
18050 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
18055 # Check whether --with-default-cache-subdir was given.
18056 if test "${with_default_cache_subdir+set}" = set; then
18057 withval
=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR
=$withval
18059 DEFAULT_CACHE_SUBDIR
=cache
18063 cat >>confdefs.h
<<_ACEOF
18064 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
18069 # Check whether --with-default-locking-dir was given.
18070 if test "${with_default_locking_dir+set}" = set; then
18071 withval
=$with_default_locking_dir; DEFAULT_LOCK_DIR
=$withval
18073 DEFAULT_LOCK_DIR
="/var/lock/lvm"
18077 cat >>confdefs.h
<<_ACEOF
18078 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
18082 ################################################################################
18083 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
18084 $as_echo_n "checking for kernel interface choice... " >&6; }
18086 # Check whether --with-interface was given.
18087 if test "${with_interface+set}" = set; then
18088 withval
=$with_interface; interface
=$withval
18093 if [ "x$interface" != xioctl
];
18095 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
18096 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
18097 { (exit 1); exit 1; }; }
18099 { $as_echo "$as_me:$LINENO: result: $interface" >&5
18100 $as_echo "$interface" >&6; }
18102 ################################################################################
18103 DM_LIB_VERSION
="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
18105 cat >>confdefs.h
<<_ACEOF
18106 #define DM_LIB_VERSION $DM_LIB_VERSION
18110 DM_LIB_PATCHLEVEL
=`cat "$srcdir"/VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
18112 LVM_VERSION
="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
18114 VER
=`cat "$srcdir"/VERSION`
18115 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
18116 VER
=`echo "$VER" | $AWK '{print $1}'`
18117 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
18118 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
18119 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
18120 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
18121 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
18122 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
18124 ################################################################################
18223 ################################################################################
18224 ac_config_files
="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile doc/example.conf include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/replicator/Makefile lib/misc/lvm-version.h lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile unit-tests/datastruct/Makefile unit-tests/regex/Makefile unit-tests/mm/Makefile"
18226 cat >confcache
<<\_ACEOF
18227 # This file is a shell script that caches the results of configure
18228 # tests run on this system so they can be shared between configure
18229 # scripts and configure runs, see configure's option --config-cache.
18230 # It is not useful on other systems. If it contains results you don't
18231 # want to keep, you may remove or edit it.
18233 # config.status only pays attention to the cache file if you give it
18234 # the --recheck option to rerun configure.
18236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18238 # following values.
18242 # The following way of writing the cache mishandles newlines in values,
18243 # but we know of no workaround that is simple, portable, and efficient.
18244 # So, we kill variables containing newlines.
18245 # Ultrix sh set writes to stderr and can't be redirected directly,
18246 # and sets the high bit in the cache file unless we assign to the vars.
18248 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18249 eval ac_val
=\$
$ac_var
18253 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18257 _ | IFS | as_nl
) ;; #(
18258 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18259 *) $as_unset $ac_var ;;
18265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18266 *${as_nl}ac_space
=\
*)
18267 # `set' does not quote correctly, so add quotes (double-quote
18268 # substitution turns \\\\ into \\, and sed turns \\ into \).
18271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18274 # `set' quotes correctly as required by POSIX, so do not add quotes.
18275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18288 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18289 if test -w "$cache_file"; then
18290 test "x$cache_file" != "x/dev/null" &&
18291 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18292 $as_echo "$as_me: updating cache $cache_file" >&6;}
18293 cat confcache
>$cache_file
18295 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18296 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18301 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18302 # Let make expand exec_prefix.
18303 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18305 DEFS
=-DHAVE_CONFIG_H
18309 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18310 # 1. Remove the extension, and $U if already installed.
18311 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18312 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18313 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18314 # will be set to the directory where LIBOBJS objects are built.
18315 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18316 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18318 LIBOBJS
=$ac_libobjs
18320 LTLIBOBJS
=$ac_ltlibobjs
18324 : ${CONFIG_STATUS=./config.status}
18326 ac_clean_files_save
=$ac_clean_files
18327 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18328 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18329 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18330 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18332 # Generated by $as_me.
18333 # Run this file to recreate the current configuration.
18334 # Compiler output produced by configure, useful for debugging
18335 # configure, is in config.log if it exists.
18338 ac_cs_recheck=false
18340 SHELL=\${CONFIG_SHELL-$SHELL}
18343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18344 ## --------------------- ##
18345 ## M4sh Initialization. ##
18346 ## --------------------- ##
18348 # Be more Bourne compatible
18349 DUALCASE
=1; export DUALCASE
# for MKS sh
18350 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18353 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18354 # is contrary to our usage. Disable this feature.
18355 alias -g '${1+"$@"}'='"$@"'
18356 setopt NO_GLOB_SUBST
18358 case `(set -o) 2>/dev/null` in
18359 *posix
*) set -o posix
;;
18368 # Avoid depending upon Character Ranges.
18369 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18370 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18371 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18372 as_cr_digits
='0123456789'
18373 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18378 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18379 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18380 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18382 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18383 as_echo='printf %s
\n'
18384 as_echo_n='printf %s
'
18386 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18387 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18388 as_echo_n='/usr
/ucb
/echo -n'
18390 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18391 as_echo_n_body='eval
18395 expr "X$arg" : "X\\(.*\\)$as_nl";
18396 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18398 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18400 export as_echo_n_body
18401 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18403 export as_echo_body
18404 as_echo='sh
-c $as_echo_body as_echo
'
18407 # The user is always right.
18408 if test "${PATH_SEPARATOR+set}" != set; then
18410 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18411 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18416 # Support unset when possible.
18417 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18425 # We need space, tab and new line, in precisely that order. Quoting is
18426 # there to prevent editors from complaining about space-tab.
18427 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18428 # splitting by setting IFS to empty value.)
18431 # Find who we are. Look in the path if we contain no directory separator.
18433 *[\\/]* ) as_myself=$0 ;;
18434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18435 for as_dir in $PATH
18438 test -z "$as_dir" && as_dir=.
18439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18445 # We did not find ourselves, most probably we were run as `sh COMMAND'
18446 # in which case we are not to be found in the path.
18447 if test "x$as_myself" = x
; then
18450 if test ! -f "$as_myself"; then
18451 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18452 { (exit 1); exit 1; }
18455 # Work around bugs in pre-3.0 UWIN ksh.
18456 for as_var
in ENV MAIL MAILPATH
18457 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18469 # Required to use basename.
18470 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18471 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18477 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18478 as_basename
=basename
18484 # Name of the executable.
18485 as_me
=`$as_basename -- "$0" ||
18486 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18487 X"$0" : 'X\(//\)$' \| \
18488 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18490 sed '/^.*\/\([^/][^/]*\)\/*$/{
18509 as_lineno_1
=$LINENO
18510 as_lineno_2
=$LINENO
18511 test "x$as_lineno_1" != "x$as_lineno_2" &&
18512 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
18514 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18515 # uniformly replaced by the line number. The first 'sed' inserts a
18516 # line-number line after each line using $LINENO; the second 'sed'
18517 # does the real work. The second script uses 'N' to pair each
18518 # line-number line with the line containing $LINENO, and appends
18519 # trailing '-' during substitution so that $LINENO is not a special
18520 # case at line end.
18521 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18522 # scripts with optimization help from Paolo Bonzini. Blame Lee
18523 # E. McMahon (1931-1989) for sed's syntax. :-)
18535 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18538 ' >$as_me.lineno
&&
18539 chmod +x
"$as_me.lineno" ||
18540 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18541 { (exit 1); exit 1; }; }
18543 # Don't try to exec as it changes $[0], causing all sort of problems
18544 # (the dirname of $[0] is not the place where we might find the
18545 # original and so on. Autoconf is especially sensitive to this).
18546 .
"./$as_me.lineno"
18547 # Exit status is that of the last command.
18552 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18558 ECHO_C
= ECHO_N
= ECHO_T
=
18559 case `echo -n x` in
18561 case `echo 'x\c'` in
18562 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18568 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18569 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18575 rm -f conf$$ conf$$.exe conf$$.
file
18576 if test -d conf$$.dir
; then
18577 rm -f conf$$.dir
/conf$$.
file
18580 mkdir conf$$.dir
2>/dev
/null
18582 if (echo >conf$$.
file) 2>/dev
/null
; then
18583 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18585 # ... but there are two gotchas:
18586 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18587 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18588 # In both cases, we have to default to `cp -p'.
18589 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18591 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18599 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18600 rmdir conf$$.dir
2>/dev
/null
18602 if mkdir
-p .
2>/dev
/null
; then
18605 test -d .
/-p && rmdir .
/-p
18609 if test -x / >/dev
/null
2>&1; then
18610 as_test_x
='test -x'
18612 if ls -dL / >/dev
/null
2>&1; then
18619 if test -d "$1"; then
18625 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18626 ???[sx]*):;;*)false;;esac;fi
18630 as_executable_p
=$as_test_x
18632 # Sed expression to map a string onto a valid CPP name.
18633 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18635 # Sed expression to map a string onto a valid variable name.
18636 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18641 # Save the log message, to keep $[0] and so on meaningful, and to
18642 # report actual input values of CONFIG_FILES etc. instead of their
18643 # values after options handling.
18645 This file was extended by $as_me, which was
18646 generated by GNU Autoconf 2.63. Invocation command line was
18648 CONFIG_FILES = $CONFIG_FILES
18649 CONFIG_HEADERS = $CONFIG_HEADERS
18650 CONFIG_LINKS = $CONFIG_LINKS
18651 CONFIG_COMMANDS = $CONFIG_COMMANDS
18654 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18659 case $ac_config_files in *"
18660 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18663 case $ac_config_headers in *"
18664 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18669 # Files that config.status was made for.
18670 config_files="$ac_config_files"
18671 config_headers="$ac_config_headers"
18675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18677 \`$as_me' instantiates files from templates according to the
18678 current configuration.
18680 Usage: $0 [OPTION]... [FILE]...
18682 -h, --help print this help, then exit
18683 -V, --version print version number and configuration settings, then exit
18684 -q, --quiet, --silent
18685 do not print progress messages
18686 -d, --debug don't remove temporary files
18687 --recheck update $as_me by reconfiguring in the same conditions
18688 --file=FILE[:TEMPLATE]
18689 instantiate the configuration file FILE
18690 --header=FILE[:TEMPLATE]
18691 instantiate the configuration header FILE
18693 Configuration files:
18696 Configuration headers:
18699 Report bugs to <bug-autoconf@gnu.org>."
18702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705 configured by $0, generated by GNU Autoconf 2.63,
18706 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18708 Copyright (C) 2008 Free Software Foundation, Inc.
18709 This config.status script is free software; the Free Software Foundation
18710 gives unlimited permission to copy, distribute and modify it."
18717 test -n "\$AWK" || AWK=awk
18720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18721 # The default lists apply if the user does not specify any file.
18727 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18728 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18739 # Handling of the options.
18740 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18742 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18743 $as_echo "$ac_cs_version"; exit ;;
18744 --debug |
--debu |
--deb |
--de |
--d |
-d )
18746 --file |
--fil |
--fi |
--f )
18749 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18751 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
18752 ac_need_defaults
=false
;;
18753 --header |
--heade |
--head |
--hea )
18756 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18758 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
18759 ac_need_defaults
=false
;;
18761 # Conflict between --help and --header
18762 { $as_echo "$as_me: error: ambiguous option: $1
18763 Try \`$0 --help' for more information." >&2
18764 { (exit 1); exit 1; }; };;
18765 --help |
--hel |
-h )
18766 $as_echo "$ac_cs_usage"; exit ;;
18767 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18768 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18771 # This is an error.
18772 -*) { $as_echo "$as_me: error: unrecognized option: $1
18773 Try \`$0 --help' for more information." >&2
18774 { (exit 1); exit 1; }; } ;;
18776 *) ac_config_targets
="$ac_config_targets $1"
18777 ac_need_defaults
=false
;;
18783 ac_configure_extra_args
=
18785 if $ac_cs_silent; then
18787 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18792 if \$ac_cs_recheck; then
18793 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18795 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18796 CONFIG_SHELL='$SHELL'
18797 export CONFIG_SHELL
18802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18806 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18807 ## Running $as_me. ##
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18818 # Handling of arguments.
18819 for ac_config_target
in $ac_config_targets
18821 case $ac_config_target in
18822 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
18823 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18824 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
18825 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
18826 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
18827 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
18828 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
18829 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
18830 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
18831 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
18832 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
18833 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
18834 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18835 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
18836 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
18837 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18838 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18839 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
18840 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
18841 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
18842 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
18843 "lib/replicator/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/replicator/Makefile" ;;
18844 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
18845 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
18846 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
18847 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
18848 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
18849 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
18850 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
18851 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
18852 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
18853 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
18854 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
18855 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
18856 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
18857 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
18858 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18859 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
18860 "unit-tests/datastruct/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/datastruct/Makefile" ;;
18861 "unit-tests/regex/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/regex/Makefile" ;;
18862 "unit-tests/mm/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/mm/Makefile" ;;
18864 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18865 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18866 { (exit 1); exit 1; }; };;
18871 # If the user did not use the arguments to specify the items to instantiate,
18872 # then the envvar interface is used. Set only those that are not.
18873 # We use the long form for the default assignment because of an extremely
18874 # bizarre bug on SunOS 4.1.3.
18875 if $ac_need_defaults; then
18876 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18877 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18880 # Have a temporary directory for convenience. Make it in the build tree
18881 # simply because there is no reason against having it here, and in addition,
18882 # creating and moving files from /tmp can sometimes cause problems.
18883 # Hook for its removal unless debugging.
18884 # Note that there is a small window in which the directory will not be cleaned:
18885 # after its creation but before its name has been assigned to `$tmp'.
18889 trap 'exit_status=$?
18890 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18892 trap '{ (exit 1); exit 1; }' 1 2 13 15
18894 # Create a (secure) tmp directory for tmp files.
18897 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18898 test -n "$tmp" && test -d "$tmp"
18901 tmp
=.
/conf$$
-$RANDOM
18902 (umask 077 && mkdir
"$tmp")
18905 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18906 { (exit 1); exit 1; }
18909 # Set up the scripts for CONFIG_FILES section.
18910 # No need to generate them if there are no CONFIG_FILES.
18911 # This happens for instance with `./config.status config.h'.
18912 if test -n "$CONFIG_FILES"; then
18916 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18917 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18920 ac_cs_awk_cr
=$ac_cr
18923 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18928 echo "cat >conf$$subs.awk <<_ACEOF" &&
18929 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18931 } >conf$$subs.sh ||
18932 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18933 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18934 { (exit 1); exit 1; }; }
18935 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18937 for ac_last_try in false false false false false :; do
18938 . ./conf$$subs.sh ||
18939 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18940 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18941 { (exit 1); exit 1; }; }
18943 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18944 if test $ac_delim_n = $ac_delim_num; then
18946 elif $ac_last_try; then
18947 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18948 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18949 { (exit 1); exit 1; }; }
18951 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18954 rm -f conf$$subs.sh
18956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18957 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18961 s/^/S["/; s
/!.
*/"]=/
18971 s/\(.\{148\}\).*/\1/
18973 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18978 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18985 s/\(.\{148\}\).*/\1/
18987 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18991 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18996 ' <conf$$subs.awk | sed '
19001 ' >>$CONFIG_STATUS || ac_write_fail=1
19002 rm -f conf$$subs.awk
19003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19005 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19006 for (key in S) S_is_set[key] = 1
19012 nfields = split(line, field, "@
")
19014 len = length(field[1])
19015 for (i = 2; i < nfields; i++) {
19017 keylen = length(key)
19018 if (S_is_set[key]) {
19020 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19021 len += length(value) + length(field[++i])
19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19033 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19034 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19037 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19038 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
19039 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
19040 { (exit 1); exit 1; }; }
19043 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19044 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19045 # trailing colons and then remove the whole line if VPATH becomes empty
19046 # (actually we leave an empty line to preserve line numbers).
19047 if test "x
$srcdir" = x.; then
19048 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19049 s/:*\$(srcdir):*/:/
19050 s/:*\${srcdir}:*/:/
19052 s/^\([^=]*=[ ]*\):*/\1/
19058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19059 fi # test -n "$CONFIG_FILES"
19061 # Set up the scripts for CONFIG_HEADERS section.
19062 # No need to generate them if there are no CONFIG_HEADERS.
19063 # This happens for instance with `./config.status Makefile'.
19064 if test -n "$CONFIG_HEADERS"; then
19065 cat >"$tmp/defines.
awk" <<\_ACAWK ||
19069 # Transform confdefs.h into an awk script `defines.awk', embedded as
19070 # here-document in config.status, that substitutes the proper values into
19071 # config.h.in to produce config.h.
19073 # Create a delimiter string that does not exist in confdefs.h, to ease
19074 # handling of long lines.
19076 for ac_last_try in false false :; do
19077 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
19078 if test -z "$ac_t"; then
19080 elif $ac_last_try; then
19081 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
19082 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
19083 { (exit 1); exit 1; }; }
19085 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19089 # For the awk script, D is an array of macro values keyed by name,
19090 # likewise P contains macro parameters if any. Preserve backslash
19091 # newline sequences.
19093 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19095 s/.\{148\}/&'"$ac_delim"'/g
19098 s/^[ ]*#[ ]*define[ ][ ]*/ /
19105 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19107 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19111 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19112 D["\
1"]=" \
3\\\\\\n
"\\/p
19114 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19119 s/.\{148\}/&'"$ac_delim"'/g
19124 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19127 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19129 ' <confdefs.h | sed '
19130 s/'"$ac_delim"'/"\\\
19131 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19134 for (key in D) D_is_set[key] = 1
19137 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19139 split(line, arg, " ")
19140 if (arg[1] == "#") {
19144 defundef
= substr
(arg
[1], 2)
19147 split(mac1
, mac2
, "(") #)
19149 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19150 if (D_is_set
[macro
]) {
19151 # Preserve the white space surrounding the "#".
19152 print prefix
"define", macro P
[macro
] D
[macro
]
19155 # Replace #undef with comments. This is necessary, for example,
19156 # in the case of _POSIX_SOURCE, which is predefined and required
19157 # on some systems where configure will not decide to define it.
19158 if (defundef
== "undef") {
19159 print
"/*", prefix defundef
, macro
, "*/"
19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19168 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19169 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19170 { (exit 1); exit 1; }; }
19171 fi # test -n "$CONFIG_HEADERS"
19174 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
19179 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19181 case $ac_mode$ac_tag in
19183 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19184 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19185 { (exit 1); exit 1; }; };;
19186 :[FH
]-) ac_tag
=-:-;;
19187 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19204 -) ac_f
="$tmp/stdin";;
19205 *) # Look for the file first in the build tree, then in the source tree
19206 # (if the path is not absolute). The absolute path cannot be DOS-style,
19207 # because $ac_f cannot contain `:'.
19211 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19213 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19214 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19215 { (exit 1); exit 1; }; };;
19217 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19218 ac_file_inputs
="$ac_file_inputs '$ac_f'"
19221 # Let's still pretend it is `configure' which instantiates (i.e., don't
19222 # use $as_me), people would be surprised to read:
19223 # /* config.h. Generated by config.status. */
19224 configure_input
='Generated from '`
19225 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19227 if test x
"$ac_file" != x-
; then
19228 configure_input
="$ac_file. $configure_input"
19229 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19230 $as_echo "$as_me: creating $ac_file" >&6;}
19232 # Neutralize special characters interpreted by sed in replacement strings.
19233 case $configure_input in #(
19234 *\
&* |
*\|
* |
*\\* )
19235 ac_sed_conf_input
=`$as_echo "$configure_input" |
19236 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19237 *) ac_sed_conf_input
=$configure_input;;
19241 *:-:* |
*:-) cat >"$tmp/stdin" \
19242 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19243 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19244 { (exit 1); exit 1; }; } ;;
19249 ac_dir
=`$as_dirname -- "$ac_file" ||
19250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19251 X"$ac_file" : 'X\(//\)[^/]' \| \
19252 X"$ac_file" : 'X\(//\)$' \| \
19253 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19254 $as_echo X"$ac_file" |
19255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19259 /^X\(\/\/\)[^/].*/{
19274 -*) as_dir
=.
/$as_dir;;
19276 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
19280 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19281 *) as_qdir
=$as_dir;;
19283 as_dirs
="'$as_qdir' $as_dirs"
19284 as_dir
=`$as_dirname -- "$as_dir" ||
19285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19286 X"$as_dir" : 'X\(//\)[^/]' \| \
19287 X"$as_dir" : 'X\(//\)$' \| \
19288 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19289 $as_echo X"$as_dir" |
19290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19294 /^X\(\/\/\)[^/].*/{
19307 test -d "$as_dir" && break
19309 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19310 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19311 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19312 { (exit 1); exit 1; }; }; }
19316 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19318 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19319 # A ".." for each directory in $ac_dir_suffix.
19320 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19321 case $ac_top_builddir_sub in
19322 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19323 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19326 ac_abs_top_builddir
=$ac_pwd
19327 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19328 # for backward compatibility:
19329 ac_top_builddir
=$ac_top_build_prefix
19332 .
) # We are building in place.
19334 ac_top_srcdir
=$ac_top_builddir_sub
19335 ac_abs_top_srcdir
=$ac_pwd ;;
19336 [\\/]* | ?
:[\\/]* ) # Absolute name.
19337 ac_srcdir
=$srcdir$ac_dir_suffix;
19338 ac_top_srcdir
=$srcdir
19339 ac_abs_top_srcdir
=$srcdir ;;
19340 *) # Relative name.
19341 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19342 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19343 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19345 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19355 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19356 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19358 ac_MKDIR_P
=$MKDIR_P
19360 [\\/$
]* | ?
:[\\/]* ) ;;
19361 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19366 # If the template does not know about datarootdir, expand it.
19367 # FIXME: This hack should be removed a few years after 2.60.
19368 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19381 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19382 *datarootdir
*) ac_datarootdir_seen
=yes;;
19383 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19384 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19385 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19388 ac_datarootdir_hack='
19389 s&@datadir@&$datadir&g
19390 s&@docdir@&$docdir&g
19391 s&@infodir@&$infodir&g
19392 s&@localedir@&$localedir&g
19393 s&@mandir@&$mandir&g
19394 s&\\\${datarootdir}&$datarootdir&g' ;;
19398 # Neutralize VPATH when `$srcdir' = `.'.
19399 # Shell code in configure.ac might set extrasub.
19400 # FIXME: do we really want to maintain this feature?
19401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19402 ac_sed_extra="$ac_vpsub
19405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19407 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19408 s|@configure_input@|
$ac_sed_conf_input|
;t t
19409 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19410 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19411 s
&@srcdir@
&$ac_srcdir&;t t
19412 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19413 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19414 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19415 s
&@builddir@
&$ac_builddir&;t t
19416 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19417 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19418 s
&@INSTALL@
&$ac_INSTALL&;t t
19419 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19420 $ac_datarootdir_hack
19422 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19423 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
19424 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
19425 { (exit 1); exit 1; }; }
19427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19428 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19429 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19430 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19431 which seems to be undefined. Please make sure it is defined." >&5
19432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19433 which seems to be undefined. Please make sure it is defined." >&2;}
19437 -) cat "$tmp/out" && rm -f "$tmp/out";;
19438 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19440 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19441 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19442 { (exit 1); exit 1; }; }
19448 if test x"$ac_file" != x-; then
19450 $as_echo "/* $configure_input */" \
19451 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19452 } >"$tmp/config.h" \
19453 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19454 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19455 { (exit 1); exit 1; }; }
19456 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19457 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19458 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19461 mv "$tmp/config.h" "$ac_file" \
19462 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19463 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19464 { (exit 1); exit 1; }; }
19467 $as_echo "/* $configure_input */" \
19468 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19469 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19470 $as_echo "$as_me: error: could not create -" >&2;}
19471 { (exit 1); exit 1; }; }
19481 { (exit 0); exit 0; }
19483 chmod +x $CONFIG_STATUS
19484 ac_clean_files=$ac_clean_files_save
19486 test $ac_write_fail = 0 ||
19487 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19488 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19489 { (exit 1); exit 1; }; }
19492 # configure is writing to config.log, and then calls config.status.
19493 # config.status does its own redirection, appending to config.log.
19494 # Unfortunately, on DOS this fails, as config.log is still kept open
19495 # by configure, so config.status won't be able to
write to it
; its
19496 # output is simply discarded. So we exec the FD to /dev/null,
19497 # effectively closing config.log, so it can be properly (re)opened and
19498 # appended to by config.status. When coming back to configure, we
19499 # need to make the FD available again.
19500 if test "$no_create" != yes; then
19502 ac_config_status_args
=
19503 test "$silent" = yes &&
19504 ac_config_status_args
="$ac_config_status_args --quiet"
19506 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19508 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19509 # would make configure fail if this is the last instruction.
19510 $ac_cs_success ||
{ (exit 1); exit 1; }
19512 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19513 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19514 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19518 if test x
$ODIRECT != xyes
; then
19519 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
19520 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}