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
694 DEFAULT_BACKUP_SUBDIR
695 DEFAULT_ARCHIVE_SUBDIR
802 program_transform_name
814 enable_option_checking
831 with_cmirrord_pidfile
857 with_dmeventd_pidfile
859 with_default_system_dir
860 with_default_archive_subdir
861 with_default_backup_subdir
862 with_default_cache_subdir
863 with_default_locking_dir
866 ac_precious_vars
='build_alias
900 # Initialize some variables set by options.
902 ac_init_version
=false
903 ac_unrecognized_opts
=
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1006 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1007 { (exit 1); exit 1; }; }
1008 ac_useropt_orig
=$ac_useropt
1009 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1012 "enable_
$ac_useropt"
1014 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1015 ac_unrecognized_sep
=', ';;
1017 eval enable_
$ac_useropt=no
;;
1019 -docdir |
--docdir |
--docdi |
--doc |
--do)
1021 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1022 docdir
=$ac_optarg ;;
1024 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1026 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1027 dvidir
=$ac_optarg ;;
1029 -enable-* |
--enable-*)
1030 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_
$ac_useropt"
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval enable_
$ac_useropt=\
$ac_optarg ;;
1046 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1047 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1048 |
--exec |
--exe |
--ex)
1049 ac_prev
=exec_prefix
;;
1050 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1051 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1052 |
--exec=* |
--exe=* |
--ex=*)
1053 exec_prefix
=$ac_optarg ;;
1055 -gas |
--gas |
--ga |
--g)
1056 # Obsolete; use --with-gas.
1059 -help |
--help |
--hel |
--he |
-h)
1060 ac_init_help
=long
;;
1061 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1062 ac_init_help
=recursive
;;
1063 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1064 ac_init_help
=short
;;
1066 -host |
--host |
--hos |
--ho)
1067 ac_prev
=host_alias
;;
1068 -host=* |
--host=* |
--hos=* |
--ho=*)
1069 host_alias
=$ac_optarg ;;
1071 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1073 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1075 htmldir
=$ac_optarg ;;
1077 -includedir |
--includedir |
--includedi |
--included |
--include \
1078 |
--includ |
--inclu |
--incl |
--inc)
1079 ac_prev
=includedir
;;
1080 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1081 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1082 includedir
=$ac_optarg ;;
1084 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1086 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1087 infodir
=$ac_optarg ;;
1089 -libdir |
--libdir |
--libdi |
--libd)
1091 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1092 libdir
=$ac_optarg ;;
1094 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1095 |
--libexe |
--libex |
--libe)
1096 ac_prev
=libexecdir
;;
1097 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1098 |
--libexe=* |
--libex=* |
--libe=*)
1099 libexecdir
=$ac_optarg ;;
1101 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1102 ac_prev
=localedir
;;
1103 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1104 localedir
=$ac_optarg ;;
1106 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1107 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1108 ac_prev
=localstatedir
;;
1109 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1110 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1111 localstatedir
=$ac_optarg ;;
1113 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1115 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1116 mandir
=$ac_optarg ;;
1118 -nfp |
--nfp |
--nf)
1119 # Obsolete; use --without-fp.
1122 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1123 |
--no-cr |
--no-c |
-n)
1126 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1127 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1130 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1131 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1132 |
--oldin |
--oldi |
--old |
--ol |
--o)
1133 ac_prev
=oldincludedir
;;
1134 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1135 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1136 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1137 oldincludedir
=$ac_optarg ;;
1139 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1141 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1142 prefix
=$ac_optarg ;;
1144 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1145 |
--program-pre |
--program-pr |
--program-p)
1146 ac_prev
=program_prefix
;;
1147 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1148 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1149 program_prefix
=$ac_optarg ;;
1151 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1152 |
--program-suf |
--program-su |
--program-s)
1153 ac_prev
=program_suffix
;;
1154 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1155 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1156 program_suffix
=$ac_optarg ;;
1158 -program-transform-name |
--program-transform-name \
1159 |
--program-transform-nam |
--program-transform-na \
1160 |
--program-transform-n |
--program-transform- \
1161 |
--program-transform |
--program-transfor \
1162 |
--program-transfo |
--program-transf \
1163 |
--program-trans |
--program-tran \
1164 |
--progr-tra |
--program-tr |
--program-t)
1165 ac_prev
=program_transform_name
;;
1166 -program-transform-name=* |
--program-transform-name=* \
1167 |
--program-transform-nam=* |
--program-transform-na=* \
1168 |
--program-transform-n=* |
--program-transform-=* \
1169 |
--program-transform=* |
--program-transfor=* \
1170 |
--program-transfo=* |
--program-transf=* \
1171 |
--program-trans=* |
--program-tran=* \
1172 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1173 program_transform_name
=$ac_optarg ;;
1175 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1177 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1178 pdfdir
=$ac_optarg ;;
1180 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1182 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1185 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1186 |
-silent |
--silent |
--silen |
--sile |
--sil)
1189 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1191 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1193 sbindir
=$ac_optarg ;;
1195 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1196 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1197 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1199 ac_prev
=sharedstatedir
;;
1200 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1201 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1202 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1204 sharedstatedir
=$ac_optarg ;;
1206 -site |
--site |
--sit)
1208 -site=* |
--site=* |
--sit=*)
1211 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1213 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1214 srcdir
=$ac_optarg ;;
1216 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1217 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1218 ac_prev
=sysconfdir
;;
1219 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1220 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1221 sysconfdir
=$ac_optarg ;;
1223 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1224 ac_prev
=target_alias
;;
1225 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1226 target_alias
=$ac_optarg ;;
1228 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1231 -version |
--version |
--versio |
--versi |
--vers |
-V)
1232 ac_init_version
=: ;;
1235 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1239 { (exit 1); exit 1; }; }
1240 ac_useropt_orig
=$ac_useropt
1241 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep
=', ';;
1249 eval with_
$ac_useropt=\
$ac_optarg ;;
1251 -without-* |
--without-*)
1252 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1255 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1256 { (exit 1); exit 1; }; }
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=no
;;
1269 # Obsolete; use --with-x.
1272 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1273 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1274 ac_prev
=x_includes
;;
1275 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1276 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1277 x_includes
=$ac_optarg ;;
1279 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1280 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1281 ac_prev
=x_libraries
;;
1282 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1283 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1284 x_libraries
=$ac_optarg ;;
1286 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1287 Try \`$0 --help' for more information." >&2
1288 { (exit 1); exit 1; }; }
1292 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1295 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1296 { (exit 1); exit 1; }; }
1297 eval $ac_envvar=\
$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1311 if test -n "$ac_prev"; then
1312 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1313 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1314 { (exit 1); exit 1; }; }
1317 if test -n "$ac_unrecognized_opts"; then
1318 case $enable_option_checking in
1320 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1321 { (exit 1); exit 1; }; } ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1326 # Check all directory arguments for consistency.
1327 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1332 eval ac_val
=\$
$ac_var
1333 # Remove trailing slashes.
1336 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\
$ac_val;;
1339 # Be sure to have absolute directory names.
1341 [\\/$
]* | ?
:[\\/]* ) continue;;
1342 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1344 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1345 { (exit 1); exit 1; }; }
1348 # There might be people who depend on the old broken behavior: `$host'
1349 # used to hold the argument of --host etc.
1350 # FIXME: To remove some day.
1353 target
=$target_alias
1355 # FIXME: To remove some day.
1356 if test "x$host_alias" != x
; then
1357 if test "x$build_alias" = x
; then
1358 cross_compiling
=maybe
1359 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360 If a cross compiler is detected then cross compile mode will be used." >&2
1361 elif test "x$build_alias" != "x$host_alias"; then
1367 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1369 test "$silent" = yes && exec 6>/dev
/null
1372 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di
=`ls -di .` &&
1374 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1375 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1376 { (exit 1); exit 1; }; }
1377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1379 { (exit 1); exit 1; }; }
1382 # Find the source files, if location was not specified.
1383 if test -z "$srcdir"; then
1384 ac_srcdir_defaulted
=yes
1385 # Try the directory containing this script, then the parent directory.
1386 ac_confdir
=`$as_dirname -- "$as_myself" ||
1387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1388 X"$as_myself" : 'X\(//\)[^/]' \| \
1389 X"$as_myself" : 'X\(//\)$' \| \
1390 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1391 $as_echo X"$as_myself" |
1392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1414 ac_srcdir_defaulted
=no
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1418 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1419 { (exit 1); exit 1; }; }
1421 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1423 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1424 { (exit 1); exit 1; }; }
1426 # When building in place, set srcdir=.
1427 if test "$ac_abs_confdir" = "$ac_pwd"; then
1430 # Remove unnecessary trailing slashes from srcdir.
1431 # Double slashes in file names in object file debugging info
1432 # mess up M-x gdb in Emacs.
1434 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 for ac_var
in $ac_precious_vars; do
1437 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1438 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1439 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1440 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1444 # Report the --help message.
1446 if test "$ac_init_help" = "long"; then
1447 # Omit some internal or obsolete options to make the list less imposing.
1448 # This message is too long to be a string in the A/UX 3.1 sh.
1450 \`configure' configures this package to adapt to many kinds of systems.
1452 Usage: $0 [OPTION]... [VAR=VALUE]...
1454 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455 VAR=VALUE. See below for descriptions of some of the useful variables.
1457 Defaults for the options are specified in brackets.
1460 -h, --help display this help and exit
1461 --help=short display options specific to this package
1462 --help=recursive display the short help of all the included packages
1463 -V, --version display version information and exit
1464 -q, --quiet, --silent do not print \`checking...' messages
1465 --cache-file=FILE cache test results in FILE [disabled]
1466 -C, --config-cache alias for \`--cache-file=config.cache'
1467 -n, --no-create do not create output files
1468 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470 Installation directories:
1471 --prefix=PREFIX install architecture-independent files in PREFIX
1472 [$ac_default_prefix]
1473 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1476 By default, \`make install' will install all the files in
1477 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479 for instance \`--prefix=\$HOME'.
1481 For better control, use the options below.
1483 Fine tuning of the installation directories:
1484 --bindir=DIR user executables [EPREFIX/bin]
1485 --sbindir=DIR system admin executables [EPREFIX/sbin]
1486 --libexecdir=DIR program executables [EPREFIX/libexec]
1487 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490 --libdir=DIR object code libraries [EPREFIX/lib]
1491 --includedir=DIR C header files [PREFIX/include]
1492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495 --infodir=DIR info documentation [DATAROOTDIR/info]
1496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497 --mandir=DIR man documentation [DATAROOTDIR/man]
1498 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1499 --htmldir=DIR html documentation [DOCDIR]
1500 --dvidir=DIR dvi documentation [DOCDIR]
1501 --pdfdir=DIR pdf documentation [DOCDIR]
1502 --psdir=DIR ps documentation [DOCDIR]
1508 --build=BUILD configure
for building on BUILD
[guessed
]
1509 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1510 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1514 if test -n "$ac_init_help"; then
1519 --disable-option-checking ignore unrecognized
--enable/--with options
1520 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1521 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1522 --enable-static_link Use this to link the tools to their libraries
1523 statically. Default is dynamic linking
1524 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1525 device-mapper is missing from the kernel
1526 --disable-readline Disable readline support
1527 --enable-realtime Enable realtime
clock support
1528 --enable-cmirrord Enable the cluster mirror log daemon
1529 --enable-debug Enable debugging
1530 --enable-profiling Gather gcov profiling data
1531 --disable-devmapper Disable LVM2 device-mapper interaction
1532 --enable-udev_sync Enable synchronisation with udev processing
1533 --enable-udev_rules Install rule files needed
for udev synchronisation
1534 --enable-compat Enable support
for old device-mapper versions
1535 --enable-units-compat Enable output compatibility with old versions that
1536 that don
't use KiB-style unit suffixes
1537 --disable-driver Disable calls to device-mapper in the kernel
1538 --disable-o_direct Disable O_DIRECT
1539 --enable-applib Build application library
1540 --enable-cmdlib Build shared command library
1541 --enable-pkgconfig Install pkgconfig support
1542 --enable-write_install Install user writable files
1543 --disable-fsadm Disable fsadm
1544 --enable-dmeventd Enable the device-mapper event daemon
1545 --disable-selinux Disable selinux support
1546 --enable-nls Enable Native Language Support
1549 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1550 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1551 --with-user=USER Set the owner of installed files [USER=]
1552 --with-group=GROUP Set the group owner of installed files [GROUP=]
1553 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1554 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1555 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1556 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1558 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1560 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1562 --with-snapshots=TYPE Snapshot support: internal/shared/none
1564 --with-mirrors=TYPE Mirror support: internal/shared/none
1566 --with-clvmd=TYPE Build cluster LVM Daemon.
1567 The following cluster manager combinations are valid:
1568 * cman,gulm (RHEL4 or equivalent)
1569 * cman (RHEL5 or equivalent)
1570 * cman,corosync,openais (or selection of them)
1571 * singlenode (localhost only)
1573 * none (disable build)
1575 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1576 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1577 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1578 --with-confdir=DIR Configuration files in DIR [/etc]
1579 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1580 --with-usrlibdir=DIR
1581 --with-usrsbindir=DIR
1582 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1583 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1584 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1585 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1586 --with-default-system-dir=DIR Default LVM system directory [/etc/lvm]
1587 --with-default-archive-subdir=SUBDIR Default metadata archive subdir [archive]
1588 --with-default-backup-subdir=SUBDIR Default metadata backup subdir [backup]
1589 --with-default-cache-subdir=SUBDIR Default metadata cache subdir [cache]
1590 --with-default-locking-dir=DIR Default locking directory [/var/lock/lvm]
1591 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1593 Some influential environment variables:
1594 CC C compiler command
1595 CFLAGS C compiler flags
1596 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1597 nonstandard directory <lib dir>
1598 LIBS libraries to pass to the linker, e.g. -l<library>
1599 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1600 you have headers in a nonstandard directory <include dir>
1602 PKG_CONFIG path to pkg-config utility
1603 PKGCONFIGINIT_CFLAGS
1604 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1606 linker flags for PKGCONFIGINIT, overriding pkg-config
1607 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1608 CCS_LIBS linker flags for CCS, overriding pkg-config
1609 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1610 GULM_LIBS linker flags for GULM, overriding pkg-config
1611 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1612 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1614 C compiler flags for COROSYNC, overriding pkg-config
1616 linker flags for COROSYNC, overriding pkg-config
1618 C compiler flags for QUORUM, overriding pkg-config
1619 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1621 C compiler flags for SALCK, overriding pkg-config
1622 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1624 C compiler flags for CONFDB, overriding pkg-config
1625 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1626 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1627 CPG_LIBS linker flags for CPG, overriding pkg-config
1628 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1629 DLM_LIBS linker flags for DLM, overriding pkg-config
1631 C compiler flags for SACKPT, overriding pkg-config
1632 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1634 Use these variables to override the choices made by `configure' or to
help
1635 it to
find libraries and programs with nonstandard names
/locations.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1650 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1652 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1657 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir
=$ac_pwd
1661 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir
=$ac_top_build_prefix
1666 .
) # We are building in place.
1668 ac_top_srcdir
=$ac_top_builddir_sub
1669 ac_abs_top_srcdir
=$ac_pwd ;;
1670 [\\/]* | ?
:[\\/]* ) # Absolute name.
1671 ac_srcdir
=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir
=$srcdir
1673 ac_abs_top_srcdir
=$srcdir ;;
1675 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1700 generated by GNU Autoconf
2.63
1702 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1703 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1704 This configure
script is free software
; the Free Software Foundation
1705 gives unlimited permission to copy
, distribute and modify it.
1709 cat >config.log
<<_ACEOF
1710 This file contains any messages produced by compilers while
1711 running configure, to aid debugging if configure makes a mistake.
1713 It was created by $as_me, which was
1714 generated by GNU Autoconf 2.63. Invocation command line was
1726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1735 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1738 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1739 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1740 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1741 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1749 test -z "$as_dir" && as_dir
=.
1750 $as_echo "PATH: $as_dir"
1766 # Keep a trace of the command line.
1767 # Strip out --no-create and --no-recursion so they do not pile up.
1768 # Strip out --silent because we don't want to record it for future runs.
1769 # Also quote any args containing shell meta-characters.
1770 # Make two passes to allow for proper duplicate-argument suppression.
1774 ac_must_keep_next
=false
1780 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1781 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1782 |
-silent |
--silent |
--silen |
--sile |
--sil)
1785 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1790 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1791 if test $ac_must_keep_next = true
; then
1792 ac_must_keep_next
=false
# Got value, back to normal.
1795 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1796 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1797 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1798 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1799 case "$ac_configure_args0 " in
1800 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1803 -* ) ac_must_keep_next
=true
;;
1806 ac_configure_args
="$ac_configure_args '$ac_arg'"
1811 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1812 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1814 # When interrupted or exit'd, cleanup temporary files, and complete
1815 # config.log. We remove comments because anyway the quotes in there
1816 # would cause problems or look ugly.
1817 # WARNING: Use '\'' to represent an apostrophe within the trap.
1818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1819 trap 'exit_status=$?
1820 # Save into config.log some information that might help in debugging.
1825 ## ---------------- ##
1826 ## Cache variables. ##
1827 ## ---------------- ##
1830 # The following way of writing the cache mishandles newlines in values,
1832 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1833 eval ac_val=\$$ac_var
1837 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1838 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1841 _ | IFS | as_nl) ;; #(
1842 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1843 *) $as_unset $ac_var ;;
1848 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1849 *${as_nl}ac_space=\ *)
1851 "s/'\''/'\''\\\\'\'''\''/g;
1852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1863 ## ----------------- ##
1864 ## Output variables. ##
1865 ## ----------------- ##
1868 for ac_var in $ac_subst_vars
1870 eval ac_val=\$$ac_var
1872 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1874 $as_echo "$ac_var='\''$ac_val'\''"
1878 if test -n "$ac_subst_files"; then
1880 ## ------------------- ##
1881 ## File substitutions. ##
1882 ## ------------------- ##
1885 for ac_var
in $ac_subst_files
1887 eval ac_val
=\$
$ac_var
1889 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1891 $as_echo "$ac_var='\''$ac_val'\''"
1896 if test -s confdefs.h; then
1906 test "$ac_signal" != 0 &&
1907 $as_echo "$as_me: caught signal $ac_signal"
1908 $as_echo "$as_me: exit $exit_status"
1910 rm -f core *.core core.conftest.* &&
1911 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1914 for ac_signal
in 1 2 13 15; do
1915 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1919 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1920 rm -f -r conftest
* confdefs.h
1922 # Predefined preprocessor variables.
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_NAME "$PACKAGE_NAME"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1934 cat >>confdefs.h
<<_ACEOF
1935 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1939 cat >>confdefs.h
<<_ACEOF
1940 #define PACKAGE_STRING "$PACKAGE_STRING"
1944 cat >>confdefs.h
<<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1949 # Let the site file select an alternate cache file if it wants to.
1950 # Prefer an explicitly selected file to automatically selected ones.
1953 if test -n "$CONFIG_SITE"; then
1954 ac_site_file1
=$CONFIG_SITE
1955 elif test "x$prefix" != xNONE
; then
1956 ac_site_file1
=$prefix/share
/config.site
1957 ac_site_file2
=$prefix/etc
/config.site
1959 ac_site_file1
=$ac_default_prefix/share
/config.site
1960 ac_site_file2
=$ac_default_prefix/etc
/config.site
1962 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1964 test "x$ac_site_file" = xNONE
&& continue
1965 if test -r "$ac_site_file"; then
1966 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1967 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1968 sed 's/^/| /' "$ac_site_file" >&5
1973 if test -r "$cache_file"; then
1974 # Some versions of bash will fail to source /dev/null (special
1975 # files actually), so we avoid doing that.
1976 if test -f "$cache_file"; then
1977 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1978 $as_echo "$as_me: loading cache $cache_file" >&6;}
1980 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1981 *) .
"./$cache_file";;
1985 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1986 $as_echo "$as_me: creating cache $cache_file" >&6;}
1990 # Check that the precious variables saved in the cache have kept the same
1992 ac_cache_corrupted
=false
1993 for ac_var
in $ac_precious_vars; do
1994 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1995 eval ac_new_set
=\
$ac_env_${ac_var}_set
1996 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1997 eval ac_new_val
=\
$ac_env_${ac_var}_value
1998 case $ac_old_set,$ac_new_set in
2000 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2002 ac_cache_corrupted
=: ;;
2004 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2006 ac_cache_corrupted
=: ;;
2009 if test "x$ac_old_val" != "x$ac_new_val"; then
2010 # differences in whitespace do not lead to failure.
2011 ac_old_val_w
=`echo x $ac_old_val`
2012 ac_new_val_w
=`echo x $ac_new_val`
2013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2014 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2016 ac_cache_corrupted
=:
2018 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2020 eval $ac_var=\
$ac_old_val
2022 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2024 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2028 # Pass precious variables to config.status.
2029 if test "$ac_new_set" = set; then
2031 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 *) ac_arg
=$ac_var=$ac_new_val ;;
2034 case " $ac_configure_args " in
2035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2036 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2040 if $ac_cache_corrupted; then
2041 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2043 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2045 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2046 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2047 { (exit 1); exit 1; }; }
2067 ac_cpp
='$CPP $CPPFLAGS'
2068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2074 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2077 ################################################################################
2079 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2080 if test -f "$ac_dir/install-sh"; then
2082 ac_install_sh
="$ac_aux_dir/install-sh -c"
2084 elif test -f "$ac_dir/install.sh"; then
2086 ac_install_sh
="$ac_aux_dir/install.sh -c"
2088 elif test -f "$ac_dir/shtool"; then
2090 ac_install_sh
="$ac_aux_dir/shtool install -c"
2094 if test -z "$ac_aux_dir"; then
2095 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2096 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2097 { (exit 1); exit 1; }; }
2100 # These three variables are undocumented and unsupported,
2101 # and are intended to be withdrawn in a future Autoconf release.
2102 # They can cause serious problems if a builder's source tree is in a directory
2103 # whose full name contains unusual characters.
2104 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2105 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2106 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2110 ################################################################################
2111 # Make sure we can run config.sub.
2112 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2113 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2114 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2115 { (exit 1); exit 1; }; }
2117 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2118 $as_echo_n "checking build system type... " >&6; }
2119 if test "${ac_cv_build+set}" = set; then
2120 $as_echo_n "(cached) " >&6
2122 ac_build_alias
=$build_alias
2123 test "x$ac_build_alias" = x
&&
2124 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2125 test "x$ac_build_alias" = x
&&
2126 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2127 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2128 { (exit 1); exit 1; }; }
2129 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2130 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2131 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2132 { (exit 1); exit 1; }; }
2135 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2136 $as_echo "$ac_cv_build" >&6; }
2137 case $ac_cv_build in
2139 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2140 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2141 { (exit 1); exit 1; }; };;
2144 ac_save_IFS
=$IFS; IFS
='-'
2150 # Remember, the first character of IFS is used to create $*,
2151 # except with old shells:
2154 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2157 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2158 $as_echo_n "checking host system type... " >&6; }
2159 if test "${ac_cv_host+set}" = set; then
2160 $as_echo_n "(cached) " >&6
2162 if test "x$host_alias" = x
; then
2163 ac_cv_host
=$ac_cv_build
2165 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2166 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2167 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2168 { (exit 1); exit 1; }; }
2172 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2173 $as_echo "$ac_cv_host" >&6; }
2176 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2177 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2178 { (exit 1); exit 1; }; };;
2181 ac_save_IFS
=$IFS; IFS
='-'
2187 # Remember, the first character of IFS is used to create $*,
2188 # except with old shells:
2191 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2194 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2195 $as_echo_n "checking target system type... " >&6; }
2196 if test "${ac_cv_target+set}" = set; then
2197 $as_echo_n "(cached) " >&6
2199 if test "x$target_alias" = x
; then
2200 ac_cv_target
=$ac_cv_host
2202 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2203 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2204 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2205 { (exit 1); exit 1; }; }
2209 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2210 $as_echo "$ac_cv_target" >&6; }
2211 case $ac_cv_target in
2213 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2214 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2215 { (exit 1); exit 1; }; };;
2217 target
=$ac_cv_target
2218 ac_save_IFS
=$IFS; IFS
='-'
2224 # Remember, the first character of IFS is used to create $*,
2225 # except with old shells:
2228 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2231 # The aliases save the names the user supplied, while $host etc.
2232 # will get canonicalized.
2233 test -n "$target_alias" &&
2234 test "$program_prefix$program_suffix$program_transform_name" = \
2236 program_prefix
=${target_alias}-
2241 COPTIMISE_FLAG
="-O2"
2242 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2243 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2244 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2245 LDDEPS
="$LDDEPS .export.sym"
2246 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2256 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2257 COPTIMISE_FLAG
="-O2"
2258 CLDFLAGS
="$CLDFLAGS"
2259 CLDWHOLEARCHIVE
="-all_load"
2271 ################################################################################
2272 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2274 if test "${ac_cv_path_SED+set}" = set; then
2275 $as_echo_n "(cached) " >&6
2277 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2278 for ac_i
in 1 2 3 4 5 6 7; do
2279 ac_script
="$ac_script$as_nl$ac_script"
2281 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2282 $as_unset ac_script || ac_script
=
2283 if test -z "$SED"; then
2284 ac_path_SED_found
=false
2285 # Loop through the user's path and test for each of PROGNAME-LIST
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 for ac_prog
in sed gsed
; do
2292 for ac_exec_ext
in '' $ac_executable_extensions; do
2293 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2294 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2295 # Check for GNU ac_path_SED and select it if it is found.
2296 # Check for GNU $ac_path_SED
2297 case `"$ac_path_SED" --version 2>&1` in
2299 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2302 $as_echo_n 0123456789 >"conftest.in"
2305 cat "conftest.in" "conftest.in" >"conftest.tmp"
2306 mv "conftest.tmp" "conftest.in"
2307 cp "conftest.in" "conftest.nl"
2308 $as_echo '' >> "conftest.nl"
2309 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2310 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2311 ac_count
=`expr $ac_count + 1`
2312 if test $ac_count -gt ${ac_path_SED_max-0}; then
2313 # Best one so far, save it but keep looking for a better one
2314 ac_cv_path_SED
="$ac_path_SED"
2315 ac_path_SED_max
=$ac_count
2317 # 10*(2^10) chars as input seems more than enough
2318 test $ac_count -gt 10 && break
2320 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2323 $ac_path_SED_found && break 3
2328 if test -z "$ac_cv_path_SED"; then
2329 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2330 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2331 { (exit 1); exit 1; }; }
2338 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2339 $as_echo "$ac_cv_path_SED" >&6; }
2340 SED
="$ac_cv_path_SED"
2343 for ac_prog
in gawk mawk nawk
awk
2345 # Extract the first word of "$ac_prog", so it can be a program name with args.
2346 set dummy
$ac_prog; ac_word
=$2
2347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if test "${ac_cv_prog_AWK+set}" = set; then
2350 $as_echo_n "(cached) " >&6
2352 if test -n "$AWK"; then
2353 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_prog_AWK
="$ac_prog"
2363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 if test -n "$AWK"; then
2374 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2375 $as_echo "$AWK" >&6; }
2377 { $as_echo "$as_me:$LINENO: result: no" >&5
2378 $as_echo "no" >&6; }
2382 test -n "$AWK" && break
2386 ac_cpp
='$CPP $CPPFLAGS'
2387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2390 if test -n "$ac_tool_prefix"; then
2391 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2392 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_CC+set}" = set; then
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$CC"; then
2399 ac_cv_prog_CC
="$CC" # Let the user override the test.
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir
=.
2406 for ac_exec_ext
in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2409 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$CC"; then
2420 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2421 $as_echo "$CC" >&6; }
2423 { $as_echo "$as_me:$LINENO: result: no" >&5
2424 $as_echo "no" >&6; }
2429 if test -z "$ac_cv_prog_CC"; then
2431 # Extract the first word of "gcc", so it can be a program name with args.
2432 set dummy gcc
; ac_word
=$2
2433 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2436 $as_echo_n "(cached) " >&6
2438 if test -n "$ac_ct_CC"; then
2439 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 for ac_exec_ext
in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_CC
="gcc"
2449 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2459 if test -n "$ac_ct_CC"; then
2460 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2461 $as_echo "$ac_ct_CC" >&6; }
2463 { $as_echo "$as_me:$LINENO: result: no" >&5
2464 $as_echo "no" >&6; }
2467 if test "x$ac_ct_CC" = x
; then
2470 case $cross_compiling:$ac_tool_warned in
2472 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474 ac_tool_warned
=yes ;;
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2485 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 $as_echo_n "checking for $ac_word... " >&6; }
2488 if test "${ac_cv_prog_CC+set}" = set; then
2489 $as_echo_n "(cached) " >&6
2491 if test -n "$CC"; then
2492 ac_cv_prog_CC
="$CC" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2501 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2502 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 if test -n "$CC"; then
2513 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2514 $as_echo "$CC" >&6; }
2516 { $as_echo "$as_me:$LINENO: result: no" >&5
2517 $as_echo "no" >&6; }
2523 if test -z "$CC"; then
2524 # Extract the first word of "cc", so it can be a program name with args.
2525 set dummy cc
; ac_word
=$2
2526 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC
="$CC" # Let the user override the test.
2535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir
=.
2540 for ac_exec_ext
in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2543 ac_prog_rejected
=yes
2547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 if test $ac_prog_rejected = yes; then
2555 # We found a bogon in the path, so make sure we never use it.
2556 set dummy
$ac_cv_prog_CC
2558 if test $# != 0; then
2559 # We chose a different compiler from the bogus one.
2560 # However, it has the same basename, so the bogon will be chosen
2561 # first if we set CC to just the basename; use the full file name.
2563 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2569 if test -n "$CC"; then
2570 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2571 $as_echo "$CC" >&6; }
2573 { $as_echo "$as_me:$LINENO: result: no" >&5
2574 $as_echo "no" >&6; }
2579 if test -z "$CC"; then
2580 if test -n "$ac_tool_prefix"; then
2581 for ac_prog
in cl.exe
2583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2584 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2585 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2586 $as_echo_n "checking for $ac_word... " >&6; }
2587 if test "${ac_cv_prog_CC+set}" = set; then
2588 $as_echo_n "(cached) " >&6
2590 if test -n "$CC"; then
2591 ac_cv_prog_CC
="$CC" # Let the user override the test.
2593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir
=.
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2600 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2601 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test -n "$CC"; then
2612 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2613 $as_echo "$CC" >&6; }
2615 { $as_echo "$as_me:$LINENO: result: no" >&5
2616 $as_echo "no" >&6; }
2620 test -n "$CC" && break
2623 if test -z "$CC"; then
2625 for ac_prog
in cl.exe
2627 # Extract the first word of "$ac_prog", so it can be a program name with args.
2628 set dummy
$ac_prog; ac_word
=$2
2629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$ac_ct_CC"; then
2635 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_ac_ct_CC
="$ac_prog"
2645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2655 if test -n "$ac_ct_CC"; then
2656 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2657 $as_echo "$ac_ct_CC" >&6; }
2659 { $as_echo "$as_me:$LINENO: result: no" >&5
2660 $as_echo "no" >&6; }
2664 test -n "$ac_ct_CC" && break
2667 if test "x$ac_ct_CC" = x
; then
2670 case $cross_compiling:$ac_tool_warned in
2672 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2674 ac_tool_warned
=yes ;;
2683 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2685 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2686 See \`config.log' for more details." >&5
2687 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }; }
2691 # Provide some information about the compiler.
2692 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2695 { (ac_try
="$ac_compiler --version >&5"
2697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2701 $as_echo "$ac_try_echo") >&5
2702 (eval "$ac_compiler --version >&5") 2>&5
2704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }
2706 { (ac_try="$ac_compiler -v >&5"
2708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2709 *) ac_try_echo
=$ac_try;;
2711 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2712 $as_echo "$ac_try_echo") >&5
2713 (eval "$ac_compiler -v >&5") 2>&5
2715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }
2717 { (ac_try
="$ac_compiler -V >&5"
2719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2723 $as_echo "$ac_try_echo") >&5
2724 (eval "$ac_compiler -V >&5") 2>&5
2726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }
2729 cat >conftest.$ac_ext <<_ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 ac_clean_files_save=$ac_clean_files
2745 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2746 # Try to create an executable without -o first, disregard a.out.
2747 # It will help us diagnose broken compilers, and finding out an intuition
2749 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2750 $as_echo_n "checking for C compiler default output file name... " >&6; }
2751 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2753 # The possible output files:
2754 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2757 for ac_file in $ac_files
2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2761 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2766 if { (ac_try="$ac_link_default"
2768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2769 *) ac_try_echo
=$ac_try;;
2771 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2772 $as_echo "$ac_try_echo") >&5
2773 (eval "$ac_link_default") 2>&5
2775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2780 # so that the user can short-circuit this test for compilers unknown to
2782 for ac_file
in $ac_files ''
2784 test -f "$ac_file" ||
continue
2786 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2789 # We found the default executable, but exeext='' is most
2793 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2795 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2797 # We set ac_cv_exeext here because the later test for it is not
2798 # safe: cross compilers may not add the suffix if given an `-o'
2799 # argument, so we may need to know it at that point already.
2800 # Even if this section looks crufty: it has the advantage of
2807 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2813 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2814 $as_echo "$ac_file" >&6; }
2815 if test -z "$ac_file"; then
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2819 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2822 See \`config.log' for more details." >&5
2823 $as_echo "$as_me: error: C compiler cannot create executables
2824 See \`config.log' for more details." >&2;}
2825 { (exit 77); exit 77; }; }; }
2828 ac_exeext
=$ac_cv_exeext
2830 # Check that the compiler produces executables we can run. If not, either
2831 # the compiler is broken, or we cross compile.
2832 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2833 $as_echo_n "checking whether the C compiler works... " >&6; }
2834 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2835 # If not cross compiling, check that we can run a simple program.
2836 if test "$cross_compiling" != yes; then
2837 if { ac_try
='./$ac_file'
2838 { (case "(($ac_try" in
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2843 $as_echo "$ac_try_echo") >&5
2844 (eval "$ac_try") 2>&5
2846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2850 if test "$cross_compiling" = maybe; then
2853 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2855 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2856 If you meant to cross compile
, use \
`--host'.
2857 See \`config.log
' for more details." >&5
2858 $as_echo "$as_me: error: cannot run C compiled programs.
2859 If you meant to cross compile, use \`--host'.
2860 See \
`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }; }
2865 { $as_echo "$as_me:$LINENO: result: yes" >&5
2866 $as_echo "yes" >&6; }
2868 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2869 ac_clean_files=$ac_clean_files_save
2870 # Check that the compiler produces executables we can run. If not, either
2871 # the compiler is broken, or we cross compile.
2872 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2873 $as_echo_n "checking whether we are cross compiling... " >&6; }
2874 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2875 $as_echo "$cross_compiling" >&6; }
2877 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2878 $as_echo_n "checking for suffix of executables... " >&6; }
2879 if { (ac_try="$ac_link"
2881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2882 *) ac_try_echo
=$ac_try;;
2884 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2885 $as_echo "$ac_try_echo") >&5
2886 (eval "$ac_link") 2>&5
2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; then
2890 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2891 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2892 # work properly (i.e., refer to `conftest.exe'), while it won't with
2894 for ac_file
in conftest.exe conftest conftest.
*; do
2895 test -f "$ac_file" ||
continue
2897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2898 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2904 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2906 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2907 See \`config.log' for more details." >&5
2908 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2909 See \`config.log' for more details." >&2;}
2910 { (exit 1); exit 1; }; }; }
2913 rm -f conftest
$ac_cv_exeext
2914 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2915 $as_echo "$ac_cv_exeext" >&6; }
2917 rm -f conftest.
$ac_ext
2918 EXEEXT
=$ac_cv_exeext
2920 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2921 $as_echo_n "checking for suffix of object files... " >&6; }
2922 if test "${ac_cv_objext+set}" = set; then
2923 $as_echo_n "(cached) " >&6
2925 cat >conftest.
$ac_ext <<_ACEOF
2928 cat confdefs.h
>>conftest.
$ac_ext
2929 cat >>conftest.
$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2940 rm -f conftest.o conftest.obj
2941 if { (ac_try
="$ac_compile"
2943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2947 $as_echo "$ac_try_echo") >&5
2948 (eval "$ac_compile") 2>&5
2950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; then
2952 for ac_file in conftest.o conftest.obj conftest.*; do
2953 test -f "$ac_file" || continue;
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2956 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2967 See \
`config.log' for more details." >&5
2968 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2969 See \`config.log
' for more details." >&2;}
2970 { (exit 1); exit 1; }; }; }
2973 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2975 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2976 $as_echo "$ac_cv_objext" >&6; }
2977 OBJEXT=$ac_cv_objext
2979 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2981 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2982 $as_echo_n "(cached) " >&6
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
3002 rm -f conftest.$ac_objext
3003 if { (ac_try="$ac_compile"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3009 $as_echo "$ac_try_echo") >&5
3010 (eval "$ac_compile") 2>conftest.er1
3012 grep -v '^
*+' conftest.er1 >conftest.err
3014 cat conftest.err >&5
3015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } && {
3017 test -z "$ac_c_werror_flag" ||
3018 test ! -s conftest.err
3019 } && test -s conftest.$ac_objext; then
3022 $as_echo "$as_me: failed program was:" >&5
3023 sed 's
/^
/|
/' conftest.$ac_ext >&5
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3032 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3034 if test $ac_compiler_gnu = yes; then
3039 ac_test_CFLAGS=${CFLAGS+set}
3040 ac_save_CFLAGS=$CFLAGS
3041 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3043 if test "${ac_cv_prog_cc_g+set}" = set; then
3044 $as_echo_n "(cached) " >&6
3046 ac_save_c_werror_flag=$ac_c_werror_flag
3047 ac_c_werror_flag=yes
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3065 rm -f conftest.$ac_objext
3066 if { (ac_try="$ac_compile"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3072 $as_echo "$ac_try_echo") >&5
3073 (eval "$ac_compile") 2>conftest.er1
3075 grep -v '^
*+' conftest.er1 >conftest.err
3077 cat conftest.err >&5
3078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } && {
3080 test -z "$ac_c_werror_flag" ||
3081 test ! -s conftest.err
3082 } && test -s conftest.$ac_objext; then
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's
/^
/|
/' conftest.$ac_ext >&5
3089 cat >conftest.$ac_ext <<_ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3104 rm -f conftest.$ac_objext
3105 if { (ac_try="$ac_compile"
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3111 $as_echo "$ac_try_echo") >&5
3112 (eval "$ac_compile") 2>conftest.er1
3114 grep -v '^
*+' conftest.er1 >conftest.err
3116 cat conftest.err >&5
3117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } && {
3119 test -z "$ac_c_werror_flag" ||
3120 test ! -s conftest.err
3121 } && test -s conftest.$ac_objext; then
3124 $as_echo "$as_me: failed program was:" >&5
3125 sed 's
/^
/|
/' conftest.$ac_ext >&5
3127 ac_c_werror_flag=$ac_save_c_werror_flag
3129 cat >conftest.$ac_ext <<_ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3144 rm -f conftest.$ac_objext
3145 if { (ac_try="$ac_compile"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3151 $as_echo "$ac_try_echo") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3154 grep -v '^
*+' conftest.er1 >conftest.err
3156 cat conftest.err >&5
3157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's
/^
/|
/' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_c_werror_flag=$ac_save_c_werror_flag
3179 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3180 $as_echo "$ac_cv_prog_cc_g" >&6; }
3181 if test "$ac_test_CFLAGS" = set; then
3182 CFLAGS=$ac_save_CFLAGS
3183 elif test $ac_cv_prog_cc_g = yes; then
3184 if test "$GCC" = yes; then
3190 if test "$GCC" = yes; then
3196 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3197 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3198 if test "${ac_cv_prog_cc_c89+set}" = set; then
3199 $as_echo_n "(cached) " >&6
3201 ac_cv_prog_cc_c89=no
3203 cat >conftest.$ac_ext <<_ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3211 #include <sys/types.h>
3212 #include <sys/stat.h>
3213 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3214 struct buf
{ int x
; };
3215 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3216 static char
*e
(p
, i
)
3222 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3227 s
= g
(p
, va_arg
(v
,int
));
3232 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3233 function prototypes and stuff
, but not
'\xHH' hex character constants.
3234 These don
't provoke an error unfortunately, instead are silently treated
3235 as 'x
'. The following induces an error, until -std is added to get
3236 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3237 array size at least. It's necessary to
write '\x00'==0 to get something
3238 that
's true only with -std. */
3239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3242 inside strings and character constants. */
3244 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3246 int test (int i, double x);
3247 struct s1 {int (*f) (int a);};
3248 struct s2 {int (*f) (double a);};
3249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3255 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3261 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3263 CC="$ac_save_CC $ac_arg"
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271 $as_echo "$ac_try_echo") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^
*+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_c_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cc_c89=$ac_arg
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's
/^
/|
/' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext
3291 test "x$ac_cv_prog_cc_c89" != "xno" && break
3293 rm -f conftest.$ac_ext
3298 case "x$ac_cv_prog_cc_c89" in
3300 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3301 $as_echo "none needed" >&6; } ;;
3303 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3304 $as_echo "unsupported" >&6; } ;;
3306 CC="$CC $ac_cv_prog_cc_c89"
3307 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3308 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3313 ac_cpp='$CPP $CPPFLAGS'
3314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3315 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 ac_cpp='$CPP $CPPFLAGS'
3322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3323 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3326 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3327 # On Suns, sometimes $CPP names a directory.
3328 if test -n "$CPP" && test -d "$CPP"; then
3331 if test -z "$CPP"; then
3332 if test "${ac_cv_prog_CPP+set}" = set; then
3333 $as_echo_n "(cached) " >&6
3335 # Double quotes because CPP needs to be expanded
3336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3339 for ac_c_preproc_warn_flag in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser
,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3366 $as_echo "$ac_try_echo") >&5
3367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } >/dev/null && {
3374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3375 test ! -s conftest.err
3379 $as_echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3382 # Broken: fails on valid input.
3386 rm -f conftest.err conftest.$ac_ext
3388 # OK, works on sane cases. Now check whether nonexistent headers
3389 # can be detected and how.
3390 cat >conftest.$ac_ext <<_ACEOF
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3396 #include <ac_nonexistent.h>
3398 if { (ac_try="$ac_cpp conftest.$ac_ext"
3400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3401 *) ac_try_echo
=$ac_try;;
3403 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3404 $as_echo "$ac_try_echo") >&5
3405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1
>conftest.err
3409 cat conftest.err
>&5
3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev
/null
&& {
3412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3415 # Broken: success on invalid input.
3418 $as_echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 # Passes both tests.
3426 rm -f conftest.err conftest.
$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.err conftest.
$ac_ext
3431 if $ac_preproc_ok; then
3443 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3444 $as_echo "$CPP" >&6; }
3446 for ac_c_preproc_warn_flag
in '' yes
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3461 # include <limits.h>
3463 # include <assert.h>
3467 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3473 $as_echo "$ac_try_echo") >&5
3474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3476 grep -v '^ *+' conftest.er1 >conftest.err
3478 cat conftest.err >&5
3479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } >/dev/null && {
3481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 # Broken: fails on valid input.
3493 rm -f conftest.err conftest.$ac_ext
3495 # OK, works on sane cases. Now check whether nonexistent headers
3496 # can be detected and how.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #include <ac_nonexistent.h>
3505 if { (ac_try="$ac_cpp conftest.$ac_ext"
3507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3508 *) ac_try_echo
=$ac_try;;
3510 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3511 $as_echo "$ac_try_echo") >&5
3512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } >/dev
/null
&& {
3519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3520 test ! -s conftest.err
3522 # Broken: success on invalid input.
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.
$ac_ext >&5
3528 # Passes both tests.
3533 rm -f conftest.err conftest.
$ac_ext
3536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3537 rm -f conftest.err conftest.
$ac_ext
3538 if $ac_preproc_ok; then
3541 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3544 See \`config.log' for more details." >&5
3545 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3546 See \`config.log' for more details." >&2;}
3547 { (exit 1); exit 1; }; }; }
3551 ac_cpp
='$CPP $CPPFLAGS'
3552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3557 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3558 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3559 if test "${ac_cv_path_GREP+set}" = set; then
3560 $as_echo_n "(cached) " >&6
3562 if test -z "$GREP"; then
3563 ac_path_GREP_found
=false
3564 # Loop through the user's path and test for each of PROGNAME-LIST
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_prog
in grep ggrep
; do
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3573 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3574 # Check for GNU ac_path_GREP and select it if it is found.
3575 # Check for GNU $ac_path_GREP
3576 case `"$ac_path_GREP" --version 2>&1` in
3578 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3581 $as_echo_n 0123456789 >"conftest.in"
3584 cat "conftest.in" "conftest.in" >"conftest.tmp"
3585 mv "conftest.tmp" "conftest.in"
3586 cp "conftest.in" "conftest.nl"
3587 $as_echo 'GREP' >> "conftest.nl"
3588 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3589 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3590 ac_count
=`expr $ac_count + 1`
3591 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3592 # Best one so far, save it but keep looking for a better one
3593 ac_cv_path_GREP
="$ac_path_GREP"
3594 ac_path_GREP_max
=$ac_count
3596 # 10*(2^10) chars as input seems more than enough
3597 test $ac_count -gt 10 && break
3599 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3602 $ac_path_GREP_found && break 3
3607 if test -z "$ac_cv_path_GREP"; then
3608 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3609 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3610 { (exit 1); exit 1; }; }
3613 ac_cv_path_GREP
=$GREP
3617 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3618 $as_echo "$ac_cv_path_GREP" >&6; }
3619 GREP
="$ac_cv_path_GREP"
3622 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3623 $as_echo_n "checking for egrep... " >&6; }
3624 if test "${ac_cv_path_EGREP+set}" = set; then
3625 $as_echo_n "(cached) " >&6
3627 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3628 then ac_cv_path_EGREP
="$GREP -E"
3630 if test -z "$EGREP"; then
3631 ac_path_EGREP_found
=false
3632 # Loop through the user's path and test for each of PROGNAME-LIST
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_prog
in egrep; do
3639 for ac_exec_ext
in '' $ac_executable_extensions; do
3640 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3641 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3642 # Check for GNU ac_path_EGREP and select it if it is found.
3643 # Check for GNU $ac_path_EGREP
3644 case `"$ac_path_EGREP" --version 2>&1` in
3646 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3649 $as_echo_n 0123456789 >"conftest.in"
3652 cat "conftest.in" "conftest.in" >"conftest.tmp"
3653 mv "conftest.tmp" "conftest.in"
3654 cp "conftest.in" "conftest.nl"
3655 $as_echo 'EGREP' >> "conftest.nl"
3656 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3657 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3658 ac_count
=`expr $ac_count + 1`
3659 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3660 # Best one so far, save it but keep looking for a better one
3661 ac_cv_path_EGREP
="$ac_path_EGREP"
3662 ac_path_EGREP_max
=$ac_count
3664 # 10*(2^10) chars as input seems more than enough
3665 test $ac_count -gt 10 && break
3667 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3670 $ac_path_EGREP_found && break 3
3675 if test -z "$ac_cv_path_EGREP"; then
3676 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3677 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3678 { (exit 1); exit 1; }; }
3681 ac_cv_path_EGREP
=$EGREP
3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3687 $as_echo "$ac_cv_path_EGREP" >&6; }
3688 EGREP
="$ac_cv_path_EGREP"
3691 if test $ac_cv_c_compiler_gnu = yes; then
3692 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3693 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3694 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3695 $as_echo_n "(cached) " >&6
3697 ac_pattern
="Autoconf.*'x'"
3698 cat >conftest.
$ac_ext <<_ACEOF
3701 cat confdefs.h
>>conftest.
$ac_ext
3702 cat >>conftest.
$ac_ext <<_ACEOF
3703 /* end confdefs.h. */
3707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3708 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3709 ac_cv_prog_gcc_traditional
=yes
3711 ac_cv_prog_gcc_traditional
=no
3716 if test $ac_cv_prog_gcc_traditional = no
; then
3717 cat >conftest.
$ac_ext <<_ACEOF
3720 cat confdefs.h
>>conftest.
$ac_ext
3721 cat >>conftest.
$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3727 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3728 ac_cv_prog_gcc_traditional
=yes
3734 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3735 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3736 if test $ac_cv_prog_gcc_traditional = yes; then
3737 CC
="$CC -traditional"
3741 # Find a good install program. We prefer a C program (faster),
3742 # so one script is as good as another. But avoid the broken or
3743 # incompatible versions:
3744 # SysV /etc/install, /usr/sbin/install
3745 # SunOS /usr/etc/install
3746 # IRIX /sbin/install
3748 # AmigaOS /C/install, which installs bootblocks on floppy discs
3749 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3750 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3751 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3752 # OS/2's system install, which has a completely different semantic
3753 # ./install, which can be erroneously created by make from ./install.sh.
3754 # Reject install programs that cannot install multiple files.
3755 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3756 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3757 if test -z "$INSTALL"; then
3758 if test "${ac_cv_path_install+set}" = set; then
3759 $as_echo_n "(cached) " >&6
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 # Account for people who put trailing slashes in PATH elements.
3768 .
/ | .
// |
/cC
/* | \
3769 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3770 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3773 # OSF1 and SCO ODT 3.0 have their own names for install.
3774 # Don't use installbsd from OSF since it installs stuff as root
3776 for ac_prog
in ginstall scoinst
install; do
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3779 if test $ac_prog = install &&
3780 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3781 # AIX install. It has an incompatible calling convention.
3783 elif test $ac_prog = install &&
3784 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3785 # program-specific install script used by HP pwplus--don't use.
3788 rm -rf conftest.one conftest.two conftest.dir
3789 echo one
> conftest.one
3790 echo two
> conftest.two
3792 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3793 test -s conftest.one
&& test -s conftest.two
&&
3794 test -s conftest.dir
/conftest.one
&&
3795 test -s conftest.dir
/conftest.two
3797 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3810 rm -rf conftest.one conftest.two conftest.dir
3813 if test "${ac_cv_path_install+set}" = set; then
3814 INSTALL
=$ac_cv_path_install
3816 # As a last resort, use the slow shell script. Don't cache a
3817 # value for INSTALL within a source directory, because that will
3818 # break other packages using the cache if that directory is
3819 # removed, or if the value is a relative name.
3820 INSTALL
=$ac_install_sh
3823 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3824 $as_echo "$INSTALL" >&6; }
3826 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3827 # It thinks the first close brace ends the variable substitution.
3828 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3830 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3832 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3834 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3835 $as_echo_n "checking whether ln -s works... " >&6; }
3837 if test "$LN_S" = "ln -s"; then
3838 { $as_echo "$as_me:$LINENO: result: yes" >&5
3839 $as_echo "yes" >&6; }
3841 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3842 $as_echo "no, using $LN_S" >&6; }
3845 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3849 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3850 $as_echo_n "(cached) " >&6
3852 cat >conftest.
make <<\_ACEOF
3855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3867 { $as_echo "$as_me:$LINENO: result: yes" >&5
3868 $as_echo "yes" >&6; }
3871 { $as_echo "$as_me:$LINENO: result: no" >&5
3872 $as_echo "no" >&6; }
3873 SET_MAKE
="MAKE=${MAKE-make}"
3876 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3877 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3878 if test -z "$MKDIR_P"; then
3879 if test "${ac_cv_path_mkdir+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3886 test -z "$as_dir" && as_dir
=.
3887 for ac_prog
in mkdir gmkdir
; do
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3890 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3891 'mkdir (GNU coreutils) '* | \
3892 'mkdir (coreutils) '* | \
3893 'mkdir (fileutils) '4.1*)
3894 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3904 if test "${ac_cv_path_mkdir+set}" = set; then
3905 MKDIR_P
="$ac_cv_path_mkdir -p"
3907 # As a last resort, use the slow shell script. Don't cache a
3908 # value for MKDIR_P within a source directory, because that will
3909 # break other packages using the cache if that directory is
3910 # removed, or if the value is a relative name.
3911 test -d .
/--version && rmdir .
/--version
3912 MKDIR_P
="$ac_install_sh -d"
3915 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3916 $as_echo "$MKDIR_P" >&6; }
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3920 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3921 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if test "${ac_cv_prog_RANLIB+set}" = set; then
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$RANLIB"; then
3927 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3936 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3937 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 RANLIB
=$ac_cv_prog_RANLIB
3947 if test -n "$RANLIB"; then
3948 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3949 $as_echo "$RANLIB" >&6; }
3951 { $as_echo "$as_me:$LINENO: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_RANLIB"; then
3958 ac_ct_RANLIB
=$RANLIB
3959 # Extract the first word of "ranlib", so it can be a program name with args.
3960 set dummy ranlib
; ac_word
=$2
3961 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3964 $as_echo_n "(cached) " >&6
3966 if test -n "$ac_ct_RANLIB"; then
3967 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3977 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3987 if test -n "$ac_ct_RANLIB"; then
3988 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3989 $as_echo "$ac_ct_RANLIB" >&6; }
3991 { $as_echo "$as_me:$LINENO: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_RANLIB" = x
; then
3998 case $cross_compiling:$ac_tool_warned in
4000 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned
=yes ;;
4004 RANLIB
=$ac_ct_RANLIB
4007 RANLIB
="$ac_cv_prog_RANLIB"
4010 # Extract the first word of "cflow", so it can be a program name with args.
4011 set dummy cflow
; ac_word
=$2
4012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4015 $as_echo_n "(cached) " >&6
4019 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir
=.
4027 for ac_exec_ext
in '' $ac_executable_extensions; do
4028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4041 if test -n "$CFLOW_CMD"; then
4042 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4043 $as_echo "$CFLOW_CMD" >&6; }
4045 { $as_echo "$as_me:$LINENO: result: no" >&5
4046 $as_echo "no" >&6; }
4050 # Extract the first word of "cscope", so it can be a program name with args.
4051 set dummy cscope
; ac_word
=$2
4052 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 $as_echo_n "checking for $ac_word... " >&6; }
4054 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4055 $as_echo_n "(cached) " >&6
4059 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir
=.
4067 for ac_exec_ext
in '' $ac_executable_extensions; do
4068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4069 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4070 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4081 if test -n "$CSCOPE_CMD"; then
4082 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4083 $as_echo "$CSCOPE_CMD" >&6; }
4085 { $as_echo "$as_me:$LINENO: result: no" >&5
4086 $as_echo "no" >&6; }
4091 ################################################################################
4098 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4099 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4100 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4101 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4102 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4103 $as_echo_n "(cached) " >&6
4105 cat >conftest.
$ac_ext <<_ACEOF
4108 cat confdefs.h
>>conftest.
$ac_ext
4109 cat >>conftest.
$ac_ext <<_ACEOF
4110 /* end confdefs.h. */
4111 #include <sys/types.h>
4123 rm -f conftest.
$ac_objext
4124 if { (ac_try
="$ac_compile"
4126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4130 $as_echo "$ac_try_echo") >&5
4131 (eval "$ac_compile") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest.$ac_objext; then
4141 eval "$as_ac_Header=yes"
4143 $as_echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 eval "$as_ac_Header=no"
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_res=`eval 'as_val=${'$as_ac_Header'}
4152 $as_echo "$as_val"'`
4153 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4154 $as_echo "$ac_res" >&6; }
4155 as_val=`eval 'as_val=${'$as_ac_Header'}
4156 $as_echo "$as_val"'`
4157 if test "x$as_val" = x""yes; then
4158 cat >>confdefs.h <<_ACEOF
4159 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4162 ac_header_dirent=$ac_hdr; break
4166 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4167 if test $ac_header_dirent = dirent.h; then
4168 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4169 $as_echo_n "checking for library containing opendir... " >&6; }
4170 if test "${ac_cv_search_opendir+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4173 ac_func_search_save_LIBS=$LIBS
4174 cat >conftest.$ac_ext <<_ACEOF
4177 cat confdefs.h >>conftest.$ac_ext
4178 cat >>conftest.$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4181 /* Override any GCC internal prototype to avoid an error.
4182 Use char because int might match the return type of a GCC
4183 builtin and then its argument prototype would still apply. */
4196 for ac_lib in '' dir; do
4197 if test -z "$ac_lib"; then
4198 ac_res="none required"
4201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4203 rm -f conftest.$ac_objext conftest$ac_exeext
4204 if { (ac_try="$ac_link"
4206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4207 *) ac_try_echo
=$ac_try;;
4209 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4210 $as_echo "$ac_try_echo") >&5
4211 (eval "$ac_link") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1
>conftest.err
4215 cat conftest.err
>&5
4216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest
$ac_exeext && {
4221 test "$cross_compiling" = yes ||
4222 $as_test_x conftest
$ac_exeext
4224 ac_cv_search_opendir
=$ac_res
4226 $as_echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4232 rm -rf conftest.dSYM
4233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4235 if test "${ac_cv_search_opendir+set}" = set; then
4239 if test "${ac_cv_search_opendir+set}" = set; then
4242 ac_cv_search_opendir
=no
4245 LIBS
=$ac_func_search_save_LIBS
4247 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4248 $as_echo "$ac_cv_search_opendir" >&6; }
4249 ac_res
=$ac_cv_search_opendir
4250 if test "$ac_res" != no
; then
4251 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4256 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4257 $as_echo_n "checking for library containing opendir... " >&6; }
4258 if test "${ac_cv_search_opendir+set}" = set; then
4259 $as_echo_n "(cached) " >&6
4261 ac_func_search_save_LIBS
=$LIBS
4262 cat >conftest.
$ac_ext <<_ACEOF
4265 cat confdefs.h
>>conftest.
$ac_ext
4266 cat >>conftest.
$ac_ext <<_ACEOF
4267 /* end confdefs.h. */
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4284 for ac_lib
in '' x
; do
4285 if test -z "$ac_lib"; then
4286 ac_res
="none required"
4289 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4291 rm -f conftest.
$ac_objext conftest
$ac_exeext
4292 if { (ac_try
="$ac_link"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4298 $as_echo "$ac_try_echo") >&5
4299 (eval "$ac_link") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest$ac_exeext && {
4309 test "$cross_compiling" = yes ||
4310 $as_test_x conftest$ac_exeext
4312 ac_cv_search_opendir=$ac_res
4314 $as_echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4320 rm -rf conftest.dSYM
4321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4323 if test "${ac_cv_search_opendir+set}" = set; then
4327 if test "${ac_cv_search_opendir+set}" = set; then
4330 ac_cv_search_opendir=no
4333 LIBS=$ac_func_search_save_LIBS
4335 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4336 $as_echo "$ac_cv_search_opendir" >&6; }
4337 ac_res=$ac_cv_search_opendir
4338 if test "$ac_res" != no; then
4339 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4345 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4346 $as_echo_n "checking for ANSI C header files... " >&6; }
4347 if test "${ac_cv_header_stdc+set}" = set; then
4348 $as_echo_n "(cached) " >&6
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4369 rm -f conftest.$ac_objext
4370 if { (ac_try="$ac_compile"
4372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4373 *) ac_try_echo
=$ac_try;;
4375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4376 $as_echo "$ac_try_echo") >&5
4377 (eval "$ac_compile") 2>conftest.er1
4379 grep -v '^ *+' conftest.er1
>conftest.err
4381 cat conftest.err
>&5
4382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } && {
4384 test -z "$ac_c_werror_flag" ||
4385 test ! -s conftest.err
4386 } && test -s conftest.
$ac_objext; then
4387 ac_cv_header_stdc
=yes
4389 $as_echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.
$ac_ext >&5
4392 ac_cv_header_stdc
=no
4395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 if test $ac_cv_header_stdc = yes; then
4398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4399 cat >conftest.
$ac_ext <<_ACEOF
4402 cat confdefs.h
>>conftest.
$ac_ext
4403 cat >>conftest.
$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4409 $EGREP "memchr" >/dev
/null
2>&1; then
4412 ac_cv_header_stdc
=no
4418 if test $ac_cv_header_stdc = yes; then
4419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4420 cat >conftest.
$ac_ext <<_ACEOF
4423 cat confdefs.h
>>conftest.
$ac_ext
4424 cat >>conftest.
$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4430 $EGREP "free" >/dev
/null
2>&1; then
4433 ac_cv_header_stdc
=no
4439 if test $ac_cv_header_stdc = yes; then
4440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4441 if test "$cross_compiling" = yes; then
4444 cat >conftest.
$ac_ext <<_ACEOF
4447 cat confdefs.h
>>conftest.
$ac_ext
4448 cat >>conftest.
$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4452 #if ((' ' & 0x0FF) == 0x020)
4453 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4454 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4456 # define ISLOWER(c) \
4457 (('a' <= (c) && (c) <= 'i') \
4458 || ('j' <= (c) && (c) <= 'r') \
4459 || ('s' <= (c) && (c) <= 'z'))
4460 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4463 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4468 for (i = 0; i < 256; i++)
4469 if (XOR (islower (i), ISLOWER (i))
4470 || toupper (i) != TOUPPER (i))
4475 rm -f conftest
$ac_exeext
4476 if { (ac_try
="$ac_link"
4478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4482 $as_echo "$ac_try_echo") >&5
4483 (eval "$ac_link") 2>&5
4485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4487 { (case "(($ac_try" in
4488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4489 *) ac_try_echo
=$ac_try;;
4491 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4492 $as_echo "$ac_try_echo") >&5
4493 (eval "$ac_try") 2>&5
4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then
4499 $as_echo "$as_me: program exited with status $ac_status" >&5
4500 $as_echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.
$ac_ext >&5
4504 ac_cv_header_stdc
=no
4506 rm -rf conftest.dSYM
4507 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4514 $as_echo "$ac_cv_header_stdc" >&6; }
4515 if test $ac_cv_header_stdc = yes; then
4517 cat >>confdefs.h
<<\_ACEOF
4518 #define STDC_HEADERS 1
4523 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4524 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4525 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4526 $as_echo_n "(cached) " >&6
4528 cat >conftest.
$ac_ext <<_ACEOF
4531 cat confdefs.h
>>conftest.
$ac_ext
4532 cat >>conftest.
$ac_ext <<_ACEOF
4533 /* end confdefs.h. */
4534 #include <sys/types.h>
4535 #include <sys/wait.h>
4537 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4540 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4548 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4553 rm -f conftest.
$ac_objext
4554 if { (ac_try
="$ac_compile"
4556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560 $as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4563 grep -v '^ *+' conftest.er1 >conftest.err
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_cv_header_sys_wait_h=yes
4573 $as_echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4576 ac_cv_header_sys_wait_h=no
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4582 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4583 if test $ac_cv_header_sys_wait_h = yes; then
4585 cat >>confdefs.h <<\_ACEOF
4586 #define HAVE_SYS_WAIT_H 1
4591 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4592 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4593 if test "${ac_cv_header_time+set}" = set; then
4594 $as_echo_n "(cached) " >&6
4596 cat >conftest.$ac_ext <<_ACEOF
4599 cat confdefs.h >>conftest.$ac_ext
4600 cat >>conftest.$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4602 #include <sys/types.h>
4603 #include <sys/time.h>
4609 if ((struct tm *) 0)
4615 rm -f conftest.$ac_objext
4616 if { (ac_try="$ac_compile"
4618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4619 *) ac_try_echo
=$ac_try;;
4621 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4622 $as_echo "$ac_try_echo") >&5
4623 (eval "$ac_compile") 2>conftest.er1
4625 grep -v '^ *+' conftest.er1
>conftest.err
4627 cat conftest.err
>&5
4628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_c_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest.
$ac_objext; then
4633 ac_cv_header_time
=yes
4635 $as_echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.
$ac_ext >&5
4638 ac_cv_header_time
=no
4641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4643 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4644 $as_echo "$ac_cv_header_time" >&6; }
4645 if test $ac_cv_header_time = yes; then
4647 cat >>confdefs.h
<<\_ACEOF
4648 #define TIME_WITH_SYS_TIME 1
4654 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4664 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4665 inttypes.h stdint.h unistd.h
4667 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4669 $as_echo_n "checking for $ac_header... " >&6; }
4670 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4671 $as_echo_n "(cached) " >&6
4673 cat >conftest.
$ac_ext <<_ACEOF
4676 cat confdefs.h
>>conftest.
$ac_ext
4677 cat >>conftest.
$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4679 $ac_includes_default
4681 #include <$ac_header>
4683 rm -f conftest.
$ac_objext
4684 if { (ac_try
="$ac_compile"
4686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4690 $as_echo "$ac_try_echo") >&5
4691 (eval "$ac_compile") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest.$ac_objext; then
4701 eval "$as_ac_Header=yes"
4703 $as_echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4706 eval "$as_ac_Header=no"
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711 ac_res=`eval 'as_val=${'$as_ac_Header'}
4712 $as_echo "$as_val"'`
4713 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4714 $as_echo "$ac_res" >&6; }
4715 as_val=`eval 'as_val=${'$as_ac_Header'}
4716 $as_echo "$as_val"'`
4717 if test "x$as_val" = x""yes; then
4718 cat >>confdefs.h <<_ACEOF
4719 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4740 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4741 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4745 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4746 $as_echo_n "checking for $ac_header... " >&6; }
4747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4748 $as_echo_n "(cached) " >&6
4750 ac_res=`eval 'as_val=${'$as_ac_Header'}
4751 $as_echo "$as_val"'`
4752 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4753 $as_echo "$ac_res" >&6; }
4755 # Is the header compilable?
4756 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4757 $as_echo_n "checking $ac_header usability... " >&6; }
4758 cat >conftest.$ac_ext <<_ACEOF
4761 cat confdefs.h >>conftest.$ac_ext
4762 cat >>conftest.$ac_ext <<_ACEOF
4763 /* end confdefs.h. */
4764 $ac_includes_default
4765 #include <$ac_header>
4767 rm -f conftest.$ac_objext
4768 if { (ac_try="$ac_compile"
4770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4771 *) ac_try_echo
=$ac_try;;
4773 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4774 $as_echo "$ac_try_echo") >&5
4775 (eval "$ac_compile") 2>conftest.er1
4777 grep -v '^ *+' conftest.er1
>conftest.err
4779 cat conftest.err
>&5
4780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } && {
4782 test -z "$ac_c_werror_flag" ||
4783 test ! -s conftest.err
4784 } && test -s conftest.
$ac_objext; then
4785 ac_header_compiler
=yes
4787 $as_echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.
$ac_ext >&5
4790 ac_header_compiler
=no
4793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4794 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4795 $as_echo "$ac_header_compiler" >&6; }
4797 # Is the header present?
4798 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4799 $as_echo_n "checking $ac_header presence... " >&6; }
4800 cat >conftest.
$ac_ext <<_ACEOF
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 #include <$ac_header>
4808 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4811 *) ac_try_echo=$ac_try;;
4813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4814 $as_echo "$ac_try_echo") >&5
4815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } >/dev/null && {
4822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4825 ac_header_preproc=yes
4827 $as_echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4830 ac_header_preproc=no
4833 rm -f conftest.err conftest.$ac_ext
4834 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4835 $as_echo "$ac_header_preproc" >&6; }
4837 # So? What about this header?
4838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4841 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4843 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4844 ac_header_preproc=yes
4847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4848 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4850 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4852 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4854 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4856 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4858 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4862 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4863 $as_echo_n "checking for $ac_header... " >&6; }
4864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4865 $as_echo_n "(cached) " >&6
4867 eval "$as_ac_Header=\$ac_header_preproc"
4869 ac_res=`eval 'as_val=${'$as_ac_Header'}
4870 $as_echo "$as_val"'`
4871 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4872 $as_echo "$ac_res" >&6; }
4875 as_val=`eval 'as_val=${'$as_ac_Header'}
4876 $as_echo "$as_val"'`
4877 if test "x$as_val" = x""yes; then
4878 cat >>confdefs.h <<_ACEOF
4879 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4883 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4884 $as_echo "$as_me: error: bailing out" >&2;}
4885 { (exit 1); exit 1; }; }
4896 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4901 $as_echo_n "checking for $ac_header... " >&6; }
4902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4903 $as_echo_n "(cached) " >&6
4905 ac_res=`eval 'as_val=${'$as_ac_Header'}
4906 $as_echo "$as_val"'`
4907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4908 $as_echo "$ac_res" >&6; }
4910 # Is the header compilable?
4911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4912 $as_echo_n "checking $ac_header usability... " >&6; }
4913 cat >conftest.$ac_ext <<_ACEOF
4916 cat confdefs.h >>conftest.$ac_ext
4917 cat >>conftest.$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4919 $ac_includes_default
4920 #include <$ac_header>
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4926 *) ac_try_echo
=$ac_try;;
4928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930 (eval "$ac_compile") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1
>conftest.err
4934 cat conftest.err
>&5
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest.
$ac_objext; then
4940 ac_header_compiler
=yes
4942 $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4945 ac_header_compiler
=no
4948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4950 $as_echo "$ac_header_compiler" >&6; }
4952 # Is the header present?
4953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4954 $as_echo_n "checking $ac_header presence... " >&6; }
4955 cat >conftest.
$ac_ext <<_ACEOF
4958 cat confdefs.h
>>conftest.
$ac_ext
4959 cat >>conftest.
$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4961 #include <$ac_header>
4963 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4969 $as_echo "$ac_try_echo") >&5
4970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4972 grep -v '^ *+' conftest.er1 >conftest.err
4974 cat conftest.err >&5
4975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } >/dev/null && {
4977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4978 test ! -s conftest.err
4980 ac_header_preproc=yes
4982 $as_echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.$ac_ext >&5
4985 ac_header_preproc=no
4988 rm -f conftest.err conftest.$ac_ext
4989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4990 $as_echo "$ac_header_preproc" >&6; }
4992 # So? What about this header?
4993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4999 ac_header_preproc=yes
5002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5018 $as_echo_n "checking for $ac_header... " >&6; }
5019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5020 $as_echo_n "(cached) " >&6
5022 eval "$as_ac_Header=\$ac_header_preproc"
5024 ac_res=`eval 'as_val=${'$as_ac_Header'}
5025 $as_echo "$as_val"'`
5026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5027 $as_echo "$ac_res" >&6; }
5030 as_val=`eval 'as_val=${'$as_ac_Header'}
5031 $as_echo "$as_val"'`
5032 if test "x$as_val" = x""yes; then
5033 cat >>confdefs.h <<_ACEOF
5034 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5038 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5039 $as_echo "$as_me: error: bailing out" >&2;}
5040 { (exit 1); exit 1; }; }
5048 for ac_header in machine/endian.h sys/disk.h
5050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5052 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5053 $as_echo_n "checking for $ac_header... " >&6; }
5054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5055 $as_echo_n "(cached) " >&6
5057 ac_res=`eval 'as_val=${'$as_ac_Header'}
5058 $as_echo "$as_val"'`
5059 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5060 $as_echo "$ac_res" >&6; }
5062 # Is the header compilable?
5063 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5064 $as_echo_n "checking $ac_header usability... " >&6; }
5065 cat >conftest.$ac_ext <<_ACEOF
5068 cat confdefs.h >>conftest.$ac_ext
5069 cat >>conftest.$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5071 $ac_includes_default
5072 #include <$ac_header>
5074 rm -f conftest.$ac_objext
5075 if { (ac_try="$ac_compile"
5077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5078 *) ac_try_echo
=$ac_try;;
5080 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5081 $as_echo "$ac_try_echo") >&5
5082 (eval "$ac_compile") 2>conftest.er1
5084 grep -v '^ *+' conftest.er1
>conftest.err
5086 cat conftest.err
>&5
5087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } && {
5089 test -z "$ac_c_werror_flag" ||
5090 test ! -s conftest.err
5091 } && test -s conftest.
$ac_objext; then
5092 ac_header_compiler
=yes
5094 $as_echo "$as_me: failed program was:" >&5
5095 sed 's/^/| /' conftest.
$ac_ext >&5
5097 ac_header_compiler
=no
5100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5101 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5102 $as_echo "$ac_header_compiler" >&6; }
5104 # Is the header present?
5105 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5106 $as_echo_n "checking $ac_header presence... " >&6; }
5107 cat >conftest.
$ac_ext <<_ACEOF
5110 cat confdefs.h
>>conftest.
$ac_ext
5111 cat >>conftest.
$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5113 #include <$ac_header>
5115 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5121 $as_echo "$ac_try_echo") >&5
5122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null && {
5129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5130 test ! -s conftest.err
5132 ac_header_preproc=yes
5134 $as_echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.$ac_ext >&5
5137 ac_header_preproc=no
5140 rm -f conftest.err conftest.$ac_ext
5141 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5142 $as_echo "$ac_header_preproc" >&6; }
5144 # So? What about this header?
5145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5148 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5150 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5151 ac_header_preproc=yes
5154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5155 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5157 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5159 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5161 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5163 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5165 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5169 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5170 $as_echo_n "checking for $ac_header... " >&6; }
5171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5172 $as_echo_n "(cached) " >&6
5174 eval "$as_ac_Header=\$ac_header_preproc"
5176 ac_res=`eval 'as_val=${'$as_ac_Header'}
5177 $as_echo "$as_val"'`
5178 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5179 $as_echo "$ac_res" >&6; }
5182 as_val=`eval 'as_val=${'$as_ac_Header'}
5183 $as_echo "$as_val"'`
5184 if test "x$as_val" = x""yes; then
5185 cat >>confdefs.h <<_ACEOF
5186 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5190 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5191 $as_echo "$as_me: error: bailing out" >&2;}
5192 { (exit 1); exit 1; }; }
5215 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5216 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5217 sys/types.h unistd.h
5219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5221 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5222 $as_echo_n "checking for $ac_header... " >&6; }
5223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5224 $as_echo_n "(cached) " >&6
5226 ac_res=`eval 'as_val=${'$as_ac_Header'}
5227 $as_echo "$as_val"'`
5228 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5229 $as_echo "$ac_res" >&6; }
5231 # Is the header compilable?
5232 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5233 $as_echo_n "checking $ac_header usability... " >&6; }
5234 cat >conftest.$ac_ext <<_ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 $ac_includes_default
5241 #include <$ac_header>
5243 rm -f conftest.$ac_objext
5244 if { (ac_try="$ac_compile"
5246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5247 *) ac_try_echo
=$ac_try;;
5249 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5250 $as_echo "$ac_try_echo") >&5
5251 (eval "$ac_compile") 2>conftest.er1
5253 grep -v '^ *+' conftest.er1
>conftest.err
5255 cat conftest.err
>&5
5256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } && {
5258 test -z "$ac_c_werror_flag" ||
5259 test ! -s conftest.err
5260 } && test -s conftest.
$ac_objext; then
5261 ac_header_compiler
=yes
5263 $as_echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.
$ac_ext >&5
5266 ac_header_compiler
=no
5269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5270 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5271 $as_echo "$ac_header_compiler" >&6; }
5273 # Is the header present?
5274 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5275 $as_echo_n "checking $ac_header presence... " >&6; }
5276 cat >conftest.
$ac_ext <<_ACEOF
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5282 #include <$ac_header>
5284 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5290 $as_echo "$ac_try_echo") >&5
5291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5293 grep -v '^ *+' conftest.er1 >conftest.err
5295 cat conftest.err >&5
5296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } >/dev/null && {
5298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5299 test ! -s conftest.err
5301 ac_header_preproc=yes
5303 $as_echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 ac_header_preproc=no
5309 rm -f conftest.err conftest.$ac_ext
5310 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5311 $as_echo "$ac_header_preproc" >&6; }
5313 # So? What about this header?
5314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5317 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5319 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5320 ac_header_preproc=yes
5323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5324 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5326 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5328 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5330 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5332 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5334 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5338 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5339 $as_echo_n "checking for $ac_header... " >&6; }
5340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5341 $as_echo_n "(cached) " >&6
5343 eval "$as_ac_Header=\$ac_header_preproc"
5345 ac_res=`eval 'as_val=${'$as_ac_Header'}
5346 $as_echo "$as_val"'`
5347 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5348 $as_echo "$ac_res" >&6; }
5351 as_val=`eval 'as_val=${'$as_ac_Header'}
5352 $as_echo "$as_val"'`
5353 if test "x$as_val" = x""yes; then
5354 cat >>confdefs.h <<_ACEOF
5355 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5359 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5360 $as_echo "$as_me: error: bailing out" >&2;}
5361 { (exit 1); exit 1; }; }
5368 for ac_header in termios.h sys/statvfs.h
5370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5372 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5373 $as_echo_n "checking for $ac_header... " >&6; }
5374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5375 $as_echo_n "(cached) " >&6
5377 ac_res=`eval 'as_val=${'$as_ac_Header'}
5378 $as_echo "$as_val"'`
5379 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5380 $as_echo "$ac_res" >&6; }
5382 # Is the header compilable?
5383 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5384 $as_echo_n "checking $ac_header usability... " >&6; }
5385 cat >conftest.$ac_ext <<_ACEOF
5388 cat confdefs.h >>conftest.$ac_ext
5389 cat >>conftest.$ac_ext <<_ACEOF
5390 /* end confdefs.h. */
5391 $ac_includes_default
5392 #include <$ac_header>
5394 rm -f conftest.$ac_objext
5395 if { (ac_try="$ac_compile"
5397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5398 *) ac_try_echo
=$ac_try;;
5400 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5401 $as_echo "$ac_try_echo") >&5
5402 (eval "$ac_compile") 2>conftest.er1
5404 grep -v '^ *+' conftest.er1
>conftest.err
5406 cat conftest.err
>&5
5407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } && {
5409 test -z "$ac_c_werror_flag" ||
5410 test ! -s conftest.err
5411 } && test -s conftest.
$ac_objext; then
5412 ac_header_compiler
=yes
5414 $as_echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.
$ac_ext >&5
5417 ac_header_compiler
=no
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5422 $as_echo "$ac_header_compiler" >&6; }
5424 # Is the header present?
5425 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5426 $as_echo_n "checking $ac_header presence... " >&6; }
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 #include <$ac_header>
5435 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5441 $as_echo "$ac_try_echo") >&5
5442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5444 grep -v '^ *+' conftest.er1 >conftest.err
5446 cat conftest.err >&5
5447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } >/dev/null && {
5449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5450 test ! -s conftest.err
5452 ac_header_preproc=yes
5454 $as_echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.$ac_ext >&5
5457 ac_header_preproc=no
5460 rm -f conftest.err conftest.$ac_ext
5461 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5462 $as_echo "$ac_header_preproc" >&6; }
5464 # So? What about this header?
5465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5468 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5470 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5471 ac_header_preproc=yes
5474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5475 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5477 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5478 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5479 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5480 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5481 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5482 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5483 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5484 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5485 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5489 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5490 $as_echo_n "checking for $ac_header... " >&6; }
5491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5492 $as_echo_n "(cached) " >&6
5494 eval "$as_ac_Header=\$ac_header_preproc"
5496 ac_res=`eval 'as_val=${'$as_ac_Header'}
5497 $as_echo "$as_val"'`
5498 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5499 $as_echo "$ac_res" >&6; }
5502 as_val=`eval 'as_val=${'$as_ac_Header'}
5503 $as_echo "$as_val"'`
5504 if test "x$as_val" = x""yes; then
5505 cat >>confdefs.h <<_ACEOF
5506 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5514 ################################################################################
5515 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5516 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5517 if test "${ac_cv_c_const+set}" = set; then
5518 $as_echo_n "(cached) " >&6
5520 cat >conftest.$ac_ext <<_ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5530 /* FIXME: Include the comments suggested by Paul. */
5532 /* Ultrix mips cc rejects this. */
5533 typedef int charset[2];
5535 /* SunOS 4.1.1 cc rejects this. */
5536 char const *const *pcpcc;
5538 /* NEC SVR4.0.2 mips cc rejects this. */
5539 struct point {int x, y;};
5540 static struct point const zero = {0,0};
5541 /* AIX XL C 1.02.0.0 rejects this.
5542 It does not let you subtract one const X* pointer from another in
5543 an arm of an if-expression whose if-part is not a constant
5545 const char *g = "string";
5546 pcpcc = &g + (g ? g-g : 0);
5547 /* HPUX 7.0 cc rejects these. */
5549 ppc = (char**) pcpcc;
5550 pcpcc = (char const *const *) ppc;
5551 { /* SCO 3.2v4 cc rejects this. */
5553 char const *s = 0 ? (char *) 0 : (char const *) 0;
5558 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5560 const int *foo = &x[0];
5563 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5564 typedef const int *iptr;
5568 { /* AIX XL C 1.02.0.0 rejects this saying
5569 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5570 struct s { int j; const int *ap[3]; };
5571 struct s *b; b->j = 5;
5573 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5577 return !cs[0] && !zero.x;
5584 rm -f conftest.$ac_objext
5585 if { (ac_try="$ac_compile"
5587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5588 *) ac_try_echo
=$ac_try;;
5590 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5591 $as_echo "$ac_try_echo") >&5
5592 (eval "$ac_compile") 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } && {
5599 test -z "$ac_c_werror_flag" ||
5600 test ! -s conftest.err
5601 } && test -s conftest.
$ac_objext; then
5604 $as_echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.
$ac_ext >&5
5610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5613 $as_echo "$ac_cv_c_const" >&6; }
5614 if test $ac_cv_c_const = no
; then
5616 cat >>confdefs.h
<<\_ACEOF
5622 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5623 $as_echo_n "checking for inline... " >&6; }
5624 if test "${ac_cv_c_inline+set}" = set; then
5625 $as_echo_n "(cached) " >&6
5628 for ac_kw
in inline __inline__ __inline
; do
5629 cat >conftest.
$ac_ext <<_ACEOF
5632 cat confdefs.h
>>conftest.
$ac_ext
5633 cat >>conftest.
$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5637 static $ac_kw foo_t static_foo () {return 0; }
5638 $ac_kw foo_t foo () {return 0; }
5642 rm -f conftest.
$ac_objext
5643 if { (ac_try
="$ac_compile"
5645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5649 $as_echo "$ac_try_echo") >&5
5650 (eval "$ac_compile") 2>conftest.er1
5652 grep -v '^ *+' conftest.er1 >conftest.err
5654 cat conftest.err >&5
5655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } && {
5657 test -z "$ac_c_werror_flag" ||
5658 test ! -s conftest.err
5659 } && test -s conftest.$ac_objext; then
5660 ac_cv_c_inline=$ac_kw
5662 $as_echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669 test "$ac_cv_c_inline" != no && break
5673 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5674 $as_echo "$ac_cv_c_inline" >&6; }
5677 case $ac_cv_c_inline in
5680 case $ac_cv_c_inline in
5682 *) ac_val=$ac_cv_c_inline;;
5684 cat >>confdefs.h <<_ACEOF
5686 #define inline $ac_val
5692 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5693 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5694 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5695 $as_echo_n "(cached) " >&6
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 $ac_includes_default
5707 static struct stat ac_aggr;
5708 if (ac_aggr.st_rdev)
5714 rm -f conftest.$ac_objext
5715 if { (ac_try="$ac_compile"
5717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5718 *) ac_try_echo
=$ac_try;;
5720 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5721 $as_echo "$ac_try_echo") >&5
5722 (eval "$ac_compile") 2>conftest.er1
5724 grep -v '^ *+' conftest.er1
>conftest.err
5726 cat conftest.err
>&5
5727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } && {
5729 test -z "$ac_c_werror_flag" ||
5730 test ! -s conftest.err
5731 } && test -s conftest.
$ac_objext; then
5732 ac_cv_member_struct_stat_st_rdev
=yes
5734 $as_echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.
$ac_ext >&5
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 $ac_includes_default
5747 static struct stat ac_aggr;
5748 if (sizeof ac_aggr.st_rdev)
5754 rm -f conftest.
$ac_objext
5755 if { (ac_try
="$ac_compile"
5757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5758 *) ac_try_echo=$ac_try;;
5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5761 $as_echo "$ac_try_echo") >&5
5762 (eval "$ac_compile") 2>conftest.er1
5764 grep -v '^ *+' conftest.er1 >conftest.err
5766 cat conftest.err >&5
5767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } && {
5769 test -z "$ac_c_werror_flag" ||
5770 test ! -s conftest.err
5771 } && test -s conftest.$ac_objext; then
5772 ac_cv_member_struct_stat_st_rdev=yes
5774 $as_echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.$ac_ext >&5
5777 ac_cv_member_struct_stat_st_rdev=no
5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5785 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5786 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5787 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5789 cat >>confdefs.h <<_ACEOF
5790 #define HAVE_STRUCT_STAT_ST_RDEV 1
5796 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5797 $as_echo_n "checking for off_t... " >&6; }
5798 if test "${ac_cv_type_off_t+set}" = set; then
5799 $as_echo_n "(cached) " >&6
5802 cat >conftest.$ac_ext <<_ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 $ac_includes_default
5818 rm -f conftest.$ac_objext
5819 if { (ac_try="$ac_compile"
5821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5822 *) ac_try_echo
=$ac_try;;
5824 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5825 $as_echo "$ac_try_echo") >&5
5826 (eval "$ac_compile") 2>conftest.er1
5828 grep -v '^ *+' conftest.er1
>conftest.err
5830 cat conftest.err
>&5
5831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && {
5833 test -z "$ac_c_werror_flag" ||
5834 test ! -s conftest.err
5835 } && test -s conftest.
$ac_objext; then
5836 cat >conftest.
$ac_ext <<_ACEOF
5839 cat confdefs.h
>>conftest.
$ac_ext
5840 cat >>conftest.
$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5842 $ac_includes_default
5846 if (sizeof ((off_t)))
5852 rm -f conftest.
$ac_objext
5853 if { (ac_try
="$ac_compile"
5855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5856 *) ac_try_echo=$ac_try;;
5858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5859 $as_echo "$ac_try_echo") >&5
5860 (eval "$ac_compile") 2>conftest.er1
5862 grep -v '^ *+' conftest.er1 >conftest.err
5864 cat conftest.err >&5
5865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && {
5867 test -z "$ac_c_werror_flag" ||
5868 test ! -s conftest.err
5869 } && test -s conftest.$ac_objext; then
5872 $as_echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.$ac_ext >&5
5875 ac_cv_type_off_t=yes
5878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5880 $as_echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5888 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5889 $as_echo "$ac_cv_type_off_t" >&6; }
5890 if test "x$ac_cv_type_off_t" = x""yes; then
5894 cat >>confdefs.h <<_ACEOF
5895 #define off_t long int
5900 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5901 $as_echo_n "checking for pid_t... " >&6; }
5902 if test "${ac_cv_type_pid_t+set}" = set; then
5903 $as_echo_n "(cached) " >&6
5906 cat >conftest.$ac_ext <<_ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 $ac_includes_default
5922 rm -f conftest.$ac_objext
5923 if { (ac_try="$ac_compile"
5925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5926 *) ac_try_echo
=$ac_try;;
5928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5929 $as_echo "$ac_try_echo") >&5
5930 (eval "$ac_compile") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && {
5937 test -z "$ac_c_werror_flag" ||
5938 test ! -s conftest.err
5939 } && test -s conftest.
$ac_objext; then
5940 cat >conftest.
$ac_ext <<_ACEOF
5943 cat confdefs.h
>>conftest.
$ac_ext
5944 cat >>conftest.
$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5946 $ac_includes_default
5950 if (sizeof ((pid_t)))
5956 rm -f conftest.
$ac_objext
5957 if { (ac_try
="$ac_compile"
5959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5960 *) ac_try_echo=$ac_try;;
5962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5963 $as_echo "$ac_try_echo") >&5
5964 (eval "$ac_compile") 2>conftest.er1
5966 grep -v '^ *+' conftest.er1 >conftest.err
5968 cat conftest.err >&5
5969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); } && {
5971 test -z "$ac_c_werror_flag" ||
5972 test ! -s conftest.err
5973 } && test -s conftest.$ac_objext; then
5976 $as_echo "$as_me: failed program was:" >&5
5977 sed 's/^/| /' conftest.$ac_ext >&5
5979 ac_cv_type_pid_t=yes
5982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5984 $as_echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5992 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5993 $as_echo "$ac_cv_type_pid_t" >&6; }
5994 if test "x$ac_cv_type_pid_t" = x""yes; then
5998 cat >>confdefs.h <<_ACEOF
6004 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6005 $as_echo_n "checking return type of signal handlers... " >&6; }
6006 if test "${ac_cv_type_signal+set}" = set; then
6007 $as_echo_n "(cached) " >&6
6009 cat >conftest.$ac_ext <<_ACEOF
6012 cat confdefs.h >>conftest.$ac_ext
6013 cat >>conftest.$ac_ext <<_ACEOF
6014 /* end confdefs.h. */
6015 #include <sys/types.h>
6021 return *(signal (0, 0)) (0) == 1;
6026 rm -f conftest.$ac_objext
6027 if { (ac_try="$ac_compile"
6029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6030 *) ac_try_echo
=$ac_try;;
6032 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6033 $as_echo "$ac_try_echo") >&5
6034 (eval "$ac_compile") 2>conftest.er1
6036 grep -v '^ *+' conftest.er1
>conftest.err
6038 cat conftest.err
>&5
6039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } && {
6041 test -z "$ac_c_werror_flag" ||
6042 test ! -s conftest.err
6043 } && test -s conftest.
$ac_objext; then
6044 ac_cv_type_signal
=int
6046 $as_echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.
$ac_ext >&5
6049 ac_cv_type_signal
=void
6052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6054 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6055 $as_echo "$ac_cv_type_signal" >&6; }
6057 cat >>confdefs.h
<<_ACEOF
6058 #define RETSIGTYPE $ac_cv_type_signal
6062 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6063 $as_echo_n "checking for size_t... " >&6; }
6064 if test "${ac_cv_type_size_t+set}" = set; then
6065 $as_echo_n "(cached) " >&6
6067 ac_cv_type_size_t
=no
6068 cat >conftest.
$ac_ext <<_ACEOF
6071 cat confdefs.h
>>conftest.
$ac_ext
6072 cat >>conftest.
$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 $ac_includes_default
6078 if (sizeof (size_t))
6084 rm -f conftest.
$ac_objext
6085 if { (ac_try
="$ac_compile"
6087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6088 *) ac_try_echo=$ac_try;;
6090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6091 $as_echo "$ac_try_echo") >&5
6092 (eval "$ac_compile") 2>conftest.er1
6094 grep -v '^ *+' conftest.er1 >conftest.err
6096 cat conftest.err >&5
6097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } && {
6099 test -z "$ac_c_werror_flag" ||
6100 test ! -s conftest.err
6101 } && test -s conftest.$ac_objext; then
6102 cat >conftest.$ac_ext <<_ACEOF
6105 cat confdefs.h >>conftest.$ac_ext
6106 cat >>conftest.$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 $ac_includes_default
6112 if (sizeof ((size_t)))
6118 rm -f conftest.$ac_objext
6119 if { (ac_try="$ac_compile"
6121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6122 *) ac_try_echo
=$ac_try;;
6124 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6125 $as_echo "$ac_try_echo") >&5
6126 (eval "$ac_compile") 2>conftest.er1
6128 grep -v '^ *+' conftest.er1
>conftest.err
6130 cat conftest.err
>&5
6131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); } && {
6133 test -z "$ac_c_werror_flag" ||
6134 test ! -s conftest.err
6135 } && test -s conftest.
$ac_objext; then
6138 $as_echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.
$ac_ext >&5
6141 ac_cv_type_size_t
=yes
6144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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_type_size_t" >&5
6155 $as_echo "$ac_cv_type_size_t" >&6; }
6156 if test "x$ac_cv_type_size_t" = x
""yes; then
6160 cat >>confdefs.h
<<_ACEOF
6161 #define size_t unsigned int
6166 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6167 $as_echo_n "checking for mode_t... " >&6; }
6168 if test "${ac_cv_type_mode_t+set}" = set; then
6169 $as_echo_n "(cached) " >&6
6171 ac_cv_type_mode_t
=no
6172 cat >conftest.
$ac_ext <<_ACEOF
6175 cat confdefs.h
>>conftest.
$ac_ext
6176 cat >>conftest.
$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6178 $ac_includes_default
6182 if (sizeof (mode_t))
6188 rm -f conftest.
$ac_objext
6189 if { (ac_try
="$ac_compile"
6191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6192 *) ac_try_echo=$ac_try;;
6194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6195 $as_echo "$ac_try_echo") >&5
6196 (eval "$ac_compile") 2>conftest.er1
6198 grep -v '^ *+' conftest.er1 >conftest.err
6200 cat conftest.err >&5
6201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); } && {
6203 test -z "$ac_c_werror_flag" ||
6204 test ! -s conftest.err
6205 } && test -s conftest.$ac_objext; then
6206 cat >conftest.$ac_ext <<_ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6212 $ac_includes_default
6216 if (sizeof ((mode_t)))
6222 rm -f conftest.$ac_objext
6223 if { (ac_try="$ac_compile"
6225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6226 *) ac_try_echo
=$ac_try;;
6228 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6229 $as_echo "$ac_try_echo") >&5
6230 (eval "$ac_compile") 2>conftest.er1
6232 grep -v '^ *+' conftest.er1
>conftest.err
6234 cat conftest.err
>&5
6235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } && {
6237 test -z "$ac_c_werror_flag" ||
6238 test ! -s conftest.err
6239 } && test -s conftest.
$ac_objext; then
6242 $as_echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.
$ac_ext >&5
6245 ac_cv_type_mode_t
=yes
6248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6250 $as_echo "$as_me: failed program was:" >&5
6251 sed 's/^/| /' conftest.
$ac_ext >&5
6256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6258 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6259 $as_echo "$ac_cv_type_mode_t" >&6; }
6260 if test "x$ac_cv_type_mode_t" = x
""yes; then
6264 cat >>confdefs.h
<<_ACEOF
6270 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6271 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6272 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6273 $as_echo_n "(cached) " >&6
6275 cat >conftest.
$ac_ext <<_ACEOF
6278 cat confdefs.h
>>conftest.
$ac_ext
6279 cat >>conftest.
$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6281 $ac_includes_default
6285 static struct stat ac_aggr;
6286 if (ac_aggr.st_rdev)
6292 rm -f conftest.
$ac_objext
6293 if { (ac_try
="$ac_compile"
6295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6296 *) ac_try_echo=$ac_try;;
6298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6299 $as_echo "$ac_try_echo") >&5
6300 (eval "$ac_compile") 2>conftest.er1
6302 grep -v '^ *+' conftest.er1 >conftest.err
6304 cat conftest.err >&5
6305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } && {
6307 test -z "$ac_c_werror_flag" ||
6308 test ! -s conftest.err
6309 } && test -s conftest.$ac_objext; then
6310 ac_cv_member_struct_stat_st_rdev=yes
6312 $as_echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.$ac_ext >&5
6315 cat >conftest.$ac_ext <<_ACEOF
6318 cat confdefs.h >>conftest.$ac_ext
6319 cat >>conftest.$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 $ac_includes_default
6325 static struct stat ac_aggr;
6326 if (sizeof ac_aggr.st_rdev)
6332 rm -f conftest.$ac_objext
6333 if { (ac_try="$ac_compile"
6335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6336 *) ac_try_echo
=$ac_try;;
6338 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6339 $as_echo "$ac_try_echo") >&5
6340 (eval "$ac_compile") 2>conftest.er1
6342 grep -v '^ *+' conftest.er1
>conftest.err
6344 cat conftest.err
>&5
6345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } && {
6347 test -z "$ac_c_werror_flag" ||
6348 test ! -s conftest.err
6349 } && test -s conftest.
$ac_objext; then
6350 ac_cv_member_struct_stat_st_rdev
=yes
6352 $as_echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.
$ac_ext >&5
6355 ac_cv_member_struct_stat_st_rdev
=no
6358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6363 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6364 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6365 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6367 cat >>confdefs.h
<<_ACEOF
6368 #define HAVE_STRUCT_STAT_ST_RDEV 1
6374 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6375 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6376 if test "${ac_cv_struct_tm+set}" = set; then
6377 $as_echo_n "(cached) " >&6
6379 cat >conftest.
$ac_ext <<_ACEOF
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 #include <sys/types.h>
6392 int *p = &tm.tm_sec;
6398 rm -f conftest.
$ac_objext
6399 if { (ac_try
="$ac_compile"
6401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6402 *) ac_try_echo=$ac_try;;
6404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6405 $as_echo "$ac_try_echo") >&5
6406 (eval "$ac_compile") 2>conftest.er1
6408 grep -v '^ *+' conftest.er1 >conftest.err
6410 cat conftest.err >&5
6411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); } && {
6413 test -z "$ac_c_werror_flag" ||
6414 test ! -s conftest.err
6415 } && test -s conftest.$ac_objext; then
6416 ac_cv_struct_tm=time.h
6418 $as_echo "$as_me: failed program was:" >&5
6419 sed 's/^/| /' conftest.$ac_ext >&5
6421 ac_cv_struct_tm=sys/time.h
6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6426 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6427 $as_echo "$ac_cv_struct_tm" >&6; }
6428 if test $ac_cv_struct_tm = sys/time.h; then
6430 cat >>confdefs.h <<\_ACEOF
6431 #define TM_IN_SYS_TIME 1
6437 ################################################################################
6455 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6456 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6460 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6461 $as_echo_n "checking for $ac_func... " >&6; }
6462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6463 $as_echo_n "(cached) " >&6
6465 cat >conftest.$ac_ext <<_ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6473 #define $ac_func innocuous_$ac_func
6475 /* System header to define __stub macros and hopefully few prototypes,
6476 which can conflict with char $ac_func (); below.
6477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6478 <limits.h> exists even on freestanding compilers. */
6481 # include <limits.h>
6483 # include <assert.h>
6488 /* Override any GCC internal prototype to avoid an error.
6489 Use char because int might match the return type of a GCC
6490 builtin and then its argument prototype would still apply. */
6495 /* The GNU C library defines this for functions which it implements
6496 to always fail with ENOSYS. Some functions are actually named
6497 something starting with __ and the normal name is an alias. */
6498 #if defined __stub_$ac_func || defined __stub___$ac_func
6510 rm -f conftest.$ac_objext conftest$ac_exeext
6511 if { (ac_try="$ac_link"
6513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6514 *) ac_try_echo
=$ac_try;;
6516 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6517 $as_echo "$ac_try_echo") >&5
6518 (eval "$ac_link") 2>conftest.er1
6520 grep -v '^ *+' conftest.er1
>conftest.err
6522 cat conftest.err
>&5
6523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } && {
6525 test -z "$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6527 } && test -s conftest
$ac_exeext && {
6528 test "$cross_compiling" = yes ||
6529 $as_test_x conftest
$ac_exeext
6531 eval "$as_ac_var=yes"
6533 $as_echo "$as_me: failed program was:" >&5
6534 sed 's/^/| /' conftest.
$ac_ext >&5
6536 eval "$as_ac_var=no"
6539 rm -rf conftest.dSYM
6540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6541 conftest
$ac_exeext conftest.
$ac_ext
6543 ac_res
=`eval 'as_val=${'$as_ac_var'}
6544 $as_echo "$as_val"'`
6545 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6546 $as_echo "$ac_res" >&6; }
6547 as_val
=`eval 'as_val=${'$as_ac_var'}
6548 $as_echo "$as_val"'`
6549 if test "x$as_val" = x
""yes; then
6550 cat >>confdefs.h
<<_ACEOF
6551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6555 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6556 $as_echo "$as_me: error: bailing out" >&2;}
6557 { (exit 1); exit 1; }; }
6562 for ac_func
in siginterrupt
6564 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6565 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6566 $as_echo_n "checking for $ac_func... " >&6; }
6567 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6568 $as_echo_n "(cached) " >&6
6570 cat >conftest.
$ac_ext <<_ACEOF
6573 cat confdefs.h
>>conftest.
$ac_ext
6574 cat >>conftest.
$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6578 #define $ac_func innocuous_$ac_func
6580 /* System header to define __stub macros and hopefully few prototypes,
6581 which can conflict with char $ac_func (); below.
6582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6583 <limits.h> exists even on freestanding compilers. */
6586 # include <limits.h>
6588 # include <assert.h>
6593 /* Override any GCC internal prototype to avoid an error.
6594 Use char because int might match the return type of a GCC
6595 builtin and then its argument prototype would still apply. */
6600 /* The GNU C library defines this for functions which it implements
6601 to always fail with ENOSYS. Some functions are actually named
6602 something starting with __ and the normal name is an alias. */
6603 #if defined __stub_$ac_func || defined __stub___$ac_func
6615 rm -f conftest.
$ac_objext conftest
$ac_exeext
6616 if { (ac_try
="$ac_link"
6618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6622 $as_echo "$ac_try_echo") >&5
6623 (eval "$ac_link") 2>conftest.er1
6625 grep -v '^ *+' conftest.er1 >conftest.err
6627 cat conftest.err >&5
6628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } && {
6630 test -z "$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6632 } && test -s conftest$ac_exeext && {
6633 test "$cross_compiling" = yes ||
6634 $as_test_x conftest$ac_exeext
6636 eval "$as_ac_var=yes"
6638 $as_echo "$as_me: failed program was:" >&5
6639 sed 's/^/| /' conftest.$ac_ext >&5
6641 eval "$as_ac_var=no"
6644 rm -rf conftest.dSYM
6645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6646 conftest$ac_exeext conftest.$ac_ext
6648 ac_res=`eval 'as_val=${'$as_ac_var'}
6649 $as_echo "$as_val"'`
6650 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6651 $as_echo "$ac_res" >&6; }
6652 as_val=`eval 'as_val=${'$as_ac_var'}
6653 $as_echo "$as_val"'`
6654 if test "x$as_val" = x""yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6662 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6663 # for constant arguments. Useless!
6664 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6665 $as_echo_n "checking for working alloca.h... " >&6; }
6666 if test "${ac_cv_working_alloca_h+set}" = set; then
6667 $as_echo_n "(cached) " >&6
6669 cat >conftest.$ac_ext <<_ACEOF
6672 cat confdefs.h >>conftest.$ac_ext
6673 cat >>conftest.$ac_ext <<_ACEOF
6674 /* end confdefs.h. */
6679 char *p = (char *) alloca (2 * sizeof (int));
6685 rm -f conftest.$ac_objext conftest$ac_exeext
6686 if { (ac_try="$ac_link"
6688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6689 *) ac_try_echo
=$ac_try;;
6691 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6692 $as_echo "$ac_try_echo") >&5
6693 (eval "$ac_link") 2>conftest.er1
6695 grep -v '^ *+' conftest.er1
>conftest.err
6697 cat conftest.err
>&5
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } && {
6700 test -z "$ac_c_werror_flag" ||
6701 test ! -s conftest.err
6702 } && test -s conftest
$ac_exeext && {
6703 test "$cross_compiling" = yes ||
6704 $as_test_x conftest
$ac_exeext
6706 ac_cv_working_alloca_h
=yes
6708 $as_echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.
$ac_ext >&5
6711 ac_cv_working_alloca_h
=no
6714 rm -rf conftest.dSYM
6715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6716 conftest
$ac_exeext conftest.
$ac_ext
6718 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6719 $as_echo "$ac_cv_working_alloca_h" >&6; }
6720 if test $ac_cv_working_alloca_h = yes; then
6722 cat >>confdefs.h
<<\_ACEOF
6723 #define HAVE_ALLOCA_H 1
6728 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6729 $as_echo_n "checking for alloca... " >&6; }
6730 if test "${ac_cv_func_alloca_works+set}" = set; then
6731 $as_echo_n "(cached) " >&6
6733 cat >conftest.
$ac_ext <<_ACEOF
6736 cat confdefs.h
>>conftest.
$ac_ext
6737 cat >>conftest.
$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6740 # define alloca __builtin_alloca
6743 # include <malloc.h>
6744 # define alloca _alloca
6746 # ifdef HAVE_ALLOCA_H
6747 # include <alloca.h>
6752 # ifndef alloca /* predefined by HP cc +Olibcalls */
6763 char *p = (char *) alloca (1);
6769 rm -f conftest.
$ac_objext conftest
$ac_exeext
6770 if { (ac_try
="$ac_link"
6772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6776 $as_echo "$ac_try_echo") >&5
6777 (eval "$ac_link") 2>conftest.er1
6779 grep -v '^ *+' conftest.er1 >conftest.err
6781 cat conftest.err >&5
6782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); } && {
6784 test -z "$ac_c_werror_flag" ||
6785 test ! -s conftest.err
6786 } && test -s conftest$ac_exeext && {
6787 test "$cross_compiling" = yes ||
6788 $as_test_x conftest$ac_exeext
6790 ac_cv_func_alloca_works=yes
6792 $as_echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_cv_func_alloca_works=no
6798 rm -rf conftest.dSYM
6799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6800 conftest$ac_exeext conftest.$ac_ext
6802 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6803 $as_echo "$ac_cv_func_alloca_works" >&6; }
6805 if test $ac_cv_func_alloca_works = yes; then
6807 cat >>confdefs.h <<\_ACEOF
6808 #define HAVE_ALLOCA 1
6812 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6813 # that cause trouble. Some versions do not even contain alloca or
6814 # contain a buggy version. If you still want to use their alloca,
6815 # use ar to extract alloca.o from them instead of compiling alloca.c.
6817 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6819 cat >>confdefs.h <<\_ACEOF
6824 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6825 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6826 if test "${ac_cv_os_cray+set}" = set; then
6827 $as_echo_n "(cached
) " >&6
6829 cat >conftest.$ac_ext <<_ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 #if defined CRAY && ! defined CRAY2
6842 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6843 $EGREP "webecray
" >/dev/null 2>&1; then
6851 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6852 $as_echo "$ac_cv_os_cray" >&6; }
6853 if test $ac_cv_os_cray = yes; then
6854 for ac_func in _getb67 GETB67 getb67; do
6855 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6856 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6857 $as_echo_n "checking
for $ac_func...
" >&6; }
6858 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6859 $as_echo_n "(cached
) " >&6
6861 cat >conftest.$ac_ext <<_ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6869 #define $ac_func innocuous_$ac_func
6871 /* System header to define __stub macros and hopefully few prototypes,
6872 which can conflict with char $ac_func (); below.
6873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6874 <limits.h> exists even on freestanding compilers. */
6877 # include <limits.h>
6879 # include <assert.h>
6884 /* Override any GCC internal prototype to avoid an error.
6885 Use char because int might match the return type of a GCC
6886 builtin and then its argument prototype would still apply. */
6891 /* The GNU C library defines this for functions which it implements
6892 to always fail with ENOSYS. Some functions are actually named
6893 something starting with __ and the normal name is an alias. */
6894 #if defined __stub_$ac_func || defined __stub___$ac_func
6906 rm -f conftest.$ac_objext conftest$ac_exeext
6907 if { (ac_try="$ac_link"
6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6910 *) ac_try_echo=$ac_try;;
6912 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6913 $as_echo "$ac_try_echo") >&5
6914 (eval "$ac_link") 2>conftest.er1
6916 grep -v '^ *+' conftest.er1 >conftest.err
6918 cat conftest.err >&5
6919 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6920 (exit $ac_status); } && {
6921 test -z "$ac_c_werror_flag" ||
6922 test ! -s conftest.err
6923 } && test -s conftest$ac_exeext && {
6924 test "$cross_compiling" = yes ||
6925 $as_test_x conftest$ac_exeext
6927 eval "$as_ac_var=yes"
6929 $as_echo "$as_me: failed program was
:" >&5
6930 sed 's/^/| /' conftest.$ac_ext >&5
6932 eval "$as_ac_var=no
"
6935 rm -rf conftest.dSYM
6936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6937 conftest$ac_exeext conftest.$ac_ext
6939 ac_res=`eval 'as_val=${'$as_ac_var'}
6940 $as_echo "$as_val"'`
6941 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6942 $as_echo "$ac_res" >&6; }
6943 as_val=`eval 'as_val=${'$as_ac_var'}
6944 $as_echo "$as_val"'`
6945 if test "x
$as_val" = x""yes; then
6947 cat >>confdefs.h <<_ACEOF
6948 #define CRAY_STACKSEG_END $ac_func
6957 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6958 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6959 if test "${ac_cv_c_stack_direction+set}" = set; then
6960 $as_echo_n "(cached
) " >&6
6962 if test "$cross_compiling" = yes; then
6963 ac_cv_c_stack_direction=0
6965 cat >conftest.$ac_ext <<_ACEOF
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6971 $ac_includes_default
6973 find_stack_direction ()
6975 static char *addr = 0;
6980 return find_stack_direction ();
6983 return (&dummy > addr) ? 1 : -1;
6989 return find_stack_direction () < 0;
6992 rm -f conftest$ac_exeext
6993 if { (ac_try="$ac_link"
6995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6996 *) ac_try_echo=$ac_try;;
6998 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6999 $as_echo "$ac_try_echo") >&5
7000 (eval "$ac_link") 2>&5
7002 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7004 { (case "(($ac_try" in
7005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7006 *) ac_try_echo=$ac_try;;
7008 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7009 $as_echo "$ac_try_echo") >&5
7010 (eval "$ac_try") 2>&5
7012 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 ac_cv_c_stack_direction=1
7016 $as_echo "$as_me: program exited with status
$ac_status" >&5
7017 $as_echo "$as_me: failed program was
:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_cv_c_stack_direction=-1
7023 rm -rf conftest.dSYM
7024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7029 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7030 $as_echo "$ac_cv_c_stack_direction" >&6; }
7032 cat >>confdefs.h <<_ACEOF
7033 #define STACK_DIRECTION $ac_cv_c_stack_direction
7039 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7040 $as_echo_n "checking whether closedir returns void...
" >&6; }
7041 if test "${ac_cv_func_closedir_void+set}" = set; then
7042 $as_echo_n "(cached
) " >&6
7044 if test "$cross_compiling" = yes; then
7045 ac_cv_func_closedir_void=yes
7047 cat >conftest.$ac_ext <<_ACEOF
7050 cat confdefs.h >>conftest.$ac_ext
7051 cat >>conftest.$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 $ac_includes_default
7054 #include <$ac_header_dirent>
7062 return closedir (opendir (".
")) != 0;
7067 rm -f conftest$ac_exeext
7068 if { (ac_try="$ac_link"
7070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071 *) ac_try_echo=$ac_try;;
7073 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7074 $as_echo "$ac_try_echo") >&5
7075 (eval "$ac_link") 2>&5
7077 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7078 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7079 { (case "(($ac_try" in
7080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7081 *) ac_try_echo=$ac_try;;
7083 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7084 $as_echo "$ac_try_echo") >&5
7085 (eval "$ac_try") 2>&5
7087 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_cv_func_closedir_void=no
7091 $as_echo "$as_me: program exited with status
$ac_status" >&5
7092 $as_echo "$as_me: failed program was
:" >&5
7093 sed 's/^/| /' conftest.$ac_ext >&5
7096 ac_cv_func_closedir_void=yes
7098 rm -rf conftest.dSYM
7099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7104 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7105 $as_echo "$ac_cv_func_closedir_void" >&6; }
7106 if test $ac_cv_func_closedir_void = yes; then
7108 cat >>confdefs.h <<\_ACEOF
7109 #define CLOSEDIR_VOID 1
7115 for ac_header in vfork.h
7117 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7118 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7119 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7120 $as_echo_n "checking
for $ac_header...
" >&6; }
7121 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7122 $as_echo_n "(cached
) " >&6
7124 ac_res=`eval 'as_val=${'$as_ac_Header'}
7125 $as_echo "$as_val"'`
7126 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7127 $as_echo "$ac_res" >&6; }
7129 # Is the header compilable?
7130 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7131 $as_echo_n "checking
$ac_header usability...
" >&6; }
7132 cat >conftest.$ac_ext <<_ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7139 #include <$ac_header>
7141 rm -f conftest.$ac_objext
7142 if { (ac_try="$ac_compile"
7144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7145 *) ac_try_echo=$ac_try;;
7147 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7148 $as_echo "$ac_try_echo") >&5
7149 (eval "$ac_compile") 2>conftest.er1
7151 grep -v '^ *+' conftest.er1 >conftest.err
7153 cat conftest.err >&5
7154 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7155 (exit $ac_status); } && {
7156 test -z "$ac_c_werror_flag" ||
7157 test ! -s conftest.err
7158 } && test -s conftest.$ac_objext; then
7159 ac_header_compiler=yes
7161 $as_echo "$as_me: failed program was
:" >&5
7162 sed 's/^/| /' conftest.$ac_ext >&5
7164 ac_header_compiler=no
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7169 $as_echo "$ac_header_compiler" >&6; }
7171 # Is the header present?
7172 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7173 $as_echo_n "checking
$ac_header presence...
" >&6; }
7174 cat >conftest.$ac_ext <<_ACEOF
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7180 #include <$ac_header>
7182 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7185 *) ac_try_echo=$ac_try;;
7187 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7188 $as_echo "$ac_try_echo") >&5
7189 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7191 grep -v '^ *+' conftest.er1 >conftest.err
7193 cat conftest.err >&5
7194 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7195 (exit $ac_status); } >/dev/null && {
7196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7197 test ! -s conftest.err
7199 ac_header_preproc=yes
7201 $as_echo "$as_me: failed program was
:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 ac_header_preproc=no
7207 rm -f conftest.err conftest.$ac_ext
7208 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7209 $as_echo "$ac_header_preproc" >&6; }
7211 # So? What about this header?
7212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7214 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7215 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7217 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7218 ac_header_preproc=yes
7221 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7222 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7223 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7224 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7225 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7226 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7227 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7228 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7229 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7230 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7231 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7232 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7236 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7237 $as_echo_n "checking
for $ac_header...
" >&6; }
7238 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7239 $as_echo_n "(cached
) " >&6
7241 eval "$as_ac_Header=\
$ac_header_preproc"
7243 ac_res=`eval 'as_val=${'$as_ac_Header'}
7244 $as_echo "$as_val"'`
7245 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7246 $as_echo "$ac_res" >&6; }
7249 as_val=`eval 'as_val=${'$as_ac_Header'}
7250 $as_echo "$as_val"'`
7251 if test "x
$as_val" = x""yes; then
7252 cat >>confdefs.h <<_ACEOF
7253 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7262 for ac_func in fork vfork
7264 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7265 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7266 $as_echo_n "checking
for $ac_func...
" >&6; }
7267 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7268 $as_echo_n "(cached
) " >&6
7270 cat >conftest.$ac_ext <<_ACEOF
7273 cat confdefs.h >>conftest.$ac_ext
7274 cat >>conftest.$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7278 #define $ac_func innocuous_$ac_func
7280 /* System header to define __stub macros and hopefully few prototypes,
7281 which can conflict with char $ac_func (); below.
7282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7283 <limits.h> exists even on freestanding compilers. */
7286 # include <limits.h>
7288 # include <assert.h>
7293 /* Override any GCC internal prototype to avoid an error.
7294 Use char because int might match the return type of a GCC
7295 builtin and then its argument prototype would still apply. */
7300 /* The GNU C library defines this for functions which it implements
7301 to always fail with ENOSYS. Some functions are actually named
7302 something starting with __ and the normal name is an alias. */
7303 #if defined __stub_$ac_func || defined __stub___$ac_func
7315 rm -f conftest.$ac_objext conftest$ac_exeext
7316 if { (ac_try="$ac_link"
7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7321 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7322 $as_echo "$ac_try_echo") >&5
7323 (eval "$ac_link") 2>conftest.er1
7325 grep -v '^ *+' conftest.er1 >conftest.err
7327 cat conftest.err >&5
7328 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7329 (exit $ac_status); } && {
7330 test -z "$ac_c_werror_flag" ||
7331 test ! -s conftest.err
7332 } && test -s conftest$ac_exeext && {
7333 test "$cross_compiling" = yes ||
7334 $as_test_x conftest$ac_exeext
7336 eval "$as_ac_var=yes"
7338 $as_echo "$as_me: failed program was
:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5
7341 eval "$as_ac_var=no
"
7344 rm -rf conftest.dSYM
7345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7346 conftest$ac_exeext conftest.$ac_ext
7348 ac_res=`eval 'as_val=${'$as_ac_var'}
7349 $as_echo "$as_val"'`
7350 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7351 $as_echo "$ac_res" >&6; }
7352 as_val=`eval 'as_val=${'$as_ac_var'}
7353 $as_echo "$as_val"'`
7354 if test "x
$as_val" = x""yes; then
7355 cat >>confdefs.h <<_ACEOF
7356 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7362 if test "x
$ac_cv_func_fork" = xyes; then
7363 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7364 $as_echo_n "checking
for working fork...
" >&6; }
7365 if test "${ac_cv_func_fork_works+set}" = set; then
7366 $as_echo_n "(cached
) " >&6
7368 if test "$cross_compiling" = yes; then
7369 ac_cv_func_fork_works=cross
7371 cat >conftest.$ac_ext <<_ACEOF
7374 cat confdefs.h >>conftest.$ac_ext
7375 cat >>conftest.$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7377 $ac_includes_default
7382 /* By Ruediger Kuhlmann. */
7389 rm -f conftest$ac_exeext
7390 if { (ac_try="$ac_link"
7392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7393 *) ac_try_echo=$ac_try;;
7395 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7396 $as_echo "$ac_try_echo") >&5
7397 (eval "$ac_link") 2>&5
7399 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7401 { (case "(($ac_try" in
7402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7405 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7406 $as_echo "$ac_try_echo") >&5
7407 (eval "$ac_try") 2>&5
7409 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7410 (exit $ac_status); }; }; then
7411 ac_cv_func_fork_works=yes
7413 $as_echo "$as_me: program exited with status
$ac_status" >&5
7414 $as_echo "$as_me: failed program was
:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7418 ac_cv_func_fork_works=no
7420 rm -rf conftest.dSYM
7421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7426 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7427 $as_echo "$ac_cv_func_fork_works" >&6; }
7430 ac_cv_func_fork_works=$ac_cv_func_fork
7432 if test "x
$ac_cv_func_fork_works" = xcross; then
7434 *-*-amigaos* | *-*-msdosdjgpp*)
7435 # Override, as these systems have only a dummy fork() stub
7436 ac_cv_func_fork_works=no
7439 ac_cv_func_fork_works=yes
7442 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7443 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7445 ac_cv_func_vfork_works=$ac_cv_func_vfork
7446 if test "x
$ac_cv_func_vfork" = xyes; then
7447 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7448 $as_echo_n "checking
for working vfork...
" >&6; }
7449 if test "${ac_cv_func_vfork_works+set}" = set; then
7450 $as_echo_n "(cached
) " >&6
7452 if test "$cross_compiling" = yes; then
7453 ac_cv_func_vfork_works=cross
7455 cat >conftest.$ac_ext <<_ACEOF
7458 cat confdefs.h >>conftest.$ac_ext
7459 cat >>conftest.$ac_ext <<_ACEOF
7460 /* end confdefs.h. */
7461 /* Thanks to Paul Eggert for this test. */
7462 $ac_includes_default
7463 #include <sys/wait.h>
7467 /* On some sparc systems, changes by the child to local and incoming
7468 argument registers are propagated back to the parent. The compiler
7469 is told about this with #include <vfork.h>, but some compilers
7470 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7471 static variable whose address is put into a register that is
7472 clobbered by the vfork. */
7475 sparc_address_test (int arg)
7477 sparc_address_test (arg) int arg;
7498 pid_t parent = getpid ();
7501 sparc_address_test (0);
7506 /* Here is another test for sparc vfork register problems. This
7507 test uses lots of local variables, at least as many local
7508 variables as main has allocated so far including compiler
7509 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7510 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7511 reuse the register of parent for one of the local variables,
7512 since it will think that parent can't possibly be used any more
7513 in this routine. Assigning to the local variable will thus
7514 munge parent in the parent process. */
7516 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7517 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7518 /* Convince the compiler that p..p7 are live; otherwise, it might
7519 use the same hardware register for all 8 local variables. */
7520 if (p != p1 || p != p2 || p != p3 || p != p4
7521 || p != p5 || p != p6 || p != p7)
7524 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7525 from child file descriptors. If the child closes a descriptor
7526 before it execs or exits, this munges the parent's descriptor
7527 as well. Test for this by closing stdout in the child. */
7528 _exit(close(fileno(stdout)) != 0);
7533 while (wait(&status) != child)
7536 /* Was there some problem with vforking? */
7539 /* Did the child fail? (This shouldn't happen.) */
7542 /* Did the vfork/compiler bug occur? */
7543 || parent != getpid()
7545 /* Did the file descriptor bug occur? */
7546 || fstat(fileno(stdout), &st) != 0
7551 rm -f conftest$ac_exeext
7552 if { (ac_try="$ac_link"
7554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7555 *) ac_try_echo=$ac_try;;
7557 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7558 $as_echo "$ac_try_echo") >&5
7559 (eval "$ac_link") 2>&5
7561 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7563 { (case "(($ac_try" in
7564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7567 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7568 $as_echo "$ac_try_echo") >&5
7569 (eval "$ac_try") 2>&5
7571 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7572 (exit $ac_status); }; }; then
7573 ac_cv_func_vfork_works=yes
7575 $as_echo "$as_me: program exited with status
$ac_status" >&5
7576 $as_echo "$as_me: failed program was
:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7580 ac_cv_func_vfork_works=no
7582 rm -rf conftest.dSYM
7583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7588 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7589 $as_echo "$ac_cv_func_vfork_works" >&6; }
7592 if test "x
$ac_cv_func_fork_works" = xcross; then
7593 ac_cv_func_vfork_works=$ac_cv_func_vfork
7594 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7595 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7598 if test "x
$ac_cv_func_vfork_works" = xyes; then
7600 cat >>confdefs.h <<\_ACEOF
7601 #define HAVE_WORKING_VFORK 1
7606 cat >>confdefs.h <<\_ACEOF
7611 if test "x
$ac_cv_func_fork_works" = xyes; then
7613 cat >>confdefs.h <<\_ACEOF
7614 #define HAVE_WORKING_FORK 1
7619 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7620 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7621 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7622 $as_echo_n "(cached
) " >&6
7624 rm -f conftest.sym conftest.file
7626 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7627 if test "$cross_compiling" = yes; then
7628 ac_cv_func_lstat_dereferences_slashed_symlink=no
7630 cat >conftest.$ac_ext <<_ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 $ac_includes_default
7641 /* Linux will dereference the symlink and fail.
7642 That is better in the sense that it means we will not
7643 have to compile and use the lstat wrapper. */
7644 return lstat ("conftest.sym
/", &sbuf) == 0;
7649 rm -f conftest$ac_exeext
7650 if { (ac_try="$ac_link"
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7655 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7656 $as_echo "$ac_try_echo") >&5
7657 (eval "$ac_link") 2>&5
7659 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7661 { (case "(($ac_try" in
7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7663 *) ac_try_echo=$ac_try;;
7665 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7666 $as_echo "$ac_try_echo") >&5
7667 (eval "$ac_try") 2>&5
7669 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7670 (exit $ac_status); }; }; then
7671 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7673 $as_echo "$as_me: program exited with status
$ac_status" >&5
7674 $as_echo "$as_me: failed program was
:" >&5
7675 sed 's/^/| /' conftest.$ac_ext >&5
7678 ac_cv_func_lstat_dereferences_slashed_symlink=no
7680 rm -rf conftest.dSYM
7681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7686 # If the `ln -s' command failed, then we probably don't even
7687 # have an lstat function.
7688 ac_cv_func_lstat_dereferences_slashed_symlink=no
7690 rm -f conftest.sym conftest.file
7693 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7694 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7696 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7698 cat >>confdefs.h <<_ACEOF
7699 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7703 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7704 case " $LIBOBJS " in
7705 *" lstat.
$ac_objext "* ) ;;
7706 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7712 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7713 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7714 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7715 $as_echo_n "(cached
) " >&6
7717 if test "$cross_compiling" = yes; then
7718 ac_cv_func_lstat_empty_string_bug=yes
7720 cat >conftest.$ac_ext <<_ACEOF
7723 cat confdefs.h >>conftest.$ac_ext
7724 cat >>conftest.$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7726 $ac_includes_default
7731 return lstat ("", &sbuf) == 0;
7736 rm -f conftest$ac_exeext
7737 if { (ac_try="$ac_link"
7739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7742 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7743 $as_echo "$ac_try_echo") >&5
7744 (eval "$ac_link") 2>&5
7746 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7748 { (case "(($ac_try" in
7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7752 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7753 $as_echo "$ac_try_echo") >&5
7754 (eval "$ac_try") 2>&5
7756 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_cv_func_lstat_empty_string_bug=no
7760 $as_echo "$as_me: program exited with status
$ac_status" >&5
7761 $as_echo "$as_me: failed program was
:" >&5
7762 sed 's/^/| /' conftest.$ac_ext >&5
7765 ac_cv_func_lstat_empty_string_bug=yes
7767 rm -rf conftest.dSYM
7768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7773 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7774 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7775 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7776 case " $LIBOBJS " in
7777 *" lstat.
$ac_objext "* ) ;;
7778 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7790 for ac_header in stdlib.h
7792 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7793 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7794 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7795 $as_echo_n "checking
for $ac_header...
" >&6; }
7796 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7797 $as_echo_n "(cached
) " >&6
7799 ac_res=`eval 'as_val=${'$as_ac_Header'}
7800 $as_echo "$as_val"'`
7801 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7802 $as_echo "$ac_res" >&6; }
7804 # Is the header compilable?
7805 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7806 $as_echo_n "checking
$ac_header usability...
" >&6; }
7807 cat >conftest.$ac_ext <<_ACEOF
7810 cat confdefs.h >>conftest.$ac_ext
7811 cat >>conftest.$ac_ext <<_ACEOF
7812 /* end confdefs.h. */
7813 $ac_includes_default
7814 #include <$ac_header>
7816 rm -f conftest.$ac_objext
7817 if { (ac_try="$ac_compile"
7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7820 *) ac_try_echo=$ac_try;;
7822 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7823 $as_echo "$ac_try_echo") >&5
7824 (eval "$ac_compile") 2>conftest.er1
7826 grep -v '^ *+' conftest.er1 >conftest.err
7828 cat conftest.err >&5
7829 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7830 (exit $ac_status); } && {
7831 test -z "$ac_c_werror_flag" ||
7832 test ! -s conftest.err
7833 } && test -s conftest.$ac_objext; then
7834 ac_header_compiler=yes
7836 $as_echo "$as_me: failed program was
:" >&5
7837 sed 's/^/| /' conftest.$ac_ext >&5
7839 ac_header_compiler=no
7842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7843 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7844 $as_echo "$ac_header_compiler" >&6; }
7846 # Is the header present?
7847 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7848 $as_echo_n "checking
$ac_header presence...
" >&6; }
7849 cat >conftest.$ac_ext <<_ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7855 #include <$ac_header>
7857 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7860 *) ac_try_echo=$ac_try;;
7862 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7863 $as_echo "$ac_try_echo") >&5
7864 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7866 grep -v '^ *+' conftest.er1 >conftest.err
7868 cat conftest.err >&5
7869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7870 (exit $ac_status); } >/dev/null && {
7871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7872 test ! -s conftest.err
7874 ac_header_preproc=yes
7876 $as_echo "$as_me: failed program was
:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7879 ac_header_preproc=no
7882 rm -f conftest.err conftest.$ac_ext
7883 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7884 $as_echo "$ac_header_preproc" >&6; }
7886 # So? What about this header?
7887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7889 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7890 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7891 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7892 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7893 ac_header_preproc=yes
7896 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7897 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7898 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7899 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7900 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7901 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7902 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7903 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7904 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7905 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7906 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7907 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7911 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7912 $as_echo_n "checking
for $ac_header...
" >&6; }
7913 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7914 $as_echo_n "(cached
) " >&6
7916 eval "$as_ac_Header=\
$ac_header_preproc"
7918 ac_res=`eval 'as_val=${'$as_ac_Header'}
7919 $as_echo "$as_val"'`
7920 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7921 $as_echo "$ac_res" >&6; }
7924 as_val=`eval 'as_val=${'$as_ac_Header'}
7925 $as_echo "$as_val"'`
7926 if test "x
$as_val" = x""yes; then
7927 cat >>confdefs.h <<_ACEOF
7928 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7935 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7936 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7937 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7938 $as_echo_n "(cached
) " >&6
7940 if test "$cross_compiling" = yes; then
7941 ac_cv_func_malloc_0_nonnull=no
7943 cat >conftest.$ac_ext <<_ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7949 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7950 # include <stdlib.h>
7958 return ! malloc (0);
7963 rm -f conftest$ac_exeext
7964 if { (ac_try="$ac_link"
7966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7967 *) ac_try_echo=$ac_try;;
7969 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7970 $as_echo "$ac_try_echo") >&5
7971 (eval "$ac_link") 2>&5
7973 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7975 { (case "(($ac_try" in
7976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7977 *) ac_try_echo=$ac_try;;
7979 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7980 $as_echo "$ac_try_echo") >&5
7981 (eval "$ac_try") 2>&5
7983 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7984 (exit $ac_status); }; }; then
7985 ac_cv_func_malloc_0_nonnull=yes
7987 $as_echo "$as_me: program exited with status
$ac_status" >&5
7988 $as_echo "$as_me: failed program was
:" >&5
7989 sed 's/^/| /' conftest.$ac_ext >&5
7992 ac_cv_func_malloc_0_nonnull=no
7994 rm -rf conftest.dSYM
7995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8000 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
8001 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
8002 if test $ac_cv_func_malloc_0_nonnull = yes; then
8004 cat >>confdefs.h <<\_ACEOF
8005 #define HAVE_MALLOC 1
8009 cat >>confdefs.h <<\_ACEOF
8010 #define HAVE_MALLOC 0
8013 case " $LIBOBJS " in
8014 *" malloc.
$ac_objext "* ) ;;
8015 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
8020 cat >>confdefs.h <<\_ACEOF
8021 #define malloc rpl_malloc
8028 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8029 $as_echo_n "checking
for working memcmp...
" >&6; }
8030 if test "${ac_cv_func_memcmp_working+set}" = set; then
8031 $as_echo_n "(cached
) " >&6
8033 if test "$cross_compiling" = yes; then
8034 ac_cv_func_memcmp_working=no
8036 cat >conftest.$ac_ext <<_ACEOF
8039 cat confdefs.h >>conftest.$ac_ext
8040 cat >>conftest.$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8042 $ac_includes_default
8047 /* Some versions of memcmp are not 8-bit clean. */
8048 char c0 = '\100', c1 = '\200', c2 = '\201';
8049 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8052 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8053 or more and with at least one buffer not starting on a 4-byte boundary.
8054 William Lewis provided this test program. */
8059 for (i = 0; i < 4; i++)
8063 strcpy (a, "--------01111111");
8064 strcpy (b, "--------10000000");
8065 if (memcmp (a, b, 16) >= 0)
8075 rm -f conftest$ac_exeext
8076 if { (ac_try="$ac_link"
8078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8081 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8082 $as_echo "$ac_try_echo") >&5
8083 (eval "$ac_link") 2>&5
8085 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8087 { (case "(($ac_try" in
8088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089 *) ac_try_echo=$ac_try;;
8091 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8092 $as_echo "$ac_try_echo") >&5
8093 (eval "$ac_try") 2>&5
8095 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_func_memcmp_working=yes
8099 $as_echo "$as_me: program exited with status
$ac_status" >&5
8100 $as_echo "$as_me: failed program was
:" >&5
8101 sed 's/^/| /' conftest.$ac_ext >&5
8104 ac_cv_func_memcmp_working=no
8106 rm -rf conftest.dSYM
8107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8112 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8113 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8114 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8115 *" memcmp.
$ac_objext "* ) ;;
8116 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8123 for ac_header in stdlib.h unistd.h
8125 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8126 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8127 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8128 $as_echo_n "checking
for $ac_header...
" >&6; }
8129 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8130 $as_echo_n "(cached
) " >&6
8132 ac_res=`eval 'as_val=${'$as_ac_Header'}
8133 $as_echo "$as_val"'`
8134 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8135 $as_echo "$ac_res" >&6; }
8137 # Is the header compilable?
8138 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8139 $as_echo_n "checking
$ac_header usability...
" >&6; }
8140 cat >conftest.$ac_ext <<_ACEOF
8143 cat confdefs.h >>conftest.$ac_ext
8144 cat >>conftest.$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8146 $ac_includes_default
8147 #include <$ac_header>
8149 rm -f conftest.$ac_objext
8150 if { (ac_try="$ac_compile"
8152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8153 *) ac_try_echo=$ac_try;;
8155 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8156 $as_echo "$ac_try_echo") >&5
8157 (eval "$ac_compile") 2>conftest.er1
8159 grep -v '^ *+' conftest.er1 >conftest.err
8161 cat conftest.err >&5
8162 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8163 (exit $ac_status); } && {
8164 test -z "$ac_c_werror_flag" ||
8165 test ! -s conftest.err
8166 } && test -s conftest.$ac_objext; then
8167 ac_header_compiler=yes
8169 $as_echo "$as_me: failed program was
:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8172 ac_header_compiler=no
8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8176 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8177 $as_echo "$ac_header_compiler" >&6; }
8179 # Is the header present?
8180 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8181 $as_echo_n "checking
$ac_header presence...
" >&6; }
8182 cat >conftest.$ac_ext <<_ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8188 #include <$ac_header>
8190 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8193 *) ac_try_echo=$ac_try;;
8195 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8196 $as_echo "$ac_try_echo") >&5
8197 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8199 grep -v '^ *+' conftest.er1 >conftest.err
8201 cat conftest.err >&5
8202 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8203 (exit $ac_status); } >/dev/null && {
8204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8205 test ! -s conftest.err
8207 ac_header_preproc=yes
8209 $as_echo "$as_me: failed program was
:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_header_preproc=no
8215 rm -f conftest.err conftest.$ac_ext
8216 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8217 $as_echo "$ac_header_preproc" >&6; }
8219 # So? What about this header?
8220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8222 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8223 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8224 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8225 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8226 ac_header_preproc=yes
8229 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8230 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8231 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8232 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8233 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8234 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8235 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8236 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8237 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8238 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8240 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8244 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8245 $as_echo_n "checking
for $ac_header...
" >&6; }
8246 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8247 $as_echo_n "(cached
) " >&6
8249 eval "$as_ac_Header=\
$ac_header_preproc"
8251 ac_res=`eval 'as_val=${'$as_ac_Header'}
8252 $as_echo "$as_val"'`
8253 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8254 $as_echo "$ac_res" >&6; }
8257 as_val=`eval 'as_val=${'$as_ac_Header'}
8258 $as_echo "$as_val"'`
8259 if test "x
$as_val" = x""yes; then
8260 cat >>confdefs.h <<_ACEOF
8261 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8269 for ac_func in getpagesize
8271 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8272 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8273 $as_echo_n "checking
for $ac_func...
" >&6; }
8274 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8275 $as_echo_n "(cached
) " >&6
8277 cat >conftest.$ac_ext <<_ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8285 #define $ac_func innocuous_$ac_func
8287 /* System header to define __stub macros and hopefully few prototypes,
8288 which can conflict with char $ac_func (); below.
8289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8290 <limits.h> exists even on freestanding compilers. */
8293 # include <limits.h>
8295 # include <assert.h>
8300 /* Override any GCC internal prototype to avoid an error.
8301 Use char because int might match the return type of a GCC
8302 builtin and then its argument prototype would still apply. */
8307 /* The GNU C library defines this for functions which it implements
8308 to always fail with ENOSYS. Some functions are actually named
8309 something starting with __ and the normal name is an alias. */
8310 #if defined __stub_$ac_func || defined __stub___$ac_func
8322 rm -f conftest.$ac_objext conftest$ac_exeext
8323 if { (ac_try="$ac_link"
8325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8326 *) ac_try_echo=$ac_try;;
8328 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8329 $as_echo "$ac_try_echo") >&5
8330 (eval "$ac_link") 2>conftest.er1
8332 grep -v '^ *+' conftest.er1 >conftest.err
8334 cat conftest.err >&5
8335 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8336 (exit $ac_status); } && {
8337 test -z "$ac_c_werror_flag" ||
8338 test ! -s conftest.err
8339 } && test -s conftest$ac_exeext && {
8340 test "$cross_compiling" = yes ||
8341 $as_test_x conftest$ac_exeext
8343 eval "$as_ac_var=yes"
8345 $as_echo "$as_me: failed program was
:" >&5
8346 sed 's/^/| /' conftest.$ac_ext >&5
8348 eval "$as_ac_var=no
"
8351 rm -rf conftest.dSYM
8352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8353 conftest$ac_exeext conftest.$ac_ext
8355 ac_res=`eval 'as_val=${'$as_ac_var'}
8356 $as_echo "$as_val"'`
8357 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8358 $as_echo "$ac_res" >&6; }
8359 as_val=`eval 'as_val=${'$as_ac_var'}
8360 $as_echo "$as_val"'`
8361 if test "x
$as_val" = x""yes; then
8362 cat >>confdefs.h <<_ACEOF
8363 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8369 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8370 $as_echo_n "checking
for working mmap...
" >&6; }
8371 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8372 $as_echo_n "(cached
) " >&6
8374 if test "$cross_compiling" = yes; then
8375 ac_cv_func_mmap_fixed_mapped=no
8377 cat >conftest.$ac_ext <<_ACEOF
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8383 $ac_includes_default
8384 /* malloc might have been renamed as rpl_malloc. */
8387 /* Thanks to Mike Haertel and Jim Avera for this test.
8388 Here is a matrix of mmap possibilities:
8389 mmap private not fixed
8390 mmap private fixed at somewhere currently unmapped
8391 mmap private fixed at somewhere already mapped
8392 mmap shared not fixed
8393 mmap shared fixed at somewhere currently unmapped
8394 mmap shared fixed at somewhere already mapped
8395 For private mappings, we should verify that changes cannot be read()
8396 back from the file, nor mmap's back from the file at a different
8397 address. (There have been systems where private was not correctly
8398 implemented like the infamous i386 svr4.0, and systems where the
8399 VM page cache was not coherent with the file system buffer cache
8400 like early versions of FreeBSD and possibly contemporary NetBSD.)
8401 For shared mappings, we should conversely verify that changes get
8402 propagated back to all the places they're supposed to be.
8404 Grep wants private fixed already mapped.
8405 The main things grep needs to know about mmap are:
8406 * does it exist and is it safe to write into the mmap'd area
8407 * how to use it (BSD variants) */
8410 #include <sys/mman.h>
8412 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8416 /* This mess was copied from the GNU getpagesize.h. */
8417 #ifndef HAVE_GETPAGESIZE
8418 /* Assume that all systems that can run configure have sys/param.h. */
8419 # ifndef HAVE_SYS_PARAM_H
8420 # define HAVE_SYS_PARAM_H 1
8423 # ifdef _SC_PAGESIZE
8424 # define getpagesize() sysconf(_SC_PAGESIZE)
8425 # else /* no _SC_PAGESIZE */
8426 # ifdef HAVE_SYS_PARAM_H
8427 # include <sys/param.h>
8428 # ifdef EXEC_PAGESIZE
8429 # define getpagesize() EXEC_PAGESIZE
8430 # else /* no EXEC_PAGESIZE */
8432 # define getpagesize() NBPG * CLSIZE
8435 # endif /* no CLSIZE */
8436 # else /* no NBPG */
8438 # define getpagesize() NBPC
8439 # else /* no NBPC */
8441 # define getpagesize() PAGESIZE
8442 # endif /* PAGESIZE */
8443 # endif /* no NBPC */
8444 # endif /* no NBPG */
8445 # endif /* no EXEC_PAGESIZE */
8446 # else /* no HAVE_SYS_PARAM_H */
8447 # define getpagesize() 8192 /* punt totally */
8448 # endif /* no HAVE_SYS_PARAM_H */
8449 # endif /* no _SC_PAGESIZE */
8451 #endif /* no HAVE_GETPAGESIZE */
8456 char *data, *data2, *data3;
8460 pagesize = getpagesize ();
8462 /* First, make a file with some known garbage in it. */
8463 data = (char *) malloc (pagesize);
8466 for (i = 0; i < pagesize; ++i)
8467 *(data + i) = rand ();
8469 fd = creat ("conftest.mmap
", 0600);
8472 if (write (fd, data, pagesize) != pagesize)
8476 /* Next, try to mmap the file at a fixed address which already has
8477 something else allocated at it. If we can, also make sure that
8478 we see the same garbage. */
8479 fd = open ("conftest.mmap
", O_RDWR);
8482 data2 = (char *) malloc (2 * pagesize);
8485 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8486 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8487 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8489 for (i = 0; i < pagesize; ++i)
8490 if (*(data + i) != *(data2 + i))
8493 /* Finally, make sure that changes to the mapped area do not
8494 percolate back to the file as seen by read(). (This is a bug on
8495 some variants of i386 svr4.0.) */
8496 for (i = 0; i < pagesize; ++i)
8497 *(data2 + i) = *(data2 + i) + 1;
8498 data3 = (char *) malloc (pagesize);
8501 if (read (fd, data3, pagesize) != pagesize)
8503 for (i = 0; i < pagesize; ++i)
8504 if (*(data + i) != *(data3 + i))
8510 rm -f conftest$ac_exeext
8511 if { (ac_try="$ac_link"
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8517 $as_echo "$ac_try_echo") >&5
8518 (eval "$ac_link") 2>&5
8520 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8522 { (case "(($ac_try" in
8523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8524 *) ac_try_echo=$ac_try;;
8526 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8527 $as_echo "$ac_try_echo") >&5
8528 (eval "$ac_try") 2>&5
8530 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8531 (exit $ac_status); }; }; then
8532 ac_cv_func_mmap_fixed_mapped=yes
8534 $as_echo "$as_me: program exited with status
$ac_status" >&5
8535 $as_echo "$as_me: failed program was
:" >&5
8536 sed 's/^/| /' conftest.$ac_ext >&5
8539 ac_cv_func_mmap_fixed_mapped=no
8541 rm -rf conftest.dSYM
8542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8547 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8548 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8549 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8551 cat >>confdefs.h <<\_ACEOF
8558 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8559 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8560 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8561 $as_echo_n "(cached
) " >&6
8563 if test "$cross_compiling" = yes; then
8564 ac_cv_func_stat_empty_string_bug=yes
8566 cat >conftest.$ac_ext <<_ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8572 $ac_includes_default
8577 return stat ("", &sbuf) == 0;
8582 rm -f conftest$ac_exeext
8583 if { (ac_try="$ac_link"
8585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8586 *) ac_try_echo=$ac_try;;
8588 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8589 $as_echo "$ac_try_echo") >&5
8590 (eval "$ac_link") 2>&5
8592 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8594 { (case "(($ac_try" in
8595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8596 *) ac_try_echo=$ac_try;;
8598 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8599 $as_echo "$ac_try_echo") >&5
8600 (eval "$ac_try") 2>&5
8602 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 ac_cv_func_stat_empty_string_bug=no
8606 $as_echo "$as_me: program exited with status
$ac_status" >&5
8607 $as_echo "$as_me: failed program was
:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_func_stat_empty_string_bug=yes
8613 rm -rf conftest.dSYM
8614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8619 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8620 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8621 if test $ac_cv_func_stat_empty_string_bug = yes; then
8622 case " $LIBOBJS " in
8623 *" stat.
$ac_objext "* ) ;;
8624 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8629 cat >>confdefs.h <<_ACEOF
8630 #define HAVE_STAT_EMPTY_STRING_BUG 1
8635 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8636 $as_echo_n "checking
for working strtod...
" >&6; }
8637 if test "${ac_cv_func_strtod+set}" = set; then
8638 $as_echo_n "(cached
) " >&6
8640 if test "$cross_compiling" = yes; then
8641 ac_cv_func_strtod=no
8643 cat >conftest.$ac_ext <<_ACEOF
8646 cat confdefs.h >>conftest.$ac_ext
8647 cat >>conftest.$ac_ext <<_ACEOF
8648 /* end confdefs.h. */
8650 $ac_includes_default
8658 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8659 char *string = " +69";
8662 value = strtod (string, &term);
8663 if (value != 69 || term != (string + 4))
8668 /* Under Solaris 2.4, strtod returns the wrong value for the
8669 terminating character under some conditions. */
8670 char *string = "NaN
";
8672 strtod (string, &term);
8673 if (term != string && *(term - 1) == 0)
8680 rm -f conftest$ac_exeext
8681 if { (ac_try="$ac_link"
8683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8684 *) ac_try_echo=$ac_try;;
8686 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8687 $as_echo "$ac_try_echo") >&5
8688 (eval "$ac_link") 2>&5
8690 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8692 { (case "(($ac_try" in
8693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8694 *) ac_try_echo=$ac_try;;
8696 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8697 $as_echo "$ac_try_echo") >&5
8698 (eval "$ac_try") 2>&5
8700 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8701 (exit $ac_status); }; }; then
8702 ac_cv_func_strtod=yes
8704 $as_echo "$as_me: program exited with status
$ac_status" >&5
8705 $as_echo "$as_me: failed program was
:" >&5
8706 sed 's/^/| /' conftest.$ac_ext >&5
8709 ac_cv_func_strtod=no
8711 rm -rf conftest.dSYM
8712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8717 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8718 $as_echo "$ac_cv_func_strtod" >&6; }
8719 if test $ac_cv_func_strtod = no; then
8720 case " $LIBOBJS " in
8721 *" strtod.
$ac_objext "* ) ;;
8722 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8726 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8727 $as_echo_n "checking
for pow...
" >&6; }
8728 if test "${ac_cv_func_pow+set}" = set; then
8729 $as_echo_n "(cached
) " >&6
8731 cat >conftest.$ac_ext <<_ACEOF
8734 cat confdefs.h >>conftest.$ac_ext
8735 cat >>conftest.$ac_ext <<_ACEOF
8736 /* end confdefs.h. */
8737 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8739 #define pow innocuous_pow
8741 /* System header to define __stub macros and hopefully few prototypes,
8742 which can conflict with char pow (); below.
8743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8744 <limits.h> exists even on freestanding compilers. */
8747 # include <limits.h>
8749 # include <assert.h>
8754 /* Override any GCC internal prototype to avoid an error.
8755 Use char because int might match the return type of a GCC
8756 builtin and then its argument prototype would still apply. */
8761 /* The GNU C library defines this for functions which it implements
8762 to always fail with ENOSYS. Some functions are actually named
8763 something starting with __ and the normal name is an alias. */
8764 #if defined __stub_pow || defined __stub___pow
8776 rm -f conftest.$ac_objext conftest$ac_exeext
8777 if { (ac_try="$ac_link"
8779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8780 *) ac_try_echo=$ac_try;;
8782 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8783 $as_echo "$ac_try_echo") >&5
8784 (eval "$ac_link") 2>conftest.er1
8786 grep -v '^ *+' conftest.er1 >conftest.err
8788 cat conftest.err >&5
8789 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8790 (exit $ac_status); } && {
8791 test -z "$ac_c_werror_flag" ||
8792 test ! -s conftest.err
8793 } && test -s conftest$ac_exeext && {
8794 test "$cross_compiling" = yes ||
8795 $as_test_x conftest$ac_exeext
8799 $as_echo "$as_me: failed program was
:" >&5
8800 sed 's/^/| /' conftest.$ac_ext >&5
8805 rm -rf conftest.dSYM
8806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8807 conftest$ac_exeext conftest.$ac_ext
8809 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8810 $as_echo "$ac_cv_func_pow" >&6; }
8812 if test $ac_cv_func_pow = no; then
8813 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8814 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8815 if test "${ac_cv_lib_m_pow+set}" = set; then
8816 $as_echo_n "(cached
) " >&6
8818 ac_check_lib_save_LIBS=$LIBS
8820 cat >conftest.$ac_ext <<_ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8827 /* Override any GCC internal prototype to avoid an error.
8828 Use char because int might match the return type of a GCC
8829 builtin and then its argument prototype would still apply. */
8842 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (ac_try="$ac_link"
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8848 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8849 $as_echo "$ac_try_echo") >&5
8850 (eval "$ac_link") 2>conftest.er1
8852 grep -v '^ *+' conftest.er1 >conftest.err
8854 cat conftest.err >&5
8855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8856 (exit $ac_status); } && {
8857 test -z "$ac_c_werror_flag" ||
8858 test ! -s conftest.err
8859 } && test -s conftest$ac_exeext && {
8860 test "$cross_compiling" = yes ||
8861 $as_test_x conftest$ac_exeext
8865 $as_echo "$as_me: failed program was
:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8871 rm -rf conftest.dSYM
8872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8873 conftest$ac_exeext conftest.$ac_ext
8874 LIBS=$ac_check_lib_save_LIBS
8876 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8877 $as_echo "$ac_cv_lib_m_pow" >&6; }
8878 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8881 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8882 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8890 for ac_func in vprintf
8892 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8893 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8894 $as_echo_n "checking
for $ac_func...
" >&6; }
8895 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8896 $as_echo_n "(cached
) " >&6
8898 cat >conftest.$ac_ext <<_ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8906 #define $ac_func innocuous_$ac_func
8908 /* System header to define __stub macros and hopefully few prototypes,
8909 which can conflict with char $ac_func (); below.
8910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8911 <limits.h> exists even on freestanding compilers. */
8914 # include <limits.h>
8916 # include <assert.h>
8921 /* Override any GCC internal prototype to avoid an error.
8922 Use char because int might match the return type of a GCC
8923 builtin and then its argument prototype would still apply. */
8928 /* The GNU C library defines this for functions which it implements
8929 to always fail with ENOSYS. Some functions are actually named
8930 something starting with __ and the normal name is an alias. */
8931 #if defined __stub_$ac_func || defined __stub___$ac_func
8943 rm -f conftest.$ac_objext conftest$ac_exeext
8944 if { (ac_try="$ac_link"
8946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8947 *) ac_try_echo=$ac_try;;
8949 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8950 $as_echo "$ac_try_echo") >&5
8951 (eval "$ac_link") 2>conftest.er1
8953 grep -v '^ *+' conftest.er1 >conftest.err
8955 cat conftest.err >&5
8956 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8957 (exit $ac_status); } && {
8958 test -z "$ac_c_werror_flag" ||
8959 test ! -s conftest.err
8960 } && test -s conftest$ac_exeext && {
8961 test "$cross_compiling" = yes ||
8962 $as_test_x conftest$ac_exeext
8964 eval "$as_ac_var=yes"
8966 $as_echo "$as_me: failed program was
:" >&5
8967 sed 's/^/| /' conftest.$ac_ext >&5
8969 eval "$as_ac_var=no
"
8972 rm -rf conftest.dSYM
8973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8974 conftest$ac_exeext conftest.$ac_ext
8976 ac_res=`eval 'as_val=${'$as_ac_var'}
8977 $as_echo "$as_val"'`
8978 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8979 $as_echo "$ac_res" >&6; }
8980 as_val=`eval 'as_val=${'$as_ac_var'}
8981 $as_echo "$as_val"'`
8982 if test "x
$as_val" = x""yes; then
8983 cat >>confdefs.h <<_ACEOF
8984 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8987 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8988 $as_echo_n "checking
for _doprnt...
" >&6; }
8989 if test "${ac_cv_func__doprnt+set}" = set; then
8990 $as_echo_n "(cached
) " >&6
8992 cat >conftest.$ac_ext <<_ACEOF
8995 cat confdefs.h >>conftest.$ac_ext
8996 cat >>conftest.$ac_ext <<_ACEOF
8997 /* end confdefs.h. */
8998 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9000 #define _doprnt innocuous__doprnt
9002 /* System header to define __stub macros and hopefully few prototypes,
9003 which can conflict with char _doprnt (); below.
9004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9005 <limits.h> exists even on freestanding compilers. */
9008 # include <limits.h>
9010 # include <assert.h>
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9022 /* The GNU C library defines this for functions which it implements
9023 to always fail with ENOSYS. Some functions are actually named
9024 something starting with __ and the normal name is an alias. */
9025 #if defined __stub__doprnt || defined __stub____doprnt
9037 rm -f conftest.$ac_objext conftest$ac_exeext
9038 if { (ac_try="$ac_link"
9040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9041 *) ac_try_echo=$ac_try;;
9043 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9044 $as_echo "$ac_try_echo") >&5
9045 (eval "$ac_link") 2>conftest.er1
9047 grep -v '^ *+' conftest.er1 >conftest.err
9049 cat conftest.err >&5
9050 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9051 (exit $ac_status); } && {
9052 test -z "$ac_c_werror_flag" ||
9053 test ! -s conftest.err
9054 } && test -s conftest$ac_exeext && {
9055 test "$cross_compiling" = yes ||
9056 $as_test_x conftest$ac_exeext
9058 ac_cv_func__doprnt=yes
9060 $as_echo "$as_me: failed program was
:" >&5
9061 sed 's/^/| /' conftest.$ac_ext >&5
9063 ac_cv_func__doprnt=no
9066 rm -rf conftest.dSYM
9067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9068 conftest$ac_exeext conftest.$ac_ext
9070 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9071 $as_echo "$ac_cv_func__doprnt" >&6; }
9072 if test "x
$ac_cv_func__doprnt" = x""yes; then
9074 cat >>confdefs.h <<\_ACEOF
9075 #define HAVE_DOPRNT 1
9085 ################################################################################
9086 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9087 $as_echo_n "checking whether to use static linking...
" >&6; }
9088 # Check whether --enable-static_link was given.
9089 if test "${enable_static_link+set}" = set; then
9090 enableval=$enable_static_link; STATIC_LINK=$enableval
9095 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9096 $as_echo "$STATIC_LINK" >&6; }
9098 ################################################################################
9101 ################################################################################
9102 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9103 $as_echo_n "checking
file owner...
" >&6; }
9105 # Check whether --with-user was given.
9106 if test "${with_user+set}" = set; then
9107 withval=$with_user; OWNER="$withval"
9110 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9111 $as_echo "$OWNER" >&6; }
9113 if test x$OWNER != x; then
9114 INSTALL="$INSTALL -o $OWNER"
9117 ################################################################################
9118 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9119 $as_echo_n "checking group owner...
" >&6; }
9121 # Check whether --with-group was given.
9122 if test "${with_group+set}" = set; then
9123 withval=$with_group; GROUP="$withval"
9126 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9127 $as_echo "$GROUP" >&6; }
9129 if test x$GROUP != x; then
9130 INSTALL="$INSTALL -g $GROUP"
9133 ################################################################################
9134 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9135 $as_echo_n "checking device node uid...
" >&6; }
9138 # Check whether --with-device-uid was given.
9139 if test "${with_device_uid+set}" = set; then
9140 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9145 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9146 $as_echo "$DM_DEVICE_UID" >&6; }
9148 ################################################################################
9149 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9150 $as_echo_n "checking device node gid...
" >&6; }
9153 # Check whether --with-device-gid was given.
9154 if test "${with_device_gid+set}" = set; then
9155 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9160 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9161 $as_echo "$DM_DEVICE_GID" >&6; }
9163 ################################################################################
9164 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9165 $as_echo_n "checking device node mode...
" >&6; }
9168 # Check whether --with-device-mode was given.
9169 if test "${with_device_mode+set}" = set; then
9170 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9172 DM_DEVICE_MODE="0600"
9175 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9176 $as_echo "$DM_DEVICE_MODE" >&6; }
9178 ################################################################################
9179 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9180 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9181 # Check whether --enable-lvm1_fallback was given.
9182 if test "${enable_lvm1_fallback+set}" = set; then
9183 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9188 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9189 $as_echo "$LVM1_FALLBACK" >&6; }
9191 if test x$LVM1_FALLBACK = xyes; then
9193 cat >>confdefs.h <<\_ACEOF
9194 #define LVM1_FALLBACK 1
9199 ################################################################################
9200 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9201 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9203 # Check whether --with-lvm1 was given.
9204 if test "${with_lvm1+set}" = set; then
9205 withval=$with_lvm1; LVM1="$withval"
9210 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9211 $as_echo "$LVM1" >&6; }
9213 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9214 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9216 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9218 { (exit 1); exit 1; }; }
9221 if test x$LVM1 = xinternal; then
9223 cat >>confdefs.h <<\_ACEOF
9224 #define LVM1_INTERNAL 1
9229 ################################################################################
9230 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9231 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9233 # Check whether --with-pool was given.
9234 if test "${with_pool+set}" = set; then
9235 withval=$with_pool; POOL="$withval"
9240 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9241 $as_echo "$POOL" >&6; }
9243 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9244 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9246 $as_echo "$as_me: error
: --with-pool parameter invalid
9248 { (exit 1); exit 1; }; }
9251 if test x$POOL = xinternal; then
9253 cat >>confdefs.h <<\_ACEOF
9254 #define POOL_INTERNAL 1
9259 ################################################################################
9260 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9261 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9263 # Check whether --with-cluster was given.
9264 if test "${with_cluster+set}" = set; then
9265 withval=$with_cluster; CLUSTER="$withval"
9268 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9269 $as_echo "$CLUSTER" >&6; }
9271 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9272 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9274 $as_echo "$as_me: error
: --with-cluster parameter invalid
9276 { (exit 1); exit 1; }; }
9279 if test x$CLUSTER = xinternal; then
9281 cat >>confdefs.h <<\_ACEOF
9282 #define CLUSTER_LOCKING_INTERNAL 1
9287 ################################################################################
9288 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9289 $as_echo_n "checking whether to include snapshots...
" >&6; }
9291 # Check whether --with-snapshots was given.
9292 if test "${with_snapshots+set}" = set; then
9293 withval=$with_snapshots; SNAPSHOTS="$withval"
9295 SNAPSHOTS="internal
"
9298 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9299 $as_echo "$SNAPSHOTS" >&6; }
9301 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9302 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9304 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9306 { (exit 1); exit 1; }; }
9309 if test x$SNAPSHOTS = xinternal; then
9311 cat >>confdefs.h <<\_ACEOF
9312 #define SNAPSHOT_INTERNAL 1
9317 ################################################################################
9318 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9319 $as_echo_n "checking whether to include mirrors...
" >&6; }
9321 # Check whether --with-mirrors was given.
9322 if test "${with_mirrors+set}" = set; then
9323 withval=$with_mirrors; MIRRORS="$withval"
9328 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9329 $as_echo "$MIRRORS" >&6; }
9331 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9332 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9334 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9336 { (exit 1); exit 1; }; }
9339 if test x$MIRRORS = xinternal; then
9341 cat >>confdefs.h <<\_ACEOF
9342 #define MIRRORED_INTERNAL 1
9347 ################################################################################
9348 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9349 $as_echo_n "checking whether to
enable readline...
" >&6; }
9350 # Check whether --enable-readline was given.
9351 if test "${enable_readline+set}" = set; then
9352 enableval=$enable_readline; READLINE=$enableval
9357 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9358 $as_echo "$READLINE" >&6; }
9360 ################################################################################
9361 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9362 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9363 # Check whether --enable-realtime was given.
9364 if test "${enable_realtime+set}" = set; then
9365 enableval=$enable_realtime; REALTIME=$enableval
9368 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9369 $as_echo "$REALTIME" >&6; }
9371 ################################################################################
9375 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9376 if test -n "$ac_tool_prefix"; then
9377 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9378 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9379 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9380 $as_echo_n "checking
for $ac_word...
" >&6; }
9381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9382 $as_echo_n "(cached
) " >&6
9386 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9396 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9397 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9408 if test -n "$PKG_CONFIG"; then
9409 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9410 $as_echo "$PKG_CONFIG" >&6; }
9412 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9413 $as_echo "no
" >&6; }
9418 if test -z "$ac_cv_path_PKG_CONFIG"; then
9419 ac_pt_PKG_CONFIG=$PKG_CONFIG
9420 # Extract the first word of "pkg-config
", so it can be a program name with args.
9421 set dummy pkg-config; ac_word=$2
9422 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9423 $as_echo_n "checking
for $ac_word...
" >&6; }
9424 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9425 $as_echo_n "(cached
) " >&6
9427 case $ac_pt_PKG_CONFIG in
9429 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir=.
9437 for ac_exec_ext in '' $ac_executable_extensions; do
9438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9439 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9440 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9450 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9451 if test -n "$ac_pt_PKG_CONFIG"; then
9452 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9453 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9455 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9456 $as_echo "no
" >&6; }
9459 if test "x
$ac_pt_PKG_CONFIG" = x; then
9462 case $cross_compiling:$ac_tool_warned in
9464 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9465 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9466 ac_tool_warned=yes ;;
9468 PKG_CONFIG=$ac_pt_PKG_CONFIG
9471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9475 if test -n "$PKG_CONFIG"; then
9476 _pkg_min_version=0.9.0
9477 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9478 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9480 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9481 $as_echo "yes" >&6; }
9483 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9484 $as_echo "no
" >&6; }
9491 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9492 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9494 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9495 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9496 elif test -n "$PKG_CONFIG"; then
9497 if test -n "$PKG_CONFIG" && \
9498 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9499 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9501 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9502 (exit $ac_status); }; then
9503 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9510 if test -n "$PKGCONFIGINIT_LIBS"; then
9511 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9512 elif test -n "$PKG_CONFIG"; then
9513 if test -n "$PKG_CONFIG" && \
9514 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9515 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9517 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9518 (exit $ac_status); }; then
9519 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9529 if test $pkg_failed = yes; then
9531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9532 _pkg_short_errors_supported=yes
9534 _pkg_short_errors_supported=no
9536 if test $_pkg_short_errors_supported = yes; then
9537 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9539 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9541 # Put the nasty error message in config.log where it belongs
9542 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9544 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9545 $as_echo "no
" >&6; }
9546 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9547 $as_echo "pkg-config initialized
" >&6; }
9548 elif test $pkg_failed = untried; then
9549 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9550 $as_echo "pkg-config initialized
" >&6; }
9552 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9553 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9554 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9555 $as_echo "yes" >&6; }
9561 ################################################################################
9562 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9563 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9565 # Check whether --with-clvmd was given.
9566 if test "${with_clvmd+set}" = set; then
9567 withval=$with_clvmd; CLVMD="$withval"
9572 if test x$CLVMD = xyes; then
9575 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9576 $as_echo "$CLVMD" >&6; }
9578 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9582 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9587 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9590 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9593 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9596 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9600 if test x$BUILDGULM = xyes; then
9601 if test x$BUILDCOROSYNC = xyes || \
9602 test x$BUILDOPENAIS = xyes; then
9603 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9604 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9605 { (exit 1); exit 1; }; }
9614 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9615 $as_echo "$as_me: error
: bailing out
" >&2;}
9616 { (exit 1); exit 1; }; }
9619 if test x$CLVMD = xall; then
9620 bailout=soft_bailout
9626 bailout=hard_bailout
9629 check_lib_no_libs() {
9636 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9637 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9638 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9639 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9640 $as_echo_n "(cached
) " >&6
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9657 char $lib_no_libs_arg2 ();
9661 return $lib_no_libs_arg2 ();
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9672 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9673 $as_echo "$ac_try_echo") >&5
9674 (eval "$ac_link") 2>conftest.er1
9676 grep -v '^ *+' conftest.er1 >conftest.err
9678 cat conftest.err >&5
9679 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9680 (exit $ac_status); } && {
9681 test -z "$ac_c_werror_flag" ||
9682 test ! -s conftest.err
9683 } && test -s conftest$ac_exeext && {
9684 test "$cross_compiling" = yes ||
9685 $as_test_x conftest$ac_exeext
9687 eval "$as_ac_Lib=yes"
9689 $as_echo "$as_me: failed program was
:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 eval "$as_ac_Lib=no
"
9695 rm -rf conftest.dSYM
9696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9701 $as_echo "$as_val"'`
9702 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9703 $as_echo "$ac_res" >&6; }
9704 as_val=`eval 'as_val=${'$as_ac_Lib'}
9705 $as_echo "$as_val"'`
9706 if test "x
$as_val" = x""yes; then
9707 cat >>confdefs.h <<_ACEOF
9708 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9711 LIBS="-l$lib_no_libs_arg1 $LIBS"
9717 LIBS=$ac_check_lib_save_LIBS
9720 if test x$BUILDGULM = xyes; then
9723 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9724 $as_echo_n "checking
for CCS...
" >&6; }
9726 if test -n "$CCS_CFLAGS"; then
9727 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9728 elif test -n "$PKG_CONFIG"; then
9729 if test -n "$PKG_CONFIG" && \
9730 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9731 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9733 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9734 (exit $ac_status); }; then
9735 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9742 if test -n "$CCS_LIBS"; then
9743 pkg_cv_CCS_LIBS="$CCS_LIBS"
9744 elif test -n "$PKG_CONFIG"; then
9745 if test -n "$PKG_CONFIG" && \
9746 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9747 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9749 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9750 (exit $ac_status); }; then
9751 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9761 if test $pkg_failed = yes; then
9763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9764 _pkg_short_errors_supported=yes
9766 _pkg_short_errors_supported=no
9768 if test $_pkg_short_errors_supported = yes; then
9769 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9771 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9773 # Put the nasty error message in config.log where it belongs
9774 echo "$CCS_PKG_ERRORS" >&5
9776 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9777 $as_echo "no
" >&6; }
9780 for ac_header in ccs.h
9782 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9783 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9784 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9785 $as_echo_n "checking
for $ac_header...
" >&6; }
9786 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9787 $as_echo_n "(cached
) " >&6
9789 ac_res=`eval 'as_val=${'$as_ac_Header'}
9790 $as_echo "$as_val"'`
9791 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9792 $as_echo "$ac_res" >&6; }
9794 # Is the header compilable?
9795 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9796 $as_echo_n "checking
$ac_header usability...
" >&6; }
9797 cat >conftest.$ac_ext <<_ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9803 $ac_includes_default
9804 #include <$ac_header>
9806 rm -f conftest.$ac_objext
9807 if { (ac_try="$ac_compile"
9809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9810 *) ac_try_echo=$ac_try;;
9812 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9813 $as_echo "$ac_try_echo") >&5
9814 (eval "$ac_compile") 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9820 (exit $ac_status); } && {
9821 test -z "$ac_c_werror_flag" ||
9822 test ! -s conftest.err
9823 } && test -s conftest.$ac_objext; then
9824 ac_header_compiler=yes
9826 $as_echo "$as_me: failed program was
:" >&5
9827 sed 's/^/| /' conftest.$ac_ext >&5
9829 ac_header_compiler=no
9832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9833 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9834 $as_echo "$ac_header_compiler" >&6; }
9836 # Is the header present?
9837 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9838 $as_echo_n "checking
$ac_header presence...
" >&6; }
9839 cat >conftest.$ac_ext <<_ACEOF
9842 cat confdefs.h >>conftest.$ac_ext
9843 cat >>conftest.$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9845 #include <$ac_header>
9847 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9853 $as_echo "$ac_try_echo") >&5
9854 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9856 grep -v '^ *+' conftest.er1 >conftest.err
9858 cat conftest.err >&5
9859 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9860 (exit $ac_status); } >/dev/null && {
9861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9862 test ! -s conftest.err
9864 ac_header_preproc=yes
9866 $as_echo "$as_me: failed program was
:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 ac_header_preproc=no
9872 rm -f conftest.err conftest.$ac_ext
9873 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9874 $as_echo "$ac_header_preproc" >&6; }
9876 # So? What about this header?
9877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9879 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9880 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9881 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9882 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9883 ac_header_preproc=yes
9886 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9887 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9888 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9889 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9890 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9891 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9892 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9893 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9894 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9895 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9896 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9897 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9901 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9902 $as_echo_n "checking
for $ac_header...
" >&6; }
9903 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9904 $as_echo_n "(cached
) " >&6
9906 eval "$as_ac_Header=\
$ac_header_preproc"
9908 ac_res=`eval 'as_val=${'$as_ac_Header'}
9909 $as_echo "$as_val"'`
9910 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9911 $as_echo "$ac_res" >&6; }
9914 as_val=`eval 'as_val=${'$as_ac_Header'}
9915 $as_echo "$as_val"'`
9916 if test "x
$as_val" = x""yes; then
9917 cat >>confdefs.h <<_ACEOF
9918 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9927 check_lib_no_libs ccs ccs_connect
9928 if test $NOTFOUND = 0; then
9929 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9930 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9934 elif test $pkg_failed = untried; then
9937 for ac_header in ccs.h
9939 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9940 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9941 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9942 $as_echo_n "checking
for $ac_header...
" >&6; }
9943 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9944 $as_echo_n "(cached
) " >&6
9946 ac_res=`eval 'as_val=${'$as_ac_Header'}
9947 $as_echo "$as_val"'`
9948 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9949 $as_echo "$ac_res" >&6; }
9951 # Is the header compilable?
9952 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9953 $as_echo_n "checking
$ac_header usability...
" >&6; }
9954 cat >conftest.$ac_ext <<_ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9960 $ac_includes_default
9961 #include <$ac_header>
9963 rm -f conftest.$ac_objext
9964 if { (ac_try="$ac_compile"
9966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9967 *) ac_try_echo=$ac_try;;
9969 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9970 $as_echo "$ac_try_echo") >&5
9971 (eval "$ac_compile") 2>conftest.er1
9973 grep -v '^ *+' conftest.er1 >conftest.err
9975 cat conftest.err >&5
9976 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9977 (exit $ac_status); } && {
9978 test -z "$ac_c_werror_flag" ||
9979 test ! -s conftest.err
9980 } && test -s conftest.$ac_objext; then
9981 ac_header_compiler=yes
9983 $as_echo "$as_me: failed program was
:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9986 ac_header_compiler=no
9989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9990 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9991 $as_echo "$ac_header_compiler" >&6; }
9993 # Is the header present?
9994 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9995 $as_echo_n "checking
$ac_header presence...
" >&6; }
9996 cat >conftest.$ac_ext <<_ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 #include <$ac_header>
10004 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10005 case "(($ac_try" in
10006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10009 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10010 $as_echo "$ac_try_echo") >&5
10011 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10013 grep -v '^ *+' conftest.er1 >conftest.err
10015 cat conftest.err >&5
10016 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10017 (exit $ac_status); } >/dev/null && {
10018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10019 test ! -s conftest.err
10021 ac_header_preproc=yes
10023 $as_echo "$as_me: failed program was
:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 ac_header_preproc=no
10029 rm -f conftest.err conftest.$ac_ext
10030 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10031 $as_echo "$ac_header_preproc" >&6; }
10033 # So? What about this header?
10034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10036 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10037 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10038 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10039 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10040 ac_header_preproc=yes
10043 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10044 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10045 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10046 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10047 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10048 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10049 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10050 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10051 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10052 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10053 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10054 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10058 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10059 $as_echo_n "checking
for $ac_header...
" >&6; }
10060 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10061 $as_echo_n "(cached
) " >&6
10063 eval "$as_ac_Header=\
$ac_header_preproc"
10065 ac_res=`eval 'as_val=${'$as_ac_Header'}
10066 $as_echo "$as_val"'`
10067 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10068 $as_echo "$ac_res" >&6; }
10071 as_val=`eval 'as_val=${'$as_ac_Header'}
10072 $as_echo "$as_val"'`
10073 if test "x
$as_val" = x""yes; then
10074 cat >>confdefs.h <<_ACEOF
10075 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10084 check_lib_no_libs ccs ccs_connect
10085 if test $NOTFOUND = 0; then
10086 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10087 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10092 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10093 CCS_LIBS=$pkg_cv_CCS_LIBS
10094 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10095 $as_echo "yes" >&6; }
10100 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10101 $as_echo_n "checking
for GULM...
" >&6; }
10103 if test -n "$GULM_CFLAGS"; then
10104 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10105 elif test -n "$PKG_CONFIG"; then
10106 if test -n "$PKG_CONFIG" && \
10107 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10108 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10110 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10111 (exit $ac_status); }; then
10112 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10119 if test -n "$GULM_LIBS"; then
10120 pkg_cv_GULM_LIBS="$GULM_LIBS"
10121 elif test -n "$PKG_CONFIG"; then
10122 if test -n "$PKG_CONFIG" && \
10123 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10124 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10126 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10127 (exit $ac_status); }; then
10128 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10138 if test $pkg_failed = yes; then
10140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10141 _pkg_short_errors_supported=yes
10143 _pkg_short_errors_supported=no
10145 if test $_pkg_short_errors_supported = yes; then
10146 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10148 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10150 # Put the nasty error message in config.log where it belongs
10151 echo "$GULM_PKG_ERRORS" >&5
10153 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10154 $as_echo "no
" >&6; }
10157 for ac_header in libgulm.h
10159 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10160 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10161 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10162 $as_echo_n "checking
for $ac_header...
" >&6; }
10163 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10164 $as_echo_n "(cached
) " >&6
10166 ac_res=`eval 'as_val=${'$as_ac_Header'}
10167 $as_echo "$as_val"'`
10168 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10169 $as_echo "$ac_res" >&6; }
10171 # Is the header compilable?
10172 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10173 $as_echo_n "checking
$ac_header usability...
" >&6; }
10174 cat >conftest.$ac_ext <<_ACEOF
10177 cat confdefs.h >>conftest.$ac_ext
10178 cat >>conftest.$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10180 $ac_includes_default
10181 #include <$ac_header>
10183 rm -f conftest.$ac_objext
10184 if { (ac_try="$ac_compile"
10185 case "(($ac_try" in
10186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10187 *) ac_try_echo=$ac_try;;
10189 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10190 $as_echo "$ac_try_echo") >&5
10191 (eval "$ac_compile") 2>conftest.er1
10193 grep -v '^ *+' conftest.er1 >conftest.err
10195 cat conftest.err >&5
10196 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10197 (exit $ac_status); } && {
10198 test -z "$ac_c_werror_flag" ||
10199 test ! -s conftest.err
10200 } && test -s conftest.$ac_objext; then
10201 ac_header_compiler=yes
10203 $as_echo "$as_me: failed program was
:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10206 ac_header_compiler=no
10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10210 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10211 $as_echo "$ac_header_compiler" >&6; }
10213 # Is the header present?
10214 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10215 $as_echo_n "checking
$ac_header presence...
" >&6; }
10216 cat >conftest.$ac_ext <<_ACEOF
10219 cat confdefs.h >>conftest.$ac_ext
10220 cat >>conftest.$ac_ext <<_ACEOF
10221 /* end confdefs.h. */
10222 #include <$ac_header>
10224 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10225 case "(($ac_try" in
10226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10229 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10230 $as_echo "$ac_try_echo") >&5
10231 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10233 grep -v '^ *+' conftest.er1 >conftest.err
10235 cat conftest.err >&5
10236 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10237 (exit $ac_status); } >/dev/null && {
10238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10239 test ! -s conftest.err
10241 ac_header_preproc=yes
10243 $as_echo "$as_me: failed program was
:" >&5
10244 sed 's/^/| /' conftest.$ac_ext >&5
10246 ac_header_preproc=no
10249 rm -f conftest.err conftest.$ac_ext
10250 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10251 $as_echo "$ac_header_preproc" >&6; }
10253 # So? What about this header?
10254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10256 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10257 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10258 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10259 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10260 ac_header_preproc=yes
10263 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10264 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10265 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10266 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10267 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10268 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10269 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10270 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10271 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10272 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10273 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10274 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10278 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10279 $as_echo_n "checking
for $ac_header...
" >&6; }
10280 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10281 $as_echo_n "(cached
) " >&6
10283 eval "$as_ac_Header=\
$ac_header_preproc"
10285 ac_res=`eval 'as_val=${'$as_ac_Header'}
10286 $as_echo "$as_val"'`
10287 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10288 $as_echo "$ac_res" >&6; }
10291 as_val=`eval 'as_val=${'$as_ac_Header'}
10292 $as_echo "$as_val"'`
10293 if test "x
$as_val" = x""yes; then
10294 cat >>confdefs.h <<_ACEOF
10295 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10304 check_lib_no_libs gulm lg_core_login
10305 if test $NOTFOUND = 0; then
10306 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10307 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10311 elif test $pkg_failed = untried; then
10314 for ac_header in libgulm.h
10316 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10317 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10318 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10319 $as_echo_n "checking
for $ac_header...
" >&6; }
10320 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10321 $as_echo_n "(cached
) " >&6
10323 ac_res=`eval 'as_val=${'$as_ac_Header'}
10324 $as_echo "$as_val"'`
10325 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10326 $as_echo "$ac_res" >&6; }
10328 # Is the header compilable?
10329 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10330 $as_echo_n "checking
$ac_header usability...
" >&6; }
10331 cat >conftest.$ac_ext <<_ACEOF
10334 cat confdefs.h >>conftest.$ac_ext
10335 cat >>conftest.$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 $ac_includes_default
10338 #include <$ac_header>
10340 rm -f conftest.$ac_objext
10341 if { (ac_try="$ac_compile"
10342 case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10347 $as_echo "$ac_try_echo") >&5
10348 (eval "$ac_compile") 2>conftest.er1
10350 grep -v '^ *+' conftest.er1 >conftest.err
10352 cat conftest.err >&5
10353 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10354 (exit $ac_status); } && {
10355 test -z "$ac_c_werror_flag" ||
10356 test ! -s conftest.err
10357 } && test -s conftest.$ac_objext; then
10358 ac_header_compiler=yes
10360 $as_echo "$as_me: failed program was
:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 ac_header_compiler=no
10366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10367 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10368 $as_echo "$ac_header_compiler" >&6; }
10370 # Is the header present?
10371 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10372 $as_echo_n "checking
$ac_header presence...
" >&6; }
10373 cat >conftest.$ac_ext <<_ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 #include <$ac_header>
10381 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10382 case "(($ac_try" in
10383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10384 *) ac_try_echo=$ac_try;;
10386 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10387 $as_echo "$ac_try_echo") >&5
10388 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10390 grep -v '^ *+' conftest.er1 >conftest.err
10392 cat conftest.err >&5
10393 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10394 (exit $ac_status); } >/dev/null && {
10395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10396 test ! -s conftest.err
10398 ac_header_preproc=yes
10400 $as_echo "$as_me: failed program was
:" >&5
10401 sed 's/^/| /' conftest.$ac_ext >&5
10403 ac_header_preproc=no
10406 rm -f conftest.err conftest.$ac_ext
10407 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10408 $as_echo "$ac_header_preproc" >&6; }
10410 # So? What about this header?
10411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10413 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10414 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10415 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10416 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10417 ac_header_preproc=yes
10420 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10421 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10422 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10423 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10424 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10425 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10426 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10427 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10428 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10429 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10430 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10431 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10435 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10436 $as_echo_n "checking
for $ac_header...
" >&6; }
10437 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10438 $as_echo_n "(cached
) " >&6
10440 eval "$as_ac_Header=\
$ac_header_preproc"
10442 ac_res=`eval 'as_val=${'$as_ac_Header'}
10443 $as_echo "$as_val"'`
10444 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10445 $as_echo "$ac_res" >&6; }
10448 as_val=`eval 'as_val=${'$as_ac_Header'}
10449 $as_echo "$as_val"'`
10450 if test "x
$as_val" = x""yes; then
10451 cat >>confdefs.h <<_ACEOF
10452 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10461 check_lib_no_libs gulm lg_core_login
10462 if test $NOTFOUND = 0; then
10463 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10464 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10469 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10470 GULM_LIBS=$pkg_cv_GULM_LIBS
10471 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10472 $as_echo "yes" >&6; }
10477 if test x$BUILDCMAN = xyes; then
10480 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10481 $as_echo_n "checking
for CMAN...
" >&6; }
10483 if test -n "$CMAN_CFLAGS"; then
10484 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10485 elif test -n "$PKG_CONFIG"; then
10486 if test -n "$PKG_CONFIG" && \
10487 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10488 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10490 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10491 (exit $ac_status); }; then
10492 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10499 if test -n "$CMAN_LIBS"; then
10500 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10501 elif test -n "$PKG_CONFIG"; then
10502 if test -n "$PKG_CONFIG" && \
10503 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10504 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10506 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10507 (exit $ac_status); }; then
10508 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10518 if test $pkg_failed = yes; then
10520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10521 _pkg_short_errors_supported=yes
10523 _pkg_short_errors_supported=no
10525 if test $_pkg_short_errors_supported = yes; then
10526 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10528 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10530 # Put the nasty error message in config.log where it belongs
10531 echo "$CMAN_PKG_ERRORS" >&5
10533 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10534 $as_echo "no
" >&6; }
10537 for ac_header in libcman.h
10539 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10540 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10541 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10542 $as_echo_n "checking
for $ac_header...
" >&6; }
10543 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10544 $as_echo_n "(cached
) " >&6
10546 ac_res=`eval 'as_val=${'$as_ac_Header'}
10547 $as_echo "$as_val"'`
10548 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10549 $as_echo "$ac_res" >&6; }
10551 # Is the header compilable?
10552 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10553 $as_echo_n "checking
$ac_header usability...
" >&6; }
10554 cat >conftest.$ac_ext <<_ACEOF
10557 cat confdefs.h >>conftest.$ac_ext
10558 cat >>conftest.$ac_ext <<_ACEOF
10559 /* end confdefs.h. */
10560 $ac_includes_default
10561 #include <$ac_header>
10563 rm -f conftest.$ac_objext
10564 if { (ac_try="$ac_compile"
10565 case "(($ac_try" in
10566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10567 *) ac_try_echo=$ac_try;;
10569 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10570 $as_echo "$ac_try_echo") >&5
10571 (eval "$ac_compile") 2>conftest.er1
10573 grep -v '^ *+' conftest.er1 >conftest.err
10575 cat conftest.err >&5
10576 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10577 (exit $ac_status); } && {
10578 test -z "$ac_c_werror_flag" ||
10579 test ! -s conftest.err
10580 } && test -s conftest.$ac_objext; then
10581 ac_header_compiler=yes
10583 $as_echo "$as_me: failed program was
:" >&5
10584 sed 's/^/| /' conftest.$ac_ext >&5
10586 ac_header_compiler=no
10589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10590 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10591 $as_echo "$ac_header_compiler" >&6; }
10593 # Is the header present?
10594 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10595 $as_echo_n "checking
$ac_header presence...
" >&6; }
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602 #include <$ac_header>
10604 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10605 case "(($ac_try" in
10606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10607 *) ac_try_echo=$ac_try;;
10609 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10610 $as_echo "$ac_try_echo") >&5
10611 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1 >conftest.err
10615 cat conftest.err >&5
10616 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10617 (exit $ac_status); } >/dev/null && {
10618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10621 ac_header_preproc=yes
10623 $as_echo "$as_me: failed program was
:" >&5
10624 sed 's/^/| /' conftest.$ac_ext >&5
10626 ac_header_preproc=no
10629 rm -f conftest.err conftest.$ac_ext
10630 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10631 $as_echo "$ac_header_preproc" >&6; }
10633 # So? What about this header?
10634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10636 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10637 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10638 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10639 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10640 ac_header_preproc=yes
10643 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10644 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10645 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10646 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10647 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10648 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10649 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10650 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10651 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10652 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10653 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10654 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10658 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10659 $as_echo_n "checking
for $ac_header...
" >&6; }
10660 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10661 $as_echo_n "(cached
) " >&6
10663 eval "$as_ac_Header=\
$ac_header_preproc"
10665 ac_res=`eval 'as_val=${'$as_ac_Header'}
10666 $as_echo "$as_val"'`
10667 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10668 $as_echo "$ac_res" >&6; }
10671 as_val=`eval 'as_val=${'$as_ac_Header'}
10672 $as_echo "$as_val"'`
10673 if test "x
$as_val" = x""yes; then
10674 cat >>confdefs.h <<_ACEOF
10675 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10684 check_lib_no_libs cman cman_init
10685 if test $NOTFOUND = 0; then
10686 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10687 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10691 elif test $pkg_failed = untried; then
10694 for ac_header in libcman.h
10696 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10697 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10698 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10699 $as_echo_n "checking
for $ac_header...
" >&6; }
10700 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10701 $as_echo_n "(cached
) " >&6
10703 ac_res=`eval 'as_val=${'$as_ac_Header'}
10704 $as_echo "$as_val"'`
10705 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10706 $as_echo "$ac_res" >&6; }
10708 # Is the header compilable?
10709 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10710 $as_echo_n "checking
$ac_header usability...
" >&6; }
10711 cat >conftest.$ac_ext <<_ACEOF
10714 cat confdefs.h >>conftest.$ac_ext
10715 cat >>conftest.$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10717 $ac_includes_default
10718 #include <$ac_header>
10720 rm -f conftest.$ac_objext
10721 if { (ac_try="$ac_compile"
10722 case "(($ac_try" in
10723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10724 *) ac_try_echo=$ac_try;;
10726 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10727 $as_echo "$ac_try_echo") >&5
10728 (eval "$ac_compile") 2>conftest.er1
10730 grep -v '^ *+' conftest.er1 >conftest.err
10732 cat conftest.err >&5
10733 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10734 (exit $ac_status); } && {
10735 test -z "$ac_c_werror_flag" ||
10736 test ! -s conftest.err
10737 } && test -s conftest.$ac_objext; then
10738 ac_header_compiler=yes
10740 $as_echo "$as_me: failed program was
:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 ac_header_compiler=no
10746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10747 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10748 $as_echo "$ac_header_compiler" >&6; }
10750 # Is the header present?
10751 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10752 $as_echo_n "checking
$ac_header presence...
" >&6; }
10753 cat >conftest.$ac_ext <<_ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10759 #include <$ac_header>
10761 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10762 case "(($ac_try" in
10763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 *) ac_try_echo=$ac_try;;
10766 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10767 $as_echo "$ac_try_echo") >&5
10768 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10770 grep -v '^ *+' conftest.er1 >conftest.err
10772 cat conftest.err >&5
10773 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10774 (exit $ac_status); } >/dev/null && {
10775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10776 test ! -s conftest.err
10778 ac_header_preproc=yes
10780 $as_echo "$as_me: failed program was
:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10783 ac_header_preproc=no
10786 rm -f conftest.err conftest.$ac_ext
10787 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10788 $as_echo "$ac_header_preproc" >&6; }
10790 # So? What about this header?
10791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10793 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10794 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10795 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10796 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10797 ac_header_preproc=yes
10800 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10801 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10802 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10803 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10804 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10805 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10806 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10807 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10808 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10809 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10810 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10811 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10815 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10816 $as_echo_n "checking
for $ac_header...
" >&6; }
10817 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10818 $as_echo_n "(cached
) " >&6
10820 eval "$as_ac_Header=\
$ac_header_preproc"
10822 ac_res=`eval 'as_val=${'$as_ac_Header'}
10823 $as_echo "$as_val"'`
10824 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10825 $as_echo "$ac_res" >&6; }
10828 as_val=`eval 'as_val=${'$as_ac_Header'}
10829 $as_echo "$as_val"'`
10830 if test "x
$as_val" = x""yes; then
10831 cat >>confdefs.h <<_ACEOF
10832 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10841 check_lib_no_libs cman cman_init
10842 if test $NOTFOUND = 0; then
10843 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10844 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10849 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10850 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10851 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10852 $as_echo "yes" >&6; }
10859 if test x$BUILDCOROSYNC = xyes || \
10860 test x$BUILDOPENAIS = xyes; then
10863 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10864 $as_echo_n "checking
for COROSYNC...
" >&6; }
10866 if test -n "$COROSYNC_CFLAGS"; then
10867 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10868 elif test -n "$PKG_CONFIG"; then
10869 if test -n "$PKG_CONFIG" && \
10870 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10871 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10873 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10874 (exit $ac_status); }; then
10875 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10882 if test -n "$COROSYNC_LIBS"; then
10883 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10884 elif test -n "$PKG_CONFIG"; then
10885 if test -n "$PKG_CONFIG" && \
10886 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10887 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10889 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10890 (exit $ac_status); }; then
10891 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10901 if test $pkg_failed = yes; then
10903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10904 _pkg_short_errors_supported=yes
10906 _pkg_short_errors_supported=no
10908 if test $_pkg_short_errors_supported = yes; then
10909 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10911 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10913 # Put the nasty error message in config.log where it belongs
10914 echo "$COROSYNC_PKG_ERRORS" >&5
10916 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10917 $as_echo "no
" >&6; }
10919 elif test $pkg_failed = untried; then
10922 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10923 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10924 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10925 $as_echo "yes" >&6; }
10931 if test x$BUILDCOROSYNC = xyes; then
10934 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10935 $as_echo_n "checking
for QUORUM...
" >&6; }
10937 if test -n "$QUORUM_CFLAGS"; then
10938 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10939 elif test -n "$PKG_CONFIG"; then
10940 if test -n "$PKG_CONFIG" && \
10941 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10942 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10944 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10945 (exit $ac_status); }; then
10946 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10953 if test -n "$QUORUM_LIBS"; then
10954 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10955 elif test -n "$PKG_CONFIG"; then
10956 if test -n "$PKG_CONFIG" && \
10957 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10958 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10960 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10961 (exit $ac_status); }; then
10962 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10972 if test $pkg_failed = yes; then
10974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10975 _pkg_short_errors_supported=yes
10977 _pkg_short_errors_supported=no
10979 if test $_pkg_short_errors_supported = yes; then
10980 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10982 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10984 # Put the nasty error message in config.log where it belongs
10985 echo "$QUORUM_PKG_ERRORS" >&5
10987 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10988 $as_echo "no
" >&6; }
10990 elif test $pkg_failed = untried; then
10993 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10994 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10995 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10996 $as_echo "yes" >&6; }
11003 if test x$BUILDOPENAIS = xyes; then
11006 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
11007 $as_echo_n "checking
for SALCK...
" >&6; }
11009 if test -n "$SALCK_CFLAGS"; then
11010 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
11011 elif test -n "$PKG_CONFIG"; then
11012 if test -n "$PKG_CONFIG" && \
11013 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11014 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11016 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11017 (exit $ac_status); }; then
11018 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11025 if test -n "$SALCK_LIBS"; then
11026 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11027 elif test -n "$PKG_CONFIG"; then
11028 if test -n "$PKG_CONFIG" && \
11029 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11030 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11032 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11033 (exit $ac_status); }; then
11034 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11044 if test $pkg_failed = yes; then
11046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11047 _pkg_short_errors_supported=yes
11049 _pkg_short_errors_supported=no
11051 if test $_pkg_short_errors_supported = yes; then
11052 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11054 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11056 # Put the nasty error message in config.log where it belongs
11057 echo "$SALCK_PKG_ERRORS" >&5
11059 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11062 elif test $pkg_failed = untried; then
11065 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11066 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11067 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11068 $as_echo "yes" >&6; }
11076 if test x$CHECKCONFDB = xyes; then
11079 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11080 $as_echo_n "checking
for CONFDB...
" >&6; }
11082 if test -n "$CONFDB_CFLAGS"; then
11083 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11084 elif test -n "$PKG_CONFIG"; then
11085 if test -n "$PKG_CONFIG" && \
11086 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11087 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11089 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11090 (exit $ac_status); }; then
11091 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11098 if test -n "$CONFDB_LIBS"; then
11099 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11100 elif test -n "$PKG_CONFIG"; then
11101 if test -n "$PKG_CONFIG" && \
11102 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11103 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11105 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11106 (exit $ac_status); }; then
11107 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11117 if test $pkg_failed = yes; then
11119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11120 _pkg_short_errors_supported=yes
11122 _pkg_short_errors_supported=no
11124 if test $_pkg_short_errors_supported = yes; then
11125 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11127 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11129 # Put the nasty error message in config.log where it belongs
11130 echo "$CONFDB_PKG_ERRORS" >&5
11132 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11133 $as_echo "no
" >&6; }
11135 elif test $pkg_failed = untried; then
11138 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11139 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11140 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11141 $as_echo "yes" >&6; }
11146 for ac_header in corosync/confdb.h
11148 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11149 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11150 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11151 $as_echo_n "checking
for $ac_header...
" >&6; }
11152 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11153 $as_echo_n "(cached
) " >&6
11155 ac_res=`eval 'as_val=${'$as_ac_Header'}
11156 $as_echo "$as_val"'`
11157 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11158 $as_echo "$ac_res" >&6; }
11160 # Is the header compilable?
11161 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11162 $as_echo_n "checking
$ac_header usability...
" >&6; }
11163 cat >conftest.$ac_ext <<_ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169 $ac_includes_default
11170 #include <$ac_header>
11172 rm -f conftest.$ac_objext
11173 if { (ac_try="$ac_compile"
11174 case "(($ac_try" in
11175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11176 *) ac_try_echo=$ac_try;;
11178 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11179 $as_echo "$ac_try_echo") >&5
11180 (eval "$ac_compile") 2>conftest.er1
11182 grep -v '^ *+' conftest.er1 >conftest.err
11184 cat conftest.err >&5
11185 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11186 (exit $ac_status); } && {
11187 test -z "$ac_c_werror_flag" ||
11188 test ! -s conftest.err
11189 } && test -s conftest.$ac_objext; then
11190 ac_header_compiler=yes
11192 $as_echo "$as_me: failed program was
:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11195 ac_header_compiler=no
11198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11199 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11200 $as_echo "$ac_header_compiler" >&6; }
11202 # Is the header present?
11203 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11204 $as_echo_n "checking
$ac_header presence...
" >&6; }
11205 cat >conftest.$ac_ext <<_ACEOF
11208 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11211 #include <$ac_header>
11213 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11214 case "(($ac_try" in
11215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11216 *) ac_try_echo=$ac_try;;
11218 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11219 $as_echo "$ac_try_echo") >&5
11220 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11222 grep -v '^ *+' conftest.er1 >conftest.err
11224 cat conftest.err >&5
11225 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11226 (exit $ac_status); } >/dev/null && {
11227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11228 test ! -s conftest.err
11230 ac_header_preproc=yes
11232 $as_echo "$as_me: failed program was
:" >&5
11233 sed 's/^/| /' conftest.$ac_ext >&5
11235 ac_header_preproc=no
11238 rm -f conftest.err conftest.$ac_ext
11239 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11240 $as_echo "$ac_header_preproc" >&6; }
11242 # So? What about this header?
11243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11246 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11247 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11248 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11249 ac_header_preproc=yes
11252 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11253 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11254 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11255 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11256 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11257 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11258 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11259 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11260 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11261 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11262 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11263 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11267 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11268 $as_echo_n "checking
for $ac_header...
" >&6; }
11269 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11270 $as_echo_n "(cached
) " >&6
11272 eval "$as_ac_Header=\
$ac_header_preproc"
11274 ac_res=`eval 'as_val=${'$as_ac_Header'}
11275 $as_echo "$as_val"'`
11276 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11277 $as_echo "$ac_res" >&6; }
11280 as_val=`eval 'as_val=${'$as_ac_Header'}
11281 $as_echo "$as_val"'`
11282 if test "x
$as_val" = x""yes; then
11283 cat >>confdefs.h <<_ACEOF
11284 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11294 if test x$HAVE_CONFDB != xyes && \
11295 test x$HAVE_CONFDB_H = xyes; then
11296 check_lib_no_libs confdb confdb_initialize
11297 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11298 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11299 CONFDB_LIBS="-lconfdb"
11303 if test x$BUILDCOROSYNC = xyes && \
11304 test x$HAVE_CONFDB != xyes &&
11305 test x$CLVMD != xall; then
11306 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11307 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11308 { (exit 1); exit 1; }; }
11312 if test x$CHECKCPG = xyes; then
11315 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11316 $as_echo_n "checking
for CPG...
" >&6; }
11318 if test -n "$CPG_CFLAGS"; then
11319 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11320 elif test -n "$PKG_CONFIG"; then
11321 if test -n "$PKG_CONFIG" && \
11322 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11323 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11325 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11326 (exit $ac_status); }; then
11327 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11334 if test -n "$CPG_LIBS"; then
11335 pkg_cv_CPG_LIBS="$CPG_LIBS"
11336 elif test -n "$PKG_CONFIG"; then
11337 if test -n "$PKG_CONFIG" && \
11338 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11339 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11341 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11342 (exit $ac_status); }; then
11343 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11353 if test $pkg_failed = yes; then
11355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11356 _pkg_short_errors_supported=yes
11358 _pkg_short_errors_supported=no
11360 if test $_pkg_short_errors_supported = yes; then
11361 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11363 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11365 # Put the nasty error message in config.log where it belongs
11366 echo "$CPG_PKG_ERRORS" >&5
11368 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11369 $as_echo "no
" >&6; }
11371 elif test $pkg_failed = untried; then
11374 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11375 CPG_LIBS=$pkg_cv_CPG_LIBS
11376 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11377 $as_echo "yes" >&6; }
11382 if test x$CHECKDLM = xyes; then
11385 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11386 $as_echo_n "checking
for DLM...
" >&6; }
11388 if test -n "$DLM_CFLAGS"; then
11389 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11390 elif test -n "$PKG_CONFIG"; then
11391 if test -n "$PKG_CONFIG" && \
11392 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11393 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11395 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11396 (exit $ac_status); }; then
11397 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11404 if test -n "$DLM_LIBS"; then
11405 pkg_cv_DLM_LIBS="$DLM_LIBS"
11406 elif test -n "$PKG_CONFIG"; then
11407 if test -n "$PKG_CONFIG" && \
11408 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11409 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11411 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11412 (exit $ac_status); }; then
11413 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11423 if test $pkg_failed = yes; then
11425 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11426 _pkg_short_errors_supported=yes
11428 _pkg_short_errors_supported=no
11430 if test $_pkg_short_errors_supported = yes; then
11431 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11433 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11435 # Put the nasty error message in config.log where it belongs
11436 echo "$DLM_PKG_ERRORS" >&5
11438 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11439 $as_echo "no
" >&6; }
11442 for ac_header in libdlm.h
11444 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11445 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11446 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11447 $as_echo_n "checking
for $ac_header...
" >&6; }
11448 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11449 $as_echo_n "(cached
) " >&6
11451 ac_res=`eval 'as_val=${'$as_ac_Header'}
11452 $as_echo "$as_val"'`
11453 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11454 $as_echo "$ac_res" >&6; }
11456 # Is the header compilable?
11457 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11458 $as_echo_n "checking
$ac_header usability...
" >&6; }
11459 cat >conftest.$ac_ext <<_ACEOF
11462 cat confdefs.h >>conftest.$ac_ext
11463 cat >>conftest.$ac_ext <<_ACEOF
11464 /* end confdefs.h. */
11465 $ac_includes_default
11466 #include <$ac_header>
11468 rm -f conftest.$ac_objext
11469 if { (ac_try="$ac_compile"
11470 case "(($ac_try" in
11471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11472 *) ac_try_echo=$ac_try;;
11474 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11475 $as_echo "$ac_try_echo") >&5
11476 (eval "$ac_compile") 2>conftest.er1
11478 grep -v '^ *+' conftest.er1 >conftest.err
11480 cat conftest.err >&5
11481 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11482 (exit $ac_status); } && {
11483 test -z "$ac_c_werror_flag" ||
11484 test ! -s conftest.err
11485 } && test -s conftest.$ac_objext; then
11486 ac_header_compiler=yes
11488 $as_echo "$as_me: failed program was
:" >&5
11489 sed 's/^/| /' conftest.$ac_ext >&5
11491 ac_header_compiler=no
11494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11495 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11496 $as_echo "$ac_header_compiler" >&6; }
11498 # Is the header present?
11499 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11500 $as_echo_n "checking
$ac_header presence...
" >&6; }
11501 cat >conftest.$ac_ext <<_ACEOF
11504 cat confdefs.h >>conftest.$ac_ext
11505 cat >>conftest.$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11507 #include <$ac_header>
11509 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11510 case "(($ac_try" in
11511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11512 *) ac_try_echo=$ac_try;;
11514 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11515 $as_echo "$ac_try_echo") >&5
11516 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11518 grep -v '^ *+' conftest.er1 >conftest.err
11520 cat conftest.err >&5
11521 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11522 (exit $ac_status); } >/dev/null && {
11523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11524 test ! -s conftest.err
11526 ac_header_preproc=yes
11528 $as_echo "$as_me: failed program was
:" >&5
11529 sed 's/^/| /' conftest.$ac_ext >&5
11531 ac_header_preproc=no
11534 rm -f conftest.err conftest.$ac_ext
11535 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11536 $as_echo "$ac_header_preproc" >&6; }
11538 # So? What about this header?
11539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11541 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11542 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11543 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11544 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11545 ac_header_preproc=yes
11548 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11549 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11550 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11551 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11552 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11553 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11554 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11555 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11556 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11557 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11558 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11559 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11563 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11564 $as_echo_n "checking
for $ac_header...
" >&6; }
11565 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11566 $as_echo_n "(cached
) " >&6
11568 eval "$as_ac_Header=\
$ac_header_preproc"
11570 ac_res=`eval 'as_val=${'$as_ac_Header'}
11571 $as_echo "$as_val"'`
11572 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11573 $as_echo "$ac_res" >&6; }
11576 as_val=`eval 'as_val=${'$as_ac_Header'}
11577 $as_echo "$as_val"'`
11578 if test "x
$as_val" = x""yes; then
11579 cat >>confdefs.h <<_ACEOF
11580 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11589 check_lib_no_libs dlm dlm_lock -lpthread
11590 if test $NOTFOUND = 0; then
11591 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11592 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11593 DLM_LIBS="-ldlm -lpthread"
11596 elif test $pkg_failed = untried; then
11599 for ac_header in libdlm.h
11601 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11602 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11603 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11604 $as_echo_n "checking
for $ac_header...
" >&6; }
11605 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11606 $as_echo_n "(cached
) " >&6
11608 ac_res=`eval 'as_val=${'$as_ac_Header'}
11609 $as_echo "$as_val"'`
11610 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11611 $as_echo "$ac_res" >&6; }
11613 # Is the header compilable?
11614 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11615 $as_echo_n "checking
$ac_header usability...
" >&6; }
11616 cat >conftest.$ac_ext <<_ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11622 $ac_includes_default
11623 #include <$ac_header>
11625 rm -f conftest.$ac_objext
11626 if { (ac_try="$ac_compile"
11627 case "(($ac_try" in
11628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11629 *) ac_try_echo=$ac_try;;
11631 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11632 $as_echo "$ac_try_echo") >&5
11633 (eval "$ac_compile") 2>conftest.er1
11635 grep -v '^ *+' conftest.er1 >conftest.err
11637 cat conftest.err >&5
11638 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11639 (exit $ac_status); } && {
11640 test -z "$ac_c_werror_flag" ||
11641 test ! -s conftest.err
11642 } && test -s conftest.$ac_objext; then
11643 ac_header_compiler=yes
11645 $as_echo "$as_me: failed program was
:" >&5
11646 sed 's/^/| /' conftest.$ac_ext >&5
11648 ac_header_compiler=no
11651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11652 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11653 $as_echo "$ac_header_compiler" >&6; }
11655 # Is the header present?
11656 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11657 $as_echo_n "checking
$ac_header presence...
" >&6; }
11658 cat >conftest.$ac_ext <<_ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 #include <$ac_header>
11666 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11667 case "(($ac_try" in
11668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11669 *) ac_try_echo=$ac_try;;
11671 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11672 $as_echo "$ac_try_echo") >&5
11673 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11679 (exit $ac_status); } >/dev/null && {
11680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11683 ac_header_preproc=yes
11685 $as_echo "$as_me: failed program was
:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_header_preproc=no
11691 rm -f conftest.err conftest.$ac_ext
11692 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11693 $as_echo "$ac_header_preproc" >&6; }
11695 # So? What about this header?
11696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11698 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11699 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11700 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11701 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11702 ac_header_preproc=yes
11705 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11706 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11707 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11708 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11709 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11710 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11711 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11712 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11713 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11714 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11715 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11716 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11720 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11721 $as_echo_n "checking
for $ac_header...
" >&6; }
11722 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11723 $as_echo_n "(cached
) " >&6
11725 eval "$as_ac_Header=\
$ac_header_preproc"
11727 ac_res=`eval 'as_val=${'$as_ac_Header'}
11728 $as_echo "$as_val"'`
11729 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11730 $as_echo "$ac_res" >&6; }
11733 as_val=`eval 'as_val=${'$as_ac_Header'}
11734 $as_echo "$as_val"'`
11735 if test "x
$as_val" = x""yes; then
11736 cat >>confdefs.h <<_ACEOF
11737 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11746 check_lib_no_libs dlm dlm_lock -lpthread
11747 if test $NOTFOUND = 0; then
11748 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11749 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11750 DLM_LIBS="-ldlm -lpthread"
11754 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11755 DLM_LIBS=$pkg_cv_DLM_LIBS
11756 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11757 $as_echo "yes" >&6; }
11762 if test x$CLVMD = xall; then
11764 if test x$HAVE_CCS = xyes && \
11765 test x$HAVE_GULM = xyes; then
11766 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11767 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11768 CLVMD="$CLVMD,gulm
"
11770 if test x$HAVE_CMAN = xyes && \
11771 test x$HAVE_DLM = xyes; then
11772 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11773 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11774 CLVMD="$CLVMD,cman
"
11776 if test x$HAVE_COROSYNC = xyes && \
11777 test x$HAVE_QUORUM = xyes && \
11778 test x$HAVE_CPG = xyes && \
11779 test x$HAVE_DLM = xyes && \
11780 test x$HAVE_CONFDB = xyes; then
11781 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11782 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11783 CLVMD="$CLVMD,corosync
"
11785 if test x$HAVE_COROSYNC = xyes && \
11786 test x$HAVE_CPG = xyes && \
11787 test x$HAVE_SALCK = xyes; then
11788 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11789 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11790 CLVMD="$CLVMD,openais
"
11792 if test x$CLVMD = xnone; then
11793 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11794 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11798 ################################################################################
11799 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11800 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11801 # Check whether --enable-cmirrord was given.
11802 if test "${enable_cmirrord+set}" = set; then
11803 enableval=$enable_cmirrord; CMIRRORD=$enableval
11808 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11809 $as_echo "$CMIRRORD" >&6; }
11811 BUILD_CMIRRORD=$CMIRRORD
11813 ################################################################################
11816 if test "x
$BUILD_CMIRRORD" = xyes; then
11818 # Check whether --with-cmirrord-pidfile was given.
11819 if test "${with_cmirrord_pidfile+set}" = set; then
11820 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11821 #define CMIRRORD_PIDFILE "$withval"
11825 cat >>confdefs.h <<_ACEOF
11826 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11833 ################################################################################
11834 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11835 if test x$PKGCONFIG_INIT != x1; then
11840 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11841 $as_echo_n "checking
for SACKPT...
" >&6; }
11843 if test -n "$SACKPT_CFLAGS"; then
11844 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11845 elif test -n "$PKG_CONFIG"; then
11846 if test -n "$PKG_CONFIG" && \
11847 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11848 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11850 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11851 (exit $ac_status); }; then
11852 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11859 if test -n "$SACKPT_LIBS"; then
11860 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11861 elif test -n "$PKG_CONFIG"; then
11862 if test -n "$PKG_CONFIG" && \
11863 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11864 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11866 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11867 (exit $ac_status); }; then
11868 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11878 if test $pkg_failed = yes; then
11880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11881 _pkg_short_errors_supported=yes
11883 _pkg_short_errors_supported=no
11885 if test $_pkg_short_errors_supported = yes; then
11886 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11888 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11890 # Put the nasty error message in config.log where it belongs
11891 echo "$SACKPT_PKG_ERRORS" >&5
11893 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11897 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11898 installed software
in a non-standard prefix.
11900 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11901 and SACKPT_LIBS to avoid the need to call pkg-config.
11902 See the pkg-config man page
for more details.
11904 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11908 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11909 installed software
in a non-standard prefix.
11911 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11912 and SACKPT_LIBS to avoid the need to call pkg-config.
11913 See the pkg-config man page
for more details.
11915 { (exit 1); exit 1; }; }
11916 elif test $pkg_failed = untried; then
11917 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11919 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11920 is in your PATH or set the PKG_CONFIG environment variable to the full
11921 path to pkg-config.
11923 Alternatively, you may set the environment variables SACKPT_CFLAGS
11924 and SACKPT_LIBS to avoid the need to call pkg-config.
11925 See the pkg-config man page for more details.
11927 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11928 See \`config.log' for more details.
" >&5
11929 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11930 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11931 path to pkg-config.
11933 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11934 and SACKPT_LIBS to avoid the need to call pkg-config.
11935 See the pkg-config man page
for more details.
11937 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11938 See \
`config.log' for more details." >&2;}
11939 { (exit 1); exit 1; }; }; }
11941 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11942 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11943 { $as_echo "$as_me:$LINENO: result: yes" >&5
11944 $as_echo "yes" >&6; }
11947 if test x$HAVE_CPG != xyes; then
11950 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11951 $as_echo_n "checking for CPG... " >&6; }
11953 if test -n "$CPG_CFLAGS"; then
11954 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11955 elif test -n "$PKG_CONFIG"; then
11956 if test -n "$PKG_CONFIG" && \
11957 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11958 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; then
11962 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11969 if test -n "$CPG_LIBS"; then
11970 pkg_cv_CPG_LIBS="$CPG_LIBS"
11971 elif test -n "$PKG_CONFIG"; then
11972 if test -n "$PKG_CONFIG" && \
11973 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11974 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); }; then
11978 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11988 if test $pkg_failed = yes; then
11990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11991 _pkg_short_errors_supported=yes
11993 _pkg_short_errors_supported=no
11995 if test $_pkg_short_errors_supported = yes; then
11996 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11998 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
12000 # Put the nasty error message in config.log where it belongs
12001 echo "$CPG_PKG_ERRORS" >&5
12003 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
12007 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12008 installed software in a non-standard prefix.
12010 Alternatively, you may set the environment variables CPG_CFLAGS
12011 and CPG_LIBS to avoid the need to call pkg-config.
12012 See the pkg-config man page for more details.
12014 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
12018 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12019 installed software in a non-standard prefix.
12021 Alternatively, you may set the environment variables CPG_CFLAGS
12022 and CPG_LIBS to avoid the need to call pkg-config.
12023 See the pkg-config man page for more details.
12025 { (exit 1); exit 1; }; }
12026 elif test $pkg_failed = untried; then
12027 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12029 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12030 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12031 path to pkg-config.
12033 Alternatively
, you may
set the environment variables CPG_CFLAGS
12034 and CPG_LIBS to avoid the need to call pkg-config.
12035 See the pkg-config man page
for more details.
12037 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12038 See \
`config.log' for more details." >&5
12039 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12040 is in your PATH or set the PKG_CONFIG environment variable to the full
12041 path to pkg-config.
12043 Alternatively, you may set the environment variables CPG_CFLAGS
12044 and CPG_LIBS to avoid the need to call pkg-config.
12045 See the pkg-config man page for more details.
12047 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12048 See \`config.log
' for more details." >&2;}
12049 { (exit 1); exit 1; }; }; }
12051 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12052 CPG_LIBS=$pkg_cv_CPG_LIBS
12053 { $as_echo "$as_me:$LINENO: result: yes" >&5
12054 $as_echo "yes" >&6; }
12060 ################################################################################
12061 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12062 $as_echo_n "checking whether to enable debugging... " >&6; }
12063 # Check whether --enable-debug was given.
12064 if test "${enable_debug+set}" = set; then
12065 enableval=$enable_debug; DEBUG=$enableval
12070 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12071 $as_echo "$DEBUG" >&6; }
12073 if test x$DEBUG = xyes; then
12079 ################################################################################
12080 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12081 $as_echo_n "checking for C optimisation flag... " >&6; }
12083 # Check whether --with-optimisation was given.
12084 if test "${with_optimisation+set}" = set; then
12085 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12088 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12089 $as_echo "$COPTIMISE_FLAG" >&6; }
12091 ################################################################################
12092 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12093 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12094 # Check whether --enable-profiling was given.
12095 if test "${enable_profiling+set}" = set; then
12096 enableval=$enable_profiling; PROFILING=$enableval
12101 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12102 $as_echo "$PROFILING" >&6; }
12104 if test "x$PROFILING" = xyes; then
12105 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12106 # Extract the first word of "lcov", so it can be a program name with args.
12107 set dummy lcov; ac_word=$2
12108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12109 $as_echo_n "checking for $ac_word... " >&6; }
12110 if test "${ac_cv_path_LCOV+set}" = set; then
12111 $as_echo_n "(cached) " >&6
12115 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12119 for as_dir in $PATH
12122 test -z "$as_dir" && as_dir=.
12123 for ac_exec_ext in '' $ac_executable_extensions; do
12124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12125 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12136 LCOV=$ac_cv_path_LCOV
12137 if test -n "$LCOV"; then
12138 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12139 $as_echo "$LCOV" >&6; }
12141 { $as_echo "$as_me:$LINENO: result: no" >&5
12142 $as_echo "no" >&6; }
12146 # Extract the first word of "genhtml", so it can be a program name with args.
12147 set dummy genhtml; ac_word=$2
12148 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if test "${ac_cv_path_GENHTML+set}" = set; then
12151 $as_echo_n "(cached) " >&6
12155 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12166 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 GENHTML=$ac_cv_path_GENHTML
12177 if test -n "$GENHTML"; then
12178 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12179 $as_echo "$GENHTML" >&6; }
12181 { $as_echo "$as_me:$LINENO: result: no" >&5
12182 $as_echo "no" >&6; }
12186 if test -z "$LCOV" -o -z "$GENHTML"; then
12187 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12188 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12189 { (exit 1); exit 1; }; }
12191 # Extract the first word of "genpng", so it can be a program name with args.
12192 set dummy genpng; ac_word=$2
12193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if test "${ac_cv_path_GENPNG+set}" = set; then
12196 $as_echo_n "(cached) " >&6
12200 ac_cv_path_GENPNG="$GENPNG" # Let the user override the test with a path.
12203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12204 for as_dir in $PATH
12207 test -z "$as_dir" && as_dir=.
12208 for ac_exec_ext in '' $ac_executable_extensions; do
12209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12210 ac_cv_path_GENPNG="$as_dir/$ac_word$ac_exec_ext"
12211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12221 GENPNG=$ac_cv_path_GENPNG
12222 if test -n "$GENPNG"; then
12223 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
12224 $as_echo "$GENPNG" >&6; }
12226 { $as_echo "$as_me:$LINENO: result: no" >&5
12227 $as_echo "no" >&6; }
12231 if test -n "$GENPNG"; then
12232 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
12233 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
12234 if $GENPNG --help > /dev/null 2>&1 ; then
12235 { $as_echo "$as_me:$LINENO: result: ok" >&5
12236 $as_echo "ok" >&6; }
12237 GENHTML="$GENHTML --frames"
12239 { $as_echo "$as_me:$LINENO: result: not supported" >&5
12240 $as_echo "not supported" >&6; }
12241 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
12242 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
12248 ################################################################################
12249 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12250 $as_echo_n "checking whether to use device-mapper... " >&6; }
12251 # Check whether --enable-devmapper was given.
12252 if test "${enable_devmapper+set}" = set; then
12253 enableval=$enable_devmapper; DEVMAPPER=$enableval
12256 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12257 $as_echo "$DEVMAPPER" >&6; }
12259 if test x$DEVMAPPER = xyes; then
12261 cat >>confdefs.h <<\_ACEOF
12262 #define DEVMAPPER_SUPPORT 1
12267 ################################################################################
12268 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12269 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12270 # Check whether --enable-udev_sync was given.
12271 if test "${enable_udev_sync+set}" = set; then
12272 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12277 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12278 $as_echo "$UDEV_SYNC" >&6; }
12280 if test x$UDEV_SYNC = xyes; then
12281 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12282 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12283 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12284 $as_echo_n "(cached) " >&6
12286 ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-ludev $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char udev_queue_get_udev_is_active ();
12305 return udev_queue_get_udev_is_active ();
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12317 $as_echo "$ac_try_echo") >&5
12318 (eval "$ac_link") 2>conftest.er1
12320 grep -v '^
*+' conftest.er1 >conftest.err
12322 cat conftest.err >&5
12323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } && {
12325 test -z "$ac_c_werror_flag" ||
12326 test ! -s conftest.err
12327 } && test -s conftest$ac_exeext && {
12328 test "$cross_compiling" = yes ||
12329 $as_test_x conftest$ac_exeext
12331 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12333 $as_echo "$as_me: failed program was:" >&5
12334 sed 's
/^
/|
/' conftest.$ac_ext >&5
12336 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12339 rm -rf conftest.dSYM
12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_lib_save_LIBS
12344 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12345 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12346 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12347 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
12349 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
12350 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
12351 { (exit 1); exit 1; }; }
12355 cat >>confdefs.h <<\_ACEOF
12356 #define UDEV_SYNC_SUPPORT 1
12361 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12362 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12363 # Check whether --enable-udev_rules was given.
12364 if test "${enable_udev_rules+set}" = set; then
12365 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12367 UDEV_RULES=$UDEV_SYNC
12370 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12371 $as_echo "$UDEV_RULES" >&6; }
12373 ################################################################################
12374 # Check whether --enable-compat was given.
12375 if test "${enable_compat+set}" = set; then
12376 enableval=$enable_compat; DM_COMPAT=$enableval
12382 ################################################################################
12383 # Check whether --enable-units-compat was given.
12384 if test "${enable_units_compat+set}" = set; then
12385 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12391 if test x$UNITS_COMPAT = xyes; then
12393 cat >>confdefs.h <<\_ACEOF
12394 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12399 ################################################################################
12400 # Check whether --enable-ioctl was given.
12401 if test "${enable_ioctl+set}" = set; then
12402 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12406 ################################################################################
12407 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12408 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12409 # Check whether --enable-o_direct was given.
12410 if test "${enable_o_direct+set}" = set; then
12411 enableval=$enable_o_direct; ODIRECT=$enableval
12414 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12415 $as_echo "$ODIRECT" >&6; }
12417 if test x$ODIRECT = xyes; then
12419 cat >>confdefs.h <<\_ACEOF
12420 #define O_DIRECT_SUPPORT 1
12425 ################################################################################
12426 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12427 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12428 # Check whether --enable-applib was given.
12429 if test "${enable_applib+set}" = set; then
12430 enableval=$enable_applib; APPLIB=$enableval
12435 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12436 $as_echo "$APPLIB" >&6; }
12438 test x$APPLIB = xyes \
12439 && LVM2APP_LIB=-llvm2app \
12442 ################################################################################
12443 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12444 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12445 # Check whether --enable-cmdlib was given.
12446 if test "${enable_cmdlib+set}" = set; then
12447 enableval=$enable_cmdlib; CMDLIB=$enableval
12452 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12453 $as_echo "$CMDLIB" >&6; }
12455 test x$CMDLIB = xyes \
12456 && LVM2CMD_LIB=-llvm2cmd \
12459 ################################################################################
12460 # Check whether --enable-pkgconfig was given.
12461 if test "${enable_pkgconfig+set}" = set; then
12462 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12468 ################################################################################
12469 # Check whether --enable-write_install was given.
12470 if test "${enable_write_install+set}" = set; then
12471 enableval=$enable_write_install; WRITE_INSTALL=$enableval
12477 ################################################################################
12478 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12479 $as_echo_n "checking whether to install fsadm... " >&6; }
12480 # Check whether --enable-fsadm was given.
12481 if test "${enable_fsadm+set}" = set; then
12482 enableval=$enable_fsadm; FSADM=$enableval
12485 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12486 $as_echo "$FSADM" >&6; }
12488 ################################################################################
12489 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12490 $as_echo_n "checking whether to use dmeventd... " >&6; }
12491 # Check whether --enable-dmeventd was given.
12492 if test "${enable_dmeventd+set}" = set; then
12493 enableval=$enable_dmeventd; DMEVENTD=$enableval
12496 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12497 $as_echo "$DMEVENTD" >&6; }
12499 BUILD_DMEVENTD=$DMEVENTD
12501 if test x$DMEVENTD = xyes; then
12502 if test x$MIRRORS != xinternal; then
12503 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12505 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12507 { (exit 1); exit 1; }; }
12509 if test x$CMDLIB = xno; then
12510 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12512 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12514 { (exit 1); exit 1; }; }
12518 if test x$DMEVENTD = xyes; then
12520 cat >>confdefs.h <<\_ACEOF
12526 ################################################################################
12528 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12529 $as_echo_n "checking for getline in -lc... " >&6; }
12530 if test "${ac_cv_lib_c_getline+set}" = set; then
12531 $as_echo_n "(cached) " >&6
12533 ac_check_lib_save_LIBS=$LIBS
12535 cat >conftest.$ac_ext <<_ACEOF
12538 cat confdefs.h >>conftest.$ac_ext
12539 cat >>conftest.$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12557 rm -f conftest.$ac_objext conftest$ac_exeext
12558 if { (ac_try="$ac_link"
12559 case "(($ac_try" in
12560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12561 *) ac_try_echo=$ac_try;;
12563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12564 $as_echo "$ac_try_echo") >&5
12565 (eval "$ac_link") 2>conftest.er1
12567 grep -v '^
*+' conftest.er1 >conftest.err
12569 cat conftest.err >&5
12570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } && {
12572 test -z "$ac_c_werror_flag" ||
12573 test ! -s conftest.err
12574 } && test -s conftest$ac_exeext && {
12575 test "$cross_compiling" = yes ||
12576 $as_test_x conftest$ac_exeext
12578 ac_cv_lib_c_getline=yes
12580 $as_echo "$as_me: failed program was:" >&5
12581 sed 's
/^
/|
/' conftest.$ac_ext >&5
12583 ac_cv_lib_c_getline=no
12586 rm -rf conftest.dSYM
12587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12588 conftest$ac_exeext conftest.$ac_ext
12589 LIBS=$ac_check_lib_save_LIBS
12591 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12592 $as_echo "$ac_cv_lib_c_getline" >&6; }
12593 if test "x$ac_cv_lib_c_getline" = x""yes; then
12595 cat >>confdefs.h <<\_ACEOF
12596 #define HAVE_GETLINE 1
12602 ################################################################################
12604 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12605 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12606 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12607 $as_echo_n "(cached) " >&6
12609 ac_check_lib_save_LIBS=$LIBS
12611 cat >conftest.$ac_ext <<_ACEOF
12614 cat confdefs.h >>conftest.$ac_ext
12615 cat >>conftest.$ac_ext <<_ACEOF
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12624 char canonicalize_file_name ();
12628 return canonicalize_file_name ();
12633 rm -f conftest.$ac_objext conftest$ac_exeext
12634 if { (ac_try="$ac_link"
12635 case "(($ac_try" in
12636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12637 *) ac_try_echo=$ac_try;;
12639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12640 $as_echo "$ac_try_echo") >&5
12641 (eval "$ac_link") 2>conftest.er1
12643 grep -v '^
*+' conftest.er1 >conftest.err
12645 cat conftest.err >&5
12646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } && {
12648 test -z "$ac_c_werror_flag" ||
12649 test ! -s conftest.err
12650 } && test -s conftest$ac_exeext && {
12651 test "$cross_compiling" = yes ||
12652 $as_test_x conftest$ac_exeext
12654 ac_cv_lib_c_canonicalize_file_name=yes
12656 $as_echo "$as_me: failed program was:" >&5
12657 sed 's
/^
/|
/' conftest.$ac_ext >&5
12659 ac_cv_lib_c_canonicalize_file_name=no
12662 rm -rf conftest.dSYM
12663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12664 conftest$ac_exeext conftest.$ac_ext
12665 LIBS=$ac_check_lib_save_LIBS
12667 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12668 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12669 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12671 cat >>confdefs.h <<\_ACEOF
12672 #define HAVE_CANONICALIZE_FILE_NAME 1
12678 ################################################################################
12679 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12680 then exec_prefix="";
12683 ################################################################################
12684 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12685 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12686 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12687 $as_echo_n "(cached) " >&6
12689 ac_check_lib_save_LIBS=$LIBS
12691 cat >conftest.$ac_ext <<_ACEOF
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12713 rm -f conftest.$ac_objext conftest$ac_exeext
12714 if { (ac_try="$ac_link"
12715 case "(($ac_try" in
12716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12717 *) ac_try_echo=$ac_try;;
12719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12720 $as_echo "$ac_try_echo") >&5
12721 (eval "$ac_link") 2>conftest.er1
12723 grep -v '^
*+' conftest.er1 >conftest.err
12725 cat conftest.err >&5
12726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } && {
12728 test -z "$ac_c_werror_flag" ||
12729 test ! -s conftest.err
12730 } && test -s conftest$ac_exeext && {
12731 test "$cross_compiling" = yes ||
12732 $as_test_x conftest$ac_exeext
12734 ac_cv_lib_dl_dlopen=yes
12736 $as_echo "$as_me: failed program was:" >&5
12737 sed 's
/^
/|
/' conftest.$ac_ext >&5
12739 ac_cv_lib_dl_dlopen=no
12742 rm -rf conftest.dSYM
12743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12748 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12749 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12752 cat >>confdefs.h <<\_ACEOF
12753 #define HAVE_LIBDL 1
12765 ################################################################################
12766 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12767 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12768 \) -a "x$STATIC_LINK" = xyes ];
12769 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12771 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12773 { (exit 1); exit 1; }; }
12776 ################################################################################
12777 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12778 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12779 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12780 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12781 $as_echo_n "(cached) " >&6
12783 ac_check_lib_save_LIBS=$LIBS
12784 LIBS="-lpthread $LIBS"
12785 cat >conftest.$ac_ext <<_ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12798 char pthread_mutex_lock ();
12802 return pthread_mutex_lock ();
12807 rm -f conftest.$ac_objext conftest$ac_exeext
12808 if { (ac_try="$ac_link"
12809 case "(($ac_try" in
12810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12811 *) ac_try_echo=$ac_try;;
12813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12814 $as_echo "$ac_try_echo") >&5
12815 (eval "$ac_link") 2>conftest.er1
12817 grep -v '^
*+' conftest.er1 >conftest.err
12819 cat conftest.err >&5
12820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); } && {
12822 test -z "$ac_c_werror_flag" ||
12823 test ! -s conftest.err
12824 } && test -s conftest$ac_exeext && {
12825 test "$cross_compiling" = yes ||
12826 $as_test_x conftest$ac_exeext
12828 ac_cv_lib_pthread_pthread_mutex_lock=yes
12830 $as_echo "$as_me: failed program was:" >&5
12831 sed 's
/^
/|
/' conftest.$ac_ext >&5
12833 ac_cv_lib_pthread_pthread_mutex_lock=no
12836 rm -rf conftest.dSYM
12837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12842 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12843 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12844 PTHREAD_LIBS="-lpthread"
12851 ################################################################################
12852 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12853 $as_echo_n "checking whether to enable selinux support... " >&6; }
12854 # Check whether --enable-selinux was given.
12855 if test "${enable_selinux+set}" = set; then
12856 enableval=$enable_selinux; SELINUX=$enableval
12859 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12860 $as_echo "$SELINUX" >&6; }
12862 ################################################################################
12863 if test x$SELINUX = xyes; then
12864 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12865 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12866 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12867 $as_echo_n "(cached) " >&6
12869 ac_check_lib_save_LIBS=$LIBS
12870 LIBS="-lsepol $LIBS"
12871 cat >conftest.$ac_ext <<_ACEOF
12874 cat confdefs.h >>conftest.$ac_ext
12875 cat >>conftest.$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12884 char sepol_check_context ();
12888 return sepol_check_context ();
12893 rm -f conftest.$ac_objext conftest$ac_exeext
12894 if { (ac_try="$ac_link"
12895 case "(($ac_try" in
12896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12897 *) ac_try_echo=$ac_try;;
12899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12900 $as_echo "$ac_try_echo") >&5
12901 (eval "$ac_link") 2>conftest.er1
12903 grep -v '^
*+' conftest.er1 >conftest.err
12905 cat conftest.err >&5
12906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } && {
12908 test -z "$ac_c_werror_flag" ||
12909 test ! -s conftest.err
12910 } && test -s conftest$ac_exeext && {
12911 test "$cross_compiling" = yes ||
12912 $as_test_x conftest$ac_exeext
12914 ac_cv_lib_sepol_sepol_check_context=yes
12916 $as_echo "$as_me: failed program was:" >&5
12917 sed 's
/^
/|
/' conftest.$ac_ext >&5
12919 ac_cv_lib_sepol_sepol_check_context=no
12922 rm -rf conftest.dSYM
12923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12924 conftest$ac_exeext conftest.$ac_ext
12925 LIBS=$ac_check_lib_save_LIBS
12927 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12928 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12929 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12932 cat >>confdefs.h <<\_ACEOF
12933 #define HAVE_SEPOL 1
12936 SELINUX_LIBS="-lsepol"
12940 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12941 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12942 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12943 $as_echo_n "(cached) " >&6
12945 ac_check_lib_save_LIBS=$LIBS
12946 LIBS="-lselinux $LIBS"
12947 cat >conftest.$ac_ext <<_ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12954 /* Override any GCC internal prototype to avoid an error.
12955 Use char because int might match the return type of a GCC
12956 builtin and then its argument prototype would still apply. */
12960 char is_selinux_enabled ();
12964 return is_selinux_enabled ();
12969 rm -f conftest.$ac_objext conftest$ac_exeext
12970 if { (ac_try="$ac_link"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12976 $as_echo "$ac_try_echo") >&5
12977 (eval "$ac_link") 2>conftest.er1
12979 grep -v '^
*+' conftest.er1 >conftest.err
12981 cat conftest.err >&5
12982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } && {
12984 test -z "$ac_c_werror_flag" ||
12985 test ! -s conftest.err
12986 } && test -s conftest$ac_exeext && {
12987 test "$cross_compiling" = yes ||
12988 $as_test_x conftest$ac_exeext
12990 ac_cv_lib_selinux_is_selinux_enabled=yes
12992 $as_echo "$as_me: failed program was:" >&5
12993 sed 's
/^
/|
/' conftest.$ac_ext >&5
12995 ac_cv_lib_selinux_is_selinux_enabled=no
12998 rm -rf conftest.dSYM
12999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13000 conftest$ac_exeext conftest.$ac_ext
13001 LIBS=$ac_check_lib_save_LIBS
13003 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
13004 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
13005 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
13008 for ac_header in selinux/selinux.h
13010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13012 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13013 $as_echo_n "checking for $ac_header... " >&6; }
13014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13015 $as_echo_n "(cached) " >&6
13017 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13018 $as_echo "$as_val"'`
13019 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13020 $as_echo "$ac_res" >&6; }
13022 # Is the header compilable?
13023 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13024 $as_echo_n "checking $ac_header usability... " >&6; }
13025 cat >conftest.$ac_ext <<_ACEOF
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 $ac_includes_default
13032 #include <$ac_header>
13034 rm -f conftest.$ac_objext
13035 if { (ac_try="$ac_compile"
13036 case "(($ac_try" in
13037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13038 *) ac_try_echo=$ac_try;;
13040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13041 $as_echo "$ac_try_echo") >&5
13042 (eval "$ac_compile") 2>conftest.er1
13044 grep -v '^
*+' conftest.er1 >conftest.err
13046 cat conftest.err >&5
13047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } && {
13049 test -z "$ac_c_werror_flag" ||
13050 test ! -s conftest.err
13051 } && test -s conftest.$ac_objext; then
13052 ac_header_compiler=yes
13054 $as_echo "$as_me: failed program was:" >&5
13055 sed 's
/^
/|
/' conftest.$ac_ext >&5
13057 ac_header_compiler=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13061 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13062 $as_echo "$ac_header_compiler" >&6; }
13064 # Is the header present?
13065 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13066 $as_echo_n "checking $ac_header presence... " >&6; }
13067 cat >conftest.$ac_ext <<_ACEOF
13070 cat confdefs.h >>conftest.$ac_ext
13071 cat >>conftest.$ac_ext <<_ACEOF
13072 /* end confdefs.h. */
13073 #include <$ac_header>
13075 if { (ac_try="$ac_cpp conftest.$ac_ext"
13076 case "(($ac_try" in
13077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13078 *) ac_try_echo=$ac_try;;
13080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13081 $as_echo "$ac_try_echo") >&5
13082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13084 grep -v '^
*+' conftest.er1 >conftest.err
13086 cat conftest.err >&5
13087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } >/dev/null && {
13089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13090 test ! -s conftest.err
13092 ac_header_preproc=yes
13094 $as_echo "$as_me: failed program was:" >&5
13095 sed 's
/^
/|
/' conftest.$ac_ext >&5
13097 ac_header_preproc=no
13100 rm -f conftest.err conftest.$ac_ext
13101 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13102 $as_echo "$ac_header_preproc" >&6; }
13104 # So? What about this header?
13105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13108 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13110 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13111 ac_header_preproc=yes
13114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13115 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13117 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13119 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13121 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13123 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13125 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13129 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13130 $as_echo_n "checking for $ac_header... " >&6; }
13131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13132 $as_echo_n "(cached) " >&6
13134 eval "$as_ac_Header=\$ac_header_preproc"
13136 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13137 $as_echo "$as_val"'`
13138 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13139 $as_echo "$ac_res" >&6; }
13142 as_val=`eval 'as_val
=${'$as_ac_Header'}
13143 $as_echo "$as_val"'`
13144 if test "x$as_val" = x""yes; then
13145 cat >>confdefs.h <<_ACEOF
13146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13156 cat >>confdefs.h <<\_ACEOF
13157 #define HAVE_SELINUX 1
13160 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
13161 SELINUX_PC="libselinux"
13165 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13166 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13174 ################################################################################
13175 if test x$REALTIME = xyes; then
13176 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13177 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13178 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13179 $as_echo_n "(cached) " >&6
13181 ac_check_lib_save_LIBS=$LIBS
13183 cat >conftest.$ac_ext <<_ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13196 char clock_gettime ();
13200 return clock_gettime ();
13205 rm -f conftest.$ac_objext conftest$ac_exeext
13206 if { (ac_try="$ac_link"
13207 case "(($ac_try" in
13208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13209 *) ac_try_echo=$ac_try;;
13211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13212 $as_echo "$ac_try_echo") >&5
13213 (eval "$ac_link") 2>conftest.er1
13215 grep -v '^
*+' conftest.er1 >conftest.err
13217 cat conftest.err >&5
13218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } && {
13220 test -z "$ac_c_werror_flag" ||
13221 test ! -s conftest.err
13222 } && test -s conftest$ac_exeext && {
13223 test "$cross_compiling" = yes ||
13224 $as_test_x conftest$ac_exeext
13226 ac_cv_lib_rt_clock_gettime=yes
13228 $as_echo "$as_me: failed program was:" >&5
13229 sed 's
/^
/|
/' conftest.$ac_ext >&5
13231 ac_cv_lib_rt_clock_gettime=no
13234 rm -rf conftest.dSYM
13235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13236 conftest$ac_exeext conftest.$ac_ext
13237 LIBS=$ac_check_lib_save_LIBS
13239 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13240 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13241 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13248 if test x$HAVE_REALTIME = xyes; then
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_REALTIME 1
13256 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13257 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13261 ################################################################################
13263 for ac_header in getopt.h
13265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13267 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13268 $as_echo_n "checking for $ac_header... " >&6; }
13269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13270 $as_echo_n "(cached) " >&6
13272 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13273 $as_echo "$as_val"'`
13274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13275 $as_echo "$ac_res" >&6; }
13277 # Is the header compilable?
13278 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13279 $as_echo_n "checking $ac_header usability... " >&6; }
13280 cat >conftest.$ac_ext <<_ACEOF
13283 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13286 $ac_includes_default
13287 #include <$ac_header>
13289 rm -f conftest.$ac_objext
13290 if { (ac_try="$ac_compile"
13291 case "(($ac_try" in
13292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13296 $as_echo "$ac_try_echo") >&5
13297 (eval "$ac_compile") 2>conftest.er1
13299 grep -v '^
*+' conftest.er1 >conftest.err
13301 cat conftest.err >&5
13302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } && {
13304 test -z "$ac_c_werror_flag" ||
13305 test ! -s conftest.err
13306 } && test -s conftest.$ac_objext; then
13307 ac_header_compiler=yes
13309 $as_echo "$as_me: failed program was:" >&5
13310 sed 's
/^
/|
/' conftest.$ac_ext >&5
13312 ac_header_compiler=no
13315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13316 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13317 $as_echo "$ac_header_compiler" >&6; }
13319 # Is the header present?
13320 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13321 $as_echo_n "checking $ac_header presence... " >&6; }
13322 cat >conftest.$ac_ext <<_ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13328 #include <$ac_header>
13330 if { (ac_try="$ac_cpp conftest.$ac_ext"
13331 case "(($ac_try" in
13332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13333 *) ac_try_echo=$ac_try;;
13335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13336 $as_echo "$ac_try_echo") >&5
13337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13339 grep -v '^
*+' conftest.er1 >conftest.err
13341 cat conftest.err >&5
13342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } >/dev/null && {
13344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13345 test ! -s conftest.err
13347 ac_header_preproc=yes
13349 $as_echo "$as_me: failed program was:" >&5
13350 sed 's
/^
/|
/' conftest.$ac_ext >&5
13352 ac_header_preproc=no
13355 rm -f conftest.err conftest.$ac_ext
13356 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13357 $as_echo "$ac_header_preproc" >&6; }
13359 # So? What about this header?
13360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13363 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13365 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13366 ac_header_preproc=yes
13369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13370 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13372 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13374 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13376 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13378 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13380 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13384 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13385 $as_echo_n "checking for $ac_header... " >&6; }
13386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13387 $as_echo_n "(cached) " >&6
13389 eval "$as_ac_Header=\$ac_header_preproc"
13391 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13392 $as_echo "$as_val"'`
13393 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13394 $as_echo "$ac_res" >&6; }
13397 as_val=`eval 'as_val
=${'$as_ac_Header'}
13398 $as_echo "$as_val"'`
13399 if test "x$as_val" = x""yes; then
13400 cat >>confdefs.h <<_ACEOF
13401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13404 cat >>confdefs.h <<\_ACEOF
13405 #define HAVE_GETOPTLONG 1
13413 ################################################################################
13414 if test x$READLINE != xno; then
13415 lvm_saved_libs=$LIBS
13416 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13417 $as_echo_n "checking for library containing tgetent... " >&6; }
13418 if test "${ac_cv_search_tgetent+set}" = set; then
13419 $as_echo_n "(cached) " >&6
13421 ac_func_search_save_LIBS=$LIBS
13422 cat >conftest.$ac_ext <<_ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13444 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13445 if test -z "$ac_lib"; then
13446 ac_res="none required"
13449 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13451 rm -f conftest.$ac_objext conftest$ac_exeext
13452 if { (ac_try="$ac_link"
13453 case "(($ac_try" in
13454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13455 *) ac_try_echo=$ac_try;;
13457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13458 $as_echo "$ac_try_echo") >&5
13459 (eval "$ac_link") 2>conftest.er1
13461 grep -v '^
*+' conftest.er1 >conftest.err
13463 cat conftest.err >&5
13464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } && {
13466 test -z "$ac_c_werror_flag" ||
13467 test ! -s conftest.err
13468 } && test -s conftest$ac_exeext && {
13469 test "$cross_compiling" = yes ||
13470 $as_test_x conftest$ac_exeext
13472 ac_cv_search_tgetent=$ac_res
13474 $as_echo "$as_me: failed program was:" >&5
13475 sed 's
/^
/|
/' conftest.$ac_ext >&5
13480 rm -rf conftest.dSYM
13481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13483 if test "${ac_cv_search_tgetent+set}" = set; then
13487 if test "${ac_cv_search_tgetent+set}" = set; then
13490 ac_cv_search_tgetent=no
13492 rm conftest.$ac_ext
13493 LIBS=$ac_func_search_save_LIBS
13495 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13496 $as_echo "$ac_cv_search_tgetent" >&6; }
13497 ac_res=$ac_cv_search_tgetent
13498 if test "$ac_res" != no; then
13499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13500 READLINE_LIBS=$ac_cv_search_tgetent
13503 if test "$READLINE" = yes; then
13504 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13505 --enable-readline option (which is enabled by default). Either disable readline
13506 support with --disable-readline or download and install termcap from:
13507 ftp.gnu.org/gnu/termcap
13508 Note: if you are using precompiled packages you will also need the development
13509 package as well (which may be called termcap-devel or something similar).
13510 Note: (n)curses also seems to work as a substitute for termcap. This was
13511 not found either - but you could try installing that as well." >&5
13512 $as_echo "$as_me: error: termcap could not be found which is required for the
13513 --enable-readline option (which is enabled by default). Either disable readline
13514 support with --disable-readline or download and install termcap from:
13515 ftp.gnu.org/gnu/termcap
13516 Note: if you are using precompiled packages you will also need the development
13517 package as well (which may be called termcap-devel or something similar).
13518 Note: (n)curses also seems to work as a substitute for termcap. This was
13519 not found either - but you could try installing that as well." >&2;}
13520 { (exit 1); exit 1; }; }
13524 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13525 $as_echo_n "checking for readline in -lreadline... " >&6; }
13526 if test "${ac_cv_lib_readline_readline+set}" = set; then
13527 $as_echo_n "(cached) " >&6
13529 ac_check_lib_save_LIBS=$LIBS
13530 LIBS="-lreadline $LIBS"
13531 cat >conftest.$ac_ext <<_ACEOF
13534 cat confdefs.h >>conftest.$ac_ext
13535 cat >>conftest.$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13548 return readline ();
13553 rm -f conftest.$ac_objext conftest$ac_exeext
13554 if { (ac_try="$ac_link"
13555 case "(($ac_try" in
13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13560 $as_echo "$ac_try_echo") >&5
13561 (eval "$ac_link") 2>conftest.er1
13563 grep -v '^
*+' conftest.er1 >conftest.err
13565 cat conftest.err >&5
13566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); } && {
13568 test -z "$ac_c_werror_flag" ||
13569 test ! -s conftest.err
13570 } && test -s conftest$ac_exeext && {
13571 test "$cross_compiling" = yes ||
13572 $as_test_x conftest$ac_exeext
13574 ac_cv_lib_readline_readline=yes
13576 $as_echo "$as_me: failed program was:" >&5
13577 sed 's
/^
/|
/' conftest.$ac_ext >&5
13579 ac_cv_lib_readline_readline=no
13582 rm -rf conftest.dSYM
13583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13584 conftest$ac_exeext conftest.$ac_ext
13585 LIBS=$ac_check_lib_save_LIBS
13587 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13588 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13589 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13592 cat >>confdefs.h <<\_ACEOF
13593 #define READLINE_SUPPORT 1
13596 LIBS=$lvm_saved_libs
13597 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13598 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13599 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13600 $as_echo_n "(cached) " >&6
13602 ac_check_lib_save_LIBS=$LIBS
13603 LIBS="-lreadline $LIBS"
13604 cat >conftest.$ac_ext <<_ACEOF
13607 cat confdefs.h >>conftest.$ac_ext
13608 cat >>conftest.$ac_ext <<_ACEOF
13609 /* end confdefs.h. */
13611 /* Override any GCC internal prototype to avoid an error.
13612 Use char because int might match the return type of a GCC
13613 builtin and then its argument prototype would still apply. */
13617 char rl_line_buffer ();
13621 return rl_line_buffer ();
13626 rm -f conftest.$ac_objext conftest$ac_exeext
13627 if { (ac_try="$ac_link"
13628 case "(($ac_try" in
13629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13630 *) ac_try_echo=$ac_try;;
13632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13633 $as_echo "$ac_try_echo") >&5
13634 (eval "$ac_link") 2>conftest.er1
13636 grep -v '^
*+' conftest.er1 >conftest.err
13638 cat conftest.err >&5
13639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } && {
13641 test -z "$ac_c_werror_flag" ||
13642 test ! -s conftest.err
13643 } && test -s conftest$ac_exeext && {
13644 test "$cross_compiling" = yes ||
13645 $as_test_x conftest$ac_exeext
13647 ac_cv_lib_readline_rl_line_buffer=yes
13649 $as_echo "$as_me: failed program was:" >&5
13650 sed 's
/^
/|
/' conftest.$ac_ext >&5
13652 ac_cv_lib_readline_rl_line_buffer=no
13655 rm -rf conftest.dSYM
13656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_lib_save_LIBS
13660 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13661 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13662 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13663 READLINE_LIBS="-lreadline"
13666 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13667 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13668 READLINE_LIBS="-lreadline $READLINE_LIBS"
13675 if test "$READLINE" = yes; then
13676 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13677 --enable-readline option (which is enabled by default). Either disable readline
13678 support with --disable-readline or download and install readline from:
13679 ftp.gnu.org/gnu/readline
13680 Note: if you are using precompiled packages you will also need the development
13681 package as well (which may be called readline-devel or something similar)." >&5
13682 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13683 --enable-readline option (which is enabled by default). Either disable readline
13684 support with --disable-readline or download and install readline from:
13685 ftp.gnu.org/gnu/readline
13686 Note: if you are using precompiled packages you will also need the development
13687 package as well (which may be called readline-devel or something similar)." >&2;}
13688 { (exit 1); exit 1; }; }
13692 LIBS="$READLINE_LIBS $lvm_saved_libs"
13694 for ac_func in rl_completion_matches
13696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13697 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13698 $as_echo_n "checking for $ac_func... " >&6; }
13699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13700 $as_echo_n "(cached) " >&6
13702 cat >conftest.$ac_ext <<_ACEOF
13705 cat confdefs.h >>conftest.$ac_ext
13706 cat >>conftest.$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13710 #define $ac_func innocuous_$ac_func
13712 /* System header to define __stub macros and hopefully few prototypes,
13713 which can conflict with char $ac_func (); below.
13714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13715 <limits.h> exists even on freestanding compilers. */
13718 # include <limits.h>
13720 # include <assert.h>
13725 /* Override any GCC internal prototype to avoid an error.
13726 Use char because int might match the return type of a GCC
13727 builtin and then its argument prototype would still apply. */
13732 /* The GNU C library defines this for functions which it implements
13733 to always fail with ENOSYS. Some functions are actually named
13734 something starting with __ and the normal name is an alias. */
13735 #if defined __stub_$ac_func || defined __stub___$ac_func
13742 return $ac_func ();
13747 rm -f conftest.$ac_objext conftest$ac_exeext
13748 if { (ac_try="$ac_link"
13749 case "(($ac_try" in
13750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13751 *) ac_try_echo=$ac_try;;
13753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13754 $as_echo "$ac_try_echo") >&5
13755 (eval "$ac_link") 2>conftest.er1
13757 grep -v '^
*+' conftest.er1 >conftest.err
13759 cat conftest.err >&5
13760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } && {
13762 test -z "$ac_c_werror_flag" ||
13763 test ! -s conftest.err
13764 } && test -s conftest$ac_exeext && {
13765 test "$cross_compiling" = yes ||
13766 $as_test_x conftest$ac_exeext
13768 eval "$as_ac_var=yes"
13770 $as_echo "$as_me: failed program was:" >&5
13771 sed 's
/^
/|
/' conftest.$ac_ext >&5
13773 eval "$as_ac_var=no"
13776 rm -rf conftest.dSYM
13777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13778 conftest$ac_exeext conftest.$ac_ext
13780 ac_res=`eval 'as_val
=${'$as_ac_var'}
13781 $as_echo "$as_val"'`
13782 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13783 $as_echo "$ac_res" >&6; }
13784 as_val=`eval 'as_val
=${'$as_ac_var'}
13785 $as_echo "$as_val"'`
13786 if test "x$as_val" = x""yes; then
13787 cat >>confdefs.h <<_ACEOF
13788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13794 LIBS=$lvm_saved_libs
13797 ################################################################################
13798 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13799 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13800 # Check whether --enable-nls was given.
13801 if test "${enable_nls+set}" = set; then
13802 enableval=$enable_nls; INTL=$enableval
13807 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13808 $as_echo "$INTL" >&6; }
13810 if test x$INTL = xyes; then
13811 # FIXME - Move this - can be device-mapper too
13812 INTL_PACKAGE="lvm2"
13813 # Extract the first word of "msgfmt", so it can be a program name with args.
13814 set dummy msgfmt; ac_word=$2
13815 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13816 $as_echo_n "checking for $ac_word... " >&6; }
13817 if test "${ac_cv_path_MSGFMT+set}" = set; then
13818 $as_echo_n "(cached) " >&6
13822 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13826 for as_dir in $PATH
13829 test -z "$as_dir" && as_dir=.
13830 for ac_exec_ext in '' $ac_executable_extensions; do
13831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13832 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13833 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13843 MSGFMT=$ac_cv_path_MSGFMT
13844 if test -n "$MSGFMT"; then
13845 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13846 $as_echo "$MSGFMT" >&6; }
13848 { $as_echo "$as_me:$LINENO: result: no" >&5
13849 $as_echo "no" >&6; }
13853 if [ "x$MSGFMT" == x ];
13854 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13856 $as_echo "$as_me: error: msgfmt not found in path $PATH
13858 { (exit 1); exit 1; }; }
13862 # Check whether --with-localedir was given.
13863 if test "${with_localedir+set}" = set; then
13864 withval=$with_localedir; LOCALEDIR="$withval"
13866 LOCALEDIR='${prefix}/share
/locale
'
13871 ################################################################################
13873 # Check whether --with-confdir was given.
13874 if test "${with_confdir+set}" = set; then
13875 withval=$with_confdir; CONFDIR="$withval"
13882 # Check whether --with-staticdir was given.
13883 if test "${with_staticdir+set}" = set; then
13884 withval=$with_staticdir; STATICDIR="$withval"
13886 STATICDIR='${exec_prefix}/sbin
'
13891 # Check whether --with-usrlibdir was given.
13892 if test "${with_usrlibdir+set}" = set; then
13893 withval=$with_usrlibdir; usrlibdir="$withval"
13895 usrlibdir='${prefix}/lib
'
13900 # Check whether --with-usrsbindir was given.
13901 if test "${with_usrsbindir+set}" = set; then
13902 withval=$with_usrsbindir; usrsbindir="$withval"
13904 usrsbindir='${prefix}/sbin
'
13908 ################################################################################
13910 # Check whether --with-udev_prefix was given.
13911 if test "${with_udev_prefix+set}" = set; then
13912 withval=$with_udev_prefix; udev_prefix="$withval"
13914 udev_prefix='${exec_prefix}'
13919 # Check whether --with-udevdir was given.
13920 if test "${with_udevdir+set}" = set; then
13921 withval=$with_udevdir; udevdir="$withval"
13923 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13927 ################################################################################
13928 if test x$READLINE = xyes; then
13931 for ac_header in readline/readline.h readline/history.h
13933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13935 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13936 $as_echo_n "checking for $ac_header... " >&6; }
13937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13938 $as_echo_n "(cached) " >&6
13940 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13941 $as_echo "$as_val"'`
13942 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13943 $as_echo "$ac_res" >&6; }
13945 # Is the header compilable?
13946 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13947 $as_echo_n "checking $ac_header usability... " >&6; }
13948 cat >conftest.$ac_ext <<_ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954 $ac_includes_default
13955 #include <$ac_header>
13957 rm -f conftest.$ac_objext
13958 if { (ac_try="$ac_compile"
13959 case "(($ac_try" in
13960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13961 *) ac_try_echo=$ac_try;;
13963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13964 $as_echo "$ac_try_echo") >&5
13965 (eval "$ac_compile") 2>conftest.er1
13967 grep -v '^
*+' conftest.er1 >conftest.err
13969 cat conftest.err >&5
13970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } && {
13972 test -z "$ac_c_werror_flag" ||
13973 test ! -s conftest.err
13974 } && test -s conftest.$ac_objext; then
13975 ac_header_compiler=yes
13977 $as_echo "$as_me: failed program was:" >&5
13978 sed 's
/^
/|
/' conftest.$ac_ext >&5
13980 ac_header_compiler=no
13983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13984 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13985 $as_echo "$ac_header_compiler" >&6; }
13987 # Is the header present?
13988 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13989 $as_echo_n "checking $ac_header presence... " >&6; }
13990 cat >conftest.$ac_ext <<_ACEOF
13993 cat confdefs.h >>conftest.$ac_ext
13994 cat >>conftest.$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
13996 #include <$ac_header>
13998 if { (ac_try="$ac_cpp conftest.$ac_ext"
13999 case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14004 $as_echo "$ac_try_echo") >&5
14005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14007 grep -v '^
*+' conftest.er1 >conftest.err
14009 cat conftest.err >&5
14010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } >/dev/null && {
14012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14015 ac_header_preproc=yes
14017 $as_echo "$as_me: failed program was:" >&5
14018 sed 's
/^
/|
/' conftest.$ac_ext >&5
14020 ac_header_preproc=no
14023 rm -f conftest.err conftest.$ac_ext
14024 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14025 $as_echo "$ac_header_preproc" >&6; }
14027 # So? What about this header?
14028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14031 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14033 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14034 ac_header_preproc=yes
14037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14038 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14040 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14042 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14044 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14046 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14048 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14052 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14053 $as_echo_n "checking for $ac_header... " >&6; }
14054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14055 $as_echo_n "(cached) " >&6
14057 eval "$as_ac_Header=\$ac_header_preproc"
14059 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14060 $as_echo "$as_val"'`
14061 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14062 $as_echo "$ac_res" >&6; }
14065 as_val=`eval 'as_val
=${'$as_ac_Header'}
14066 $as_echo "$as_val"'`
14067 if test "x$as_val" = x""yes; then
14068 cat >>confdefs.h <<_ACEOF
14069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14073 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14074 $as_echo "$as_me: error: bailing out" >&2;}
14075 { (exit 1); exit 1; }; }
14082 if test x$CLVMD != xnone; then
14093 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
14095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14097 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14098 $as_echo_n "checking for $ac_header... " >&6; }
14099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14100 $as_echo_n "(cached) " >&6
14102 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14103 $as_echo "$as_val"'`
14104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14105 $as_echo "$ac_res" >&6; }
14107 # Is the header compilable?
14108 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14109 $as_echo_n "checking $ac_header usability... " >&6; }
14110 cat >conftest.$ac_ext <<_ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14117 #include <$ac_header>
14119 rm -f conftest.$ac_objext
14120 if { (ac_try="$ac_compile"
14121 case "(($ac_try" in
14122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14123 *) ac_try_echo=$ac_try;;
14125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14126 $as_echo "$ac_try_echo") >&5
14127 (eval "$ac_compile") 2>conftest.er1
14129 grep -v '^
*+' conftest.er1 >conftest.err
14131 cat conftest.err >&5
14132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } && {
14134 test -z "$ac_c_werror_flag" ||
14135 test ! -s conftest.err
14136 } && test -s conftest.$ac_objext; then
14137 ac_header_compiler=yes
14139 $as_echo "$as_me: failed program was:" >&5
14140 sed 's
/^
/|
/' conftest.$ac_ext >&5
14142 ac_header_compiler=no
14145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14146 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14147 $as_echo "$ac_header_compiler" >&6; }
14149 # Is the header present?
14150 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14151 $as_echo_n "checking $ac_header presence... " >&6; }
14152 cat >conftest.$ac_ext <<_ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 #include <$ac_header>
14160 if { (ac_try="$ac_cpp conftest.$ac_ext"
14161 case "(($ac_try" in
14162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14163 *) ac_try_echo=$ac_try;;
14165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14166 $as_echo "$ac_try_echo") >&5
14167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14169 grep -v '^
*+' conftest.er1 >conftest.err
14171 cat conftest.err >&5
14172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } >/dev/null && {
14174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14175 test ! -s conftest.err
14177 ac_header_preproc=yes
14179 $as_echo "$as_me: failed program was:" >&5
14180 sed 's
/^
/|
/' conftest.$ac_ext >&5
14182 ac_header_preproc=no
14185 rm -f conftest.err conftest.$ac_ext
14186 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14187 $as_echo "$ac_header_preproc" >&6; }
14189 # So? What about this header?
14190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14193 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14195 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14196 ac_header_preproc=yes
14199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14200 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14202 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14204 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14206 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14208 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14210 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14214 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14215 $as_echo_n "checking for $ac_header... " >&6; }
14216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14217 $as_echo_n "(cached) " >&6
14219 eval "$as_ac_Header=\$ac_header_preproc"
14221 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14222 $as_echo "$as_val"'`
14223 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14224 $as_echo "$ac_res" >&6; }
14227 as_val=`eval 'as_val
=${'$as_ac_Header'}
14228 $as_echo "$as_val"'`
14229 if test "x$as_val" = x""yes; then
14230 cat >>confdefs.h <<_ACEOF
14231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14235 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14236 $as_echo "$as_me: error: bailing out" >&2;}
14237 { (exit 1); exit 1; }; }
14247 for ac_func in dup2 getmntent memmove select socket
14249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14250 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14251 $as_echo_n "checking for $ac_func... " >&6; }
14252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14253 $as_echo_n "(cached) " >&6
14255 cat >conftest.$ac_ext <<_ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14263 #define $ac_func innocuous_$ac_func
14265 /* System header to define __stub macros and hopefully few prototypes,
14266 which can conflict with char $ac_func (); below.
14267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14268 <limits.h> exists even on freestanding compilers. */
14271 # include <limits.h>
14273 # include <assert.h>
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14285 /* The GNU C library defines this for functions which it implements
14286 to always fail with ENOSYS. Some functions are actually named
14287 something starting with __ and the normal name is an alias. */
14288 #if defined __stub_$ac_func || defined __stub___$ac_func
14295 return $ac_func ();
14300 rm -f conftest.$ac_objext conftest$ac_exeext
14301 if { (ac_try="$ac_link"
14302 case "(($ac_try" in
14303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14304 *) ac_try_echo=$ac_try;;
14306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14307 $as_echo "$ac_try_echo") >&5
14308 (eval "$ac_link") 2>conftest.er1
14310 grep -v '^
*+' conftest.er1 >conftest.err
14312 cat conftest.err >&5
14313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && {
14315 test -z "$ac_c_werror_flag" ||
14316 test ! -s conftest.err
14317 } && test -s conftest$ac_exeext && {
14318 test "$cross_compiling" = yes ||
14319 $as_test_x conftest$ac_exeext
14321 eval "$as_ac_var=yes"
14323 $as_echo "$as_me: failed program was:" >&5
14324 sed 's
/^
/|
/' conftest.$ac_ext >&5
14326 eval "$as_ac_var=no"
14329 rm -rf conftest.dSYM
14330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14331 conftest$ac_exeext conftest.$ac_ext
14333 ac_res=`eval 'as_val
=${'$as_ac_var'}
14334 $as_echo "$as_val"'`
14335 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14336 $as_echo "$ac_res" >&6; }
14337 as_val=`eval 'as_val
=${'$as_ac_var'}
14338 $as_echo "$as_val"'`
14339 if test "x$as_val" = x""yes; then
14340 cat >>confdefs.h <<_ACEOF
14341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14346 $as_echo "$as_me: error: bailing out" >&2;}
14347 { (exit 1); exit 1; }; }
14351 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14352 # -lseq on Dynix/PTX, -lgen on Unixware.
14353 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14354 $as_echo_n "checking for library containing getmntent... " >&6; }
14355 if test "${ac_cv_search_getmntent+set}" = set; then
14356 $as_echo_n "(cached) " >&6
14358 ac_func_search_save_LIBS=$LIBS
14359 cat >conftest.$ac_ext <<_ACEOF
14362 cat confdefs.h >>conftest.$ac_ext
14363 cat >>conftest.$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14376 return getmntent ();
14381 for ac_lib in '' sun seq gen; do
14382 if test -z "$ac_lib"; then
14383 ac_res="none required"
14386 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14388 rm -f conftest.$ac_objext conftest$ac_exeext
14389 if { (ac_try="$ac_link"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14395 $as_echo "$ac_try_echo") >&5
14396 (eval "$ac_link") 2>conftest.er1
14398 grep -v '^
*+' conftest.er1 >conftest.err
14400 cat conftest.err >&5
14401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } && {
14403 test -z "$ac_c_werror_flag" ||
14404 test ! -s conftest.err
14405 } && test -s conftest$ac_exeext && {
14406 test "$cross_compiling" = yes ||
14407 $as_test_x conftest$ac_exeext
14409 ac_cv_search_getmntent=$ac_res
14411 $as_echo "$as_me: failed program was:" >&5
14412 sed 's
/^
/|
/' conftest.$ac_ext >&5
14417 rm -rf conftest.dSYM
14418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14420 if test "${ac_cv_search_getmntent+set}" = set; then
14424 if test "${ac_cv_search_getmntent+set}" = set; then
14427 ac_cv_search_getmntent=no
14429 rm conftest.$ac_ext
14430 LIBS=$ac_func_search_save_LIBS
14432 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14433 $as_echo "$ac_cv_search_getmntent" >&6; }
14434 ac_res=$ac_cv_search_getmntent
14435 if test "$ac_res" != no; then
14436 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14437 ac_cv_func_getmntent=yes
14439 cat >>confdefs.h <<\_ACEOF
14440 #define HAVE_GETMNTENT 1
14444 ac_cv_func_getmntent=no
14451 for ac_header in sys/select.h sys/socket.h
14453 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14456 $as_echo_n "checking for $ac_header... " >&6; }
14457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14458 $as_echo_n "(cached) " >&6
14460 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14461 $as_echo "$as_val"'`
14462 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14463 $as_echo "$ac_res" >&6; }
14465 # Is the header compilable?
14466 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14467 $as_echo_n "checking $ac_header usability... " >&6; }
14468 cat >conftest.$ac_ext <<_ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14474 $ac_includes_default
14475 #include <$ac_header>
14477 rm -f conftest.$ac_objext
14478 if { (ac_try="$ac_compile"
14479 case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14484 $as_echo "$ac_try_echo") >&5
14485 (eval "$ac_compile") 2>conftest.er1
14487 grep -v '^
*+' conftest.er1 >conftest.err
14489 cat conftest.err >&5
14490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } && {
14492 test -z "$ac_c_werror_flag" ||
14493 test ! -s conftest.err
14494 } && test -s conftest.$ac_objext; then
14495 ac_header_compiler=yes
14497 $as_echo "$as_me: failed program was:" >&5
14498 sed 's
/^
/|
/' conftest.$ac_ext >&5
14500 ac_header_compiler=no
14503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14504 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14505 $as_echo "$ac_header_compiler" >&6; }
14507 # Is the header present?
14508 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14509 $as_echo_n "checking $ac_header presence... " >&6; }
14510 cat >conftest.$ac_ext <<_ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 #include <$ac_header>
14518 if { (ac_try="$ac_cpp conftest.$ac_ext"
14519 case "(($ac_try" in
14520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14521 *) ac_try_echo=$ac_try;;
14523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14524 $as_echo "$ac_try_echo") >&5
14525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14527 grep -v '^
*+' conftest.er1 >conftest.err
14529 cat conftest.err >&5
14530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } >/dev/null && {
14532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14533 test ! -s conftest.err
14535 ac_header_preproc=yes
14537 $as_echo "$as_me: failed program was:" >&5
14538 sed 's
/^
/|
/' conftest.$ac_ext >&5
14540 ac_header_preproc=no
14543 rm -f conftest.err conftest.$ac_ext
14544 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14545 $as_echo "$ac_header_preproc" >&6; }
14547 # So? What about this header?
14548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14551 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14553 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14554 ac_header_preproc=yes
14557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14558 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14560 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14562 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14564 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14566 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14568 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14573 $as_echo_n "checking for $ac_header... " >&6; }
14574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14575 $as_echo_n "(cached) " >&6
14577 eval "$as_ac_Header=\$ac_header_preproc"
14579 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14580 $as_echo "$as_val"'`
14581 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14582 $as_echo "$ac_res" >&6; }
14585 as_val=`eval 'as_val
=${'$as_ac_Header'}
14586 $as_echo "$as_val"'`
14587 if test "x$as_val" = x""yes; then
14588 cat >>confdefs.h <<_ACEOF
14589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14596 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14597 $as_echo_n "checking types of arguments for select... " >&6; }
14598 if test "${ac_cv_func_select_args+set}" = set; then
14599 $as_echo_n "(cached) " >&6
14601 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14602 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14603 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14604 cat >conftest.$ac_ext <<_ACEOF
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 $ac_includes_default
14611 #ifdef HAVE_SYS_SELECT_H
14612 # include <sys/select.h>
14614 #ifdef HAVE_SYS_SOCKET_H
14615 # include <sys/socket.h>
14621 extern int select ($ac_arg1,
14622 $ac_arg234, $ac_arg234, $ac_arg234,
14628 rm -f conftest.$ac_objext
14629 if { (ac_try="$ac_compile"
14630 case "(($ac_try" in
14631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14632 *) ac_try_echo=$ac_try;;
14634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14635 $as_echo "$ac_try_echo") >&5
14636 (eval "$ac_compile") 2>conftest.er1
14638 grep -v '^
*+' conftest.er1 >conftest.err
14640 cat conftest.err >&5
14641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } && {
14643 test -z "$ac_c_werror_flag" ||
14644 test ! -s conftest.err
14645 } && test -s conftest.$ac_objext; then
14646 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14648 $as_echo "$as_me: failed program was:" >&5
14649 sed 's
/^
/|
/' conftest.$ac_ext >&5
14654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 # Provide a safe default value.
14659 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14662 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14663 $as_echo "$ac_cv_func_select_args" >&6; }
14664 ac_save_IFS=$IFS; IFS=','
14665 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14669 cat >>confdefs.h <<_ACEOF
14670 #define SELECT_TYPE_ARG1 $1
14674 cat >>confdefs.h <<_ACEOF
14675 #define SELECT_TYPE_ARG234 ($2)
14679 cat >>confdefs.h <<_ACEOF
14680 #define SELECT_TYPE_ARG5 ($3)
14687 if test x$CLUSTER != xnone; then
14690 for ac_header in sys/socket.h sys/un.h
14692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14694 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14695 $as_echo_n "checking for $ac_header... " >&6; }
14696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14697 $as_echo_n "(cached) " >&6
14699 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14700 $as_echo "$as_val"'`
14701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14702 $as_echo "$ac_res" >&6; }
14704 # Is the header compilable?
14705 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14706 $as_echo_n "checking $ac_header usability... " >&6; }
14707 cat >conftest.$ac_ext <<_ACEOF
14710 cat confdefs.h >>conftest.$ac_ext
14711 cat >>conftest.$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14713 $ac_includes_default
14714 #include <$ac_header>
14716 rm -f conftest.$ac_objext
14717 if { (ac_try="$ac_compile"
14718 case "(($ac_try" in
14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14720 *) ac_try_echo=$ac_try;;
14722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14723 $as_echo "$ac_try_echo") >&5
14724 (eval "$ac_compile") 2>conftest.er1
14726 grep -v '^
*+' conftest.er1 >conftest.err
14728 cat conftest.err >&5
14729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } && {
14731 test -z "$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14733 } && test -s conftest.$ac_objext; then
14734 ac_header_compiler=yes
14736 $as_echo "$as_me: failed program was:" >&5
14737 sed 's
/^
/|
/' conftest.$ac_ext >&5
14739 ac_header_compiler=no
14742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14744 $as_echo "$ac_header_compiler" >&6; }
14746 # Is the header present?
14747 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14748 $as_echo_n "checking $ac_header presence... " >&6; }
14749 cat >conftest.$ac_ext <<_ACEOF
14752 cat confdefs.h >>conftest.$ac_ext
14753 cat >>conftest.$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14755 #include <$ac_header>
14757 if { (ac_try="$ac_cpp conftest.$ac_ext"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14763 $as_echo "$ac_try_echo") >&5
14764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14766 grep -v '^
*+' conftest.er1 >conftest.err
14768 cat conftest.err >&5
14769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } >/dev/null && {
14771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14772 test ! -s conftest.err
14774 ac_header_preproc=yes
14776 $as_echo "$as_me: failed program was:" >&5
14777 sed 's
/^
/|
/' conftest.$ac_ext >&5
14779 ac_header_preproc=no
14782 rm -f conftest.err conftest.$ac_ext
14783 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14784 $as_echo "$ac_header_preproc" >&6; }
14786 # So? What about this header?
14787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14790 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14792 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14793 ac_header_preproc=yes
14796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14797 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14799 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14801 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14803 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14805 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14807 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14811 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14812 $as_echo_n "checking for $ac_header... " >&6; }
14813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14814 $as_echo_n "(cached) " >&6
14816 eval "$as_ac_Header=\$ac_header_preproc"
14818 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14819 $as_echo "$as_val"'`
14820 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14821 $as_echo "$ac_res" >&6; }
14824 as_val=`eval 'as_val
=${'$as_ac_Header'}
14825 $as_echo "$as_val"'`
14826 if test "x$as_val" = x""yes; then
14827 cat >>confdefs.h <<_ACEOF
14828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14832 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14833 $as_echo "$as_me: error: bailing out" >&2;}
14834 { (exit 1); exit 1; }; }
14840 for ac_func in socket
14842 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14843 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14844 $as_echo_n "checking for $ac_func... " >&6; }
14845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14846 $as_echo_n "(cached) " >&6
14848 cat >conftest.$ac_ext <<_ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14856 #define $ac_func innocuous_$ac_func
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func (); below.
14860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14861 <limits.h> exists even on freestanding compilers. */
14864 # include <limits.h>
14866 # include <assert.h>
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14878 /* The GNU C library defines this for functions which it implements
14879 to always fail with ENOSYS. Some functions are actually named
14880 something starting with __ and the normal name is an alias. */
14881 #if defined __stub_$ac_func || defined __stub___$ac_func
14888 return $ac_func ();
14893 rm -f conftest.$ac_objext conftest$ac_exeext
14894 if { (ac_try="$ac_link"
14895 case "(($ac_try" in
14896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14897 *) ac_try_echo=$ac_try;;
14899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14900 $as_echo "$ac_try_echo") >&5
14901 (eval "$ac_link") 2>conftest.er1
14903 grep -v '^
*+' conftest.er1 >conftest.err
14905 cat conftest.err >&5
14906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } && {
14908 test -z "$ac_c_werror_flag" ||
14909 test ! -s conftest.err
14910 } && test -s conftest$ac_exeext && {
14911 test "$cross_compiling" = yes ||
14912 $as_test_x conftest$ac_exeext
14914 eval "$as_ac_var=yes"
14916 $as_echo "$as_me: failed program was:" >&5
14917 sed 's
/^
/|
/' conftest.$ac_ext >&5
14919 eval "$as_ac_var=no"
14922 rm -rf conftest.dSYM
14923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14924 conftest$ac_exeext conftest.$ac_ext
14926 ac_res=`eval 'as_val
=${'$as_ac_var'}
14927 $as_echo "$as_val"'`
14928 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14929 $as_echo "$ac_res" >&6; }
14930 as_val=`eval 'as_val
=${'$as_ac_var'}
14931 $as_echo "$as_val"'`
14932 if test "x$as_val" = x""yes; then
14933 cat >>confdefs.h <<_ACEOF
14934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14938 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14939 $as_echo "$as_me: error: bailing out" >&2;}
14940 { (exit 1); exit 1; }; }
14946 if test x$HAVE_LIBDL = xyes; then
14948 for ac_header in dlfcn.h
14950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14952 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14953 $as_echo_n "checking for $ac_header... " >&6; }
14954 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14955 $as_echo_n "(cached) " >&6
14957 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14958 $as_echo "$as_val"'`
14959 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14960 $as_echo "$ac_res" >&6; }
14962 # Is the header compilable?
14963 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14964 $as_echo_n "checking $ac_header usability... " >&6; }
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 $ac_includes_default
14972 #include <$ac_header>
14974 rm -f conftest.$ac_objext
14975 if { (ac_try="$ac_compile"
14976 case "(($ac_try" in
14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14978 *) ac_try_echo=$ac_try;;
14980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14981 $as_echo "$ac_try_echo") >&5
14982 (eval "$ac_compile") 2>conftest.er1
14984 grep -v '^
*+' conftest.er1 >conftest.err
14986 cat conftest.err >&5
14987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } && {
14989 test -z "$ac_c_werror_flag" ||
14990 test ! -s conftest.err
14991 } && test -s conftest.$ac_objext; then
14992 ac_header_compiler=yes
14994 $as_echo "$as_me: failed program was:" >&5
14995 sed 's
/^
/|
/' conftest.$ac_ext >&5
14997 ac_header_compiler=no
15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15001 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15002 $as_echo "$ac_header_compiler" >&6; }
15004 # Is the header present?
15005 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15006 $as_echo_n "checking $ac_header presence... " >&6; }
15007 cat >conftest.$ac_ext <<_ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013 #include <$ac_header>
15015 if { (ac_try="$ac_cpp conftest.$ac_ext"
15016 case "(($ac_try" in
15017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15018 *) ac_try_echo=$ac_try;;
15020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15021 $as_echo "$ac_try_echo") >&5
15022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15024 grep -v '^
*+' conftest.er1 >conftest.err
15026 cat conftest.err >&5
15027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } >/dev/null && {
15029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15030 test ! -s conftest.err
15032 ac_header_preproc=yes
15034 $as_echo "$as_me: failed program was:" >&5
15035 sed 's
/^
/|
/' conftest.$ac_ext >&5
15037 ac_header_preproc=no
15040 rm -f conftest.err conftest.$ac_ext
15041 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15042 $as_echo "$ac_header_preproc" >&6; }
15044 # So? What about this header?
15045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15048 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15050 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15051 ac_header_preproc=yes
15054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15055 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15057 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15059 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15061 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15063 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15065 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15069 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15070 $as_echo_n "checking for $ac_header... " >&6; }
15071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15072 $as_echo_n "(cached) " >&6
15074 eval "$as_ac_Header=\$ac_header_preproc"
15076 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15077 $as_echo "$as_val"'`
15078 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15079 $as_echo "$ac_res" >&6; }
15082 as_val=`eval 'as_val
=${'$as_ac_Header'}
15083 $as_echo "$as_val"'`
15084 if test "x$as_val" = x""yes; then
15085 cat >>confdefs.h <<_ACEOF
15086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15090 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15091 $as_echo "$as_me: error: bailing out" >&2;}
15092 { (exit 1); exit 1; }; }
15099 if test x$INTL = xyes; then
15101 for ac_header in libintl.h
15103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15106 $as_echo_n "checking for $ac_header... " >&6; }
15107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15108 $as_echo_n "(cached) " >&6
15110 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15111 $as_echo "$as_val"'`
15112 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15113 $as_echo "$ac_res" >&6; }
15115 # Is the header compilable?
15116 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15117 $as_echo_n "checking $ac_header usability... " >&6; }
15118 cat >conftest.$ac_ext <<_ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_includes_default
15125 #include <$ac_header>
15127 rm -f conftest.$ac_objext
15128 if { (ac_try="$ac_compile"
15129 case "(($ac_try" in
15130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15131 *) ac_try_echo=$ac_try;;
15133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15134 $as_echo "$ac_try_echo") >&5
15135 (eval "$ac_compile") 2>conftest.er1
15137 grep -v '^
*+' conftest.er1 >conftest.err
15139 cat conftest.err >&5
15140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest.$ac_objext; then
15145 ac_header_compiler=yes
15147 $as_echo "$as_me: failed program was:" >&5
15148 sed 's
/^
/|
/' conftest.$ac_ext >&5
15150 ac_header_compiler=no
15153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15154 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15155 $as_echo "$ac_header_compiler" >&6; }
15157 # Is the header present?
15158 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15159 $as_echo_n "checking $ac_header presence... " >&6; }
15160 cat >conftest.$ac_ext <<_ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 #include <$ac_header>
15168 if { (ac_try="$ac_cpp conftest.$ac_ext"
15169 case "(($ac_try" in
15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15171 *) ac_try_echo=$ac_try;;
15173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15174 $as_echo "$ac_try_echo") >&5
15175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15177 grep -v '^
*+' conftest.er1 >conftest.err
15179 cat conftest.err >&5
15180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } >/dev/null && {
15182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15185 ac_header_preproc=yes
15187 $as_echo "$as_me: failed program was:" >&5
15188 sed 's
/^
/|
/' conftest.$ac_ext >&5
15190 ac_header_preproc=no
15193 rm -f conftest.err conftest.$ac_ext
15194 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15195 $as_echo "$ac_header_preproc" >&6; }
15197 # So? What about this header?
15198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15201 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15203 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15204 ac_header_preproc=yes
15207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15208 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15210 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15211 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15212 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15214 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15216 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15218 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15222 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15223 $as_echo_n "checking for $ac_header... " >&6; }
15224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15225 $as_echo_n "(cached) " >&6
15227 eval "$as_ac_Header=\$ac_header_preproc"
15229 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15230 $as_echo "$as_val"'`
15231 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15232 $as_echo "$ac_res" >&6; }
15235 as_val=`eval 'as_val
=${'$as_ac_Header'}
15236 $as_echo "$as_val"'`
15237 if test "x$as_val" = x""yes; then
15238 cat >>confdefs.h <<_ACEOF
15239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15243 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15244 $as_echo "$as_me: error: bailing out" >&2;}
15245 { (exit 1); exit 1; }; }
15252 if test x$UDEV_SYNC = xyes; then
15255 for ac_header in sys/ipc.h sys/sem.h
15257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15259 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15260 $as_echo_n "checking for $ac_header... " >&6; }
15261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15262 $as_echo_n "(cached) " >&6
15264 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15265 $as_echo "$as_val"'`
15266 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15267 $as_echo "$ac_res" >&6; }
15269 # Is the header compilable?
15270 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15271 $as_echo_n "checking $ac_header usability... " >&6; }
15272 cat >conftest.$ac_ext <<_ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 $ac_includes_default
15279 #include <$ac_header>
15281 rm -f conftest.$ac_objext
15282 if { (ac_try="$ac_compile"
15283 case "(($ac_try" in
15284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15285 *) ac_try_echo=$ac_try;;
15287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15288 $as_echo "$ac_try_echo") >&5
15289 (eval "$ac_compile") 2>conftest.er1
15291 grep -v '^
*+' conftest.er1 >conftest.err
15293 cat conftest.err >&5
15294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } && {
15296 test -z "$ac_c_werror_flag" ||
15297 test ! -s conftest.err
15298 } && test -s conftest.$ac_objext; then
15299 ac_header_compiler=yes
15301 $as_echo "$as_me: failed program was:" >&5
15302 sed 's
/^
/|
/' conftest.$ac_ext >&5
15304 ac_header_compiler=no
15307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15308 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15309 $as_echo "$ac_header_compiler" >&6; }
15311 # Is the header present?
15312 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15313 $as_echo_n "checking $ac_header presence... " >&6; }
15314 cat >conftest.$ac_ext <<_ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 #include <$ac_header>
15322 if { (ac_try="$ac_cpp conftest.$ac_ext"
15323 case "(($ac_try" in
15324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15325 *) ac_try_echo=$ac_try;;
15327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15328 $as_echo "$ac_try_echo") >&5
15329 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15331 grep -v '^
*+' conftest.er1 >conftest.err
15333 cat conftest.err >&5
15334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } >/dev/null && {
15336 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15337 test ! -s conftest.err
15339 ac_header_preproc=yes
15341 $as_echo "$as_me: failed program was:" >&5
15342 sed 's
/^
/|
/' conftest.$ac_ext >&5
15344 ac_header_preproc=no
15347 rm -f conftest.err conftest.$ac_ext
15348 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15349 $as_echo "$ac_header_preproc" >&6; }
15351 # So? What about this header?
15352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15355 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15357 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15358 ac_header_preproc=yes
15361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15362 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15364 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15366 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15368 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15370 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15372 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15376 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15377 $as_echo_n "checking for $ac_header... " >&6; }
15378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15379 $as_echo_n "(cached) " >&6
15381 eval "$as_ac_Header=\$ac_header_preproc"
15383 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15384 $as_echo "$as_val"'`
15385 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15386 $as_echo "$ac_res" >&6; }
15389 as_val=`eval 'as_val
=${'$as_ac_Header'}
15390 $as_echo "$as_val"'`
15391 if test "x$as_val" = x""yes; then
15392 cat >>confdefs.h <<_ACEOF
15393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15398 $as_echo "$as_me: error: bailing out" >&2;}
15399 { (exit 1); exit 1; }; }
15406 ################################################################################
15407 # Extract the first word of "modprobe", so it can be a program name with args.
15408 set dummy modprobe; ac_word=$2
15409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 $as_echo_n "checking for $ac_word... " >&6; }
15411 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15412 $as_echo_n "(cached) " >&6
15414 case $MODPROBE_CMD in
15416 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15420 for as_dir in $PATH
15423 test -z "$as_dir" && as_dir=.
15424 for ac_exec_ext in '' $ac_executable_extensions; do
15425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15426 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15437 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15438 if test -n "$MODPROBE_CMD"; then
15439 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15440 $as_echo "$MODPROBE_CMD" >&6; }
15442 { $as_echo "$as_me:$LINENO: result: no" >&5
15443 $as_echo "no" >&6; }
15448 if test x$MODPROBE_CMD != x; then
15450 cat >>confdefs.h <<_ACEOF
15451 #define MODPROBE_CMD "$MODPROBE_CMD"
15456 ################################################################################
15459 if test "$BUILD_DMEVENTD" = yes; then
15461 # Check whether --with-dmeventd-pidfile was given.
15462 if test "${with_dmeventd_pidfile+set}" = set; then
15463 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15464 #define DMEVENTD_PIDFILE "$withval"
15468 cat >>confdefs.h <<_ACEOF
15469 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15478 if test "$BUILD_DMEVENTD" = yes; then
15479 dmeventd_prefix="$exec_prefix"
15480 if test "x$dmeventd_prefix" = "xNONE"; then
15481 dmeventd_prefix="$prefix"
15483 if test "x$dmeventd_prefix" = "xNONE"; then
15487 # Check whether --with-dmeventd-path was given.
15488 if test "${with_dmeventd_path+set}" = set; then
15489 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15490 #define DMEVENTD_PATH "$withval"
15494 cat >>confdefs.h <<_ACEOF
15495 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15502 ################################################################################
15506 # Check whether --with-default-system-dir was given.
15507 if test "${with_default_system_dir+set}" = set; then
15508 withval=$with_default_system_dir; DEFAULT_SYS_DIR="$withval"
15510 DEFAULT_SYS_DIR="/etc/lvm"
15513 cat >>confdefs.h <<_ACEOF
15514 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
15521 # Check whether --with-default-archive-subdir was given.
15522 if test "${with_default_archive_subdir+set}" = set; then
15523 withval=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR="$withval"
15525 DEFAULT_ARCHIVE_SUBDIR="archive"
15528 cat >>confdefs.h <<_ACEOF
15529 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
15536 # Check whether --with-default-backup-subdir was given.
15537 if test "${with_default_backup_subdir+set}" = set; then
15538 withval=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR="$withval"
15540 DEFAULT_BACKUP_SUBDIR="backup"
15543 cat >>confdefs.h <<_ACEOF
15544 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
15551 # Check whether --with-default-cache-subdir was given.
15552 if test "${with_default_cache_subdir+set}" = set; then
15553 withval=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR="$withval"
15555 DEFAULT_CACHE_SUBDIR="cache"
15558 cat >>confdefs.h <<_ACEOF
15559 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
15566 # Check whether --with-default-locking-dir was given.
15567 if test "${with_default_locking_dir+set}" = set; then
15568 withval=$with_default_locking_dir; DEFAULT_LOCK_DIR="$withval"
15570 DEFAULT_LOCK_DIR="/var/lock/lvm"
15573 cat >>confdefs.h <<_ACEOF
15574 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
15578 ################################################################################
15579 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15580 $as_echo_n "checking for kernel interface choice... " >&6; }
15582 # Check whether --with-interface was given.
15583 if test "${with_interface+set}" = set; then
15584 withval=$with_interface; interface="$withval"
15589 if [ "x$interface" != xioctl ];
15591 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15592 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15593 { (exit 1); exit 1; }; }
15595 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15596 $as_echo "$interface" >&6; }
15598 ################################################################################
15599 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15601 cat >>confdefs.h <<_ACEOF
15602 #define DM_LIB_VERSION $DM_LIB_VERSION
15606 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15608 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15610 VER=`cat "$srcdir"/VERSION`
15611 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15612 VER=`echo "$VER" | $AWK '{print
$1}'`
15613 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15614 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15615 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15616 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15617 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15618 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15620 ################################################################################
15715 ################################################################################
15716 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/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"
15718 cat >confcache <<\_ACEOF
15719 # This file is a shell script that caches the results of configure
15720 # tests run on this system so they can be shared between configure
15721 # scripts and configure runs, see configure's option
--config-cache.
15722 # It is not useful on other systems. If it contains results you don't
15723 # want to keep, you may remove or edit it.
15725 # config.status only pays attention to the cache file if you give it
15726 # the --recheck option to rerun configure.
15728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15730 # following values.
15734 # The following way of writing the cache mishandles newlines in values,
15735 # but we know of no workaround that is simple, portable, and efficient.
15736 # So, we kill variables containing newlines.
15737 # Ultrix sh set writes to stderr and can't be redirected directly,
15738 # and sets the high bit in the cache file unless we assign to the vars.
15740 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15741 eval ac_val
=\$
$ac_var
15745 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15749 _ | IFS | as_nl
) ;; #(
15750 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15751 *) $as_unset $ac_var ;;
15757 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15758 *${as_nl}ac_space
=\
*)
15759 # `set' does not quote correctly, so add quotes (double-quote
15760 # substitution turns \\\\ into \\, and sed turns \\ into \).
15763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15766 # `set' quotes correctly as required by POSIX, so do not add quotes.
15767 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15778 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15780 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15781 if test -w "$cache_file"; then
15782 test "x$cache_file" != "x/dev/null" &&
15783 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15784 $as_echo "$as_me: updating cache $cache_file" >&6;}
15785 cat confcache
>$cache_file
15787 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15788 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15793 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15794 # Let make expand exec_prefix.
15795 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15797 DEFS
=-DHAVE_CONFIG_H
15801 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15802 # 1. Remove the extension, and $U if already installed.
15803 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15804 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15806 # will be set to the directory where LIBOBJS objects are built.
15807 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15808 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15810 LIBOBJS
=$ac_libobjs
15812 LTLIBOBJS
=$ac_ltlibobjs
15816 : ${CONFIG_STATUS=./config.status}
15818 ac_clean_files_save
=$ac_clean_files
15819 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15820 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15821 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15822 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15824 # Generated by $as_me.
15825 # Run this file to recreate the current configuration.
15826 # Compiler output produced by configure, useful for debugging
15827 # configure, is in config.log if it exists.
15830 ac_cs_recheck=false
15832 SHELL=\${CONFIG_SHELL-$SHELL}
15835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15836 ## --------------------- ##
15837 ## M4sh Initialization. ##
15838 ## --------------------- ##
15840 # Be more Bourne compatible
15841 DUALCASE
=1; export DUALCASE
# for MKS sh
15842 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15845 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15846 # is contrary to our usage. Disable this feature.
15847 alias -g '${1+"$@"}'='"$@"'
15848 setopt NO_GLOB_SUBST
15850 case `(set -o) 2>/dev/null` in
15851 *posix
*) set -o posix
;;
15860 # Avoid depending upon Character Ranges.
15861 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15862 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15863 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15864 as_cr_digits
='0123456789'
15865 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15870 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15871 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15874 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15875 as_echo='printf %s
\n'
15876 as_echo_n='printf %s
'
15878 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15879 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15880 as_echo_n='/usr
/ucb
/echo -n'
15882 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15883 as_echo_n_body='eval
15887 expr "X$arg" : "X\\(.*\\)$as_nl";
15888 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15890 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15892 export as_echo_n_body
15893 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15895 export as_echo_body
15896 as_echo='sh
-c $as_echo_body as_echo
'
15899 # The user is always right.
15900 if test "${PATH_SEPARATOR+set}" != set; then
15902 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15903 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15908 # Support unset when possible.
15909 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15917 # We need space, tab and new line, in precisely that order. Quoting is
15918 # there to prevent editors from complaining about space-tab.
15919 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15920 # splitting by setting IFS to empty value.)
15923 # Find who we are. Look in the path if we contain no directory separator.
15925 *[\\/]* ) as_myself=$0 ;;
15926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15927 for as_dir in $PATH
15930 test -z "$as_dir" && as_dir=.
15931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15937 # We did not find ourselves, most probably we were run as `sh COMMAND'
15938 # in which case we are not to be found in the path.
15939 if test "x$as_myself" = x
; then
15942 if test ! -f "$as_myself"; then
15943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15944 { (exit 1); exit 1; }
15947 # Work around bugs in pre-3.0 UWIN ksh.
15948 for as_var
in ENV MAIL MAILPATH
15949 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15961 # Required to use basename.
15962 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15963 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15969 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15970 as_basename
=basename
15976 # Name of the executable.
15977 as_me
=`$as_basename -- "$0" ||
15978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15979 X"$0" : 'X\(//\)$' \| \
15980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15982 sed '/^.*\/\([^/][^/]*\)\/*$/{
16001 as_lineno_1
=$LINENO
16002 as_lineno_2
=$LINENO
16003 test "x$as_lineno_1" != "x$as_lineno_2" &&
16004 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
16006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16007 # uniformly replaced by the line number. The first 'sed' inserts a
16008 # line-number line after each line using $LINENO; the second 'sed'
16009 # does the real work. The second script uses 'N' to pair each
16010 # line-number line with the line containing $LINENO, and appends
16011 # trailing '-' during substitution so that $LINENO is not a special
16012 # case at line end.
16013 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16014 # scripts with optimization help from Paolo Bonzini. Blame Lee
16015 # E. McMahon (1931-1989) for sed's syntax. :-)
16027 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16030 ' >$as_me.lineno
&&
16031 chmod +x
"$as_me.lineno" ||
16032 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16033 { (exit 1); exit 1; }; }
16035 # Don't try to exec as it changes $[0], causing all sort of problems
16036 # (the dirname of $[0] is not the place where we might find the
16037 # original and so on. Autoconf is especially sensitive to this).
16038 .
"./$as_me.lineno"
16039 # Exit status is that of the last command.
16044 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16050 ECHO_C
= ECHO_N
= ECHO_T
=
16051 case `echo -n x` in
16053 case `echo 'x\c'` in
16054 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16060 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16061 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16067 rm -f conf$$ conf$$.exe conf$$.
file
16068 if test -d conf$$.dir
; then
16069 rm -f conf$$.dir
/conf$$.
file
16072 mkdir conf$$.dir
2>/dev
/null
16074 if (echo >conf$$.
file) 2>/dev
/null
; then
16075 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16077 # ... but there are two gotchas:
16078 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16079 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16080 # In both cases, we have to default to `cp -p'.
16081 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16083 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16091 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16092 rmdir conf$$.dir
2>/dev
/null
16094 if mkdir
-p .
2>/dev
/null
; then
16097 test -d .
/-p && rmdir .
/-p
16101 if test -x / >/dev
/null
2>&1; then
16102 as_test_x
='test -x'
16104 if ls -dL / >/dev
/null
2>&1; then
16111 if test -d "$1"; then
16117 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16118 ???[sx]*):;;*)false;;esac;fi
16122 as_executable_p
=$as_test_x
16124 # Sed expression to map a string onto a valid CPP name.
16125 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16127 # Sed expression to map a string onto a valid variable name.
16128 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16133 # Save the log message, to keep $[0] and so on meaningful, and to
16134 # report actual input values of CONFIG_FILES etc. instead of their
16135 # values after options handling.
16137 This file was extended by $as_me, which was
16138 generated by GNU Autoconf 2.63. Invocation command line was
16140 CONFIG_FILES = $CONFIG_FILES
16141 CONFIG_HEADERS = $CONFIG_HEADERS
16142 CONFIG_LINKS = $CONFIG_LINKS
16143 CONFIG_COMMANDS = $CONFIG_COMMANDS
16146 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16151 case $ac_config_files in *"
16152 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16155 case $ac_config_headers in *"
16156 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16161 # Files that config.status was made for.
16162 config_files="$ac_config_files"
16163 config_headers="$ac_config_headers"
16167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16169 \`$as_me' instantiates files from templates according to the
16170 current configuration.
16172 Usage: $0 [OPTION]... [FILE]...
16174 -h, --help print this help, then exit
16175 -V, --version print version number and configuration settings, then exit
16176 -q, --quiet, --silent
16177 do not print progress messages
16178 -d, --debug don't remove temporary files
16179 --recheck update $as_me by reconfiguring in the same conditions
16180 --file=FILE[:TEMPLATE]
16181 instantiate the configuration file FILE
16182 --header=FILE[:TEMPLATE]
16183 instantiate the configuration header FILE
16185 Configuration files:
16188 Configuration headers:
16191 Report bugs to <bug-autoconf@gnu.org>."
16194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16197 configured by $0, generated by GNU Autoconf 2.63,
16198 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16200 Copyright (C) 2008 Free Software Foundation, Inc.
16201 This config.status script is free software; the Free Software Foundation
16202 gives unlimited permission to copy, distribute and modify it."
16209 test -n "\$AWK" || AWK=awk
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16213 # The default lists apply if the user does not specify any file.
16219 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16220 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16231 # Handling of the options.
16232 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16234 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16235 $as_echo "$ac_cs_version"; exit ;;
16236 --debug |
--debu |
--deb |
--de |
--d |
-d )
16238 --file |
--fil |
--fi |
--f )
16241 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16243 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16244 ac_need_defaults
=false
;;
16245 --header |
--heade |
--head |
--hea )
16248 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16250 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16251 ac_need_defaults
=false
;;
16253 # Conflict between --help and --header
16254 { $as_echo "$as_me: error: ambiguous option: $1
16255 Try \`$0 --help' for more information." >&2
16256 { (exit 1); exit 1; }; };;
16257 --help |
--hel |
-h )
16258 $as_echo "$ac_cs_usage"; exit ;;
16259 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16260 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16263 # This is an error.
16264 -*) { $as_echo "$as_me: error: unrecognized option: $1
16265 Try \`$0 --help' for more information." >&2
16266 { (exit 1); exit 1; }; } ;;
16268 *) ac_config_targets
="$ac_config_targets $1"
16269 ac_need_defaults
=false
;;
16275 ac_configure_extra_args
=
16277 if $ac_cs_silent; then
16279 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16284 if \$ac_cs_recheck; then
16285 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16287 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16288 CONFIG_SHELL='$SHELL'
16289 export CONFIG_SHELL
16294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16299 ## Running $as_me. ##
16305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16310 # Handling of arguments.
16311 for ac_config_target
in $ac_config_targets
16313 case $ac_config_target in
16314 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16315 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16316 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16317 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16318 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16319 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16320 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16321 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16322 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16323 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16324 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16325 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16326 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16327 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
16328 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16329 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16330 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16331 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16332 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16333 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16334 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16335 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16336 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16337 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16338 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16339 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16340 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16341 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16342 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16343 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16344 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16345 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16346 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16347 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16348 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16349 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16350 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16352 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16353 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16354 { (exit 1); exit 1; }; };;
16359 # If the user did not use the arguments to specify the items to instantiate,
16360 # then the envvar interface is used. Set only those that are not.
16361 # We use the long form for the default assignment because of an extremely
16362 # bizarre bug on SunOS 4.1.3.
16363 if $ac_need_defaults; then
16364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16368 # Have a temporary directory for convenience. Make it in the build tree
16369 # simply because there is no reason against having it here, and in addition,
16370 # creating and moving files from /tmp can sometimes cause problems.
16371 # Hook for its removal unless debugging.
16372 # Note that there is a small window in which the directory will not be cleaned:
16373 # after its creation but before its name has been assigned to `$tmp'.
16377 trap 'exit_status=$?
16378 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16380 trap '{ (exit 1); exit 1; }' 1 2 13 15
16382 # Create a (secure) tmp directory for tmp files.
16385 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16386 test -n "$tmp" && test -d "$tmp"
16389 tmp
=.
/conf$$
-$RANDOM
16390 (umask 077 && mkdir
"$tmp")
16393 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16394 { (exit 1); exit 1; }
16397 # Set up the scripts for CONFIG_FILES section.
16398 # No need to generate them if there are no CONFIG_FILES.
16399 # This happens for instance with `./config.status config.h'.
16400 if test -n "$CONFIG_FILES"; then
16404 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16408 ac_cs_awk_cr
=$ac_cr
16411 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16416 echo "cat >conf$$subs.awk <<_ACEOF" &&
16417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16419 } >conf$$subs.sh ||
16420 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16421 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16422 { (exit 1); exit 1; }; }
16423 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16425 for ac_last_try in false false false false false :; do
16426 . ./conf$$subs.sh ||
16427 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16428 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16429 { (exit 1); exit 1; }; }
16431 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16432 if test $ac_delim_n = $ac_delim_num; then
16434 elif $ac_last_try; then
16435 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16436 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16437 { (exit 1); exit 1; }; }
16439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16442 rm -f conf$$subs.sh
16444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16445 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16449 s/^/S["/; s
/!.
*/"]=/
16459 s/\(.\{148\}\).*/\1/
16461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16473 s/\(.\{148\}\).*/\1/
16475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16484 ' <conf$$subs.awk | sed '
16489 ' >>$CONFIG_STATUS || ac_write_fail=1
16490 rm -f conf$$subs.awk
16491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16493 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16494 for (key in S) S_is_set[key] = 1
16500 nfields = split(line, field, "@
")
16502 len = length(field[1])
16503 for (i = 2; i < nfields; i++) {
16505 keylen = length(key)
16506 if (S_is_set[key]) {
16508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16509 len += length(value) + length(field[++i])
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16525 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16526 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16527 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16528 { (exit 1); exit 1; }; }
16531 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16532 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16533 # trailing colons and then remove the whole line if VPATH becomes empty
16534 # (actually we leave an empty line to preserve line numbers).
16535 if test "x
$srcdir" = x.; then
16536 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16537 s/:*\$(srcdir):*/:/
16538 s/:*\${srcdir}:*/:/
16540 s/^\([^=]*=[ ]*\):*/\1/
16546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16547 fi # test -n "$CONFIG_FILES"
16549 # Set up the scripts for CONFIG_HEADERS section.
16550 # No need to generate them if there are no CONFIG_HEADERS.
16551 # This happens for instance with `./config.status Makefile'.
16552 if test -n "$CONFIG_HEADERS"; then
16553 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16557 # Transform confdefs.h into an awk script `defines.awk', embedded as
16558 # here-document in config.status, that substitutes the proper values into
16559 # config.h.in to produce config.h.
16561 # Create a delimiter string that does not exist in confdefs.h, to ease
16562 # handling of long lines.
16564 for ac_last_try in false false :; do
16565 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16566 if test -z "$ac_t"; then
16568 elif $ac_last_try; then
16569 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16570 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16571 { (exit 1); exit 1; }; }
16573 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16577 # For the awk script, D is an array of macro values keyed by name,
16578 # likewise P contains macro parameters if any. Preserve backslash
16579 # newline sequences.
16581 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16583 s/.\{148\}/&'"$ac_delim"'/g
16586 s/^[ ]*#[ ]*define[ ][ ]*/ /
16593 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16595 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16599 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16600 D["\
1"]=" \
3\\\\\\n
"\\/p
16602 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16607 s/.\{148\}/&'"$ac_delim"'/g
16612 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16615 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16617 ' <confdefs.h | sed '
16618 s/'"$ac_delim"'/"\\\
16619 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16622 for (key in D) D_is_set[key] = 1
16625 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16627 split(line, arg, " ")
16628 if (arg[1] == "#") {
16632 defundef
= substr
(arg
[1], 2)
16635 split(mac1
, mac2
, "(") #)
16637 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16638 if (D_is_set
[macro
]) {
16639 # Preserve the white space surrounding the "#".
16640 print prefix
"define", macro P
[macro
] D
[macro
]
16643 # Replace #undef with comments. This is necessary, for example,
16644 # in the case of _POSIX_SOURCE, which is predefined and required
16645 # on some systems where configure will not decide to define it.
16646 if (defundef
== "undef") {
16647 print
"/*", prefix defundef
, macro
, "*/"
16655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16656 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16657 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16658 { (exit 1); exit 1; }; }
16659 fi # test -n "$CONFIG_HEADERS"
16662 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16667 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16669 case $ac_mode$ac_tag in
16671 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16672 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16673 { (exit 1); exit 1; }; };;
16674 :[FH
]-) ac_tag
=-:-;;
16675 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16692 -) ac_f
="$tmp/stdin";;
16693 *) # Look for the file first in the build tree, then in the source tree
16694 # (if the path is not absolute). The absolute path cannot be DOS-style,
16695 # because $ac_f cannot contain `:'.
16699 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16701 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16702 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16703 { (exit 1); exit 1; }; };;
16705 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16706 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16709 # Let's still pretend it is `configure' which instantiates (i.e., don't
16710 # use $as_me), people would be surprised to read:
16711 # /* config.h. Generated by config.status. */
16712 configure_input
='Generated from '`
16713 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16715 if test x
"$ac_file" != x-
; then
16716 configure_input
="$ac_file. $configure_input"
16717 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16718 $as_echo "$as_me: creating $ac_file" >&6;}
16720 # Neutralize special characters interpreted by sed in replacement strings.
16721 case $configure_input in #(
16722 *\
&* |
*\|
* |
*\\* )
16723 ac_sed_conf_input
=`$as_echo "$configure_input" |
16724 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16725 *) ac_sed_conf_input
=$configure_input;;
16729 *:-:* |
*:-) cat >"$tmp/stdin" \
16730 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16731 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16732 { (exit 1); exit 1; }; } ;;
16737 ac_dir
=`$as_dirname -- "$ac_file" ||
16738 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16739 X"$ac_file" : 'X\(//\)[^/]' \| \
16740 X"$ac_file" : 'X\(//\)$' \| \
16741 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16742 $as_echo X"$ac_file" |
16743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16747 /^X\(\/\/\)[^/].*/{
16762 -*) as_dir
=.
/$as_dir;;
16764 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16768 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16769 *) as_qdir
=$as_dir;;
16771 as_dirs
="'$as_qdir' $as_dirs"
16772 as_dir
=`$as_dirname -- "$as_dir" ||
16773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16774 X"$as_dir" : 'X\(//\)[^/]' \| \
16775 X"$as_dir" : 'X\(//\)$' \| \
16776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16777 $as_echo X"$as_dir" |
16778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16782 /^X\(\/\/\)[^/].*/{
16795 test -d "$as_dir" && break
16797 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16798 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16799 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16800 { (exit 1); exit 1; }; }; }
16804 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16806 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16807 # A ".." for each directory in $ac_dir_suffix.
16808 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16809 case $ac_top_builddir_sub in
16810 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16811 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16814 ac_abs_top_builddir
=$ac_pwd
16815 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16816 # for backward compatibility:
16817 ac_top_builddir
=$ac_top_build_prefix
16820 .
) # We are building in place.
16822 ac_top_srcdir
=$ac_top_builddir_sub
16823 ac_abs_top_srcdir
=$ac_pwd ;;
16824 [\\/]* | ?
:[\\/]* ) # Absolute name.
16825 ac_srcdir
=$srcdir$ac_dir_suffix;
16826 ac_top_srcdir
=$srcdir
16827 ac_abs_top_srcdir
=$srcdir ;;
16828 *) # Relative name.
16829 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16830 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16831 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16833 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16843 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16844 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16846 ac_MKDIR_P
=$MKDIR_P
16848 [\\/$
]* | ?
:[\\/]* ) ;;
16849 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16854 # If the template does not know about datarootdir, expand it.
16855 # FIXME: This hack should be removed a few years after 2.60.
16856 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16869 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16870 *datarootdir
*) ac_datarootdir_seen
=yes;;
16871 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16872 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16873 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16876 ac_datarootdir_hack='
16877 s&@datadir@&$datadir&g
16878 s&@docdir@&$docdir&g
16879 s&@infodir@&$infodir&g
16880 s&@localedir@&$localedir&g
16881 s&@mandir@&$mandir&g
16882 s&\\\${datarootdir}&$datarootdir&g' ;;
16886 # Neutralize VPATH when `$srcdir' = `.'.
16887 # Shell code in configure.ac might set extrasub.
16888 # FIXME: do we really want to maintain this feature?
16889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16890 ac_sed_extra="$ac_vpsub
16893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16895 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16896 s|@configure_input@|
$ac_sed_conf_input|
;t t
16897 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16898 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16899 s
&@srcdir@
&$ac_srcdir&;t t
16900 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16901 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16902 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16903 s
&@builddir@
&$ac_builddir&;t t
16904 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16905 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16906 s
&@INSTALL@
&$ac_INSTALL&;t t
16907 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16908 $ac_datarootdir_hack
16910 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16911 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16912 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16913 { (exit 1); exit 1; }; }
16915 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16916 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16917 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16918 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16919 which seems to be undefined. Please make sure it is defined." >&5
16920 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16921 which seems to be undefined. Please make sure it is defined." >&2;}
16925 -) cat "$tmp/out" && rm -f "$tmp/out";;
16926 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16928 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16929 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16930 { (exit 1); exit 1; }; }
16936 if test x"$ac_file" != x-; then
16938 $as_echo "/* $configure_input */" \
16939 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16940 } >"$tmp/config.h" \
16941 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16942 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16943 { (exit 1); exit 1; }; }
16944 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16945 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16946 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16949 mv "$tmp/config.h" "$ac_file" \
16950 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16951 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16952 { (exit 1); exit 1; }; }
16955 $as_echo "/* $configure_input */" \
16956 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16957 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16958 $as_echo "$as_me: error: could not create -" >&2;}
16959 { (exit 1); exit 1; }; }
16969 { (exit 0); exit 0; }
16971 chmod +x $CONFIG_STATUS
16972 ac_clean_files=$ac_clean_files_save
16974 test $ac_write_fail = 0 ||
16975 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16976 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16977 { (exit 1); exit 1; }; }
16980 # configure is writing to config.log, and then calls config.status.
16981 # config.status does its own redirection, appending to config.log.
16982 # Unfortunately, on DOS this fails, as config.log is still kept open
16983 # by configure, so config.status won't be able to
write to it
; its
16984 # output is simply discarded. So we exec the FD to /dev/null,
16985 # effectively closing config.log, so it can be properly (re)opened and
16986 # appended to by config.status. When coming back to configure, we
16987 # need to make the FD available again.
16988 if test "$no_create" != yes; then
16990 ac_config_status_args
=
16991 test "$silent" = yes &&
16992 ac_config_status_args
="$ac_config_status_args --quiet"
16994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16997 # would make configure fail if this is the last instruction.
16998 $ac_cs_success ||
{ (exit 1); exit 1; }
17000 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17001 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17002 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17006 if test x
$ODIRECT != xyes
; then
17007 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
17008 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}