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
789 program_transform_name
801 enable_option_checking
818 with_cmirrord_pidfile
842 with_dmeventd_pidfile
846 ac_precious_vars
='build_alias
878 # Initialize some variables set by options.
880 ac_init_version
=false
881 ac_unrecognized_opts
=
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name
=s
,x
,x
,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir
='${exec_prefix}/bin'
907 sbindir
='${exec_prefix}/sbin'
908 libexecdir
='${exec_prefix}/libexec'
909 datarootdir
='${prefix}/share'
910 datadir
='${datarootdir}'
911 sysconfdir
='${prefix}/etc'
912 sharedstatedir
='${prefix}/com'
913 localstatedir
='${prefix}/var'
914 includedir
='${prefix}/include'
915 oldincludedir
='/usr/include'
916 docdir
='${datarootdir}/doc/${PACKAGE}'
917 infodir
='${datarootdir}/info'
922 libdir
='${exec_prefix}/lib'
923 localedir
='${datarootdir}/locale'
924 mandir
='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\
$ac_option
938 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942 # Accept the important Cygnus configure options, so we can diagnose typos.
944 case $ac_dashdash$ac_option in
948 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
950 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
953 -build |
--build |
--buil |
--bui |
--bu)
954 ac_prev
=build_alias
;;
955 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
956 build_alias
=$ac_optarg ;;
958 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
959 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
960 ac_prev
=cache_file
;;
961 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
962 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
963 cache_file
=$ac_optarg ;;
966 cache_file
=config.cache
;;
968 -datadir |
--datadir |
--datadi |
--datad)
970 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
971 datadir
=$ac_optarg ;;
973 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
974 |
--dataroo |
--dataro |
--datar)
975 ac_prev
=datarootdir
;;
976 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
977 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
978 datarootdir
=$ac_optarg ;;
980 -disable-* |
--disable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
985 { (exit 1); exit 1; }; }
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=no
;;
997 -docdir |
--docdir |
--docdi |
--doc |
--do)
999 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1000 docdir
=$ac_optarg ;;
1002 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1004 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1005 dvidir
=$ac_optarg ;;
1007 -enable-* |
--enable-*)
1008 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1011 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1012 { (exit 1); exit 1; }; }
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_
$ac_useropt"
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval enable_
$ac_useropt=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=no
;;
1247 # Obsolete; use --with-x.
1250 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1251 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1252 ac_prev
=x_includes
;;
1253 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1254 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1255 x_includes
=$ac_optarg ;;
1257 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1258 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1259 ac_prev
=x_libraries
;;
1260 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1261 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1262 x_libraries
=$ac_optarg ;;
1264 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1265 Try \`$0 --help' for more information." >&2
1266 { (exit 1); exit 1; }; }
1270 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1273 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1274 { (exit 1); exit 1; }; }
1275 eval $ac_envvar=\
$ac_optarg
1276 export $ac_envvar ;;
1279 # FIXME: should be removed in autoconf 3.0.
1280 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1282 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1289 if test -n "$ac_prev"; then
1290 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1291 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1292 { (exit 1); exit 1; }; }
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1299 { (exit 1); exit 1; }; } ;;
1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val
=\$
$ac_var
1311 # Remove trailing slashes.
1314 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\
$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1323 { (exit 1); exit 1; }; }
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target
=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x
; then
1335 if test "x$build_alias" = x
; then
1336 cross_compiling
=maybe
1337 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used." >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1354 { (exit 1); exit 1; }; }
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1357 { (exit 1); exit 1; }; }
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted
=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir
=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted
=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1396 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1397 { (exit 1); exit 1; }; }
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1402 { (exit 1); exit 1; }; }
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var
in $ac_precious_vars; do
1415 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1417 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures this package to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --build=BUILD configure
for building on BUILD
[guessed
]
1487 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1488 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1492 if test -n "$ac_init_help"; then
1497 --disable-option-checking ignore unrecognized
--enable/--with options
1498 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1499 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1500 --enable-static_link Use this to link the tools to their libraries
1501 statically. Default is dynamic linking
1502 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1503 device-mapper is missing from the kernel
1504 --disable-readline Disable readline support
1505 --disable-realtime Disable realtime
clock support
1506 --enable-cmirrord Enable the cluster mirror log daemon
1507 --enable-debug Enable debugging
1508 --enable-profiling Gather gcov profiling data
1509 --disable-devmapper Disable LVM2 device-mapper interaction
1510 --enable-udev_sync Enable synchronisation with udev processing
1511 --enable-udev_rules Install rule files needed
for udev synchronisation
1512 --enable-compat Enable support
for old device-mapper versions
1513 --disable-driver Disable calls to device-mapper
in the kernel
1514 --disable-o_direct Disable O_DIRECT
1515 --enable-applib Build application library
1516 --enable-cmdlib Build shared
command library
1517 --enable-pkgconfig Install pkgconfig support
1518 --enable-fsadm Enable fsadm
1519 --enable-dmeventd Enable the device-mapper event daemon
1520 --disable-selinux Disable selinux support
1521 --enable-nls Enable Native Language Support
1524 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1525 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1526 --with-user=USER Set the owner of installed files
[USER
=root
]
1527 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1528 --with-device-uid=UID Set the owner used
for new device nodes
[UID
=0]
1529 --with-device-gid=UID Set the group used
for new device nodes
[GID
=0]
1530 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1531 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1533 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1535 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1537 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1539 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1541 --with-clvmd=TYPE Build cluster LVM Daemon.
1542 The following cluster manager combinations are valid
:
1543 * cman
,gulm
(RHEL4 or equivalent
)
1544 * cman
(RHEL5 or equivalent
)
1545 * cman
,corosync
,openais
(or selection of them
)
1547 * none
(disable build
)
1549 --with-cmirrord-pidfile=PATH cmirrord pidfile
[/var
/run
/cmirrord.pid
]
1550 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1551 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1552 --with-confdir=DIR Configuration files
in DIR
[/etc
]
1553 --with-staticdir=DIR Static binary
in DIR
[EPREFIX
/sbin
]
1554 --with-usrlibdir=DIR
1555 --with-usrsbindir=DIR
1556 --with-udev-prefix=UPREFIX Install udev rule files
in UPREFIX
[EPREFIX
]
1557 --with-udevdir=DIR udev rules
in DIR
[UPREFIX
/lib
/udev
/rules.d
]
1558 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1559 --with-dmeventd-path=PATH dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1560 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1562 Some influential environment variables
:
1563 CC C compiler
command
1564 CFLAGS C compiler flags
1565 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1566 nonstandard directory
<lib dir
>
1567 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1568 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1569 you have headers
in a nonstandard directory
<include dir
>
1571 PKG_CONFIG path to pkg-config utility
1572 PKGCONFIGINIT_CFLAGS
1573 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1575 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1576 CCS_CFLAGS C compiler flags
for CCS
, overriding pkg-config
1577 CCS_LIBS linker flags
for CCS
, overriding pkg-config
1578 GULM_CFLAGS C compiler flags
for GULM
, overriding pkg-config
1579 GULM_LIBS linker flags
for GULM
, overriding pkg-config
1580 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1581 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1583 C compiler flags
for COROSYNC
, overriding pkg-config
1585 linker flags
for COROSYNC
, overriding pkg-config
1587 C compiler flags
for QUORUM
, overriding pkg-config
1588 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1590 C compiler flags
for SALCK
, overriding pkg-config
1591 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1593 C compiler flags
for CONFDB
, overriding pkg-config
1594 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1595 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1596 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1597 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1598 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1600 Use these variables to override the choices made by
`configure' or to help
1601 it to find libraries and programs with nonstandard names/locations.
1607 if test "$ac_init_help" = "recursive"; then
1608 # If there are subdirs, report their specific --help.
1609 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1610 test -d "$ac_dir" ||
1611 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1619 # A ".." for each directory in $ac_dir_suffix.
1620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1621 case $ac_top_builddir_sub in
1622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626 ac_abs_top_builddir=$ac_pwd
1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1628 # for backward compatibility:
1629 ac_top_builddir=$ac_top_build_prefix
1632 .) # We are building in place.
1634 ac_top_srcdir=$ac_top_builddir_sub
1635 ac_abs_top_srcdir=$ac_pwd ;;
1636 [\\/]* | ?:[\\/]* ) # Absolute name.
1637 ac_srcdir=$srcdir$ac_dir_suffix;
1638 ac_top_srcdir=$srcdir
1639 ac_abs_top_srcdir=$srcdir ;;
1641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642 ac_top_srcdir=$ac_top_build_prefix$srcdir
1643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647 cd "$ac_dir" || { ac_status=$?; continue; }
1648 # Check for guested configure.
1649 if test -f "$ac_srcdir/configure.gnu"; then
1651 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652 elif test -f "$ac_srcdir/configure"; then
1654 $SHELL "$ac_srcdir/configure" --help=recursive
1656 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658 cd "$ac_pwd" || { ac_status=$?; break; }
1662 test -n "$ac_init_help" && exit $ac_status
1663 if $ac_init_version; then
1666 generated by GNU Autoconf 2.63
1668 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1669 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1670 This configure script is free software; the Free Software Foundation
1671 gives unlimited permission to copy, distribute and modify it.
1675 cat >config.log <<_ACEOF
1676 This file contains any messages produced by compilers while
1677 running configure, to aid debugging if configure makes a mistake.
1679 It was created by $as_me, which was
1680 generated by GNU Autoconf 2.63. Invocation command line was
1692 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1693 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1694 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1695 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1696 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1698 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1699 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1701 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1703 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1704 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1705 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1706 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1707 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 $as_echo "PATH: $as_dir"
1732 # Keep a trace of the command line.
1733 # Strip out --no-create and --no-recursion so they do not pile up.
1734 # Strip out --silent because we don't want to record it for future runs.
1735 # Also quote any args containing shell meta-characters.
1736 # Make two passes to allow for proper duplicate-argument suppression.
1740 ac_must_keep_next=false
1746 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1747 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1748 | -silent | --silent | --silen | --sile | --sil)
1751 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1754 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1756 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1757 if test $ac_must_keep_next = true; then
1758 ac_must_keep_next=false # Got value, back to normal.
1761 *=* | --config-cache | -C | -disable-* | --disable-* \
1762 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1763 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1764 | -with-* | --with-* | -without-* | --without-* | --x)
1765 case "$ac_configure_args0 " in
1766 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1769 -* ) ac_must_keep_next=true ;;
1772 ac_configure_args="$ac_configure_args '$ac_arg'"
1777 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1778 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1780 # When interrupted or exit'd, cleanup temporary files, and complete
1781 # config.log. We remove comments because anyway the quotes in there
1782 # would cause problems or look ugly.
1783 # WARNING: Use '\'' to represent an apostrophe within the trap.
1784 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1785 trap 'exit_status=$?
1786 # Save into config.log some information that might help in debugging.
1791 ## ---------------- ##
1792 ## Cache variables. ##
1793 ## ---------------- ##
1796 # The following way of writing the cache mishandles newlines in values,
1798 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1799 eval ac_val=\$$ac_var
1803 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1807 _ | IFS | as_nl) ;; #(
1808 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1809 *) $as_unset $ac_var ;;
1814 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1815 *${as_nl}ac_space=\ *)
1817 "s/'\''/'\''\\\\'\'''\''/g;
1818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1829 ## ----------------- ##
1830 ## Output variables. ##
1831 ## ----------------- ##
1834 for ac_var in $ac_subst_vars
1836 eval ac_val=\$$ac_var
1838 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840 $as_echo "$ac_var='\''$ac_val'\''"
1844 if test -n "$ac_subst_files"; then
1846 ## ------------------- ##
1847 ## File substitutions. ##
1848 ## ------------------- ##
1851 for ac_var in $ac_subst_files
1853 eval ac_val=\$$ac_var
1855 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857 $as_echo "$ac_var='\''$ac_val'\''"
1862 if test -s confdefs.h; then
1872 test "$ac_signal" != 0 &&
1873 $as_echo "$as_me: caught signal $ac_signal"
1874 $as_echo "$as_me: exit $exit_status"
1876 rm -f core *.core core.conftest.* &&
1877 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880 for ac_signal in 1 2 13 15; do
1881 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1885 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1886 rm -f -r conftest* confdefs.h
1888 # Predefined preprocessor variables.
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_NAME "$PACKAGE_NAME"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_STRING "$PACKAGE_STRING"
1910 cat >>confdefs.h <<_ACEOF
1911 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1915 # Let the site file select an alternate cache file if it wants to.
1916 # Prefer an explicitly selected file to automatically selected ones.
1919 if test -n "$CONFIG_SITE"; then
1920 ac_site_file1=$CONFIG_SITE
1921 elif test "x$prefix" != xNONE; then
1922 ac_site_file1=$prefix/share/config.site
1923 ac_site_file2=$prefix/etc/config.site
1925 ac_site_file1=$ac_default_prefix/share/config.site
1926 ac_site_file2=$ac_default_prefix/etc/config.site
1928 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1930 test "x$ac_site_file" = xNONE && continue
1931 if test -r "$ac_site_file"; then
1932 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1933 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1934 sed 's/^/| /' "$ac_site_file" >&5
1939 if test -r "$cache_file"; then
1940 # Some versions of bash will fail to source /dev/null (special
1941 # files actually), so we avoid doing that.
1942 if test -f "$cache_file"; then
1943 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1944 $as_echo "$as_me: loading cache $cache_file" >&6;}
1946 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1947 *) . "./$cache_file";;
1951 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1952 $as_echo "$as_me: creating cache $cache_file" >&6;}
1956 # Check that the precious variables saved in the cache have kept the same
1958 ac_cache_corrupted=false
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1961 eval ac_new_set=\$ac_env_${ac_var}_set
1962 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1963 eval ac_new_val=\$ac_env_${ac_var}_value
1964 case $ac_old_set,$ac_new_set in
1966 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1967 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1970 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1971 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1975 if test "x$ac_old_val" != "x$ac_new_val"; then
1976 # differences in whitespace do not lead to failure.
1977 ac_old_val_w=`echo x
$ac_old_val`
1978 ac_new_val_w=`echo x
$ac_new_val`
1979 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1980 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1981 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1982 ac_cache_corrupted=:
1984 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1985 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1986 eval $ac_var=\$ac_old_val
1988 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1989 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1990 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1991 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1994 # Pass precious variables to config.status.
1995 if test "$ac_new_set" = set; then
1997 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1998 *) ac_arg=$ac_var=$ac_new_val ;;
2000 case " $ac_configure_args " in
2001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2002 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2006 if $ac_cache_corrupted; then
2007 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2009 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2010 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2011 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2012 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2013 { (exit 1); exit 1; }; }
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2040 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
2043 ################################################################################
2045 for ac_dir in autoconf "$srcdir"/autoconf; do
2046 if test -f "$ac_dir/install-sh
"; then
2048 ac_install_sh="$ac_aux_dir/install-sh
-c"
2050 elif test -f "$ac_dir/install.sh
"; then
2052 ac_install_sh="$ac_aux_dir/install.sh
-c"
2054 elif test -f "$ac_dir/shtool
"; then
2056 ac_install_sh="$ac_aux_dir/shtool
install -c"
2060 if test -z "$ac_aux_dir"; then
2061 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2062 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2063 { (exit 1); exit 1; }; }
2066 # These three variables are undocumented and unsupported,
2067 # and are intended to be withdrawn in a future Autoconf release.
2068 # They can cause serious problems if a builder's source tree is in a directory
2069 # whose full name contains unusual characters.
2070 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2071 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2072 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2076 ################################################################################
2077 # Make sure we can run config.sub.
2078 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2079 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2080 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2081 { (exit 1); exit 1; }; }
2083 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2084 $as_echo_n "checking build system
type...
" >&6; }
2085 if test "${ac_cv_build+set}" = set; then
2086 $as_echo_n "(cached
) " >&6
2088 ac_build_alias=$build_alias
2089 test "x
$ac_build_alias" = x &&
2090 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2091 test "x
$ac_build_alias" = x &&
2092 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2093 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2094 { (exit 1); exit 1; }; }
2095 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2096 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2097 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2098 { (exit 1); exit 1; }; }
2101 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2102 $as_echo "$ac_cv_build" >&6; }
2103 case $ac_cv_build in
2105 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2106 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2107 { (exit 1); exit 1; }; };;
2110 ac_save_IFS=$IFS; IFS='-'
2116 # Remember, the first character of IFS is used to create $*,
2117 # except with old shells:
2120 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2123 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2124 $as_echo_n "checking
host system
type...
" >&6; }
2125 if test "${ac_cv_host+set}" = set; then
2126 $as_echo_n "(cached
) " >&6
2128 if test "x
$host_alias" = x; then
2129 ac_cv_host=$ac_cv_build
2131 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2132 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2133 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2134 { (exit 1); exit 1; }; }
2138 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2139 $as_echo "$ac_cv_host" >&6; }
2142 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2143 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2144 { (exit 1); exit 1; }; };;
2147 ac_save_IFS=$IFS; IFS='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2160 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2161 $as_echo_n "checking target system
type...
" >&6; }
2162 if test "${ac_cv_target+set}" = set; then
2163 $as_echo_n "(cached
) " >&6
2165 if test "x
$target_alias" = x; then
2166 ac_cv_target=$ac_cv_host
2168 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2169 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2170 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2176 $as_echo "$ac_cv_target" >&6; }
2177 case $ac_cv_target in
2179 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2180 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2181 { (exit 1); exit 1; }; };;
2183 target=$ac_cv_target
2184 ac_save_IFS=$IFS; IFS='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2197 # The aliases save the names the user supplied, while $host etc.
2198 # will get canonicalized.
2199 test -n "$target_alias" &&
2200 test "$program_prefix$program_suffix$program_transform_name" = \
2202 program_prefix=${target_alias}-
2207 COPTIMISE_FLAG="-O2"
2208 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2209 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2210 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2211 LDDEPS="$LDDEPS .
export.sym
"
2212 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2223 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2224 COPTIMISE_FLAG="-O2"
2225 CLDFLAGS="$CLDFLAGS"
2226 CLDWHOLEARCHIVE="-all_load"
2239 ################################################################################
2240 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2241 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2242 if test "${ac_cv_path_SED+set}" = set; then
2243 $as_echo_n "(cached
) " >&6
2245 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2246 for ac_i in 1 2 3 4 5 6 7; do
2247 ac_script="$ac_script$as_nl$ac_script"
2249 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2250 $as_unset ac_script || ac_script=
2251 if test -z "$SED"; then
2252 ac_path_SED_found=false
2253 # Loop through the user's path and test for each of PROGNAME-LIST
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir=.
2259 for ac_prog in sed gsed; do
2260 for ac_exec_ext in '' $ac_executable_extensions; do
2261 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2262 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2263 # Check for GNU ac_path_SED and select it if it is found.
2264 # Check for GNU $ac_path_SED
2265 case `"$ac_path_SED" --version 2>&1` in
2267 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2270 $as_echo_n 0123456789 >"conftest.
in"
2273 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2274 mv "conftest.tmp
" "conftest.
in"
2275 cp "conftest.
in" "conftest.
nl"
2276 $as_echo '' >> "conftest.
nl"
2277 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2278 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2279 ac_count=`expr $ac_count + 1`
2280 if test $ac_count -gt ${ac_path_SED_max-0}; then
2281 # Best one so far, save it but keep looking for a better one
2282 ac_cv_path_SED="$ac_path_SED"
2283 ac_path_SED_max=$ac_count
2285 # 10*(2^10) chars as input seems more than enough
2286 test $ac_count -gt 10 && break
2288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2291 $ac_path_SED_found && break 3
2296 if test -z "$ac_cv_path_SED"; then
2297 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2298 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2299 { (exit 1); exit 1; }; }
2306 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2307 $as_echo "$ac_cv_path_SED" >&6; }
2308 SED="$ac_cv_path_SED"
2311 for ac_prog in gawk mawk nawk awk
2313 # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2316 $as_echo_n "checking
for $ac_word...
" >&6; }
2317 if test "${ac_cv_prog_AWK+set}" = set; then
2318 $as_echo_n "(cached
) " >&6
2320 if test -n "$AWK"; then
2321 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330 ac_cv_prog_AWK="$ac_prog"
2331 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2341 if test -n "$AWK"; then
2342 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2343 $as_echo "$AWK" >&6; }
2345 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2346 $as_echo "no
" >&6; }
2350 test -n "$AWK" && break
2354 ac_cpp='$CPP $CPPFLAGS'
2355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2358 if test -n "$ac_tool_prefix"; then
2359 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2360 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2361 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2362 $as_echo_n "checking
for $ac_word...
" >&6; }
2363 if test "${ac_cv_prog_CC+set}" = set; then
2364 $as_echo_n "(cached
) " >&6
2366 if test -n "$CC"; then
2367 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2377 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2387 if test -n "$CC"; then
2388 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2389 $as_echo "$CC" >&6; }
2391 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2392 $as_echo "no
" >&6; }
2397 if test -z "$ac_cv_prog_CC"; then
2399 # Extract the first word of "gcc
", so it can be a program name with args.
2400 set dummy gcc; ac_word=$2
2401 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2402 $as_echo_n "checking
for $ac_word...
" >&6; }
2403 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2404 $as_echo_n "(cached
) " >&6
2406 if test -n "$ac_ct_CC"; then
2407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_ac_ct_CC="gcc
"
2417 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2427 if test -n "$ac_ct_CC"; then
2428 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2429 $as_echo "$ac_ct_CC" >&6; }
2431 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2432 $as_echo "no
" >&6; }
2435 if test "x
$ac_ct_CC" = x; then
2438 case $cross_compiling:$ac_tool_warned in
2440 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2441 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2442 ac_tool_warned=yes ;;
2450 if test -z "$CC"; then
2451 if test -n "$ac_tool_prefix"; then
2452 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2453 set dummy ${ac_tool_prefix}cc; ac_word=$2
2454 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2455 $as_echo_n "checking
for $ac_word...
" >&6; }
2456 if test "${ac_cv_prog_CC+set}" = set; then
2457 $as_echo_n "(cached
) " >&6
2459 if test -n "$CC"; then
2460 ac_cv_prog_CC="$CC" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2470 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2480 if test -n "$CC"; then
2481 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2482 $as_echo "$CC" >&6; }
2484 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2485 $as_echo "no
" >&6; }
2491 if test -z "$CC"; then
2492 # Extract the first word of "cc
", so it can be a program name with args.
2493 set dummy cc; ac_word=$2
2494 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2495 $as_echo_n "checking
for $ac_word...
" >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then
2497 $as_echo_n "(cached
) " >&6
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2511 ac_prog_rejected=yes
2515 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2522 if test $ac_prog_rejected = yes; then
2523 # We found a bogon in the path, so make sure we never use it.
2524 set dummy $ac_cv_prog_CC
2526 if test $# != 0; then
2527 # We chose a different compiler from the bogus one.
2528 # However, it has the same basename, so the bogon will be chosen
2529 # first if we set CC to just the basename; use the full file name.
2531 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2537 if test -n "$CC"; then
2538 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2539 $as_echo "$CC" >&6; }
2541 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2542 $as_echo "no
" >&6; }
2547 if test -z "$CC"; then
2548 if test -n "$ac_tool_prefix"; then
2549 for ac_prog in cl.exe
2551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2553 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2554 $as_echo_n "checking
for $ac_word...
" >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2556 $as_echo_n "(cached
) " >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC="$CC" # Let the user override the test.
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2569 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2581 $as_echo "$CC" >&6; }
2583 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2584 $as_echo "no
" >&6; }
2588 test -n "$CC" && break
2591 if test -z "$CC"; then
2593 for ac_prog in cl.exe
2595 # Extract the first word of "$ac_prog", so it can be a program name with args.
2596 set dummy $ac_prog; ac_word=$2
2597 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2598 $as_echo_n "checking
for $ac_word...
" >&6; }
2599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2600 $as_echo_n "(cached
) " >&6
2602 if test -n "$ac_ct_CC"; then
2603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_ac_ct_CC="$ac_prog"
2613 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2623 if test -n "$ac_ct_CC"; then
2624 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2625 $as_echo "$ac_ct_CC" >&6; }
2627 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2628 $as_echo "no
" >&6; }
2632 test -n "$ac_ct_CC" && break
2635 if test "x
$ac_ct_CC" = x; then
2638 case $cross_compiling:$ac_tool_warned in
2640 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2641 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2642 ac_tool_warned=yes ;;
2651 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2654 See \`config.log' for more details.
" >&5
2655 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2656 See \
`config.log' for more details." >&2;}
2657 { (exit 1); exit 1; }; }; }
2659 # Provide some information about the compiler.
2660 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2663 { (ac_try="$ac_compiler --version >&5"
2665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2666 *) ac_try_echo
=$ac_try;;
2668 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2669 $as_echo "$ac_try_echo") >&5
2670 (eval "$ac_compiler --version >&5") 2>&5
2672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }
2674 { (ac_try
="$ac_compiler -v >&5"
2676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2680 $as_echo "$ac_try_echo") >&5
2681 (eval "$ac_compiler -v >&5") 2>&5
2683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }
2685 { (ac_try="$ac_compiler -V >&5"
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2691 $as_echo "$ac_try_echo") >&5
2692 (eval "$ac_compiler -V >&5") 2>&5
2694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }
2697 cat >conftest.
$ac_ext <<_ACEOF
2700 cat confdefs.h
>>conftest.
$ac_ext
2701 cat >>conftest.
$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 ac_clean_files_save
=$ac_clean_files
2713 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2714 # Try to create an executable without -o first, disregard a.out.
2715 # It will help us diagnose broken compilers, and finding out an intuition
2717 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2718 $as_echo_n "checking for C compiler default output file name... " >&6; }
2719 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2721 # The possible output files:
2722 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2725 for ac_file
in $ac_files
2728 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2729 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2734 if { (ac_try
="$ac_link_default"
2736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2740 $as_echo "$ac_try_echo") >&5
2741 (eval "$ac_link_default") 2>&5
2743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; then
2745 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2746 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2747 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2748 # so that the user can short-circuit this test for compilers unknown to
2750 for ac_file in $ac_files ''
2752 test -f "$ac_file" || continue
2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2757 # We found the default executable, but exeext='' is most
2761 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2763 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2765 # We set ac_cv_exeext here because the later test for it is not
2766 # safe: cross compilers may not add the suffix if given an `-o'
2767 # argument, so we may need to know it at that point already.
2768 # Even if this section looks crufty: it has the advantage of
2775 test "$ac_cv_exeext" = no && ac_cv_exeext=
2781 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2782 $as_echo "$ac_file" >&6; }
2783 if test -z "$ac_file"; then
2784 $as_echo "$as_me: failed program was:" >&5
2785 sed 's
/^
/|
/' conftest.$ac_ext >&5
2787 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2788 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2789 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2790 See \`config.log
' for more details." >&5
2791 $as_echo "$as_me: error: C compiler cannot create executables
2792 See \`config.log' for more details.
" >&2;}
2793 { (exit 77); exit 77; }; }; }
2796 ac_exeext=$ac_cv_exeext
2798 # Check that the compiler produces executables we can run. If not, either
2799 # the compiler is broken, or we cross compile.
2800 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2801 $as_echo_n "checking whether the C compiler works...
" >&6; }
2802 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2803 # If not cross compiling, check that we can run a simple program.
2804 if test "$cross_compiling" != yes; then
2805 if { ac_try='./$ac_file'
2806 { (case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2811 $as_echo "$ac_try_echo") >&5
2812 (eval "$ac_try") 2>&5
2814 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2815 (exit $ac_status); }; }; then
2818 if test "$cross_compiling" = maybe; then
2821 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2824 If you meant to cross compile, use \`--host'.
2825 See \
`config.log' for more details." >&5
2826 $as_echo "$as_me: error: cannot run C compiled programs.
2827 If you meant to cross compile, use \`--host'.
2828 See \`config.log' for more details.
" >&2;}
2829 { (exit 1); exit 1; }; }; }
2833 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2834 $as_echo "yes" >&6; }
2836 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2837 ac_clean_files=$ac_clean_files_save
2838 # Check that the compiler produces executables we can run. If not, either
2839 # the compiler is broken, or we cross compile.
2840 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2841 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2842 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2843 $as_echo "$cross_compiling" >&6; }
2845 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2846 $as_echo_n "checking
for suffix of executables...
" >&6; }
2847 if { (ac_try="$ac_link"
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2852 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2853 $as_echo "$ac_try_echo") >&5
2854 (eval "$ac_link") 2>&5
2856 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2857 (exit $ac_status); }; then
2858 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2860 # work properly (i.e., refer to `conftest.exe'), while it won't with
2862 for ac_file in conftest.exe conftest conftest.*; do
2863 test -f "$ac_file" || continue
2865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2866 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2872 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2875 See \`config.log' for more details.
" >&5
2876 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2877 See \
`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }; }
2881 rm -f conftest$ac_cv_exeext
2882 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2883 $as_echo "$ac_cv_exeext" >&6; }
2885 rm -f conftest.$ac_ext
2886 EXEEXT=$ac_cv_exeext
2888 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2889 $as_echo_n "checking for suffix of object files... " >&6; }
2890 if test "${ac_cv_objext+set}" = set; then
2891 $as_echo_n "(cached) " >&6
2893 cat >conftest.$ac_ext <<_ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2908 rm -f conftest.o conftest.obj
2909 if { (ac_try="$ac_compile"
2911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2912 *) ac_try_echo
=$ac_try;;
2914 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2915 $as_echo "$ac_try_echo") >&5
2916 (eval "$ac_compile") 2>&5
2918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; then
2920 for ac_file
in conftest.o conftest.obj conftest.
*; do
2921 test -f "$ac_file" ||
continue;
2923 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2924 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2929 $as_echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.
$ac_ext >&5
2932 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2935 See \`config.log' for more details." >&5
2936 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2937 See \`config.log' for more details." >&2;}
2938 { (exit 1); exit 1; }; }; }
2941 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2943 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2944 $as_echo "$ac_cv_objext" >&6; }
2945 OBJEXT
=$ac_cv_objext
2947 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2949 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2950 $as_echo_n "(cached) " >&6
2952 cat >conftest.
$ac_ext <<_ACEOF
2955 cat confdefs.h
>>conftest.
$ac_ext
2956 cat >>conftest.
$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2970 rm -f conftest.
$ac_objext
2971 if { (ac_try
="$ac_compile"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2977 $as_echo "$ac_try_echo") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1 >conftest.err
2982 cat conftest.err >&5
2983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.$ac_objext; then
2990 $as_echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3000 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3001 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3002 if test $ac_compiler_gnu = yes; then
3007 ac_test_CFLAGS=${CFLAGS+set}
3008 ac_save_CFLAGS=$CFLAGS
3009 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3010 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3011 if test "${ac_cv_prog_cc_g+set}" = set; then
3012 $as_echo_n "(cached) " >&6
3014 ac_save_c_werror_flag=$ac_c_werror_flag
3015 ac_c_werror_flag=yes
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3037 *) ac_try_echo
=$ac_try;;
3039 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3040 $as_echo "$ac_try_echo") >&5
3041 (eval "$ac_compile") 2>conftest.er1
3043 grep -v '^ *+' conftest.er1
>conftest.err
3045 cat conftest.err
>&5
3046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } && {
3048 test -z "$ac_c_werror_flag" ||
3049 test ! -s conftest.err
3050 } && test -s conftest.
$ac_objext; then
3053 $as_echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3057 cat >conftest.
$ac_ext <<_ACEOF
3060 cat confdefs.h
>>conftest.
$ac_ext
3061 cat >>conftest.
$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3072 rm -f conftest.
$ac_objext
3073 if { (ac_try
="$ac_compile"
3075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080 (eval "$ac_compile") 2>conftest.er1
3082 grep -v '^ *+' conftest.er1 >conftest.err
3084 cat conftest.err >&5
3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } && {
3087 test -z "$ac_c_werror_flag" ||
3088 test ! -s conftest.err
3089 } && test -s conftest.$ac_objext; then
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3095 ac_c_werror_flag=$ac_save_c_werror_flag
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3112 rm -f conftest.$ac_objext
3113 if { (ac_try="$ac_compile"
3115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3116 *) ac_try_echo
=$ac_try;;
3118 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3119 $as_echo "$ac_try_echo") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1
>conftest.err
3124 cat conftest.err
>&5
3125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } && {
3127 test -z "$ac_c_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.
$ac_objext; then
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.
$ac_ext >&5
3138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3145 ac_c_werror_flag
=$ac_save_c_werror_flag
3147 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3148 $as_echo "$ac_cv_prog_cc_g" >&6; }
3149 if test "$ac_test_CFLAGS" = set; then
3150 CFLAGS
=$ac_save_CFLAGS
3151 elif test $ac_cv_prog_cc_g = yes; then
3152 if test "$GCC" = yes; then
3158 if test "$GCC" = yes; then
3164 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3165 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3166 if test "${ac_cv_prog_cc_c89+set}" = set; then
3167 $as_echo_n "(cached) " >&6
3169 ac_cv_prog_cc_c89
=no
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3179 #include <sys/types.h>
3180 #include <sys/stat.h>
3181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3182 struct buf { int x; };
3183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3184 static char *e (p, i)
3190 static char *f (char * (*g) (char **, int), char **p, ...)
3195 s = g (p, va_arg (v,int));
3200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3201 function prototypes and stuff, but not '\xHH' hex character constants.
3202 These don't provoke an error unfortunately, instead are silently treated
3203 as 'x'. The following induces an error, until -std is added to get
3204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3205 array size at least. It's necessary to write '\x00'==0 to get something
3206 that's true only with -std. */
3207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3209 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3210 inside strings and character constants. */
3212 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3214 int test (int i, double x);
3215 struct s1 {int (*f) (int a);};
3216 struct s2 {int (*f) (double a);};
3217 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3223 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3228 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3229 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3231 CC
="$ac_save_CC $ac_arg"
3232 rm -f conftest.
$ac_objext
3233 if { (ac_try
="$ac_compile"
3235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3239 $as_echo "$ac_try_echo") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3250 ac_cv_prog_cc_c89=$ac_arg
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3258 rm -f core conftest.err conftest.$ac_objext
3259 test "x$ac_cv_prog_cc_c89" != "xno" && break
3261 rm -f conftest.$ac_ext
3266 case "x$ac_cv_prog_cc_c89" in
3268 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3269 $as_echo "none needed" >&6; } ;;
3271 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3272 $as_echo "unsupported" >&6; } ;;
3274 CC="$CC $ac_cv_prog_cc_c89"
3275 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3276 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3281 ac_cpp='$CPP $CPPFLAGS'
3282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3289 ac_cpp='$CPP $CPPFLAGS'
3290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3294 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3295 # On Suns, sometimes $CPP names a directory.
3296 if test -n "$CPP" && test -d "$CPP"; then
3299 if test -z "$CPP"; then
3300 if test "${ac_cv_prog_CPP+set}" = set; then
3301 $as_echo_n "(cached) " >&6
3303 # Double quotes because CPP needs to be expanded
3304 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3307 for ac_c_preproc_warn_flag in '' yes
3309 # Use a header file that comes with gcc, so configuring glibc
3310 # with a fresh cross-compiler works.
3311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312 # <limits.h> exists even on freestanding compilers.
3313 # On the NeXT, cc -E runs the code through the compiler's parser,
3314 # not just through cpp. "Syntax error" is here to catch this case.
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3322 # include <limits.h>
3324 # include <assert.h>
3328 if { (ac_try="$ac_cpp conftest.$ac_ext"
3330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3331 *) ac_try_echo
=$ac_try;;
3333 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3334 $as_echo "$ac_try_echo") >&5
3335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3337 grep -v '^ *+' conftest.er1
>conftest.err
3339 cat conftest.err
>&5
3340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } >/dev
/null
&& {
3342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3343 test ! -s conftest.err
3347 $as_echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.
$ac_ext >&5
3350 # Broken: fails on valid input.
3354 rm -f conftest.err conftest.
$ac_ext
3356 # OK, works on sane cases. Now check whether nonexistent headers
3357 # can be detected and how.
3358 cat >conftest.
$ac_ext <<_ACEOF
3361 cat confdefs.h
>>conftest.
$ac_ext
3362 cat >>conftest.
$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3364 #include <ac_nonexistent.h>
3366 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3372 $as_echo "$ac_try_echo") >&5
3373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3375 grep -v '^ *+' conftest.er1 >conftest.err
3377 cat conftest.err >&5
3378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } >/dev/null && {
3380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3381 test ! -s conftest.err
3383 # Broken: success on invalid input.
3386 $as_echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 # Passes both tests.
3394 rm -f conftest.err conftest.$ac_ext
3397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3398 rm -f conftest.err conftest.
$ac_ext
3399 if $ac_preproc_ok; then
3411 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3412 $as_echo "$CPP" >&6; }
3414 for ac_c_preproc_warn_flag
in '' yes
3416 # Use a header file that comes with gcc, so configuring glibc
3417 # with a fresh cross-compiler works.
3418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3419 # <limits.h> exists even on freestanding compilers.
3420 # On the NeXT, cc -E runs the code through the compiler's parser,
3421 # not just through cpp. "Syntax error" is here to catch this case.
3422 cat >conftest.
$ac_ext <<_ACEOF
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3429 # include <limits.h>
3431 # include <assert.h>
3435 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3441 $as_echo "$ac_try_echo") >&5
3442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } >/dev/null && {
3449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3450 test ! -s conftest.err
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 # Broken: fails on valid input.
3461 rm -f conftest.err conftest.$ac_ext
3463 # OK, works on sane cases. Now check whether nonexistent headers
3464 # can be detected and how.
3465 cat >conftest.$ac_ext <<_ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3471 #include <ac_nonexistent.h>
3473 if { (ac_try="$ac_cpp conftest.$ac_ext"
3475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3476 *) ac_try_echo
=$ac_try;;
3478 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3479 $as_echo "$ac_try_echo") >&5
3480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1
>conftest.err
3484 cat conftest.err
>&5
3485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } >/dev
/null
&& {
3487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3488 test ! -s conftest.err
3490 # Broken: success on invalid input.
3493 $as_echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.
$ac_ext >&5
3496 # Passes both tests.
3501 rm -f conftest.err conftest.
$ac_ext
3504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3505 rm -f conftest.err conftest.
$ac_ext
3506 if $ac_preproc_ok; then
3509 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3512 See \`config.log' for more details." >&5
3513 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3514 See \`config.log' for more details." >&2;}
3515 { (exit 1); exit 1; }; }; }
3519 ac_cpp
='$CPP $CPPFLAGS'
3520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3525 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3526 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3527 if test "${ac_cv_path_GREP+set}" = set; then
3528 $as_echo_n "(cached) " >&6
3530 if test -z "$GREP"; then
3531 ac_path_GREP_found
=false
3532 # Loop through the user's path and test for each of PROGNAME-LIST
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3534 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_prog
in grep ggrep
; do
3539 for ac_exec_ext
in '' $ac_executable_extensions; do
3540 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3541 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3542 # Check for GNU ac_path_GREP and select it if it is found.
3543 # Check for GNU $ac_path_GREP
3544 case `"$ac_path_GREP" --version 2>&1` in
3546 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3549 $as_echo_n 0123456789 >"conftest.in"
3552 cat "conftest.in" "conftest.in" >"conftest.tmp"
3553 mv "conftest.tmp" "conftest.in"
3554 cp "conftest.in" "conftest.nl"
3555 $as_echo 'GREP' >> "conftest.nl"
3556 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3557 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3558 ac_count
=`expr $ac_count + 1`
3559 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3560 # Best one so far, save it but keep looking for a better one
3561 ac_cv_path_GREP
="$ac_path_GREP"
3562 ac_path_GREP_max
=$ac_count
3564 # 10*(2^10) chars as input seems more than enough
3565 test $ac_count -gt 10 && break
3567 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3570 $ac_path_GREP_found && break 3
3575 if test -z "$ac_cv_path_GREP"; then
3576 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3577 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3578 { (exit 1); exit 1; }; }
3581 ac_cv_path_GREP
=$GREP
3585 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3586 $as_echo "$ac_cv_path_GREP" >&6; }
3587 GREP
="$ac_cv_path_GREP"
3590 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3591 $as_echo_n "checking for egrep... " >&6; }
3592 if test "${ac_cv_path_EGREP+set}" = set; then
3593 $as_echo_n "(cached) " >&6
3595 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3596 then ac_cv_path_EGREP
="$GREP -E"
3598 if test -z "$EGREP"; then
3599 ac_path_EGREP_found
=false
3600 # Loop through the user's path and test for each of PROGNAME-LIST
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3602 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_prog
in egrep; do
3607 for ac_exec_ext
in '' $ac_executable_extensions; do
3608 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3609 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3610 # Check for GNU ac_path_EGREP and select it if it is found.
3611 # Check for GNU $ac_path_EGREP
3612 case `"$ac_path_EGREP" --version 2>&1` in
3614 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3617 $as_echo_n 0123456789 >"conftest.in"
3620 cat "conftest.in" "conftest.in" >"conftest.tmp"
3621 mv "conftest.tmp" "conftest.in"
3622 cp "conftest.in" "conftest.nl"
3623 $as_echo 'EGREP' >> "conftest.nl"
3624 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3625 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3626 ac_count
=`expr $ac_count + 1`
3627 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3628 # Best one so far, save it but keep looking for a better one
3629 ac_cv_path_EGREP
="$ac_path_EGREP"
3630 ac_path_EGREP_max
=$ac_count
3632 # 10*(2^10) chars as input seems more than enough
3633 test $ac_count -gt 10 && break
3635 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3638 $ac_path_EGREP_found && break 3
3643 if test -z "$ac_cv_path_EGREP"; then
3644 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3645 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3646 { (exit 1); exit 1; }; }
3649 ac_cv_path_EGREP
=$EGREP
3654 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3655 $as_echo "$ac_cv_path_EGREP" >&6; }
3656 EGREP
="$ac_cv_path_EGREP"
3659 if test $ac_cv_c_compiler_gnu = yes; then
3660 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3661 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3662 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3663 $as_echo_n "(cached) " >&6
3665 ac_pattern
="Autoconf.*'x'"
3666 cat >conftest.
$ac_ext <<_ACEOF
3669 cat confdefs.h
>>conftest.
$ac_ext
3670 cat >>conftest.
$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3676 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3677 ac_cv_prog_gcc_traditional
=yes
3679 ac_cv_prog_gcc_traditional
=no
3684 if test $ac_cv_prog_gcc_traditional = no
; then
3685 cat >conftest.
$ac_ext <<_ACEOF
3688 cat confdefs.h
>>conftest.
$ac_ext
3689 cat >>conftest.
$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3695 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3696 ac_cv_prog_gcc_traditional
=yes
3702 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3703 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3704 if test $ac_cv_prog_gcc_traditional = yes; then
3705 CC
="$CC -traditional"
3709 # Find a good install program. We prefer a C program (faster),
3710 # so one script is as good as another. But avoid the broken or
3711 # incompatible versions:
3712 # SysV /etc/install, /usr/sbin/install
3713 # SunOS /usr/etc/install
3714 # IRIX /sbin/install
3716 # AmigaOS /C/install, which installs bootblocks on floppy discs
3717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3720 # OS/2's system install, which has a completely different semantic
3721 # ./install, which can be erroneously created by make from ./install.sh.
3722 # Reject install programs that cannot install multiple files.
3723 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3724 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3725 if test -z "$INSTALL"; then
3726 if test "${ac_cv_path_install+set}" = set; then
3727 $as_echo_n "(cached) " >&6
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir
=.
3734 # Account for people who put trailing slashes in PATH elements.
3736 .
/ | .
// |
/cC
/* | \
3737 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3738 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3741 # OSF1 and SCO ODT 3.0 have their own names for install.
3742 # Don't use installbsd from OSF since it installs stuff as root
3744 for ac_prog
in ginstall scoinst
install; do
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3747 if test $ac_prog = install &&
3748 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3749 # AIX install. It has an incompatible calling convention.
3751 elif test $ac_prog = install &&
3752 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3753 # program-specific install script used by HP pwplus--don't use.
3756 rm -rf conftest.one conftest.two conftest.dir
3757 echo one
> conftest.one
3758 echo two
> conftest.two
3760 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3761 test -s conftest.one
&& test -s conftest.two
&&
3762 test -s conftest.dir
/conftest.one
&&
3763 test -s conftest.dir
/conftest.two
3765 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3778 rm -rf conftest.one conftest.two conftest.dir
3781 if test "${ac_cv_path_install+set}" = set; then
3782 INSTALL
=$ac_cv_path_install
3784 # As a last resort, use the slow shell script. Don't cache a
3785 # value for INSTALL within a source directory, because that will
3786 # break other packages using the cache if that directory is
3787 # removed, or if the value is a relative name.
3788 INSTALL
=$ac_install_sh
3791 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3792 $as_echo "$INSTALL" >&6; }
3794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3795 # It thinks the first close brace ends the variable substitution.
3796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3800 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3802 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3803 $as_echo_n "checking whether ln -s works... " >&6; }
3805 if test "$LN_S" = "ln -s"; then
3806 { $as_echo "$as_me:$LINENO: result: yes" >&5
3807 $as_echo "yes" >&6; }
3809 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3810 $as_echo "no, using $LN_S" >&6; }
3813 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3814 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3816 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3817 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3818 $as_echo_n "(cached) " >&6
3820 cat >conftest.
make <<\_ACEOF
3823 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3826 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3828 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3830 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3834 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3835 { $as_echo "$as_me:$LINENO: result: yes" >&5
3836 $as_echo "yes" >&6; }
3839 { $as_echo "$as_me:$LINENO: result: no" >&5
3840 $as_echo "no" >&6; }
3841 SET_MAKE
="MAKE=${MAKE-make}"
3844 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3845 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3846 if test -z "$MKDIR_P"; then
3847 if test "${ac_cv_path_mkdir+set}" = set; then
3848 $as_echo_n "(cached) " >&6
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_prog
in mkdir gmkdir
; do
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3858 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3859 'mkdir (GNU coreutils) '* | \
3860 'mkdir (coreutils) '* | \
3861 'mkdir (fileutils) '4.1*)
3862 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3872 if test "${ac_cv_path_mkdir+set}" = set; then
3873 MKDIR_P
="$ac_cv_path_mkdir -p"
3875 # As a last resort, use the slow shell script. Don't cache a
3876 # value for MKDIR_P within a source directory, because that will
3877 # break other packages using the cache if that directory is
3878 # removed, or if the value is a relative name.
3879 test -d .
/--version && rmdir .
/--version
3880 MKDIR_P
="$ac_install_sh -d"
3883 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3884 $as_echo "$MKDIR_P" >&6; }
3886 if test -n "$ac_tool_prefix"; then
3887 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3888 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if test "${ac_cv_prog_RANLIB+set}" = set; then
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$RANLIB"; then
3895 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 for ac_exec_ext
in '' $ac_executable_extensions; do
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3905 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 RANLIB
=$ac_cv_prog_RANLIB
3915 if test -n "$RANLIB"; then
3916 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3917 $as_echo "$RANLIB" >&6; }
3919 { $as_echo "$as_me:$LINENO: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$ac_cv_prog_RANLIB"; then
3926 ac_ct_RANLIB
=$RANLIB
3927 # Extract the first word of "ranlib", so it can be a program name with args.
3928 set dummy ranlib
; ac_word
=$2
3929 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$ac_ct_RANLIB"; then
3935 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3945 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3955 if test -n "$ac_ct_RANLIB"; then
3956 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3957 $as_echo "$ac_ct_RANLIB" >&6; }
3959 { $as_echo "$as_me:$LINENO: result: no" >&5
3960 $as_echo "no" >&6; }
3963 if test "x$ac_ct_RANLIB" = x
; then
3966 case $cross_compiling:$ac_tool_warned in
3968 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3970 ac_tool_warned
=yes ;;
3972 RANLIB
=$ac_ct_RANLIB
3975 RANLIB
="$ac_cv_prog_RANLIB"
3978 # Extract the first word of "cflow", so it can be a program name with args.
3979 set dummy cflow
; ac_word
=$2
3980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3983 $as_echo_n "(cached) " >&6
3987 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4009 if test -n "$CFLOW_CMD"; then
4010 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4011 $as_echo "$CFLOW_CMD" >&6; }
4013 { $as_echo "$as_me:$LINENO: result: no" >&5
4014 $as_echo "no" >&6; }
4018 # Extract the first word of "cscope", so it can be a program name with args.
4019 set dummy cscope
; ac_word
=$2
4020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4023 $as_echo_n "(cached) " >&6
4027 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4049 if test -n "$CSCOPE_CMD"; then
4050 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4051 $as_echo "$CSCOPE_CMD" >&6; }
4053 { $as_echo "$as_me:$LINENO: result: no" >&5
4054 $as_echo "no" >&6; }
4059 ################################################################################
4066 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4067 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4068 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4069 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4070 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4071 $as_echo_n "(cached) " >&6
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <sys/types.h>
4091 rm -f conftest.
$ac_objext
4092 if { (ac_try
="$ac_compile"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4098 $as_echo "$ac_try_echo") >&5
4099 (eval "$ac_compile") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1 >conftest.err
4103 cat conftest.err >&5
4104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest.$ac_objext; then
4109 eval "$as_ac_Header=yes"
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 eval "$as_ac_Header=no"
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 ac_res=`eval 'as_val=${'$as_ac_Header'}
4120 $as_echo "$as_val"'`
4121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4122 $as_echo "$ac_res" >&6; }
4123 as_val=`eval 'as_val=${'$as_ac_Header'}
4124 $as_echo "$as_val"'`
4125 if test "x$as_val" = x""yes; then
4126 cat >>confdefs.h <<_ACEOF
4127 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4130 ac_header_dirent=$ac_hdr; break
4134 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4135 if test $ac_header_dirent = dirent.h; then
4136 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4137 $as_echo_n "checking for library containing opendir... " >&6; }
4138 if test "${ac_cv_search_opendir+set}" = set; then
4139 $as_echo_n "(cached) " >&6
4141 ac_func_search_save_LIBS=$LIBS
4142 cat >conftest.$ac_ext <<_ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4149 /* Override any GCC internal prototype to avoid an error.
4150 Use char because int might match the return type of a GCC
4151 builtin and then its argument prototype would still apply. */
4164 for ac_lib in '' dir; do
4165 if test -z "$ac_lib"; then
4166 ac_res="none required"
4169 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4171 rm -f conftest.$ac_objext conftest$ac_exeext
4172 if { (ac_try="$ac_link"
4174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4175 *) ac_try_echo
=$ac_try;;
4177 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4178 $as_echo "$ac_try_echo") >&5
4179 (eval "$ac_link") 2>conftest.er1
4181 grep -v '^ *+' conftest.er1
>conftest.err
4183 cat conftest.err
>&5
4184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } && {
4186 test -z "$ac_c_werror_flag" ||
4187 test ! -s conftest.err
4188 } && test -s conftest
$ac_exeext && {
4189 test "$cross_compiling" = yes ||
4190 $as_test_x conftest
$ac_exeext
4192 ac_cv_search_opendir
=$ac_res
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4200 rm -rf conftest.dSYM
4201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4203 if test "${ac_cv_search_opendir+set}" = set; then
4207 if test "${ac_cv_search_opendir+set}" = set; then
4210 ac_cv_search_opendir
=no
4213 LIBS
=$ac_func_search_save_LIBS
4215 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4216 $as_echo "$ac_cv_search_opendir" >&6; }
4217 ac_res
=$ac_cv_search_opendir
4218 if test "$ac_res" != no
; then
4219 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4224 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4225 $as_echo_n "checking for library containing opendir... " >&6; }
4226 if test "${ac_cv_search_opendir+set}" = set; then
4227 $as_echo_n "(cached) " >&6
4229 ac_func_search_save_LIBS
=$LIBS
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any GCC internal prototype to avoid an error.
4238 Use char because int might match the return type of a GCC
4239 builtin and then its argument prototype would still apply. */
4252 for ac_lib
in '' x
; do
4253 if test -z "$ac_lib"; then
4254 ac_res
="none required"
4257 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4259 rm -f conftest.
$ac_objext conftest
$ac_exeext
4260 if { (ac_try
="$ac_link"
4262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4266 $as_echo "$ac_try_echo") >&5
4267 (eval "$ac_link") 2>conftest.er1
4269 grep -v '^ *+' conftest.er1 >conftest.err
4271 cat conftest.err >&5
4272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } && {
4274 test -z "$ac_c_werror_flag" ||
4275 test ! -s conftest.err
4276 } && test -s conftest$ac_exeext && {
4277 test "$cross_compiling" = yes ||
4278 $as_test_x conftest$ac_exeext
4280 ac_cv_search_opendir=$ac_res
4282 $as_echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4288 rm -rf conftest.dSYM
4289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4291 if test "${ac_cv_search_opendir+set}" = set; then
4295 if test "${ac_cv_search_opendir+set}" = set; then
4298 ac_cv_search_opendir=no
4301 LIBS=$ac_func_search_save_LIBS
4303 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4304 $as_echo "$ac_cv_search_opendir" >&6; }
4305 ac_res=$ac_cv_search_opendir
4306 if test "$ac_res" != no; then
4307 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4313 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4314 $as_echo_n "checking for ANSI C header files... " >&6; }
4315 if test "${ac_cv_header_stdc+set}" = set; then
4316 $as_echo_n "(cached) " >&6
4318 cat >conftest.$ac_ext <<_ACEOF
4321 cat confdefs.h >>conftest.$ac_ext
4322 cat >>conftest.$ac_ext <<_ACEOF
4323 /* end confdefs.h. */
4337 rm -f conftest.$ac_objext
4338 if { (ac_try="$ac_compile"
4340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4341 *) ac_try_echo
=$ac_try;;
4343 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4344 $as_echo "$ac_try_echo") >&5
4345 (eval "$ac_compile") 2>conftest.er1
4347 grep -v '^ *+' conftest.er1
>conftest.err
4349 cat conftest.err
>&5
4350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } && {
4352 test -z "$ac_c_werror_flag" ||
4353 test ! -s conftest.err
4354 } && test -s conftest.
$ac_objext; then
4355 ac_cv_header_stdc
=yes
4357 $as_echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4360 ac_cv_header_stdc
=no
4363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 if test $ac_cv_header_stdc = yes; then
4366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4367 cat >conftest.
$ac_ext <<_ACEOF
4370 cat confdefs.h
>>conftest.
$ac_ext
4371 cat >>conftest.
$ac_ext <<_ACEOF
4372 /* end confdefs.h. */
4376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4377 $EGREP "memchr" >/dev
/null
2>&1; then
4380 ac_cv_header_stdc
=no
4386 if test $ac_cv_header_stdc = yes; then
4387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4388 cat >conftest.
$ac_ext <<_ACEOF
4391 cat confdefs.h
>>conftest.
$ac_ext
4392 cat >>conftest.
$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4398 $EGREP "free" >/dev
/null
2>&1; then
4401 ac_cv_header_stdc
=no
4407 if test $ac_cv_header_stdc = yes; then
4408 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4409 if test "$cross_compiling" = yes; then
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4420 #if ((' ' & 0x0FF) == 0x020)
4421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4424 # define ISLOWER(c) \
4425 (('a' <= (c) && (c) <= 'i') \
4426 || ('j' <= (c) && (c) <= 'r') \
4427 || ('s' <= (c) && (c) <= 'z'))
4428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4436 for (i = 0; i < 256; i++)
4437 if (XOR (islower (i), ISLOWER (i))
4438 || toupper (i) != TOUPPER (i))
4443 rm -f conftest
$ac_exeext
4444 if { (ac_try
="$ac_link"
4446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4450 $as_echo "$ac_try_echo") >&5
4451 (eval "$ac_link") 2>&5
4453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4455 { (case "(($ac_try" in
4456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4457 *) ac_try_echo
=$ac_try;;
4459 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4460 $as_echo "$ac_try_echo") >&5
4461 (eval "$ac_try") 2>&5
4463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4467 $as_echo "$as_me: program exited with status $ac_status" >&5
4468 $as_echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.
$ac_ext >&5
4472 ac_cv_header_stdc
=no
4474 rm -rf conftest.dSYM
4475 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4481 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4482 $as_echo "$ac_cv_header_stdc" >&6; }
4483 if test $ac_cv_header_stdc = yes; then
4485 cat >>confdefs.h
<<\_ACEOF
4486 #define STDC_HEADERS 1
4491 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4492 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4493 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4494 $as_echo_n "(cached) " >&6
4496 cat >conftest.
$ac_ext <<_ACEOF
4499 cat confdefs.h
>>conftest.
$ac_ext
4500 cat >>conftest.
$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 #include <sys/types.h>
4503 #include <sys/wait.h>
4505 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4508 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4516 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4521 rm -f conftest.
$ac_objext
4522 if { (ac_try
="$ac_compile"
4524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4525 *) ac_try_echo=$ac_try;;
4527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4528 $as_echo "$ac_try_echo") >&5
4529 (eval "$ac_compile") 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest.$ac_objext; then
4539 ac_cv_header_sys_wait_h=yes
4541 $as_echo "$as_me: failed program was:" >&5
4542 sed 's/^/| /' conftest.$ac_ext >&5
4544 ac_cv_header_sys_wait_h=no
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4550 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4551 if test $ac_cv_header_sys_wait_h = yes; then
4553 cat >>confdefs.h <<\_ACEOF
4554 #define HAVE_SYS_WAIT_H 1
4559 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4560 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4561 if test "${ac_cv_header_time+set}" = set; then
4562 $as_echo_n "(cached) " >&6
4564 cat >conftest.$ac_ext <<_ACEOF
4567 cat confdefs.h >>conftest.$ac_ext
4568 cat >>conftest.$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4570 #include <sys/types.h>
4571 #include <sys/time.h>
4577 if ((struct tm *) 0)
4583 rm -f conftest.$ac_objext
4584 if { (ac_try="$ac_compile"
4586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4587 *) ac_try_echo
=$ac_try;;
4589 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4590 $as_echo "$ac_try_echo") >&5
4591 (eval "$ac_compile") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1
>conftest.err
4595 cat conftest.err
>&5
4596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest.
$ac_objext; then
4601 ac_cv_header_time
=yes
4603 $as_echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.
$ac_ext >&5
4606 ac_cv_header_time
=no
4609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4611 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4612 $as_echo "$ac_cv_header_time" >&6; }
4613 if test $ac_cv_header_time = yes; then
4615 cat >>confdefs.h
<<\_ACEOF
4616 #define TIME_WITH_SYS_TIME 1
4622 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4632 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4633 inttypes.h stdint.h unistd.h
4635 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4636 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4637 $as_echo_n "checking for $ac_header... " >&6; }
4638 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4639 $as_echo_n "(cached) " >&6
4641 cat >conftest.
$ac_ext <<_ACEOF
4644 cat confdefs.h
>>conftest.
$ac_ext
4645 cat >>conftest.
$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4647 $ac_includes_default
4649 #include <$ac_header>
4651 rm -f conftest.
$ac_objext
4652 if { (ac_try
="$ac_compile"
4654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4658 $as_echo "$ac_try_echo") >&5
4659 (eval "$ac_compile") 2>conftest.er1
4661 grep -v '^ *+' conftest.er1 >conftest.err
4663 cat conftest.err >&5
4664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } && {
4666 test -z "$ac_c_werror_flag" ||
4667 test ! -s conftest.err
4668 } && test -s conftest.$ac_objext; then
4669 eval "$as_ac_Header=yes"
4671 $as_echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 eval "$as_ac_Header=no"
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 ac_res=`eval 'as_val=${'$as_ac_Header'}
4680 $as_echo "$as_val"'`
4681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4682 $as_echo "$ac_res" >&6; }
4683 as_val=`eval 'as_val=${'$as_ac_Header'}
4684 $as_echo "$as_val"'`
4685 if test "x$as_val" = x""yes; then
4686 cat >>confdefs.h <<_ACEOF
4687 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4708 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4709 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4713 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4714 $as_echo_n "checking for $ac_header... " >&6; }
4715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4716 $as_echo_n "(cached) " >&6
4718 ac_res=`eval 'as_val=${'$as_ac_Header'}
4719 $as_echo "$as_val"'`
4720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4721 $as_echo "$ac_res" >&6; }
4723 # Is the header compilable?
4724 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4725 $as_echo_n "checking $ac_header usability... " >&6; }
4726 cat >conftest.$ac_ext <<_ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 $ac_includes_default
4733 #include <$ac_header>
4735 rm -f conftest.$ac_objext
4736 if { (ac_try="$ac_compile"
4738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4739 *) ac_try_echo
=$ac_try;;
4741 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4742 $as_echo "$ac_try_echo") >&5
4743 (eval "$ac_compile") 2>conftest.er1
4745 grep -v '^ *+' conftest.er1
>conftest.err
4747 cat conftest.err
>&5
4748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } && {
4750 test -z "$ac_c_werror_flag" ||
4751 test ! -s conftest.err
4752 } && test -s conftest.
$ac_objext; then
4753 ac_header_compiler
=yes
4755 $as_echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.
$ac_ext >&5
4758 ac_header_compiler
=no
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4762 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4763 $as_echo "$ac_header_compiler" >&6; }
4765 # Is the header present?
4766 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4767 $as_echo_n "checking $ac_header presence... " >&6; }
4768 cat >conftest.
$ac_ext <<_ACEOF
4771 cat confdefs.h
>>conftest.
$ac_ext
4772 cat >>conftest.
$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 #include <$ac_header>
4776 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4782 $as_echo "$ac_try_echo") >&5
4783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4785 grep -v '^ *+' conftest.er1 >conftest.err
4787 cat conftest.err >&5
4788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } >/dev/null && {
4790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4791 test ! -s conftest.err
4793 ac_header_preproc=yes
4795 $as_echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4798 ac_header_preproc=no
4801 rm -f conftest.err conftest.$ac_ext
4802 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4803 $as_echo "$ac_header_preproc" >&6; }
4805 # So? What about this header?
4806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4809 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4811 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4812 ac_header_preproc=yes
4815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4816 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4818 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4820 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4822 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4826 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4830 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4831 $as_echo_n "checking for $ac_header... " >&6; }
4832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4833 $as_echo_n "(cached) " >&6
4835 eval "$as_ac_Header=\$ac_header_preproc"
4837 ac_res=`eval 'as_val=${'$as_ac_Header'}
4838 $as_echo "$as_val"'`
4839 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4840 $as_echo "$ac_res" >&6; }
4843 as_val=`eval 'as_val=${'$as_ac_Header'}
4844 $as_echo "$as_val"'`
4845 if test "x$as_val" = x""yes; then
4846 cat >>confdefs.h <<_ACEOF
4847 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4851 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4852 $as_echo "$as_me: error: bailing out" >&2;}
4853 { (exit 1); exit 1; }; }
4864 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4866 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4868 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4869 $as_echo_n "checking for $ac_header... " >&6; }
4870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4871 $as_echo_n "(cached) " >&6
4873 ac_res=`eval 'as_val=${'$as_ac_Header'}
4874 $as_echo "$as_val"'`
4875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4876 $as_echo "$ac_res" >&6; }
4878 # Is the header compilable?
4879 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4880 $as_echo_n "checking $ac_header usability... " >&6; }
4881 cat >conftest.$ac_ext <<_ACEOF
4884 cat confdefs.h >>conftest.$ac_ext
4885 cat >>conftest.$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4887 $ac_includes_default
4888 #include <$ac_header>
4890 rm -f conftest.$ac_objext
4891 if { (ac_try="$ac_compile"
4893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4894 *) ac_try_echo
=$ac_try;;
4896 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4897 $as_echo "$ac_try_echo") >&5
4898 (eval "$ac_compile") 2>conftest.er1
4900 grep -v '^ *+' conftest.er1
>conftest.err
4902 cat conftest.err
>&5
4903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } && {
4905 test -z "$ac_c_werror_flag" ||
4906 test ! -s conftest.err
4907 } && test -s conftest.
$ac_objext; then
4908 ac_header_compiler
=yes
4910 $as_echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.
$ac_ext >&5
4913 ac_header_compiler
=no
4916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4918 $as_echo "$ac_header_compiler" >&6; }
4920 # Is the header present?
4921 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4922 $as_echo_n "checking $ac_header presence... " >&6; }
4923 cat >conftest.
$ac_ext <<_ACEOF
4926 cat confdefs.h
>>conftest.
$ac_ext
4927 cat >>conftest.
$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4929 #include <$ac_header>
4931 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4937 $as_echo "$ac_try_echo") >&5
4938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4940 grep -v '^ *+' conftest.er1 >conftest.err
4942 cat conftest.err >&5
4943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev/null && {
4945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4946 test ! -s conftest.err
4948 ac_header_preproc=yes
4950 $as_echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.$ac_ext >&5
4953 ac_header_preproc=no
4956 rm -f conftest.err conftest.$ac_ext
4957 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4958 $as_echo "$ac_header_preproc" >&6; }
4960 # So? What about this header?
4961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4964 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4966 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4967 ac_header_preproc=yes
4970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4971 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4973 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4975 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4977 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4979 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4981 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4985 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4986 $as_echo_n "checking for $ac_header... " >&6; }
4987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4988 $as_echo_n "(cached) " >&6
4990 eval "$as_ac_Header=\$ac_header_preproc"
4992 ac_res=`eval 'as_val=${'$as_ac_Header'}
4993 $as_echo "$as_val"'`
4994 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4995 $as_echo "$ac_res" >&6; }
4998 as_val=`eval 'as_val=${'$as_ac_Header'}
4999 $as_echo "$as_val"'`
5000 if test "x$as_val" = x""yes; then
5001 cat >>confdefs.h <<_ACEOF
5002 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5006 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5007 $as_echo "$as_me: error: bailing out" >&2;}
5008 { (exit 1); exit 1; }; }
5016 for ac_header in machine/endian.h sys/disk.h
5018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5020 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5021 $as_echo_n "checking for $ac_header... " >&6; }
5022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5023 $as_echo_n "(cached) " >&6
5025 ac_res=`eval 'as_val=${'$as_ac_Header'}
5026 $as_echo "$as_val"'`
5027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5028 $as_echo "$ac_res" >&6; }
5030 # Is the header compilable?
5031 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5032 $as_echo_n "checking $ac_header usability... " >&6; }
5033 cat >conftest.$ac_ext <<_ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5039 $ac_includes_default
5040 #include <$ac_header>
5042 rm -f conftest.$ac_objext
5043 if { (ac_try="$ac_compile"
5045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5046 *) ac_try_echo
=$ac_try;;
5048 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5049 $as_echo "$ac_try_echo") >&5
5050 (eval "$ac_compile") 2>conftest.er1
5052 grep -v '^ *+' conftest.er1
>conftest.err
5054 cat conftest.err
>&5
5055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } && {
5057 test -z "$ac_c_werror_flag" ||
5058 test ! -s conftest.err
5059 } && test -s conftest.
$ac_objext; then
5060 ac_header_compiler
=yes
5062 $as_echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.
$ac_ext >&5
5065 ac_header_compiler
=no
5068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5070 $as_echo "$ac_header_compiler" >&6; }
5072 # Is the header present?
5073 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5074 $as_echo_n "checking $ac_header presence... " >&6; }
5075 cat >conftest.
$ac_ext <<_ACEOF
5078 cat confdefs.h
>>conftest.
$ac_ext
5079 cat >>conftest.
$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5081 #include <$ac_header>
5083 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5089 $as_echo "$ac_try_echo") >&5
5090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5092 grep -v '^ *+' conftest.er1 >conftest.err
5094 cat conftest.err >&5
5095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } >/dev/null && {
5097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5098 test ! -s conftest.err
5100 ac_header_preproc=yes
5102 $as_echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.$ac_ext >&5
5105 ac_header_preproc=no
5108 rm -f conftest.err conftest.$ac_ext
5109 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5110 $as_echo "$ac_header_preproc" >&6; }
5112 # So? What about this header?
5113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5116 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5118 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5119 ac_header_preproc=yes
5122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5123 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5125 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5127 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5129 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5131 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5133 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5137 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5138 $as_echo_n "checking for $ac_header... " >&6; }
5139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5140 $as_echo_n "(cached) " >&6
5142 eval "$as_ac_Header=\$ac_header_preproc"
5144 ac_res=`eval 'as_val=${'$as_ac_Header'}
5145 $as_echo "$as_val"'`
5146 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5147 $as_echo "$ac_res" >&6; }
5150 as_val=`eval 'as_val=${'$as_ac_Header'}
5151 $as_echo "$as_val"'`
5152 if test "x$as_val" = x""yes; then
5153 cat >>confdefs.h <<_ACEOF
5154 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5158 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5159 $as_echo "$as_me: error: bailing out" >&2;}
5160 { (exit 1); exit 1; }; }
5183 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5184 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5185 sys/types.h unistd.h
5187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5190 $as_echo_n "checking for $ac_header... " >&6; }
5191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5192 $as_echo_n "(cached) " >&6
5194 ac_res=`eval 'as_val=${'$as_ac_Header'}
5195 $as_echo "$as_val"'`
5196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5197 $as_echo "$ac_res" >&6; }
5199 # Is the header compilable?
5200 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5201 $as_echo_n "checking $ac_header usability... " >&6; }
5202 cat >conftest.$ac_ext <<_ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5208 $ac_includes_default
5209 #include <$ac_header>
5211 rm -f conftest.$ac_objext
5212 if { (ac_try="$ac_compile"
5214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5215 *) ac_try_echo
=$ac_try;;
5217 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5218 $as_echo "$ac_try_echo") >&5
5219 (eval "$ac_compile") 2>conftest.er1
5221 grep -v '^ *+' conftest.er1
>conftest.err
5223 cat conftest.err
>&5
5224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } && {
5226 test -z "$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5228 } && test -s conftest.
$ac_objext; then
5229 ac_header_compiler
=yes
5231 $as_echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5234 ac_header_compiler
=no
5237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5238 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5239 $as_echo "$ac_header_compiler" >&6; }
5241 # Is the header present?
5242 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5243 $as_echo_n "checking $ac_header presence... " >&6; }
5244 cat >conftest.
$ac_ext <<_ACEOF
5247 cat confdefs.h
>>conftest.
$ac_ext
5248 cat >>conftest.
$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5250 #include <$ac_header>
5252 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5258 $as_echo "$ac_try_echo") >&5
5259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5261 grep -v '^ *+' conftest.er1 >conftest.err
5263 cat conftest.err >&5
5264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } >/dev/null && {
5266 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5267 test ! -s conftest.err
5269 ac_header_preproc=yes
5271 $as_echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5274 ac_header_preproc=no
5277 rm -f conftest.err conftest.$ac_ext
5278 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5279 $as_echo "$ac_header_preproc" >&6; }
5281 # So? What about this header?
5282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5285 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5288 ac_header_preproc=yes
5291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5292 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5294 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5296 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5298 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5300 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5302 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5306 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5307 $as_echo_n "checking for $ac_header... " >&6; }
5308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5309 $as_echo_n "(cached) " >&6
5311 eval "$as_ac_Header=\$ac_header_preproc"
5313 ac_res=`eval 'as_val=${'$as_ac_Header'}
5314 $as_echo "$as_val"'`
5315 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5316 $as_echo "$ac_res" >&6; }
5319 as_val=`eval 'as_val=${'$as_ac_Header'}
5320 $as_echo "$as_val"'`
5321 if test "x$as_val" = x""yes; then
5322 cat >>confdefs.h <<_ACEOF
5323 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5327 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5328 $as_echo "$as_me: error: bailing out" >&2;}
5329 { (exit 1); exit 1; }; }
5336 for ac_header in termios.h sys/statvfs.h
5338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5340 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5341 $as_echo_n "checking for $ac_header... " >&6; }
5342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5343 $as_echo_n "(cached) " >&6
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; }
5350 # Is the header compilable?
5351 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5352 $as_echo_n "checking $ac_header usability... " >&6; }
5353 cat >conftest.$ac_ext <<_ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5359 $ac_includes_default
5360 #include <$ac_header>
5362 rm -f conftest.$ac_objext
5363 if { (ac_try="$ac_compile"
5365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5366 *) ac_try_echo
=$ac_try;;
5368 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5369 $as_echo "$ac_try_echo") >&5
5370 (eval "$ac_compile") 2>conftest.er1
5372 grep -v '^ *+' conftest.er1
>conftest.err
5374 cat conftest.err
>&5
5375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } && {
5377 test -z "$ac_c_werror_flag" ||
5378 test ! -s conftest.err
5379 } && test -s conftest.
$ac_objext; then
5380 ac_header_compiler
=yes
5382 $as_echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.
$ac_ext >&5
5385 ac_header_compiler
=no
5388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5389 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5390 $as_echo "$ac_header_compiler" >&6; }
5392 # Is the header present?
5393 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5394 $as_echo_n "checking $ac_header presence... " >&6; }
5395 cat >conftest.
$ac_ext <<_ACEOF
5398 cat confdefs.h
>>conftest.
$ac_ext
5399 cat >>conftest.
$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5401 #include <$ac_header>
5403 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5406 *) ac_try_echo=$ac_try;;
5408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5409 $as_echo "$ac_try_echo") >&5
5410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5412 grep -v '^ *+' conftest.er1 >conftest.err
5414 cat conftest.err >&5
5415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } >/dev/null && {
5417 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5418 test ! -s conftest.err
5420 ac_header_preproc=yes
5422 $as_echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.$ac_ext >&5
5425 ac_header_preproc=no
5428 rm -f conftest.err conftest.$ac_ext
5429 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5430 $as_echo "$ac_header_preproc" >&6; }
5432 # So? What about this header?
5433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5436 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5438 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5439 ac_header_preproc=yes
5442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5443 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5445 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5447 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5449 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5451 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5453 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5457 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5458 $as_echo_n "checking for $ac_header... " >&6; }
5459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5460 $as_echo_n "(cached) " >&6
5462 eval "$as_ac_Header=\$ac_header_preproc"
5464 ac_res=`eval 'as_val=${'$as_ac_Header'}
5465 $as_echo "$as_val"'`
5466 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5467 $as_echo "$ac_res" >&6; }
5470 as_val=`eval 'as_val=${'$as_ac_Header'}
5471 $as_echo "$as_val"'`
5472 if test "x$as_val" = x""yes; then
5473 cat >>confdefs.h <<_ACEOF
5474 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5482 ################################################################################
5483 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5484 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5485 if test "${ac_cv_c_const+set}" = set; then
5486 $as_echo_n "(cached) " >&6
5488 cat >conftest.$ac_ext <<_ACEOF
5491 cat confdefs.h >>conftest.$ac_ext
5492 cat >>conftest.$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5498 /* FIXME: Include the comments suggested by Paul. */
5500 /* Ultrix mips cc rejects this. */
5501 typedef int charset[2];
5503 /* SunOS 4.1.1 cc rejects this. */
5504 char const *const *pcpcc;
5506 /* NEC SVR4.0.2 mips cc rejects this. */
5507 struct point {int x, y;};
5508 static struct point const zero = {0,0};
5509 /* AIX XL C 1.02.0.0 rejects this.
5510 It does not let you subtract one const X* pointer from another in
5511 an arm of an if-expression whose if-part is not a constant
5513 const char *g = "string";
5514 pcpcc = &g + (g ? g-g : 0);
5515 /* HPUX 7.0 cc rejects these. */
5517 ppc = (char**) pcpcc;
5518 pcpcc = (char const *const *) ppc;
5519 { /* SCO 3.2v4 cc rejects this. */
5521 char const *s = 0 ? (char *) 0 : (char const *) 0;
5526 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5528 const int *foo = &x[0];
5531 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5532 typedef const int *iptr;
5536 { /* AIX XL C 1.02.0.0 rejects this saying
5537 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5538 struct s { int j; const int *ap[3]; };
5539 struct s *b; b->j = 5;
5541 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5545 return !cs[0] && !zero.x;
5552 rm -f conftest.$ac_objext
5553 if { (ac_try="$ac_compile"
5555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5556 *) ac_try_echo
=$ac_try;;
5558 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5559 $as_echo "$ac_try_echo") >&5
5560 (eval "$ac_compile") 2>conftest.er1
5562 grep -v '^ *+' conftest.er1
>conftest.err
5564 cat conftest.err
>&5
5565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } && {
5567 test -z "$ac_c_werror_flag" ||
5568 test ! -s conftest.err
5569 } && test -s conftest.
$ac_objext; then
5572 $as_echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.
$ac_ext >&5
5578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5580 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5581 $as_echo "$ac_cv_c_const" >&6; }
5582 if test $ac_cv_c_const = no
; then
5584 cat >>confdefs.h
<<\_ACEOF
5590 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5591 $as_echo_n "checking for inline... " >&6; }
5592 if test "${ac_cv_c_inline+set}" = set; then
5593 $as_echo_n "(cached) " >&6
5596 for ac_kw
in inline __inline__ __inline
; do
5597 cat >conftest.
$ac_ext <<_ACEOF
5600 cat confdefs.h
>>conftest.
$ac_ext
5601 cat >>conftest.
$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5605 static $ac_kw foo_t static_foo () {return 0; }
5606 $ac_kw foo_t foo () {return 0; }
5610 rm -f conftest.
$ac_objext
5611 if { (ac_try
="$ac_compile"
5613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5614 *) ac_try_echo=$ac_try;;
5616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5617 $as_echo "$ac_try_echo") >&5
5618 (eval "$ac_compile") 2>conftest.er1
5620 grep -v '^ *+' conftest.er1 >conftest.err
5622 cat conftest.err >&5
5623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } && {
5625 test -z "$ac_c_werror_flag" ||
5626 test ! -s conftest.err
5627 } && test -s conftest.$ac_objext; then
5628 ac_cv_c_inline=$ac_kw
5630 $as_echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637 test "$ac_cv_c_inline" != no && break
5641 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5642 $as_echo "$ac_cv_c_inline" >&6; }
5645 case $ac_cv_c_inline in
5648 case $ac_cv_c_inline in
5650 *) ac_val=$ac_cv_c_inline;;
5652 cat >>confdefs.h <<_ACEOF
5654 #define inline $ac_val
5660 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5661 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5662 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5663 $as_echo_n "(cached) " >&6
5665 cat >conftest.$ac_ext <<_ACEOF
5668 cat confdefs.h >>conftest.$ac_ext
5669 cat >>conftest.$ac_ext <<_ACEOF
5670 /* end confdefs.h. */
5671 $ac_includes_default
5675 static struct stat ac_aggr;
5676 if (ac_aggr.st_rdev)
5682 rm -f conftest.$ac_objext
5683 if { (ac_try="$ac_compile"
5685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5686 *) ac_try_echo
=$ac_try;;
5688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5689 $as_echo "$ac_try_echo") >&5
5690 (eval "$ac_compile") 2>conftest.er1
5692 grep -v '^ *+' conftest.er1
>conftest.err
5694 cat conftest.err
>&5
5695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } && {
5697 test -z "$ac_c_werror_flag" ||
5698 test ! -s conftest.err
5699 } && test -s conftest.
$ac_objext; then
5700 ac_cv_member_struct_stat_st_rdev
=yes
5702 $as_echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.
$ac_ext >&5
5705 cat >conftest.
$ac_ext <<_ACEOF
5708 cat confdefs.h
>>conftest.
$ac_ext
5709 cat >>conftest.
$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 $ac_includes_default
5715 static struct stat ac_aggr;
5716 if (sizeof ac_aggr.st_rdev)
5722 rm -f conftest.
$ac_objext
5723 if { (ac_try
="$ac_compile"
5725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5729 $as_echo "$ac_try_echo") >&5
5730 (eval "$ac_compile") 2>conftest.er1
5732 grep -v '^ *+' conftest.er1 >conftest.err
5734 cat conftest.err >&5
5735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } && {
5737 test -z "$ac_c_werror_flag" ||
5738 test ! -s conftest.err
5739 } && test -s conftest.$ac_objext; then
5740 ac_cv_member_struct_stat_st_rdev=yes
5742 $as_echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.$ac_ext >&5
5745 ac_cv_member_struct_stat_st_rdev=no
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5754 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5755 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5757 cat >>confdefs.h <<_ACEOF
5758 #define HAVE_STRUCT_STAT_ST_RDEV 1
5764 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5765 $as_echo_n "checking for off_t... " >&6; }
5766 if test "${ac_cv_type_off_t+set}" = set; then
5767 $as_echo_n "(cached) " >&6
5770 cat >conftest.$ac_ext <<_ACEOF
5773 cat confdefs.h >>conftest.$ac_ext
5774 cat >>conftest.$ac_ext <<_ACEOF
5775 /* end confdefs.h. */
5776 $ac_includes_default
5786 rm -f conftest.$ac_objext
5787 if { (ac_try="$ac_compile"
5789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5790 *) ac_try_echo
=$ac_try;;
5792 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5793 $as_echo "$ac_try_echo") >&5
5794 (eval "$ac_compile") 2>conftest.er1
5796 grep -v '^ *+' conftest.er1
>conftest.err
5798 cat conftest.err
>&5
5799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } && {
5801 test -z "$ac_c_werror_flag" ||
5802 test ! -s conftest.err
5803 } && test -s conftest.
$ac_objext; then
5804 cat >conftest.
$ac_ext <<_ACEOF
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 $ac_includes_default
5814 if (sizeof ((off_t)))
5820 rm -f conftest.
$ac_objext
5821 if { (ac_try
="$ac_compile"
5823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5824 *) ac_try_echo=$ac_try;;
5826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5827 $as_echo "$ac_try_echo") >&5
5828 (eval "$ac_compile") 2>conftest.er1
5830 grep -v '^ *+' conftest.er1 >conftest.err
5832 cat conftest.err >&5
5833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && {
5835 test -z "$ac_c_werror_flag" ||
5836 test ! -s conftest.err
5837 } && test -s conftest.$ac_objext; then
5840 $as_echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_cv_type_off_t=yes
5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5848 $as_echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.$ac_ext >&5
5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5857 $as_echo "$ac_cv_type_off_t" >&6; }
5858 if test "x$ac_cv_type_off_t" = x""yes; then
5862 cat >>confdefs.h <<_ACEOF
5863 #define off_t long int
5868 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5869 $as_echo_n "checking for pid_t... " >&6; }
5870 if test "${ac_cv_type_pid_t+set}" = set; then
5871 $as_echo_n "(cached) " >&6
5874 cat >conftest.$ac_ext <<_ACEOF
5877 cat confdefs.h >>conftest.$ac_ext
5878 cat >>conftest.$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 $ac_includes_default
5890 rm -f conftest.$ac_objext
5891 if { (ac_try="$ac_compile"
5893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5894 *) ac_try_echo
=$ac_try;;
5896 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5897 $as_echo "$ac_try_echo") >&5
5898 (eval "$ac_compile") 2>conftest.er1
5900 grep -v '^ *+' conftest.er1
>conftest.err
5902 cat conftest.err
>&5
5903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); } && {
5905 test -z "$ac_c_werror_flag" ||
5906 test ! -s conftest.err
5907 } && test -s conftest.
$ac_objext; then
5908 cat >conftest.
$ac_ext <<_ACEOF
5911 cat confdefs.h
>>conftest.
$ac_ext
5912 cat >>conftest.
$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 $ac_includes_default
5918 if (sizeof ((pid_t)))
5924 rm -f conftest.
$ac_objext
5925 if { (ac_try
="$ac_compile"
5927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5928 *) ac_try_echo=$ac_try;;
5930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5931 $as_echo "$ac_try_echo") >&5
5932 (eval "$ac_compile") 2>conftest.er1
5934 grep -v '^ *+' conftest.er1 >conftest.err
5936 cat conftest.err >&5
5937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } && {
5939 test -z "$ac_c_werror_flag" ||
5940 test ! -s conftest.err
5941 } && test -s conftest.$ac_objext; then
5944 $as_echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.$ac_ext >&5
5947 ac_cv_type_pid_t=yes
5950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952 $as_echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.$ac_ext >&5
5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5960 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5961 $as_echo "$ac_cv_type_pid_t" >&6; }
5962 if test "x$ac_cv_type_pid_t" = x""yes; then
5966 cat >>confdefs.h <<_ACEOF
5972 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5973 $as_echo_n "checking return type of signal handlers... " >&6; }
5974 if test "${ac_cv_type_signal+set}" = set; then
5975 $as_echo_n "(cached) " >&6
5977 cat >conftest.$ac_ext <<_ACEOF
5980 cat confdefs.h >>conftest.$ac_ext
5981 cat >>conftest.$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5983 #include <sys/types.h>
5989 return *(signal (0, 0)) (0) == 1;
5994 rm -f conftest.$ac_objext
5995 if { (ac_try="$ac_compile"
5997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5998 *) ac_try_echo
=$ac_try;;
6000 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6001 $as_echo "$ac_try_echo") >&5
6002 (eval "$ac_compile") 2>conftest.er1
6004 grep -v '^ *+' conftest.er1
>conftest.err
6006 cat conftest.err
>&5
6007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } && {
6009 test -z "$ac_c_werror_flag" ||
6010 test ! -s conftest.err
6011 } && test -s conftest.
$ac_objext; then
6012 ac_cv_type_signal
=int
6014 $as_echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.
$ac_ext >&5
6017 ac_cv_type_signal
=void
6020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6022 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6023 $as_echo "$ac_cv_type_signal" >&6; }
6025 cat >>confdefs.h
<<_ACEOF
6026 #define RETSIGTYPE $ac_cv_type_signal
6030 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6031 $as_echo_n "checking for size_t... " >&6; }
6032 if test "${ac_cv_type_size_t+set}" = set; then
6033 $as_echo_n "(cached) " >&6
6035 ac_cv_type_size_t
=no
6036 cat >conftest.
$ac_ext <<_ACEOF
6039 cat confdefs.h
>>conftest.
$ac_ext
6040 cat >>conftest.
$ac_ext <<_ACEOF
6041 /* end confdefs.h. */
6042 $ac_includes_default
6046 if (sizeof (size_t))
6052 rm -f conftest.
$ac_objext
6053 if { (ac_try
="$ac_compile"
6055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6056 *) ac_try_echo=$ac_try;;
6058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6059 $as_echo "$ac_try_echo") >&5
6060 (eval "$ac_compile") 2>conftest.er1
6062 grep -v '^ *+' conftest.er1 >conftest.err
6064 cat conftest.err >&5
6065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } && {
6067 test -z "$ac_c_werror_flag" ||
6068 test ! -s conftest.err
6069 } && test -s conftest.$ac_objext; then
6070 cat >conftest.$ac_ext <<_ACEOF
6073 cat confdefs.h >>conftest.$ac_ext
6074 cat >>conftest.$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6076 $ac_includes_default
6080 if (sizeof ((size_t)))
6086 rm -f conftest.$ac_objext
6087 if { (ac_try="$ac_compile"
6089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6090 *) ac_try_echo
=$ac_try;;
6092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6093 $as_echo "$ac_try_echo") >&5
6094 (eval "$ac_compile") 2>conftest.er1
6096 grep -v '^ *+' conftest.er1
>conftest.err
6098 cat conftest.err
>&5
6099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } && {
6101 test -z "$ac_c_werror_flag" ||
6102 test ! -s conftest.err
6103 } && test -s conftest.
$ac_objext; then
6106 $as_echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.
$ac_ext >&5
6109 ac_cv_type_size_t
=yes
6112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6114 $as_echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6123 $as_echo "$ac_cv_type_size_t" >&6; }
6124 if test "x$ac_cv_type_size_t" = x
""yes; then
6128 cat >>confdefs.h
<<_ACEOF
6129 #define size_t unsigned int
6134 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6135 $as_echo_n "checking for mode_t... " >&6; }
6136 if test "${ac_cv_type_mode_t+set}" = set; then
6137 $as_echo_n "(cached) " >&6
6139 ac_cv_type_mode_t
=no
6140 cat >conftest.
$ac_ext <<_ACEOF
6143 cat confdefs.h
>>conftest.
$ac_ext
6144 cat >>conftest.
$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6146 $ac_includes_default
6150 if (sizeof (mode_t))
6156 rm -f conftest.
$ac_objext
6157 if { (ac_try
="$ac_compile"
6159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6160 *) ac_try_echo=$ac_try;;
6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6163 $as_echo "$ac_try_echo") >&5
6164 (eval "$ac_compile") 2>conftest.er1
6166 grep -v '^ *+' conftest.er1 >conftest.err
6168 cat conftest.err >&5
6169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } && {
6171 test -z "$ac_c_werror_flag" ||
6172 test ! -s conftest.err
6173 } && test -s conftest.$ac_objext; then
6174 cat >conftest.$ac_ext <<_ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180 $ac_includes_default
6184 if (sizeof ((mode_t)))
6190 rm -f conftest.$ac_objext
6191 if { (ac_try="$ac_compile"
6193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6194 *) ac_try_echo
=$ac_try;;
6196 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6197 $as_echo "$ac_try_echo") >&5
6198 (eval "$ac_compile") 2>conftest.er1
6200 grep -v '^ *+' conftest.er1
>conftest.err
6202 cat conftest.err
>&5
6203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } && {
6205 test -z "$ac_c_werror_flag" ||
6206 test ! -s conftest.err
6207 } && test -s conftest.
$ac_objext; then
6210 $as_echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.
$ac_ext >&5
6213 ac_cv_type_mode_t
=yes
6216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6218 $as_echo "$as_me: failed program was:" >&5
6219 sed 's/^/| /' conftest.
$ac_ext >&5
6224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6226 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6227 $as_echo "$ac_cv_type_mode_t" >&6; }
6228 if test "x$ac_cv_type_mode_t" = x
""yes; then
6232 cat >>confdefs.h
<<_ACEOF
6238 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6239 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6240 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6241 $as_echo_n "(cached) " >&6
6243 cat >conftest.
$ac_ext <<_ACEOF
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 $ac_includes_default
6253 static struct stat ac_aggr;
6254 if (ac_aggr.st_rdev)
6260 rm -f conftest.
$ac_objext
6261 if { (ac_try
="$ac_compile"
6263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6264 *) ac_try_echo=$ac_try;;
6266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6267 $as_echo "$ac_try_echo") >&5
6268 (eval "$ac_compile") 2>conftest.er1
6270 grep -v '^ *+' conftest.er1 >conftest.err
6272 cat conftest.err >&5
6273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } && {
6275 test -z "$ac_c_werror_flag" ||
6276 test ! -s conftest.err
6277 } && test -s conftest.$ac_objext; then
6278 ac_cv_member_struct_stat_st_rdev=yes
6280 $as_echo "$as_me: failed program was:" >&5
6281 sed 's/^/| /' conftest.$ac_ext >&5
6283 cat >conftest.$ac_ext <<_ACEOF
6286 cat confdefs.h >>conftest.$ac_ext
6287 cat >>conftest.$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 $ac_includes_default
6293 static struct stat ac_aggr;
6294 if (sizeof ac_aggr.st_rdev)
6300 rm -f conftest.$ac_objext
6301 if { (ac_try="$ac_compile"
6303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6304 *) ac_try_echo
=$ac_try;;
6306 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6307 $as_echo "$ac_try_echo") >&5
6308 (eval "$ac_compile") 2>conftest.er1
6310 grep -v '^ *+' conftest.er1
>conftest.err
6312 cat conftest.err
>&5
6313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } && {
6315 test -z "$ac_c_werror_flag" ||
6316 test ! -s conftest.err
6317 } && test -s conftest.
$ac_objext; then
6318 ac_cv_member_struct_stat_st_rdev
=yes
6320 $as_echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.
$ac_ext >&5
6323 ac_cv_member_struct_stat_st_rdev
=no
6326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6331 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6332 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6333 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6335 cat >>confdefs.h
<<_ACEOF
6336 #define HAVE_STRUCT_STAT_ST_RDEV 1
6342 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6343 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6344 if test "${ac_cv_struct_tm+set}" = set; then
6345 $as_echo_n "(cached) " >&6
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6360 int *p = &tm.tm_sec;
6366 rm -f conftest.
$ac_objext
6367 if { (ac_try
="$ac_compile"
6369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6370 *) ac_try_echo=$ac_try;;
6372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6373 $as_echo "$ac_try_echo") >&5
6374 (eval "$ac_compile") 2>conftest.er1
6376 grep -v '^ *+' conftest.er1 >conftest.err
6378 cat conftest.err >&5
6379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); } && {
6381 test -z "$ac_c_werror_flag" ||
6382 test ! -s conftest.err
6383 } && test -s conftest.$ac_objext; then
6384 ac_cv_struct_tm=time.h
6386 $as_echo "$as_me: failed program was:" >&5
6387 sed 's/^/| /' conftest.$ac_ext >&5
6389 ac_cv_struct_tm=sys/time.h
6392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6394 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6395 $as_echo "$ac_cv_struct_tm" >&6; }
6396 if test $ac_cv_struct_tm = sys/time.h; then
6398 cat >>confdefs.h <<\_ACEOF
6399 #define TM_IN_SYS_TIME 1
6405 ################################################################################
6423 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6424 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6428 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6429 $as_echo_n "checking for $ac_func... " >&6; }
6430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6431 $as_echo_n "(cached) " >&6
6433 cat >conftest.$ac_ext <<_ACEOF
6436 cat confdefs.h >>conftest.$ac_ext
6437 cat >>conftest.$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6441 #define $ac_func innocuous_$ac_func
6443 /* System header to define __stub macros and hopefully few prototypes,
6444 which can conflict with char $ac_func (); below.
6445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6446 <limits.h> exists even on freestanding compilers. */
6449 # include <limits.h>
6451 # include <assert.h>
6456 /* Override any GCC internal prototype to avoid an error.
6457 Use char because int might match the return type of a GCC
6458 builtin and then its argument prototype would still apply. */
6463 /* The GNU C library defines this for functions which it implements
6464 to always fail with ENOSYS. Some functions are actually named
6465 something starting with __ and the normal name is an alias. */
6466 #if defined __stub_$ac_func || defined __stub___$ac_func
6478 rm -f conftest.$ac_objext conftest$ac_exeext
6479 if { (ac_try="$ac_link"
6481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6482 *) ac_try_echo
=$ac_try;;
6484 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6485 $as_echo "$ac_try_echo") >&5
6486 (eval "$ac_link") 2>conftest.er1
6488 grep -v '^ *+' conftest.er1
>conftest.err
6490 cat conftest.err
>&5
6491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); } && {
6493 test -z "$ac_c_werror_flag" ||
6494 test ! -s conftest.err
6495 } && test -s conftest
$ac_exeext && {
6496 test "$cross_compiling" = yes ||
6497 $as_test_x conftest
$ac_exeext
6499 eval "$as_ac_var=yes"
6501 $as_echo "$as_me: failed program was:" >&5
6502 sed 's/^/| /' conftest.
$ac_ext >&5
6504 eval "$as_ac_var=no"
6507 rm -rf conftest.dSYM
6508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6509 conftest
$ac_exeext conftest.
$ac_ext
6511 ac_res
=`eval 'as_val=${'$as_ac_var'}
6512 $as_echo "$as_val"'`
6513 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6514 $as_echo "$ac_res" >&6; }
6515 as_val
=`eval 'as_val=${'$as_ac_var'}
6516 $as_echo "$as_val"'`
6517 if test "x$as_val" = x
""yes; then
6518 cat >>confdefs.h
<<_ACEOF
6519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6523 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6524 $as_echo "$as_me: error: bailing out" >&2;}
6525 { (exit 1); exit 1; }; }
6529 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6530 # for constant arguments. Useless!
6531 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6532 $as_echo_n "checking for working alloca.h... " >&6; }
6533 if test "${ac_cv_working_alloca_h+set}" = set; then
6534 $as_echo_n "(cached) " >&6
6536 cat >conftest.
$ac_ext <<_ACEOF
6539 cat confdefs.h
>>conftest.
$ac_ext
6540 cat >>conftest.
$ac_ext <<_ACEOF
6541 /* end confdefs.h. */
6546 char *p = (char *) alloca (2 * sizeof (int));
6552 rm -f conftest.
$ac_objext conftest
$ac_exeext
6553 if { (ac_try
="$ac_link"
6555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6556 *) ac_try_echo=$ac_try;;
6558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6559 $as_echo "$ac_try_echo") >&5
6560 (eval "$ac_link") 2>conftest.er1
6562 grep -v '^ *+' conftest.er1 >conftest.err
6564 cat conftest.err >&5
6565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } && {
6567 test -z "$ac_c_werror_flag" ||
6568 test ! -s conftest.err
6569 } && test -s conftest$ac_exeext && {
6570 test "$cross_compiling" = yes ||
6571 $as_test_x conftest$ac_exeext
6573 ac_cv_working_alloca_h=yes
6575 $as_echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_cv_working_alloca_h=no
6581 rm -rf conftest.dSYM
6582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6583 conftest$ac_exeext conftest.$ac_ext
6585 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6586 $as_echo "$ac_cv_working_alloca_h" >&6; }
6587 if test $ac_cv_working_alloca_h = yes; then
6589 cat >>confdefs.h <<\_ACEOF
6590 #define HAVE_ALLOCA_H 1
6595 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6596 $as_echo_n "checking for alloca... " >&6; }
6597 if test "${ac_cv_func_alloca_works+set}" = set; then
6598 $as_echo_n "(cached) " >&6
6600 cat >conftest.$ac_ext <<_ACEOF
6603 cat confdefs.h >>conftest.$ac_ext
6604 cat >>conftest.$ac_ext <<_ACEOF
6605 /* end confdefs.h. */
6607 # define alloca __builtin_alloca
6610 # include <malloc.h>
6611 # define alloca _alloca
6613 # ifdef HAVE_ALLOCA_H
6614 # include <alloca.h>
6619 # ifndef alloca /* predefined by HP cc +Olibcalls */
6630 char *p = (char *) alloca (1);
6636 rm -f conftest.$ac_objext conftest$ac_exeext
6637 if { (ac_try="$ac_link"
6639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6640 *) ac_try_echo
=$ac_try;;
6642 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6643 $as_echo "$ac_try_echo") >&5
6644 (eval "$ac_link") 2>conftest.er1
6646 grep -v '^ *+' conftest.er1
>conftest.err
6648 cat conftest.err
>&5
6649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); } && {
6651 test -z "$ac_c_werror_flag" ||
6652 test ! -s conftest.err
6653 } && test -s conftest
$ac_exeext && {
6654 test "$cross_compiling" = yes ||
6655 $as_test_x conftest
$ac_exeext
6657 ac_cv_func_alloca_works
=yes
6659 $as_echo "$as_me: failed program was:" >&5
6660 sed 's/^/| /' conftest.
$ac_ext >&5
6662 ac_cv_func_alloca_works
=no
6665 rm -rf conftest.dSYM
6666 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6667 conftest
$ac_exeext conftest.
$ac_ext
6669 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6670 $as_echo "$ac_cv_func_alloca_works" >&6; }
6672 if test $ac_cv_func_alloca_works = yes; then
6674 cat >>confdefs.h
<<\_ACEOF
6675 #define HAVE_ALLOCA 1
6679 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6680 # that cause trouble. Some versions do not even contain alloca or
6681 # contain a buggy version. If you still want to use their alloca,
6682 # use ar to extract alloca.o from them instead of compiling alloca.c.
6684 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6686 cat >>confdefs.h
<<\_ACEOF
6691 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6692 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6693 if test "${ac_cv_os_cray+set}" = set; then
6694 $as_echo_n "(cached) " >&6
6696 cat >conftest.
$ac_ext <<_ACEOF
6699 cat confdefs.h
>>conftest.
$ac_ext
6700 cat >>conftest.
$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6702 #if defined CRAY && ! defined CRAY2
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "webecray" >/dev
/null
2>&1; then
6718 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6719 $as_echo "$ac_cv_os_cray" >&6; }
6720 if test $ac_cv_os_cray = yes; then
6721 for ac_func
in _getb67 GETB67 getb67
; do
6722 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6723 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6724 $as_echo_n "checking for $ac_func... " >&6; }
6725 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6726 $as_echo_n "(cached) " >&6
6728 cat >conftest.
$ac_ext <<_ACEOF
6731 cat confdefs.h
>>conftest.
$ac_ext
6732 cat >>conftest.
$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6736 #define $ac_func innocuous_$ac_func
6738 /* System header to define __stub macros and hopefully few prototypes,
6739 which can conflict with char $ac_func (); below.
6740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6741 <limits.h> exists even on freestanding compilers. */
6744 # include <limits.h>
6746 # include <assert.h>
6751 /* Override any GCC internal prototype to avoid an error.
6752 Use char because int might match the return type of a GCC
6753 builtin and then its argument prototype would still apply. */
6758 /* The GNU C library defines this for functions which it implements
6759 to always fail with ENOSYS. Some functions are actually named
6760 something starting with __ and the normal name is an alias. */
6761 #if defined __stub_$ac_func || defined __stub___$ac_func
6773 rm -f conftest.
$ac_objext conftest
$ac_exeext
6774 if { (ac_try
="$ac_link"
6776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6777 *) ac_try_echo=$ac_try;;
6779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6780 $as_echo "$ac_try_echo") >&5
6781 (eval "$ac_link") 2>conftest.er1
6783 grep -v '^ *+' conftest.er1 >conftest.err
6785 cat conftest.err >&5
6786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); } && {
6788 test -z "$ac_c_werror_flag" ||
6789 test ! -s conftest.err
6790 } && test -s conftest$ac_exeext && {
6791 test "$cross_compiling" = yes ||
6792 $as_test_x conftest$ac_exeext
6794 eval "$as_ac_var=yes"
6796 $as_echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.$ac_ext >&5
6799 eval "$as_ac_var=no"
6802 rm -rf conftest.dSYM
6803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6804 conftest$ac_exeext conftest.$ac_ext
6806 ac_res=`eval 'as_val=${'$as_ac_var'}
6807 $as_echo "$as_val"'`
6808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6809 $as_echo "$ac_res" >&6; }
6810 as_val=`eval 'as_val=${'$as_ac_var'}
6811 $as_echo "$as_val"'`
6812 if test "x$as_val" = x""yes; then
6814 cat >>confdefs.h <<_ACEOF
6815 #define CRAY_STACKSEG_END $ac_func
6824 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6825 $as_echo_n "checking stack direction for C alloca... " >&6; }
6826 if test "${ac_cv_c_stack_direction+set}" = set; then
6827 $as_echo_n "(cached) " >&6
6829 if test "$cross_compiling" = yes; then
6830 ac_cv_c_stack_direction=0
6832 cat >conftest.$ac_ext <<_ACEOF
6835 cat confdefs.h >>conftest.$ac_ext
6836 cat >>conftest.$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6838 $ac_includes_default
6840 find_stack_direction ()
6842 static char *addr = 0;
6847 return find_stack_direction ();
6850 return (&dummy > addr) ? 1 : -1;
6856 return find_stack_direction () < 0;
6859 rm -f conftest$ac_exeext
6860 if { (ac_try="$ac_link"
6862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6863 *) ac_try_echo
=$ac_try;;
6865 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6866 $as_echo "$ac_try_echo") >&5
6867 (eval "$ac_link") 2>&5
6869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6871 { (case "(($ac_try" in
6872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6873 *) ac_try_echo=$ac_try;;
6875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6876 $as_echo "$ac_try_echo") >&5
6877 (eval "$ac_try") 2>&5
6879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; }; then
6881 ac_cv_c_stack_direction=1
6883 $as_echo "$as_me: program exited with status $ac_status" >&5
6884 $as_echo "$as_me: failed program was:" >&5
6885 sed 's/^/| /' conftest.$ac_ext >&5
6888 ac_cv_c_stack_direction=-1
6890 rm -rf conftest.dSYM
6891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6896 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6897 $as_echo "$ac_cv_c_stack_direction" >&6; }
6899 cat >>confdefs.h <<_ACEOF
6900 #define STACK_DIRECTION $ac_cv_c_stack_direction
6906 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6907 $as_echo_n "checking whether closedir returns void... " >&6; }
6908 if test "${ac_cv_func_closedir_void+set}" = set; then
6909 $as_echo_n "(cached) " >&6
6911 if test "$cross_compiling" = yes; then
6912 ac_cv_func_closedir_void=yes
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 $ac_includes_default
6921 #include <$ac_header_dirent>
6929 return closedir (opendir (".")) != 0;
6934 rm -f conftest$ac_exeext
6935 if { (ac_try="$ac_link"
6937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6938 *) ac_try_echo
=$ac_try;;
6940 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6941 $as_echo "$ac_try_echo") >&5
6942 (eval "$ac_link") 2>&5
6944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6946 { (case "(($ac_try" in
6947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6948 *) ac_try_echo=$ac_try;;
6950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6951 $as_echo "$ac_try_echo") >&5
6952 (eval "$ac_try") 2>&5
6954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then
6956 ac_cv_func_closedir_void=no
6958 $as_echo "$as_me: program exited with status $ac_status" >&5
6959 $as_echo "$as_me: failed program was:" >&5
6960 sed 's/^/| /' conftest.$ac_ext >&5
6963 ac_cv_func_closedir_void=yes
6965 rm -rf conftest.dSYM
6966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6971 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6972 $as_echo "$ac_cv_func_closedir_void" >&6; }
6973 if test $ac_cv_func_closedir_void = yes; then
6975 cat >>confdefs.h <<\_ACEOF
6976 #define CLOSEDIR_VOID 1
6982 for ac_header in vfork.h
6984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6987 $as_echo_n "checking for $ac_header... " >&6; }
6988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6989 $as_echo_n "(cached) " >&6
6991 ac_res=`eval 'as_val=${'$as_ac_Header'}
6992 $as_echo "$as_val"'`
6993 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6994 $as_echo "$ac_res" >&6; }
6996 # Is the header compilable?
6997 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6998 $as_echo_n "checking $ac_header usability... " >&6; }
6999 cat >conftest.$ac_ext <<_ACEOF
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h. */
7005 $ac_includes_default
7006 #include <$ac_header>
7008 rm -f conftest.$ac_objext
7009 if { (ac_try="$ac_compile"
7011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7012 *) ac_try_echo
=$ac_try;;
7014 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7015 $as_echo "$ac_try_echo") >&5
7016 (eval "$ac_compile") 2>conftest.er1
7018 grep -v '^ *+' conftest.er1
>conftest.err
7020 cat conftest.err
>&5
7021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } && {
7023 test -z "$ac_c_werror_flag" ||
7024 test ! -s conftest.err
7025 } && test -s conftest.
$ac_objext; then
7026 ac_header_compiler
=yes
7028 $as_echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.
$ac_ext >&5
7031 ac_header_compiler
=no
7034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7036 $as_echo "$ac_header_compiler" >&6; }
7038 # Is the header present?
7039 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7040 $as_echo_n "checking $ac_header presence... " >&6; }
7041 cat >conftest.
$ac_ext <<_ACEOF
7044 cat confdefs.h
>>conftest.
$ac_ext
7045 cat >>conftest.
$ac_ext <<_ACEOF
7046 /* end confdefs.h. */
7047 #include <$ac_header>
7049 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7052 *) ac_try_echo=$ac_try;;
7054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7055 $as_echo "$ac_try_echo") >&5
7056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7058 grep -v '^ *+' conftest.er1 >conftest.err
7060 cat conftest.err >&5
7061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } >/dev/null && {
7063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7064 test ! -s conftest.err
7066 ac_header_preproc=yes
7068 $as_echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.$ac_ext >&5
7071 ac_header_preproc=no
7074 rm -f conftest.err conftest.$ac_ext
7075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7076 $as_echo "$ac_header_preproc" >&6; }
7078 # So? What about this header?
7079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7082 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7084 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7085 ac_header_preproc=yes
7088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7089 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7091 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7093 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7095 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7099 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7103 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7104 $as_echo_n "checking for $ac_header... " >&6; }
7105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7106 $as_echo_n "(cached) " >&6
7108 eval "$as_ac_Header=\$ac_header_preproc"
7110 ac_res=`eval 'as_val=${'$as_ac_Header'}
7111 $as_echo "$as_val"'`
7112 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7113 $as_echo "$ac_res" >&6; }
7116 as_val=`eval 'as_val=${'$as_ac_Header'}
7117 $as_echo "$as_val"'`
7118 if test "x$as_val" = x""yes; then
7119 cat >>confdefs.h <<_ACEOF
7120 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7129 for ac_func in fork vfork
7131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7132 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7133 $as_echo_n "checking for $ac_func... " >&6; }
7134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7135 $as_echo_n "(cached) " >&6
7137 cat >conftest.$ac_ext <<_ACEOF
7140 cat confdefs.h >>conftest.$ac_ext
7141 cat >>conftest.$ac_ext <<_ACEOF
7142 /* end confdefs.h. */
7143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7145 #define $ac_func innocuous_$ac_func
7147 /* System header to define __stub macros and hopefully few prototypes,
7148 which can conflict with char $ac_func (); below.
7149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7150 <limits.h> exists even on freestanding compilers. */
7153 # include <limits.h>
7155 # include <assert.h>
7160 /* Override any GCC internal prototype to avoid an error.
7161 Use char because int might match the return type of a GCC
7162 builtin and then its argument prototype would still apply. */
7167 /* The GNU C library defines this for functions which it implements
7168 to always fail with ENOSYS. Some functions are actually named
7169 something starting with __ and the normal name is an alias. */
7170 #if defined __stub_$ac_func || defined __stub___$ac_func
7182 rm -f conftest.$ac_objext conftest$ac_exeext
7183 if { (ac_try="$ac_link"
7185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7186 *) ac_try_echo
=$ac_try;;
7188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7189 $as_echo "$ac_try_echo") >&5
7190 (eval "$ac_link") 2>conftest.er1
7192 grep -v '^ *+' conftest.er1
>conftest.err
7194 cat conftest.err
>&5
7195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } && {
7197 test -z "$ac_c_werror_flag" ||
7198 test ! -s conftest.err
7199 } && test -s conftest
$ac_exeext && {
7200 test "$cross_compiling" = yes ||
7201 $as_test_x conftest
$ac_exeext
7203 eval "$as_ac_var=yes"
7205 $as_echo "$as_me: failed program was:" >&5
7206 sed 's/^/| /' conftest.
$ac_ext >&5
7208 eval "$as_ac_var=no"
7211 rm -rf conftest.dSYM
7212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7213 conftest
$ac_exeext conftest.
$ac_ext
7215 ac_res
=`eval 'as_val=${'$as_ac_var'}
7216 $as_echo "$as_val"'`
7217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7218 $as_echo "$ac_res" >&6; }
7219 as_val
=`eval 'as_val=${'$as_ac_var'}
7220 $as_echo "$as_val"'`
7221 if test "x$as_val" = x
""yes; then
7222 cat >>confdefs.h
<<_ACEOF
7223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7229 if test "x$ac_cv_func_fork" = xyes
; then
7230 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
7231 $as_echo_n "checking for working fork... " >&6; }
7232 if test "${ac_cv_func_fork_works+set}" = set; then
7233 $as_echo_n "(cached) " >&6
7235 if test "$cross_compiling" = yes; then
7236 ac_cv_func_fork_works
=cross
7238 cat >conftest.
$ac_ext <<_ACEOF
7241 cat confdefs.h
>>conftest.
$ac_ext
7242 cat >>conftest.
$ac_ext <<_ACEOF
7243 /* end confdefs.h. */
7244 $ac_includes_default
7249 /* By Ruediger Kuhlmann. */
7256 rm -f conftest
$ac_exeext
7257 if { (ac_try
="$ac_link"
7259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7263 $as_echo "$ac_try_echo") >&5
7264 (eval "$ac_link") 2>&5
7266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7268 { (case "(($ac_try" in
7269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7270 *) ac_try_echo
=$ac_try;;
7272 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7273 $as_echo "$ac_try_echo") >&5
7274 (eval "$ac_try") 2>&5
7276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 ac_cv_func_fork_works
=yes
7280 $as_echo "$as_me: program exited with status $ac_status" >&5
7281 $as_echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.
$ac_ext >&5
7285 ac_cv_func_fork_works
=no
7287 rm -rf conftest.dSYM
7288 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7293 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7294 $as_echo "$ac_cv_func_fork_works" >&6; }
7297 ac_cv_func_fork_works
=$ac_cv_func_fork
7299 if test "x$ac_cv_func_fork_works" = xcross
; then
7301 *-*-amigaos* |
*-*-msdosdjgpp*)
7302 # Override, as these systems have only a dummy fork() stub
7303 ac_cv_func_fork_works
=no
7306 ac_cv_func_fork_works
=yes
7309 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7310 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7312 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7313 if test "x$ac_cv_func_vfork" = xyes
; then
7314 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
7315 $as_echo_n "checking for working vfork... " >&6; }
7316 if test "${ac_cv_func_vfork_works+set}" = set; then
7317 $as_echo_n "(cached) " >&6
7319 if test "$cross_compiling" = yes; then
7320 ac_cv_func_vfork_works
=cross
7322 cat >conftest.
$ac_ext <<_ACEOF
7325 cat confdefs.h
>>conftest.
$ac_ext
7326 cat >>conftest.
$ac_ext <<_ACEOF
7327 /* end confdefs.h. */
7328 /* Thanks to Paul Eggert for this test. */
7329 $ac_includes_default
7330 #include <sys/wait.h>
7334 /* On some sparc systems, changes by the child to local and incoming
7335 argument registers are propagated back to the parent. The compiler
7336 is told about this with #include <vfork.h>, but some compilers
7337 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7338 static variable whose address is put into a register that is
7339 clobbered by the vfork. */
7342 sparc_address_test (int arg)
7344 sparc_address_test (arg) int arg;
7365 pid_t parent = getpid ();
7368 sparc_address_test (0);
7373 /* Here is another test for sparc vfork register problems. This
7374 test uses lots of local variables, at least as many local
7375 variables as main has allocated so far including compiler
7376 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7377 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7378 reuse the register of parent for one of the local variables,
7379 since it will think that parent can't possibly be used any more
7380 in this routine. Assigning to the local variable will thus
7381 munge parent in the parent process. */
7383 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7384 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7385 /* Convince the compiler that p..p7 are live; otherwise, it might
7386 use the same hardware register for all 8 local variables. */
7387 if (p != p1 || p != p2 || p != p3 || p != p4
7388 || p != p5 || p != p6 || p != p7)
7391 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7392 from child file descriptors. If the child closes a descriptor
7393 before it execs or exits, this munges the parent's descriptor
7394 as well. Test for this by closing stdout in the child. */
7395 _exit(close(fileno(stdout)) != 0);
7400 while (wait(&status) != child)
7403 /* Was there some problem with vforking? */
7406 /* Did the child fail? (This shouldn't happen.) */
7409 /* Did the vfork/compiler bug occur? */
7410 || parent != getpid()
7412 /* Did the file descriptor bug occur? */
7413 || fstat(fileno(stdout), &st) != 0
7418 rm -f conftest
$ac_exeext
7419 if { (ac_try
="$ac_link"
7421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7422 *) ac_try_echo=$ac_try;;
7424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7425 $as_echo "$ac_try_echo") >&5
7426 (eval "$ac_link") 2>&5
7428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7430 { (case "(($ac_try" in
7431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7432 *) ac_try_echo
=$ac_try;;
7434 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7435 $as_echo "$ac_try_echo") >&5
7436 (eval "$ac_try") 2>&5
7438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then
7440 ac_cv_func_vfork_works
=yes
7442 $as_echo "$as_me: program exited with status $ac_status" >&5
7443 $as_echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.
$ac_ext >&5
7447 ac_cv_func_vfork_works
=no
7449 rm -rf conftest.dSYM
7450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7455 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7456 $as_echo "$ac_cv_func_vfork_works" >&6; }
7459 if test "x$ac_cv_func_fork_works" = xcross
; then
7460 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7461 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7462 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7465 if test "x$ac_cv_func_vfork_works" = xyes
; then
7467 cat >>confdefs.h
<<\_ACEOF
7468 #define HAVE_WORKING_VFORK 1
7473 cat >>confdefs.h
<<\_ACEOF
7478 if test "x$ac_cv_func_fork_works" = xyes
; then
7480 cat >>confdefs.h
<<\_ACEOF
7481 #define HAVE_WORKING_FORK 1
7486 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7487 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
7488 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7489 $as_echo_n "(cached) " >&6
7491 rm -f conftest.sym conftest.
file
7493 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7494 if test "$cross_compiling" = yes; then
7495 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7497 cat >conftest.
$ac_ext <<_ACEOF
7500 cat confdefs.h
>>conftest.
$ac_ext
7501 cat >>conftest.
$ac_ext <<_ACEOF
7502 /* end confdefs.h. */
7503 $ac_includes_default
7508 /* Linux will dereference the symlink and fail.
7509 That is better in the sense that it means we will not
7510 have to compile and use the lstat wrapper. */
7511 return lstat ("conftest.sym/", &sbuf) == 0;
7516 rm -f conftest
$ac_exeext
7517 if { (ac_try
="$ac_link"
7519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7523 $as_echo "$ac_try_echo") >&5
7524 (eval "$ac_link") 2>&5
7526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7528 { (case "(($ac_try" in
7529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7530 *) ac_try_echo
=$ac_try;;
7532 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7533 $as_echo "$ac_try_echo") >&5
7534 (eval "$ac_try") 2>&5
7536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7540 $as_echo "$as_me: program exited with status $ac_status" >&5
7541 $as_echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.
$ac_ext >&5
7545 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7547 rm -rf conftest.dSYM
7548 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7553 # If the `ln -s' command failed, then we probably don't even
7554 # have an lstat function.
7555 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7557 rm -f conftest.sym conftest.
file
7560 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7561 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7563 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7565 cat >>confdefs.h
<<_ACEOF
7566 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7570 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7571 case " $LIBOBJS " in
7572 *" lstat.$ac_objext "* ) ;;
7573 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7579 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7580 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
7581 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7582 $as_echo_n "(cached) " >&6
7584 if test "$cross_compiling" = yes; then
7585 ac_cv_func_lstat_empty_string_bug
=yes
7587 cat >conftest.
$ac_ext <<_ACEOF
7590 cat confdefs.h
>>conftest.
$ac_ext
7591 cat >>conftest.
$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 $ac_includes_default
7598 return lstat ("", &sbuf) == 0;
7603 rm -f conftest
$ac_exeext
7604 if { (ac_try
="$ac_link"
7606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7607 *) ac_try_echo=$ac_try;;
7609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7610 $as_echo "$ac_try_echo") >&5
7611 (eval "$ac_link") 2>&5
7613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7615 { (case "(($ac_try" in
7616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7617 *) ac_try_echo
=$ac_try;;
7619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7620 $as_echo "$ac_try_echo") >&5
7621 (eval "$ac_try") 2>&5
7623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 ac_cv_func_lstat_empty_string_bug
=no
7627 $as_echo "$as_me: program exited with status $ac_status" >&5
7628 $as_echo "$as_me: failed program was:" >&5
7629 sed 's/^/| /' conftest.
$ac_ext >&5
7632 ac_cv_func_lstat_empty_string_bug
=yes
7634 rm -rf conftest.dSYM
7635 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7640 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7641 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7642 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7643 case " $LIBOBJS " in
7644 *" lstat.$ac_objext "* ) ;;
7645 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7650 cat >>confdefs.h
<<_ACEOF
7651 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7657 for ac_header
in stdlib.h
7659 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7660 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7661 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7662 $as_echo_n "checking for $ac_header... " >&6; }
7663 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7664 $as_echo_n "(cached) " >&6
7666 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7667 $as_echo "$as_val"'`
7668 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7669 $as_echo "$ac_res" >&6; }
7671 # Is the header compilable?
7672 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7673 $as_echo_n "checking $ac_header usability... " >&6; }
7674 cat >conftest.
$ac_ext <<_ACEOF
7677 cat confdefs.h
>>conftest.
$ac_ext
7678 cat >>conftest.
$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7680 $ac_includes_default
7681 #include <$ac_header>
7683 rm -f conftest.
$ac_objext
7684 if { (ac_try
="$ac_compile"
7686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7687 *) ac_try_echo=$ac_try;;
7689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7690 $as_echo "$ac_try_echo") >&5
7691 (eval "$ac_compile") 2>conftest.er1
7693 grep -v '^ *+' conftest.er1 >conftest.err
7695 cat conftest.err >&5
7696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } && {
7698 test -z "$ac_c_werror_flag" ||
7699 test ! -s conftest.err
7700 } && test -s conftest.$ac_objext; then
7701 ac_header_compiler=yes
7703 $as_echo "$as_me: failed program was:" >&5
7704 sed 's/^/| /' conftest.$ac_ext >&5
7706 ac_header_compiler=no
7709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7710 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7711 $as_echo "$ac_header_compiler" >&6; }
7713 # Is the header present?
7714 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7715 $as_echo_n "checking $ac_header presence... " >&6; }
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7722 #include <$ac_header>
7724 if { (ac_try="$ac_cpp conftest.$ac_ext"
7726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7727 *) ac_try_echo
=$ac_try;;
7729 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7730 $as_echo "$ac_try_echo") >&5
7731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7733 grep -v '^ *+' conftest.er1
>conftest.err
7735 cat conftest.err
>&5
7736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } >/dev
/null
&& {
7738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7741 ac_header_preproc
=yes
7743 $as_echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.
$ac_ext >&5
7746 ac_header_preproc
=no
7749 rm -f conftest.err conftest.
$ac_ext
7750 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7751 $as_echo "$ac_header_preproc" >&6; }
7753 # So? What about this header?
7754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7757 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7759 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7760 ac_header_preproc
=yes
7763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7764 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7766 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7768 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7770 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7772 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7774 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7778 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7779 $as_echo_n "checking for $ac_header... " >&6; }
7780 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7781 $as_echo_n "(cached) " >&6
7783 eval "$as_ac_Header=\$ac_header_preproc"
7785 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7786 $as_echo "$as_val"'`
7787 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7788 $as_echo "$ac_res" >&6; }
7791 as_val
=`eval 'as_val=${'$as_ac_Header'}
7792 $as_echo "$as_val"'`
7793 if test "x$as_val" = x
""yes; then
7794 cat >>confdefs.h
<<_ACEOF
7795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7803 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7804 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7805 $as_echo_n "(cached) " >&6
7807 if test "$cross_compiling" = yes; then
7808 ac_cv_func_malloc_0_nonnull
=no
7810 cat >conftest.
$ac_ext <<_ACEOF
7813 cat confdefs.h
>>conftest.
$ac_ext
7814 cat >>conftest.
$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7816 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7817 # include <stdlib.h>
7825 return ! malloc (0);
7830 rm -f conftest
$ac_exeext
7831 if { (ac_try
="$ac_link"
7833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7834 *) ac_try_echo=$ac_try;;
7836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7837 $as_echo "$ac_try_echo") >&5
7838 (eval "$ac_link") 2>&5
7840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7842 { (case "(($ac_try" in
7843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7844 *) ac_try_echo
=$ac_try;;
7846 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7847 $as_echo "$ac_try_echo") >&5
7848 (eval "$ac_try") 2>&5
7850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); }; }; then
7852 ac_cv_func_malloc_0_nonnull
=yes
7854 $as_echo "$as_me: program exited with status $ac_status" >&5
7855 $as_echo "$as_me: failed program was:" >&5
7856 sed 's/^/| /' conftest.
$ac_ext >&5
7859 ac_cv_func_malloc_0_nonnull
=no
7861 rm -rf conftest.dSYM
7862 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7867 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7868 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7869 if test $ac_cv_func_malloc_0_nonnull = yes; then
7871 cat >>confdefs.h
<<\_ACEOF
7872 #define HAVE_MALLOC 1
7876 cat >>confdefs.h
<<\_ACEOF
7877 #define HAVE_MALLOC 0
7880 case " $LIBOBJS " in
7881 *" malloc.$ac_objext "* ) ;;
7882 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7887 cat >>confdefs.h
<<\_ACEOF
7888 #define malloc rpl_malloc
7895 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
7896 $as_echo_n "checking for working memcmp... " >&6; }
7897 if test "${ac_cv_func_memcmp_working+set}" = set; then
7898 $as_echo_n "(cached) " >&6
7900 if test "$cross_compiling" = yes; then
7901 ac_cv_func_memcmp_working
=no
7903 cat >conftest.
$ac_ext <<_ACEOF
7906 cat confdefs.h
>>conftest.
$ac_ext
7907 cat >>conftest.
$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7909 $ac_includes_default
7914 /* Some versions of memcmp are not 8-bit clean. */
7915 char c0 = '\100', c1 = '\200', c2 = '\201';
7916 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7919 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7920 or more and with at least one buffer not starting on a 4-byte boundary.
7921 William Lewis provided this test program. */
7926 for (i = 0; i < 4; i++)
7930 strcpy (a, "--------01111111");
7931 strcpy (b, "--------10000000");
7932 if (memcmp (a, b, 16) >= 0)
7942 rm -f conftest
$ac_exeext
7943 if { (ac_try
="$ac_link"
7945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7946 *) ac_try_echo=$ac_try;;
7948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7949 $as_echo "$ac_try_echo") >&5
7950 (eval "$ac_link") 2>&5
7952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7954 { (case "(($ac_try" in
7955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7956 *) ac_try_echo
=$ac_try;;
7958 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7959 $as_echo "$ac_try_echo") >&5
7960 (eval "$ac_try") 2>&5
7962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; }; then
7964 ac_cv_func_memcmp_working
=yes
7966 $as_echo "$as_me: program exited with status $ac_status" >&5
7967 $as_echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_cv_func_memcmp_working
=no
7973 rm -rf conftest.dSYM
7974 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7979 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7980 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7981 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7982 *" memcmp.$ac_objext "* ) ;;
7983 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7990 for ac_header
in stdlib.h unistd.h
7992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7993 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7994 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 $as_echo_n "checking for $ac_header... " >&6; }
7996 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7997 $as_echo_n "(cached) " >&6
7999 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8000 $as_echo "$as_val"'`
8001 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8002 $as_echo "$ac_res" >&6; }
8004 # Is the header compilable?
8005 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8006 $as_echo_n "checking $ac_header usability... " >&6; }
8007 cat >conftest.
$ac_ext <<_ACEOF
8010 cat confdefs.h
>>conftest.
$ac_ext
8011 cat >>conftest.
$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8013 $ac_includes_default
8014 #include <$ac_header>
8016 rm -f conftest.
$ac_objext
8017 if { (ac_try
="$ac_compile"
8019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8023 $as_echo "$ac_try_echo") >&5
8024 (eval "$ac_compile") 2>conftest.er1
8026 grep -v '^ *+' conftest.er1 >conftest.err
8028 cat conftest.err >&5
8029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest.$ac_objext; then
8034 ac_header_compiler=yes
8036 $as_echo "$as_me: failed program was:" >&5
8037 sed 's/^/| /' conftest.$ac_ext >&5
8039 ac_header_compiler=no
8042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8043 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8044 $as_echo "$ac_header_compiler" >&6; }
8046 # Is the header present?
8047 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8048 $as_echo_n "checking $ac_header presence... " >&6; }
8049 cat >conftest.$ac_ext <<_ACEOF
8052 cat confdefs.h >>conftest.$ac_ext
8053 cat >>conftest.$ac_ext <<_ACEOF
8054 /* end confdefs.h. */
8055 #include <$ac_header>
8057 if { (ac_try="$ac_cpp conftest.$ac_ext"
8059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8060 *) ac_try_echo
=$ac_try;;
8062 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8063 $as_echo "$ac_try_echo") >&5
8064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8066 grep -v '^ *+' conftest.er1
>conftest.err
8068 cat conftest.err
>&5
8069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } >/dev
/null
&& {
8071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8072 test ! -s conftest.err
8074 ac_header_preproc
=yes
8076 $as_echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.
$ac_ext >&5
8079 ac_header_preproc
=no
8082 rm -f conftest.err conftest.
$ac_ext
8083 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8084 $as_echo "$ac_header_preproc" >&6; }
8086 # So? What about this header?
8087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8090 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8092 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8093 ac_header_preproc
=yes
8096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8097 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8099 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8101 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8103 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8105 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8107 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8111 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8112 $as_echo_n "checking for $ac_header... " >&6; }
8113 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8114 $as_echo_n "(cached) " >&6
8116 eval "$as_ac_Header=\$ac_header_preproc"
8118 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8119 $as_echo "$as_val"'`
8120 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8121 $as_echo "$ac_res" >&6; }
8124 as_val
=`eval 'as_val=${'$as_ac_Header'}
8125 $as_echo "$as_val"'`
8126 if test "x$as_val" = x
""yes; then
8127 cat >>confdefs.h
<<_ACEOF
8128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8136 for ac_func
in getpagesize
8138 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8139 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8140 $as_echo_n "checking for $ac_func... " >&6; }
8141 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8142 $as_echo_n "(cached) " >&6
8144 cat >conftest.
$ac_ext <<_ACEOF
8147 cat confdefs.h
>>conftest.
$ac_ext
8148 cat >>conftest.
$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8152 #define $ac_func innocuous_$ac_func
8154 /* System header to define __stub macros and hopefully few prototypes,
8155 which can conflict with char $ac_func (); below.
8156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8157 <limits.h> exists even on freestanding compilers. */
8160 # include <limits.h>
8162 # include <assert.h>
8167 /* Override any GCC internal prototype to avoid an error.
8168 Use char because int might match the return type of a GCC
8169 builtin and then its argument prototype would still apply. */
8174 /* The GNU C library defines this for functions which it implements
8175 to always fail with ENOSYS. Some functions are actually named
8176 something starting with __ and the normal name is an alias. */
8177 #if defined __stub_$ac_func || defined __stub___$ac_func
8189 rm -f conftest.
$ac_objext conftest
$ac_exeext
8190 if { (ac_try
="$ac_link"
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_link") 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); } && {
8204 test -z "$ac_c_werror_flag" ||
8205 test ! -s conftest.err
8206 } && test -s conftest$ac_exeext && {
8207 test "$cross_compiling" = yes ||
8208 $as_test_x conftest$ac_exeext
8210 eval "$as_ac_var=yes"
8212 $as_echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.$ac_ext >&5
8215 eval "$as_ac_var=no"
8218 rm -rf conftest.dSYM
8219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8220 conftest$ac_exeext conftest.$ac_ext
8222 ac_res=`eval 'as_val=${'$as_ac_var'}
8223 $as_echo "$as_val"'`
8224 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8225 $as_echo "$ac_res" >&6; }
8226 as_val=`eval 'as_val=${'$as_ac_var'}
8227 $as_echo "$as_val"'`
8228 if test "x$as_val" = x""yes; then
8229 cat >>confdefs.h <<_ACEOF
8230 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8236 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8237 $as_echo_n "checking for working mmap... " >&6; }
8238 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8239 $as_echo_n "(cached) " >&6
8241 if test "$cross_compiling" = yes; then
8242 ac_cv_func_mmap_fixed_mapped=no
8244 cat >conftest.$ac_ext <<_ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8250 $ac_includes_default
8251 /* malloc might have been renamed as rpl_malloc. */
8254 /* Thanks to Mike Haertel and Jim Avera for this test.
8255 Here is a matrix of mmap possibilities:
8256 mmap private not fixed
8257 mmap private fixed at somewhere currently unmapped
8258 mmap private fixed at somewhere already mapped
8259 mmap shared not fixed
8260 mmap shared fixed at somewhere currently unmapped
8261 mmap shared fixed at somewhere already mapped
8262 For private mappings, we should verify that changes cannot be read()
8263 back from the file, nor mmap's back from the file at a different
8264 address. (There have been systems where private was not correctly
8265 implemented like the infamous i386 svr4.0, and systems where the
8266 VM page cache was not coherent with the file system buffer cache
8267 like early versions of FreeBSD and possibly contemporary NetBSD.)
8268 For shared mappings, we should conversely verify that changes get
8269 propagated back to all the places they're supposed to be.
8271 Grep wants private fixed already mapped.
8272 The main things grep needs to know about mmap are:
8273 * does it exist and is it safe to write into the mmap'd area
8274 * how to use it (BSD variants) */
8277 #include <sys/mman.h>
8279 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8283 /* This mess was copied from the GNU getpagesize.h. */
8284 #ifndef HAVE_GETPAGESIZE
8285 /* Assume that all systems that can run configure have sys/param.h. */
8286 # ifndef HAVE_SYS_PARAM_H
8287 # define HAVE_SYS_PARAM_H 1
8290 # ifdef _SC_PAGESIZE
8291 # define getpagesize() sysconf(_SC_PAGESIZE)
8292 # else /* no _SC_PAGESIZE */
8293 # ifdef HAVE_SYS_PARAM_H
8294 # include <sys/param.h>
8295 # ifdef EXEC_PAGESIZE
8296 # define getpagesize() EXEC_PAGESIZE
8297 # else /* no EXEC_PAGESIZE */
8299 # define getpagesize() NBPG * CLSIZE
8302 # endif /* no CLSIZE */
8303 # else /* no NBPG */
8305 # define getpagesize() NBPC
8306 # else /* no NBPC */
8308 # define getpagesize() PAGESIZE
8309 # endif /* PAGESIZE */
8310 # endif /* no NBPC */
8311 # endif /* no NBPG */
8312 # endif /* no EXEC_PAGESIZE */
8313 # else /* no HAVE_SYS_PARAM_H */
8314 # define getpagesize() 8192 /* punt totally */
8315 # endif /* no HAVE_SYS_PARAM_H */
8316 # endif /* no _SC_PAGESIZE */
8318 #endif /* no HAVE_GETPAGESIZE */
8323 char *data, *data2, *data3;
8327 pagesize = getpagesize ();
8329 /* First, make a file with some known garbage in it. */
8330 data = (char *) malloc (pagesize);
8333 for (i = 0; i < pagesize; ++i)
8334 *(data + i) = rand ();
8336 fd = creat ("conftest.mmap", 0600);
8339 if (write (fd, data, pagesize) != pagesize)
8343 /* Next, try to mmap the file at a fixed address which already has
8344 something else allocated at it. If we can, also make sure that
8345 we see the same garbage. */
8346 fd = open ("conftest.mmap", O_RDWR);
8349 data2 = (char *) malloc (2 * pagesize);
8352 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8353 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8354 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8356 for (i = 0; i < pagesize; ++i)
8357 if (*(data + i) != *(data2 + i))
8360 /* Finally, make sure that changes to the mapped area do not
8361 percolate back to the file as seen by read(). (This is a bug on
8362 some variants of i386 svr4.0.) */
8363 for (i = 0; i < pagesize; ++i)
8364 *(data2 + i) = *(data2 + i) + 1;
8365 data3 = (char *) malloc (pagesize);
8368 if (read (fd, data3, pagesize) != pagesize)
8370 for (i = 0; i < pagesize; ++i)
8371 if (*(data + i) != *(data3 + i))
8377 rm -f conftest$ac_exeext
8378 if { (ac_try="$ac_link"
8380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8381 *) ac_try_echo
=$ac_try;;
8383 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8384 $as_echo "$ac_try_echo") >&5
8385 (eval "$ac_link") 2>&5
8387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8389 { (case "(($ac_try" in
8390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8391 *) ac_try_echo=$ac_try;;
8393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8394 $as_echo "$ac_try_echo") >&5
8395 (eval "$ac_try") 2>&5
8397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 ac_cv_func_mmap_fixed_mapped=yes
8401 $as_echo "$as_me: program exited with status $ac_status" >&5
8402 $as_echo "$as_me: failed program was:" >&5
8403 sed 's/^/| /' conftest.$ac_ext >&5
8406 ac_cv_func_mmap_fixed_mapped=no
8408 rm -rf conftest.dSYM
8409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8414 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8415 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8416 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8418 cat >>confdefs.h <<\_ACEOF
8425 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
8426 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
8427 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8428 $as_echo_n "(cached) " >&6
8430 if test "$cross_compiling" = yes; then
8431 ac_cv_func_stat_empty_string_bug=yes
8433 cat >conftest.$ac_ext <<_ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8439 $ac_includes_default
8444 return stat ("", &sbuf) == 0;
8449 rm -f conftest$ac_exeext
8450 if { (ac_try="$ac_link"
8452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8453 *) ac_try_echo
=$ac_try;;
8455 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8456 $as_echo "$ac_try_echo") >&5
8457 (eval "$ac_link") 2>&5
8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8461 { (case "(($ac_try" in
8462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8466 $as_echo "$ac_try_echo") >&5
8467 (eval "$ac_try") 2>&5
8469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; }; then
8471 ac_cv_func_stat_empty_string_bug=no
8473 $as_echo "$as_me: program exited with status $ac_status" >&5
8474 $as_echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8478 ac_cv_func_stat_empty_string_bug=yes
8480 rm -rf conftest.dSYM
8481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8486 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
8487 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8488 if test $ac_cv_func_stat_empty_string_bug = yes; then
8489 case " $LIBOBJS " in
8490 *" stat.$ac_objext "* ) ;;
8491 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
8496 cat >>confdefs.h <<_ACEOF
8497 #define HAVE_STAT_EMPTY_STRING_BUG 1
8502 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
8503 $as_echo_n "checking for working strtod... " >&6; }
8504 if test "${ac_cv_func_strtod+set}" = set; then
8505 $as_echo_n "(cached) " >&6
8507 if test "$cross_compiling" = yes; then
8508 ac_cv_func_strtod=no
8510 cat >conftest.$ac_ext <<_ACEOF
8513 cat confdefs.h >>conftest.$ac_ext
8514 cat >>conftest.$ac_ext <<_ACEOF
8515 /* end confdefs.h. */
8517 $ac_includes_default
8525 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8526 char *string = " +69";
8529 value = strtod (string, &term);
8530 if (value != 69 || term != (string + 4))
8535 /* Under Solaris 2.4, strtod returns the wrong value for the
8536 terminating character under some conditions. */
8537 char *string = "NaN";
8539 strtod (string, &term);
8540 if (term != string && *(term - 1) == 0)
8547 rm -f conftest$ac_exeext
8548 if { (ac_try="$ac_link"
8550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8551 *) ac_try_echo
=$ac_try;;
8553 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8554 $as_echo "$ac_try_echo") >&5
8555 (eval "$ac_link") 2>&5
8557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8559 { (case "(($ac_try" in
8560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8561 *) ac_try_echo=$ac_try;;
8563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8564 $as_echo "$ac_try_echo") >&5
8565 (eval "$ac_try") 2>&5
8567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; }; then
8569 ac_cv_func_strtod=yes
8571 $as_echo "$as_me: program exited with status $ac_status" >&5
8572 $as_echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8576 ac_cv_func_strtod=no
8578 rm -rf conftest.dSYM
8579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8584 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8585 $as_echo "$ac_cv_func_strtod" >&6; }
8586 if test $ac_cv_func_strtod = no; then
8587 case " $LIBOBJS " in
8588 *" strtod.$ac_objext "* ) ;;
8589 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8593 { $as_echo "$as_me:$LINENO: checking for pow" >&5
8594 $as_echo_n "checking for pow... " >&6; }
8595 if test "${ac_cv_func_pow+set}" = set; then
8596 $as_echo_n "(cached) " >&6
8598 cat >conftest.$ac_ext <<_ACEOF
8601 cat confdefs.h >>conftest.$ac_ext
8602 cat >>conftest.$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8604 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8606 #define pow innocuous_pow
8608 /* System header to define __stub macros and hopefully few prototypes,
8609 which can conflict with char pow (); below.
8610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8611 <limits.h> exists even on freestanding compilers. */
8614 # include <limits.h>
8616 # include <assert.h>
8621 /* Override any GCC internal prototype to avoid an error.
8622 Use char because int might match the return type of a GCC
8623 builtin and then its argument prototype would still apply. */
8628 /* The GNU C library defines this for functions which it implements
8629 to always fail with ENOSYS. Some functions are actually named
8630 something starting with __ and the normal name is an alias. */
8631 #if defined __stub_pow || defined __stub___pow
8643 rm -f conftest.$ac_objext conftest$ac_exeext
8644 if { (ac_try="$ac_link"
8646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8647 *) ac_try_echo
=$ac_try;;
8649 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8650 $as_echo "$ac_try_echo") >&5
8651 (eval "$ac_link") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1
>conftest.err
8655 cat conftest.err
>&5
8656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } && {
8658 test -z "$ac_c_werror_flag" ||
8659 test ! -s conftest.err
8660 } && test -s conftest
$ac_exeext && {
8661 test "$cross_compiling" = yes ||
8662 $as_test_x conftest
$ac_exeext
8666 $as_echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.
$ac_ext >&5
8672 rm -rf conftest.dSYM
8673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8674 conftest
$ac_exeext conftest.
$ac_ext
8676 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8677 $as_echo "$ac_cv_func_pow" >&6; }
8679 if test $ac_cv_func_pow = no
; then
8680 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
8681 $as_echo_n "checking for pow in -lm... " >&6; }
8682 if test "${ac_cv_lib_m_pow+set}" = set; then
8683 $as_echo_n "(cached) " >&6
8685 ac_check_lib_save_LIBS
=$LIBS
8687 cat >conftest.
$ac_ext <<_ACEOF
8690 cat confdefs.h
>>conftest.
$ac_ext
8691 cat >>conftest.
$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any GCC internal prototype to avoid an error.
8695 Use char because int might match the return type of a GCC
8696 builtin and then its argument prototype would still apply. */
8709 rm -f conftest.
$ac_objext conftest
$ac_exeext
8710 if { (ac_try
="$ac_link"
8712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8713 *) ac_try_echo=$ac_try;;
8715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8716 $as_echo "$ac_try_echo") >&5
8717 (eval "$ac_link") 2>conftest.er1
8719 grep -v '^ *+' conftest.er1 >conftest.err
8721 cat conftest.err >&5
8722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } && {
8724 test -z "$ac_c_werror_flag" ||
8725 test ! -s conftest.err
8726 } && test -s conftest$ac_exeext && {
8727 test "$cross_compiling" = yes ||
8728 $as_test_x conftest$ac_exeext
8732 $as_echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8738 rm -rf conftest.dSYM
8739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8740 conftest$ac_exeext conftest.$ac_ext
8741 LIBS=$ac_check_lib_save_LIBS
8743 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8744 $as_echo "$ac_cv_lib_m_pow" >&6; }
8745 if test "x$ac_cv_lib_m_pow" = x""yes; then
8748 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8749 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8757 for ac_func in vprintf
8759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8760 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8761 $as_echo_n "checking for $ac_func... " >&6; }
8762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8763 $as_echo_n "(cached) " >&6
8765 cat >conftest.$ac_ext <<_ACEOF
8768 cat confdefs.h >>conftest.$ac_ext
8769 cat >>conftest.$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8773 #define $ac_func innocuous_$ac_func
8775 /* System header to define __stub macros and hopefully few prototypes,
8776 which can conflict with char $ac_func (); below.
8777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8778 <limits.h> exists even on freestanding compilers. */
8781 # include <limits.h>
8783 # include <assert.h>
8788 /* Override any GCC internal prototype to avoid an error.
8789 Use char because int might match the return type of a GCC
8790 builtin and then its argument prototype would still apply. */
8795 /* The GNU C library defines this for functions which it implements
8796 to always fail with ENOSYS. Some functions are actually named
8797 something starting with __ and the normal name is an alias. */
8798 #if defined __stub_$ac_func || defined __stub___$ac_func
8810 rm -f conftest.$ac_objext conftest$ac_exeext
8811 if { (ac_try="$ac_link"
8813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8814 *) ac_try_echo
=$ac_try;;
8816 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8817 $as_echo "$ac_try_echo") >&5
8818 (eval "$ac_link") 2>conftest.er1
8820 grep -v '^ *+' conftest.er1
>conftest.err
8822 cat conftest.err
>&5
8823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } && {
8825 test -z "$ac_c_werror_flag" ||
8826 test ! -s conftest.err
8827 } && test -s conftest
$ac_exeext && {
8828 test "$cross_compiling" = yes ||
8829 $as_test_x conftest
$ac_exeext
8831 eval "$as_ac_var=yes"
8833 $as_echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.
$ac_ext >&5
8836 eval "$as_ac_var=no"
8839 rm -rf conftest.dSYM
8840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8841 conftest
$ac_exeext conftest.
$ac_ext
8843 ac_res
=`eval 'as_val=${'$as_ac_var'}
8844 $as_echo "$as_val"'`
8845 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8846 $as_echo "$ac_res" >&6; }
8847 as_val
=`eval 'as_val=${'$as_ac_var'}
8848 $as_echo "$as_val"'`
8849 if test "x$as_val" = x
""yes; then
8850 cat >>confdefs.h
<<_ACEOF
8851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8854 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
8855 $as_echo_n "checking for _doprnt... " >&6; }
8856 if test "${ac_cv_func__doprnt+set}" = set; then
8857 $as_echo_n "(cached) " >&6
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8867 #define _doprnt innocuous__doprnt
8869 /* System header to define __stub macros and hopefully few prototypes,
8870 which can conflict with char _doprnt (); below.
8871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8872 <limits.h> exists even on freestanding compilers. */
8875 # include <limits.h>
8877 # include <assert.h>
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8889 /* The GNU C library defines this for functions which it implements
8890 to always fail with ENOSYS. Some functions are actually named
8891 something starting with __ and the normal name is an alias. */
8892 #if defined __stub__doprnt || defined __stub____doprnt
8904 rm -f conftest.
$ac_objext conftest
$ac_exeext
8905 if { (ac_try
="$ac_link"
8907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8908 *) ac_try_echo=$ac_try;;
8910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8911 $as_echo "$ac_try_echo") >&5
8912 (eval "$ac_link") 2>conftest.er1
8914 grep -v '^ *+' conftest.er1 >conftest.err
8916 cat conftest.err >&5
8917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } && {
8919 test -z "$ac_c_werror_flag" ||
8920 test ! -s conftest.err
8921 } && test -s conftest$ac_exeext && {
8922 test "$cross_compiling" = yes ||
8923 $as_test_x conftest$ac_exeext
8925 ac_cv_func__doprnt=yes
8927 $as_echo "$as_me: failed program was:" >&5
8928 sed 's/^/| /' conftest.$ac_ext >&5
8930 ac_cv_func__doprnt=no
8933 rm -rf conftest.dSYM
8934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8935 conftest$ac_exeext conftest.$ac_ext
8937 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8938 $as_echo "$ac_cv_func__doprnt" >&6; }
8939 if test "x$ac_cv_func__doprnt" = x""yes; then
8941 cat >>confdefs.h <<\_ACEOF
8942 #define HAVE_DOPRNT 1
8952 ################################################################################
8953 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
8954 $as_echo_n "checking whether to use static linking... " >&6; }
8955 # Check whether --enable-static_link was given.
8956 if test "${enable_static_link+set}" = set; then
8957 enableval=$enable_static_link; STATIC_LINK=$enableval
8962 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
8963 $as_echo "$STATIC_LINK" >&6; }
8965 ################################################################################
8968 ################################################################################
8969 { $as_echo "$as_me:$LINENO: checking file owner" >&5
8970 $as_echo_n "checking file owner... " >&6; }
8974 # Check whether --with-user was given.
8975 if test "${with_user+set}" = set; then
8976 withval=$with_user; OWNER="$withval"
8979 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
8980 $as_echo "$OWNER" >&6; }
8982 if test x$OWNER != x; then
8986 ################################################################################
8987 { $as_echo "$as_me:$LINENO: checking group owner" >&5
8988 $as_echo_n "checking group owner... " >&6; }
8991 # Check whether --with-group was given.
8992 if test "${with_group+set}" = set; then
8993 withval=$with_group; GROUP="$withval"
8996 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
8997 $as_echo "$GROUP" >&6; }
8999 if test x$GROUP != x; then
9003 ################################################################################
9004 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
9005 $as_echo_n "checking device node uid... " >&6; }
9008 # Check whether --with-device-uid was given.
9009 if test "${with_device_uid+set}" = set; then
9010 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9015 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
9016 $as_echo "$DM_DEVICE_UID" >&6; }
9018 ################################################################################
9019 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
9020 $as_echo_n "checking device node gid... " >&6; }
9023 # Check whether --with-device-gid was given.
9024 if test "${with_device_gid+set}" = set; then
9025 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9030 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
9031 $as_echo "$DM_DEVICE_GID" >&6; }
9033 ################################################################################
9034 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
9035 $as_echo_n "checking device node mode... " >&6; }
9038 # Check whether --with-device-mode was given.
9039 if test "${with_device_mode+set}" = set; then
9040 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9042 DM_DEVICE_MODE="0600"
9045 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
9046 $as_echo "$DM_DEVICE_MODE" >&6; }
9048 ################################################################################
9049 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
9050 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
9051 # Check whether --enable-lvm1_fallback was given.
9052 if test "${enable_lvm1_fallback+set}" = set; then
9053 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9058 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
9059 $as_echo "$LVM1_FALLBACK" >&6; }
9061 if test x$LVM1_FALLBACK = xyes; then
9063 cat >>confdefs.h <<\_ACEOF
9064 #define LVM1_FALLBACK 1
9069 ################################################################################
9070 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
9071 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
9073 # Check whether --with-lvm1 was given.
9074 if test "${with_lvm1+set}" = set; then
9075 withval=$with_lvm1; LVM1="$withval"
9080 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
9081 $as_echo "$LVM1" >&6; }
9083 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
9084 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
9086 $as_echo "$as_me: error: --with-lvm1 parameter invalid
9088 { (exit 1); exit 1; }; }
9091 if test x$LVM1 = xinternal; then
9093 cat >>confdefs.h <<\_ACEOF
9094 #define LVM1_INTERNAL 1
9099 ################################################################################
9100 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
9101 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
9103 # Check whether --with-pool was given.
9104 if test "${with_pool+set}" = set; then
9105 withval=$with_pool; POOL="$withval"
9110 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
9111 $as_echo "$POOL" >&6; }
9113 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
9114 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
9116 $as_echo "$as_me: error: --with-pool parameter invalid
9118 { (exit 1); exit 1; }; }
9121 if test x$POOL = xinternal; then
9123 cat >>confdefs.h <<\_ACEOF
9124 #define POOL_INTERNAL 1
9129 ################################################################################
9130 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
9131 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
9133 # Check whether --with-cluster was given.
9134 if test "${with_cluster+set}" = set; then
9135 withval=$with_cluster; CLUSTER="$withval"
9138 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
9139 $as_echo "$CLUSTER" >&6; }
9141 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
9142 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
9144 $as_echo "$as_me: error: --with-cluster parameter invalid
9146 { (exit 1); exit 1; }; }
9149 if test x$CLUSTER = xinternal; then
9151 cat >>confdefs.h <<\_ACEOF
9152 #define CLUSTER_LOCKING_INTERNAL 1
9157 ################################################################################
9158 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
9159 $as_echo_n "checking whether to include snapshots... " >&6; }
9161 # Check whether --with-snapshots was given.
9162 if test "${with_snapshots+set}" = set; then
9163 withval=$with_snapshots; SNAPSHOTS="$withval"
9165 SNAPSHOTS="internal"
9168 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
9169 $as_echo "$SNAPSHOTS" >&6; }
9171 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
9172 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
9174 $as_echo "$as_me: error: --with-snapshots parameter invalid
9176 { (exit 1); exit 1; }; }
9179 if test x$SNAPSHOTS = xinternal; then
9181 cat >>confdefs.h <<\_ACEOF
9182 #define SNAPSHOT_INTERNAL 1
9187 ################################################################################
9188 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
9189 $as_echo_n "checking whether to include mirrors... " >&6; }
9191 # Check whether --with-mirrors was given.
9192 if test "${with_mirrors+set}" = set; then
9193 withval=$with_mirrors; MIRRORS="$withval"
9198 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
9199 $as_echo "$MIRRORS" >&6; }
9201 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
9202 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
9204 $as_echo "$as_me: error: --with-mirrors parameter invalid
9206 { (exit 1); exit 1; }; }
9209 if test x$MIRRORS = xinternal; then
9211 cat >>confdefs.h <<\_ACEOF
9212 #define MIRRORED_INTERNAL 1
9217 ################################################################################
9218 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
9219 $as_echo_n "checking whether to enable readline... " >&6; }
9220 # Check whether --enable-readline was given.
9221 if test "${enable_readline+set}" = set; then
9222 enableval=$enable_readline; READLINE=$enableval
9227 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
9228 $as_echo "$READLINE" >&6; }
9230 ################################################################################
9231 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
9232 $as_echo_n "checking whether to enable realtime support... " >&6; }
9233 # Check whether --enable-realtime was given.
9234 if test "${enable_realtime+set}" = set; then
9235 enableval=$enable_realtime; REALTIME=$enableval
9238 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
9239 $as_echo "$REALTIME" >&6; }
9241 ################################################################################
9242 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
9243 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
9245 # Check whether --with-clvmd was given.
9246 if test "${with_clvmd+set}" = set; then
9247 withval=$with_clvmd; CLVMD="$withval"
9252 if test x$CLVMD = xyes; then
9255 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
9256 $as_echo "$CLVMD" >&6; }
9258 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9262 if [ `expr x
"$CLVMD" : '.*gulm.*'` != 0 ]; then
9265 if [ `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
9268 if [ `expr x
"$CLVMD" : '.*openais.*'` != 0 ]; then
9271 if [ `expr x
"$CLVMD" : '.*cman.*'` != 0 ]; then
9275 if test x$BUILDGULM = xyes; then
9276 if test x$BUILDCOROSYNC = xyes || \
9277 test x$BUILDOPENAIS = xyes; then
9278 { { $as_echo "$as_me:$LINENO: error: requested clvmd configuration is not valid" >&5
9279 $as_echo "$as_me: error: requested clvmd configuration is not valid" >&2;}
9280 { (exit 1); exit 1; }; }
9284 if test x$CLVMD != xnone; then
9287 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9288 if test -n "$ac_tool_prefix"; then
9289 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9290 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9292 $as_echo_n "checking for $ac_word... " >&6; }
9293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9294 $as_echo_n "(cached) " >&6
9298 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir=.
9306 for ac_exec_ext in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9309 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9320 if test -n "$PKG_CONFIG"; then
9321 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9322 $as_echo "$PKG_CONFIG" >&6; }
9324 { $as_echo "$as_me:$LINENO: result: no" >&5
9325 $as_echo "no" >&6; }
9330 if test -z "$ac_cv_path_PKG_CONFIG"; then
9331 ac_pt_PKG_CONFIG=$PKG_CONFIG
9332 # Extract the first word of "pkg-config", so it can be a program name with args.
9333 set dummy pkg-config; ac_word=$2
9334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9337 $as_echo_n "(cached) " >&6
9339 case $ac_pt_PKG_CONFIG in
9341 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9352 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9362 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9363 if test -n "$ac_pt_PKG_CONFIG"; then
9364 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
9365 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9367 { $as_echo "$as_me:$LINENO: result: no" >&5
9368 $as_echo "no" >&6; }
9371 if test "x$ac_pt_PKG_CONFIG" = x; then
9374 case $cross_compiling:$ac_tool_warned in
9376 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9378 ac_tool_warned=yes ;;
9380 PKG_CONFIG=$ac_pt_PKG_CONFIG
9383 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9387 if test -n "$PKG_CONFIG"; then
9388 _pkg_min_version=0.9.0
9389 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
9390 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9391 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9392 { $as_echo "$as_me:$LINENO: result: yes" >&5
9393 $as_echo "yes" >&6; }
9395 { $as_echo "$as_me:$LINENO: result: no" >&5
9396 $as_echo "no" >&6; }
9403 { $as_echo "$as_me:$LINENO: checking for PKGCONFIGINIT" >&5
9404 $as_echo_n "checking for PKGCONFIGINIT... " >&6; }
9406 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9407 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9408 elif test -n "$PKG_CONFIG"; then
9409 if test -n "$PKG_CONFIG" && \
9410 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
9411 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
9413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; then
9415 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit" 2>/dev
/null
`
9422 if test -n "$PKGCONFIGINIT_LIBS"; then
9423 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9424 elif test -n "$PKG_CONFIG"; then
9425 if test -n "$PKG_CONFIG" && \
9426 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
9427 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
9429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); }; then
9431 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit" 2>/dev
/null
`
9441 if test $pkg_failed = yes; then
9443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9444 _pkg_short_errors_supported=yes
9446 _pkg_short_errors_supported=no
9448 if test $_pkg_short_errors_supported = yes; then
9449 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
9451 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
9453 # Put the nasty error message in config.log where it belongs
9454 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9456 { $as_echo "$as_me:$LINENO: result: no" >&5
9457 $as_echo "no" >&6; }
9458 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
9459 $as_echo "pkg-config initialized" >&6; }
9460 elif test $pkg_failed = untried; then
9461 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
9462 $as_echo "pkg-config initialized" >&6; }
9464 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9465 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9466 { $as_echo "$as_me:$LINENO: result: yes" >&5
9467 $as_echo "yes" >&6; }
9477 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
9478 $as_echo "$as_me: error: bailing out" >&2;}
9479 { (exit 1); exit 1; }; }
9482 if test x$CLVMD = xall; then
9483 bailout=soft_bailout
9489 bailout=hard_bailout
9492 check_lib_no_libs() {
9499 as_ac_Lib=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" |
$as_tr_sh`
9500 { $as_echo "$as_me:$LINENO: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9501 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
9502 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
9503 $as_echo_n "(cached) " >&6
9505 ac_check_lib_save_LIBS=$LIBS
9506 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9507 cat >conftest.$ac_ext <<_ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9520 char $lib_no_libs_arg2 ();
9524 return $lib_no_libs_arg2 ();
9529 rm -f conftest.$ac_objext conftest$ac_exeext
9530 if { (ac_try="$ac_link"
9532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9533 *) ac_try_echo
=$ac_try;;
9535 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9536 $as_echo "$ac_try_echo") >&5
9537 (eval "$ac_link") 2>conftest.er1
9539 grep -v '^ *+' conftest.er1
>conftest.err
9541 cat conftest.err
>&5
9542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } && {
9544 test -z "$ac_c_werror_flag" ||
9545 test ! -s conftest.err
9546 } && test -s conftest
$ac_exeext && {
9547 test "$cross_compiling" = yes ||
9548 $as_test_x conftest
$ac_exeext
9550 eval "$as_ac_Lib=yes"
9552 $as_echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.
$ac_ext >&5
9555 eval "$as_ac_Lib=no"
9558 rm -rf conftest.dSYM
9559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_check_lib_save_LIBS
9563 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
9564 $as_echo "$as_val"'`
9565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9566 $as_echo "$ac_res" >&6; }
9567 as_val
=`eval 'as_val=${'$as_ac_Lib'}
9568 $as_echo "$as_val"'`
9569 if test "x$as_val" = x
""yes; then
9570 cat >>confdefs.h
<<_ACEOF
9571 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
9574 LIBS
="-l$lib_no_libs_arg1 $LIBS"
9580 LIBS
=$ac_check_lib_save_LIBS
9583 if test x
$BUILDGULM = xyes
; then
9586 { $as_echo "$as_me:$LINENO: checking for CCS" >&5
9587 $as_echo_n "checking for CCS... " >&6; }
9589 if test -n "$CCS_CFLAGS"; then
9590 pkg_cv_CCS_CFLAGS
="$CCS_CFLAGS"
9591 elif test -n "$PKG_CONFIG"; then
9592 if test -n "$PKG_CONFIG" && \
9593 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
9594 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
9596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; then
9598 pkg_cv_CCS_CFLAGS
=`$PKG_CONFIG --cflags "libccs" 2>/dev/null`
9605 if test -n "$CCS_LIBS"; then
9606 pkg_cv_CCS_LIBS
="$CCS_LIBS"
9607 elif test -n "$PKG_CONFIG"; then
9608 if test -n "$PKG_CONFIG" && \
9609 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
9610 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
9612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; then
9614 pkg_cv_CCS_LIBS
=`$PKG_CONFIG --libs "libccs" 2>/dev/null`
9624 if test $pkg_failed = yes; then
9626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9627 _pkg_short_errors_supported
=yes
9629 _pkg_short_errors_supported
=no
9631 if test $_pkg_short_errors_supported = yes; then
9632 CCS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libccs" 2>&1`
9634 CCS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libccs" 2>&1`
9636 # Put the nasty error message in config.log where it belongs
9637 echo "$CCS_PKG_ERRORS" >&5
9639 { $as_echo "$as_me:$LINENO: result: no" >&5
9640 $as_echo "no" >&6; }
9643 for ac_header
in ccs.h
9645 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9646 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9647 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9648 $as_echo_n "checking for $ac_header... " >&6; }
9649 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9650 $as_echo_n "(cached) " >&6
9652 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9653 $as_echo "$as_val"'`
9654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9655 $as_echo "$ac_res" >&6; }
9657 # Is the header compilable?
9658 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9659 $as_echo_n "checking $ac_header usability... " >&6; }
9660 cat >conftest.
$ac_ext <<_ACEOF
9663 cat confdefs.h
>>conftest.
$ac_ext
9664 cat >>conftest.
$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9666 $ac_includes_default
9667 #include <$ac_header>
9669 rm -f conftest.
$ac_objext
9670 if { (ac_try
="$ac_compile"
9672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9676 $as_echo "$ac_try_echo") >&5
9677 (eval "$ac_compile") 2>conftest.er1
9679 grep -v '^ *+' conftest.er1 >conftest.err
9681 cat conftest.err >&5
9682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest.$ac_objext; then
9687 ac_header_compiler=yes
9689 $as_echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 ac_header_compiler=no
9695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9696 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9697 $as_echo "$ac_header_compiler" >&6; }
9699 # Is the header present?
9700 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9701 $as_echo_n "checking $ac_header presence... " >&6; }
9702 cat >conftest.$ac_ext <<_ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9708 #include <$ac_header>
9710 if { (ac_try="$ac_cpp conftest.$ac_ext"
9712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9713 *) ac_try_echo
=$ac_try;;
9715 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9716 $as_echo "$ac_try_echo") >&5
9717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9719 grep -v '^ *+' conftest.er1
>conftest.err
9721 cat conftest.err
>&5
9722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } >/dev
/null
&& {
9724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9725 test ! -s conftest.err
9727 ac_header_preproc
=yes
9729 $as_echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.
$ac_ext >&5
9732 ac_header_preproc
=no
9735 rm -f conftest.err conftest.
$ac_ext
9736 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9737 $as_echo "$ac_header_preproc" >&6; }
9739 # So? What about this header?
9740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9742 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9743 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9745 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9746 ac_header_preproc
=yes
9749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9750 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9752 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9754 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9756 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9758 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9760 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9764 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9765 $as_echo_n "checking for $ac_header... " >&6; }
9766 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9767 $as_echo_n "(cached) " >&6
9769 eval "$as_ac_Header=\$ac_header_preproc"
9771 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9772 $as_echo "$as_val"'`
9773 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9774 $as_echo "$ac_res" >&6; }
9777 as_val
=`eval 'as_val=${'$as_ac_Header'}
9778 $as_echo "$as_val"'`
9779 if test "x$as_val" = x
""yes; then
9780 cat >>confdefs.h
<<_ACEOF
9781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9790 check_lib_no_libs ccs ccs_connect
9791 if test $NOTFOUND = 0; then
9792 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
9793 $as_echo "no pkg for libccs, using -lccs" >&6; }
9797 elif test $pkg_failed = untried
; then
9800 for ac_header
in ccs.h
9802 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9803 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9805 $as_echo_n "checking for $ac_header... " >&6; }
9806 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9807 $as_echo_n "(cached) " >&6
9809 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9810 $as_echo "$as_val"'`
9811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9812 $as_echo "$ac_res" >&6; }
9814 # Is the header compilable?
9815 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9816 $as_echo_n "checking $ac_header usability... " >&6; }
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 $ac_includes_default
9824 #include <$ac_header>
9826 rm -f conftest.
$ac_objext
9827 if { (ac_try
="$ac_compile"
9829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9830 *) ac_try_echo=$ac_try;;
9832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9833 $as_echo "$ac_try_echo") >&5
9834 (eval "$ac_compile") 2>conftest.er1
9836 grep -v '^ *+' conftest.er1 >conftest.err
9838 cat conftest.err >&5
9839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } && {
9841 test -z "$ac_c_werror_flag" ||
9842 test ! -s conftest.err
9843 } && test -s conftest.$ac_objext; then
9844 ac_header_compiler=yes
9846 $as_echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 ac_header_compiler=no
9852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9854 $as_echo "$ac_header_compiler" >&6; }
9856 # Is the header present?
9857 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9858 $as_echo_n "checking $ac_header presence... " >&6; }
9859 cat >conftest.$ac_ext <<_ACEOF
9862 cat confdefs.h >>conftest.$ac_ext
9863 cat >>conftest.$ac_ext <<_ACEOF
9864 /* end confdefs.h. */
9865 #include <$ac_header>
9867 if { (ac_try="$ac_cpp conftest.$ac_ext"
9869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9870 *) ac_try_echo
=$ac_try;;
9872 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9873 $as_echo "$ac_try_echo") >&5
9874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1
>conftest.err
9878 cat conftest.err
>&5
9879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } >/dev
/null
&& {
9881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9884 ac_header_preproc
=yes
9886 $as_echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.
$ac_ext >&5
9889 ac_header_preproc
=no
9892 rm -f conftest.err conftest.
$ac_ext
9893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9894 $as_echo "$ac_header_preproc" >&6; }
9896 # So? What about this header?
9897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9900 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9903 ac_header_preproc
=yes
9906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9907 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9909 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9911 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9913 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9915 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9917 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9921 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9922 $as_echo_n "checking for $ac_header... " >&6; }
9923 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9924 $as_echo_n "(cached) " >&6
9926 eval "$as_ac_Header=\$ac_header_preproc"
9928 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9929 $as_echo "$as_val"'`
9930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9931 $as_echo "$ac_res" >&6; }
9934 as_val
=`eval 'as_val=${'$as_ac_Header'}
9935 $as_echo "$as_val"'`
9936 if test "x$as_val" = x
""yes; then
9937 cat >>confdefs.h
<<_ACEOF
9938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9947 check_lib_no_libs ccs ccs_connect
9948 if test $NOTFOUND = 0; then
9949 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
9950 $as_echo "no pkg for libccs, using -lccs" >&6; }
9955 CCS_CFLAGS
=$pkg_cv_CCS_CFLAGS
9956 CCS_LIBS
=$pkg_cv_CCS_LIBS
9957 { $as_echo "$as_me:$LINENO: result: yes" >&5
9958 $as_echo "yes" >&6; }
9963 { $as_echo "$as_me:$LINENO: checking for GULM" >&5
9964 $as_echo_n "checking for GULM... " >&6; }
9966 if test -n "$GULM_CFLAGS"; then
9967 pkg_cv_GULM_CFLAGS
="$GULM_CFLAGS"
9968 elif test -n "$PKG_CONFIG"; then
9969 if test -n "$PKG_CONFIG" && \
9970 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
9971 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
9973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; then
9975 pkg_cv_GULM_CFLAGS
=`$PKG_CONFIG --cflags "libgulm" 2>/dev/null`
9982 if test -n "$GULM_LIBS"; then
9983 pkg_cv_GULM_LIBS
="$GULM_LIBS"
9984 elif test -n "$PKG_CONFIG"; then
9985 if test -n "$PKG_CONFIG" && \
9986 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
9987 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
9989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; then
9991 pkg_cv_GULM_LIBS
=`$PKG_CONFIG --libs "libgulm" 2>/dev/null`
10001 if test $pkg_failed = yes; then
10003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10004 _pkg_short_errors_supported
=yes
10006 _pkg_short_errors_supported
=no
10008 if test $_pkg_short_errors_supported = yes; then
10009 GULM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libgulm" 2>&1`
10011 GULM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libgulm" 2>&1`
10013 # Put the nasty error message in config.log where it belongs
10014 echo "$GULM_PKG_ERRORS" >&5
10016 { $as_echo "$as_me:$LINENO: result: no" >&5
10017 $as_echo "no" >&6; }
10020 for ac_header
in libgulm.h
10022 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10023 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10024 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10025 $as_echo_n "checking for $ac_header... " >&6; }
10026 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10027 $as_echo_n "(cached) " >&6
10029 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10030 $as_echo "$as_val"'`
10031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10032 $as_echo "$ac_res" >&6; }
10034 # Is the header compilable?
10035 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10036 $as_echo_n "checking $ac_header usability... " >&6; }
10037 cat >conftest.
$ac_ext <<_ACEOF
10040 cat confdefs.h
>>conftest.
$ac_ext
10041 cat >>conftest.
$ac_ext <<_ACEOF
10042 /* end confdefs.h. */
10043 $ac_includes_default
10044 #include <$ac_header>
10046 rm -f conftest.
$ac_objext
10047 if { (ac_try
="$ac_compile"
10048 case "(($ac_try" in
10049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10050 *) ac_try_echo=$ac_try;;
10052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10053 $as_echo "$ac_try_echo") >&5
10054 (eval "$ac_compile") 2>conftest.er1
10056 grep -v '^ *+' conftest.er1 >conftest.err
10058 cat conftest.err >&5
10059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } && {
10061 test -z "$ac_c_werror_flag" ||
10062 test ! -s conftest.err
10063 } && test -s conftest.$ac_objext; then
10064 ac_header_compiler=yes
10066 $as_echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10069 ac_header_compiler=no
10072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10073 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10074 $as_echo "$ac_header_compiler" >&6; }
10076 # Is the header present?
10077 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10078 $as_echo_n "checking $ac_header presence... " >&6; }
10079 cat >conftest.$ac_ext <<_ACEOF
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 #include <$ac_header>
10087 if { (ac_try="$ac_cpp conftest.$ac_ext"
10088 case "(($ac_try" in
10089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10090 *) ac_try_echo
=$ac_try;;
10092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10093 $as_echo "$ac_try_echo") >&5
10094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10096 grep -v '^ *+' conftest.er1
>conftest.err
10098 cat conftest.err
>&5
10099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } >/dev
/null
&& {
10101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10104 ac_header_preproc
=yes
10106 $as_echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.
$ac_ext >&5
10109 ac_header_preproc
=no
10112 rm -f conftest.err conftest.
$ac_ext
10113 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10114 $as_echo "$ac_header_preproc" >&6; }
10116 # So? What about this header?
10117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10120 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10122 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10123 ac_header_preproc
=yes
10126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10127 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10129 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10131 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10133 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10137 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10141 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10142 $as_echo_n "checking for $ac_header... " >&6; }
10143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10144 $as_echo_n "(cached) " >&6
10146 eval "$as_ac_Header=\$ac_header_preproc"
10148 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10149 $as_echo "$as_val"'`
10150 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10151 $as_echo "$ac_res" >&6; }
10154 as_val
=`eval 'as_val=${'$as_ac_Header'}
10155 $as_echo "$as_val"'`
10156 if test "x$as_val" = x
""yes; then
10157 cat >>confdefs.h
<<_ACEOF
10158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10167 check_lib_no_libs gulm lg_core_login
10168 if test $NOTFOUND = 0; then
10169 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
10170 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
10174 elif test $pkg_failed = untried
; then
10177 for ac_header
in libgulm.h
10179 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10180 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10181 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10182 $as_echo_n "checking for $ac_header... " >&6; }
10183 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10184 $as_echo_n "(cached) " >&6
10186 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10187 $as_echo "$as_val"'`
10188 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10189 $as_echo "$ac_res" >&6; }
10191 # Is the header compilable?
10192 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10193 $as_echo_n "checking $ac_header usability... " >&6; }
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200 $ac_includes_default
10201 #include <$ac_header>
10203 rm -f conftest.
$ac_objext
10204 if { (ac_try
="$ac_compile"
10205 case "(($ac_try" in
10206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10207 *) ac_try_echo=$ac_try;;
10209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10210 $as_echo "$ac_try_echo") >&5
10211 (eval "$ac_compile") 2>conftest.er1
10213 grep -v '^ *+' conftest.er1 >conftest.err
10215 cat conftest.err >&5
10216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } && {
10218 test -z "$ac_c_werror_flag" ||
10219 test ! -s conftest.err
10220 } && test -s conftest.$ac_objext; then
10221 ac_header_compiler=yes
10223 $as_echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.$ac_ext >&5
10226 ac_header_compiler=no
10229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10230 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10231 $as_echo "$ac_header_compiler" >&6; }
10233 # Is the header present?
10234 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10235 $as_echo_n "checking $ac_header presence... " >&6; }
10236 cat >conftest.$ac_ext <<_ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242 #include <$ac_header>
10244 if { (ac_try="$ac_cpp conftest.$ac_ext"
10245 case "(($ac_try" in
10246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10247 *) ac_try_echo
=$ac_try;;
10249 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10250 $as_echo "$ac_try_echo") >&5
10251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10253 grep -v '^ *+' conftest.er1
>conftest.err
10255 cat conftest.err
>&5
10256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); } >/dev
/null
&& {
10258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10259 test ! -s conftest.err
10261 ac_header_preproc
=yes
10263 $as_echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.
$ac_ext >&5
10266 ac_header_preproc
=no
10269 rm -f conftest.err conftest.
$ac_ext
10270 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10271 $as_echo "$ac_header_preproc" >&6; }
10273 # So? What about this header?
10274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10277 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10278 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10279 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10280 ac_header_preproc
=yes
10283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10284 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10286 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10288 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10290 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10292 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10294 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10298 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10299 $as_echo_n "checking for $ac_header... " >&6; }
10300 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10301 $as_echo_n "(cached) " >&6
10303 eval "$as_ac_Header=\$ac_header_preproc"
10305 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10306 $as_echo "$as_val"'`
10307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10308 $as_echo "$ac_res" >&6; }
10311 as_val
=`eval 'as_val=${'$as_ac_Header'}
10312 $as_echo "$as_val"'`
10313 if test "x$as_val" = x
""yes; then
10314 cat >>confdefs.h
<<_ACEOF
10315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10324 check_lib_no_libs gulm lg_core_login
10325 if test $NOTFOUND = 0; then
10326 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
10327 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
10332 GULM_CFLAGS
=$pkg_cv_GULM_CFLAGS
10333 GULM_LIBS
=$pkg_cv_GULM_LIBS
10334 { $as_echo "$as_me:$LINENO: result: yes" >&5
10335 $as_echo "yes" >&6; }
10340 if test x
$BUILDCMAN = xyes
; then
10343 { $as_echo "$as_me:$LINENO: checking for CMAN" >&5
10344 $as_echo_n "checking for CMAN... " >&6; }
10346 if test -n "$CMAN_CFLAGS"; then
10347 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
10348 elif test -n "$PKG_CONFIG"; then
10349 if test -n "$PKG_CONFIG" && \
10350 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
10351 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
10353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; then
10355 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
10362 if test -n "$CMAN_LIBS"; then
10363 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
10364 elif test -n "$PKG_CONFIG"; then
10365 if test -n "$PKG_CONFIG" && \
10366 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
10367 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
10369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; then
10371 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
10381 if test $pkg_failed = yes; then
10383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10384 _pkg_short_errors_supported
=yes
10386 _pkg_short_errors_supported
=no
10388 if test $_pkg_short_errors_supported = yes; then
10389 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
10391 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
10393 # Put the nasty error message in config.log where it belongs
10394 echo "$CMAN_PKG_ERRORS" >&5
10396 { $as_echo "$as_me:$LINENO: result: no" >&5
10397 $as_echo "no" >&6; }
10400 for ac_header
in libcman.h
10402 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10403 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10405 $as_echo_n "checking for $ac_header... " >&6; }
10406 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10407 $as_echo_n "(cached) " >&6
10409 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10410 $as_echo "$as_val"'`
10411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10412 $as_echo "$ac_res" >&6; }
10414 # Is the header compilable?
10415 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10416 $as_echo_n "checking $ac_header usability... " >&6; }
10417 cat >conftest.
$ac_ext <<_ACEOF
10420 cat confdefs.h
>>conftest.
$ac_ext
10421 cat >>conftest.
$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 $ac_includes_default
10424 #include <$ac_header>
10426 rm -f conftest.
$ac_objext
10427 if { (ac_try
="$ac_compile"
10428 case "(($ac_try" in
10429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10433 $as_echo "$ac_try_echo") >&5
10434 (eval "$ac_compile") 2>conftest.er1
10436 grep -v '^ *+' conftest.er1 >conftest.err
10438 cat conftest.err >&5
10439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } && {
10441 test -z "$ac_c_werror_flag" ||
10442 test ! -s conftest.err
10443 } && test -s conftest.$ac_objext; then
10444 ac_header_compiler=yes
10446 $as_echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 ac_header_compiler=no
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10453 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10454 $as_echo "$ac_header_compiler" >&6; }
10456 # Is the header present?
10457 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10458 $as_echo_n "checking $ac_header presence... " >&6; }
10459 cat >conftest.$ac_ext <<_ACEOF
10462 cat confdefs.h >>conftest.$ac_ext
10463 cat >>conftest.$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10465 #include <$ac_header>
10467 if { (ac_try="$ac_cpp conftest.$ac_ext"
10468 case "(($ac_try" in
10469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10470 *) ac_try_echo
=$ac_try;;
10472 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10473 $as_echo "$ac_try_echo") >&5
10474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } >/dev
/null
&& {
10481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10482 test ! -s conftest.err
10484 ac_header_preproc
=yes
10486 $as_echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10489 ac_header_preproc
=no
10492 rm -f conftest.err conftest.
$ac_ext
10493 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10494 $as_echo "$ac_header_preproc" >&6; }
10496 # So? What about this header?
10497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10500 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10502 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10503 ac_header_preproc
=yes
10506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10507 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10508 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10509 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10511 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10512 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10513 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10514 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10515 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10516 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10517 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10522 $as_echo_n "checking for $ac_header... " >&6; }
10523 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10524 $as_echo_n "(cached) " >&6
10526 eval "$as_ac_Header=\$ac_header_preproc"
10528 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10529 $as_echo "$as_val"'`
10530 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10531 $as_echo "$ac_res" >&6; }
10534 as_val
=`eval 'as_val=${'$as_ac_Header'}
10535 $as_echo "$as_val"'`
10536 if test "x$as_val" = x
""yes; then
10537 cat >>confdefs.h
<<_ACEOF
10538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10547 check_lib_no_libs cman cman_init
10548 if test $NOTFOUND = 0; then
10549 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
10550 $as_echo "no pkg for libcman, using -lcman" >&6; }
10554 elif test $pkg_failed = untried
; then
10557 for ac_header
in libcman.h
10559 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10560 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10561 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10562 $as_echo_n "checking for $ac_header... " >&6; }
10563 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10564 $as_echo_n "(cached) " >&6
10566 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10567 $as_echo "$as_val"'`
10568 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10569 $as_echo "$ac_res" >&6; }
10571 # Is the header compilable?
10572 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10573 $as_echo_n "checking $ac_header usability... " >&6; }
10574 cat >conftest.
$ac_ext <<_ACEOF
10577 cat confdefs.h
>>conftest.
$ac_ext
10578 cat >>conftest.
$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10580 $ac_includes_default
10581 #include <$ac_header>
10583 rm -f conftest.
$ac_objext
10584 if { (ac_try
="$ac_compile"
10585 case "(($ac_try" in
10586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10587 *) ac_try_echo=$ac_try;;
10589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10590 $as_echo "$ac_try_echo") >&5
10591 (eval "$ac_compile") 2>conftest.er1
10593 grep -v '^ *+' conftest.er1 >conftest.err
10595 cat conftest.err >&5
10596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } && {
10598 test -z "$ac_c_werror_flag" ||
10599 test ! -s conftest.err
10600 } && test -s conftest.$ac_objext; then
10601 ac_header_compiler=yes
10603 $as_echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 ac_header_compiler=no
10609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10610 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10611 $as_echo "$ac_header_compiler" >&6; }
10613 # Is the header present?
10614 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10615 $as_echo_n "checking $ac_header presence... " >&6; }
10616 cat >conftest.$ac_ext <<_ACEOF
10619 cat confdefs.h >>conftest.$ac_ext
10620 cat >>conftest.$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10622 #include <$ac_header>
10624 if { (ac_try="$ac_cpp conftest.$ac_ext"
10625 case "(($ac_try" in
10626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10627 *) ac_try_echo
=$ac_try;;
10629 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10630 $as_echo "$ac_try_echo") >&5
10631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } >/dev
/null
&& {
10638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10639 test ! -s conftest.err
10641 ac_header_preproc
=yes
10643 $as_echo "$as_me: failed program was:" >&5
10644 sed 's/^/| /' conftest.
$ac_ext >&5
10646 ac_header_preproc
=no
10649 rm -f conftest.err conftest.
$ac_ext
10650 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10651 $as_echo "$ac_header_preproc" >&6; }
10653 # So? What about this header?
10654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10657 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10659 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10660 ac_header_preproc
=yes
10663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10664 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10666 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10668 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10670 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10672 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10674 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10678 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10679 $as_echo_n "checking for $ac_header... " >&6; }
10680 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10681 $as_echo_n "(cached) " >&6
10683 eval "$as_ac_Header=\$ac_header_preproc"
10685 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10686 $as_echo "$as_val"'`
10687 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10688 $as_echo "$ac_res" >&6; }
10691 as_val
=`eval 'as_val=${'$as_ac_Header'}
10692 $as_echo "$as_val"'`
10693 if test "x$as_val" = x
""yes; then
10694 cat >>confdefs.h
<<_ACEOF
10695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10704 check_lib_no_libs cman cman_init
10705 if test $NOTFOUND = 0; then
10706 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
10707 $as_echo "no pkg for libcman, using -lcman" >&6; }
10712 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
10713 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
10714 { $as_echo "$as_me:$LINENO: result: yes" >&5
10715 $as_echo "yes" >&6; }
10722 if test x
$BUILDCOROSYNC = xyes || \
10723 test x
$BUILDOPENAIS = xyes
; then
10726 { $as_echo "$as_me:$LINENO: checking for COROSYNC" >&5
10727 $as_echo_n "checking for COROSYNC... " >&6; }
10729 if test -n "$COROSYNC_CFLAGS"; then
10730 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
10731 elif test -n "$PKG_CONFIG"; then
10732 if test -n "$PKG_CONFIG" && \
10733 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
10734 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
10736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; then
10738 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
10745 if test -n "$COROSYNC_LIBS"; then
10746 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
10747 elif test -n "$PKG_CONFIG"; then
10748 if test -n "$PKG_CONFIG" && \
10749 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
10750 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
10752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; then
10754 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
10764 if test $pkg_failed = yes; then
10766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10767 _pkg_short_errors_supported
=yes
10769 _pkg_short_errors_supported
=no
10771 if test $_pkg_short_errors_supported = yes; then
10772 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
10774 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
10776 # Put the nasty error message in config.log where it belongs
10777 echo "$COROSYNC_PKG_ERRORS" >&5
10779 { $as_echo "$as_me:$LINENO: result: no" >&5
10780 $as_echo "no" >&6; }
10782 elif test $pkg_failed = untried
; then
10785 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
10786 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
10787 { $as_echo "$as_me:$LINENO: result: yes" >&5
10788 $as_echo "yes" >&6; }
10794 if test x
$BUILDCOROSYNC = xyes
; then
10797 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
10798 $as_echo_n "checking for QUORUM... " >&6; }
10800 if test -n "$QUORUM_CFLAGS"; then
10801 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
10802 elif test -n "$PKG_CONFIG"; then
10803 if test -n "$PKG_CONFIG" && \
10804 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
10805 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
10807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; then
10809 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
10816 if test -n "$QUORUM_LIBS"; then
10817 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
10818 elif test -n "$PKG_CONFIG"; then
10819 if test -n "$PKG_CONFIG" && \
10820 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
10821 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
10823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; then
10825 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
10835 if test $pkg_failed = yes; then
10837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10838 _pkg_short_errors_supported
=yes
10840 _pkg_short_errors_supported
=no
10842 if test $_pkg_short_errors_supported = yes; then
10843 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
10845 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
10847 # Put the nasty error message in config.log where it belongs
10848 echo "$QUORUM_PKG_ERRORS" >&5
10850 { $as_echo "$as_me:$LINENO: result: no" >&5
10851 $as_echo "no" >&6; }
10853 elif test $pkg_failed = untried
; then
10856 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
10857 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
10858 { $as_echo "$as_me:$LINENO: result: yes" >&5
10859 $as_echo "yes" >&6; }
10866 if test x
$BUILDOPENAIS = xyes
; then
10869 { $as_echo "$as_me:$LINENO: checking for SALCK" >&5
10870 $as_echo_n "checking for SALCK... " >&6; }
10872 if test -n "$SALCK_CFLAGS"; then
10873 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
10874 elif test -n "$PKG_CONFIG"; then
10875 if test -n "$PKG_CONFIG" && \
10876 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
10877 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
10879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; then
10881 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
10888 if test -n "$SALCK_LIBS"; then
10889 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
10890 elif test -n "$PKG_CONFIG"; then
10891 if test -n "$PKG_CONFIG" && \
10892 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
10893 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
10895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; then
10897 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
10907 if test $pkg_failed = yes; then
10909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10910 _pkg_short_errors_supported
=yes
10912 _pkg_short_errors_supported
=no
10914 if test $_pkg_short_errors_supported = yes; then
10915 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
10917 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
10919 # Put the nasty error message in config.log where it belongs
10920 echo "$SALCK_PKG_ERRORS" >&5
10922 { $as_echo "$as_me:$LINENO: result: no" >&5
10923 $as_echo "no" >&6; }
10925 elif test $pkg_failed = untried
; then
10928 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
10929 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
10930 { $as_echo "$as_me:$LINENO: result: yes" >&5
10931 $as_echo "yes" >&6; }
10939 if test x
$CHECKCONFDB = xyes
; then
10942 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
10943 $as_echo_n "checking for CONFDB... " >&6; }
10945 if test -n "$CONFDB_CFLAGS"; then
10946 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
10947 elif test -n "$PKG_CONFIG"; then
10948 if test -n "$PKG_CONFIG" && \
10949 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
10950 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
10952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); }; then
10954 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
10961 if test -n "$CONFDB_LIBS"; then
10962 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
10963 elif test -n "$PKG_CONFIG"; then
10964 if test -n "$PKG_CONFIG" && \
10965 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
10966 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
10968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; then
10970 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
10980 if test $pkg_failed = yes; then
10982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10983 _pkg_short_errors_supported
=yes
10985 _pkg_short_errors_supported
=no
10987 if test $_pkg_short_errors_supported = yes; then
10988 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
10990 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
10992 # Put the nasty error message in config.log where it belongs
10993 echo "$CONFDB_PKG_ERRORS" >&5
10995 { $as_echo "$as_me:$LINENO: result: no" >&5
10996 $as_echo "no" >&6; }
10998 elif test $pkg_failed = untried
; then
11001 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
11002 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
11003 { $as_echo "$as_me:$LINENO: result: yes" >&5
11004 $as_echo "yes" >&6; }
11009 for ac_header
in corosync
/confdb.h
11011 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11012 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11013 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11014 $as_echo_n "checking for $ac_header... " >&6; }
11015 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11016 $as_echo_n "(cached) " >&6
11018 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11019 $as_echo "$as_val"'`
11020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11021 $as_echo "$ac_res" >&6; }
11023 # Is the header compilable?
11024 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11025 $as_echo_n "checking $ac_header usability... " >&6; }
11026 cat >conftest.
$ac_ext <<_ACEOF
11029 cat confdefs.h
>>conftest.
$ac_ext
11030 cat >>conftest.
$ac_ext <<_ACEOF
11031 /* end confdefs.h. */
11032 $ac_includes_default
11033 #include <$ac_header>
11035 rm -f conftest.
$ac_objext
11036 if { (ac_try
="$ac_compile"
11037 case "(($ac_try" in
11038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11042 $as_echo "$ac_try_echo") >&5
11043 (eval "$ac_compile") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && {
11050 test -z "$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11052 } && test -s conftest.$ac_objext; then
11053 ac_header_compiler=yes
11055 $as_echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 ac_header_compiler=no
11061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11062 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11063 $as_echo "$ac_header_compiler" >&6; }
11065 # Is the header present?
11066 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11067 $as_echo_n "checking $ac_header presence... " >&6; }
11068 cat >conftest.$ac_ext <<_ACEOF
11071 cat confdefs.h >>conftest.$ac_ext
11072 cat >>conftest.$ac_ext <<_ACEOF
11073 /* end confdefs.h. */
11074 #include <$ac_header>
11076 if { (ac_try="$ac_cpp conftest.$ac_ext"
11077 case "(($ac_try" in
11078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11079 *) ac_try_echo
=$ac_try;;
11081 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11082 $as_echo "$ac_try_echo") >&5
11083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11085 grep -v '^ *+' conftest.er1
>conftest.err
11087 cat conftest.err
>&5
11088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); } >/dev
/null
&& {
11090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11091 test ! -s conftest.err
11093 ac_header_preproc
=yes
11095 $as_echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.
$ac_ext >&5
11098 ac_header_preproc
=no
11101 rm -f conftest.err conftest.
$ac_ext
11102 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11103 $as_echo "$ac_header_preproc" >&6; }
11105 # So? What about this header?
11106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11109 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11112 ac_header_preproc
=yes
11115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11116 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11118 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11120 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11122 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11126 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11130 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11131 $as_echo_n "checking for $ac_header... " >&6; }
11132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11133 $as_echo_n "(cached) " >&6
11135 eval "$as_ac_Header=\$ac_header_preproc"
11137 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11138 $as_echo "$as_val"'`
11139 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11140 $as_echo "$ac_res" >&6; }
11143 as_val
=`eval 'as_val=${'$as_ac_Header'}
11144 $as_echo "$as_val"'`
11145 if test "x$as_val" = x
""yes; then
11146 cat >>confdefs.h
<<_ACEOF
11147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11157 if test x
$HAVE_CONFDB != xyes
&& \
11158 test x
$HAVE_CONFDB_H = xyes
; then
11159 check_lib_no_libs confdb confdb_initialize
11160 { $as_echo "$as_me:$LINENO: result: no pkg for confdb, using -lconfdb" >&5
11161 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
11162 CONFDB_LIBS
="-lconfdb"
11166 if test x
$BUILDCOROSYNC = xyes
&& \
11167 test x
$HAVE_CONFDB != xyes
&&
11168 test x
$CLVMD != xall
; then
11169 { { $as_echo "$as_me:$LINENO: error: bailing out... confdb library is required" >&5
11170 $as_echo "$as_me: error: bailing out... confdb library is required" >&2;}
11171 { (exit 1); exit 1; }; }
11175 if test x
$CHECKCPG = xyes
; then
11178 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11179 $as_echo_n "checking for CPG... " >&6; }
11181 if test -n "$CPG_CFLAGS"; then
11182 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
11183 elif test -n "$PKG_CONFIG"; then
11184 if test -n "$PKG_CONFIG" && \
11185 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11186 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; then
11190 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
11197 if test -n "$CPG_LIBS"; then
11198 pkg_cv_CPG_LIBS
="$CPG_LIBS"
11199 elif test -n "$PKG_CONFIG"; then
11200 if test -n "$PKG_CONFIG" && \
11201 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11202 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; then
11206 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
11216 if test $pkg_failed = yes; then
11218 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11219 _pkg_short_errors_supported
=yes
11221 _pkg_short_errors_supported
=no
11223 if test $_pkg_short_errors_supported = yes; then
11224 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11226 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11228 # Put the nasty error message in config.log where it belongs
11229 echo "$CPG_PKG_ERRORS" >&5
11231 { $as_echo "$as_me:$LINENO: result: no" >&5
11232 $as_echo "no" >&6; }
11234 elif test $pkg_failed = untried
; then
11237 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
11238 CPG_LIBS
=$pkg_cv_CPG_LIBS
11239 { $as_echo "$as_me:$LINENO: result: yes" >&5
11240 $as_echo "yes" >&6; }
11245 if test x
$CHECKDLM = xyes
; then
11248 { $as_echo "$as_me:$LINENO: checking for DLM" >&5
11249 $as_echo_n "checking for DLM... " >&6; }
11251 if test -n "$DLM_CFLAGS"; then
11252 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
11253 elif test -n "$PKG_CONFIG"; then
11254 if test -n "$PKG_CONFIG" && \
11255 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
11256 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
11258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; then
11260 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
11267 if test -n "$DLM_LIBS"; then
11268 pkg_cv_DLM_LIBS
="$DLM_LIBS"
11269 elif test -n "$PKG_CONFIG"; then
11270 if test -n "$PKG_CONFIG" && \
11271 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
11272 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
11274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; then
11276 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
11286 if test $pkg_failed = yes; then
11288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11289 _pkg_short_errors_supported
=yes
11291 _pkg_short_errors_supported
=no
11293 if test $_pkg_short_errors_supported = yes; then
11294 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
11296 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
11298 # Put the nasty error message in config.log where it belongs
11299 echo "$DLM_PKG_ERRORS" >&5
11301 { $as_echo "$as_me:$LINENO: result: no" >&5
11302 $as_echo "no" >&6; }
11305 for ac_header
in libdlm.h
11307 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11309 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11310 $as_echo_n "checking for $ac_header... " >&6; }
11311 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11312 $as_echo_n "(cached) " >&6
11314 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11315 $as_echo "$as_val"'`
11316 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11317 $as_echo "$ac_res" >&6; }
11319 # Is the header compilable?
11320 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11321 $as_echo_n "checking $ac_header usability... " >&6; }
11322 cat >conftest.
$ac_ext <<_ACEOF
11325 cat confdefs.h
>>conftest.
$ac_ext
11326 cat >>conftest.
$ac_ext <<_ACEOF
11327 /* end confdefs.h. */
11328 $ac_includes_default
11329 #include <$ac_header>
11331 rm -f conftest.
$ac_objext
11332 if { (ac_try
="$ac_compile"
11333 case "(($ac_try" in
11334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11335 *) ac_try_echo=$ac_try;;
11337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11338 $as_echo "$ac_try_echo") >&5
11339 (eval "$ac_compile") 2>conftest.er1
11341 grep -v '^ *+' conftest.er1 >conftest.err
11343 cat conftest.err >&5
11344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } && {
11346 test -z "$ac_c_werror_flag" ||
11347 test ! -s conftest.err
11348 } && test -s conftest.$ac_objext; then
11349 ac_header_compiler=yes
11351 $as_echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.$ac_ext >&5
11354 ac_header_compiler=no
11357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11358 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11359 $as_echo "$ac_header_compiler" >&6; }
11361 # Is the header present?
11362 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11363 $as_echo_n "checking $ac_header presence... " >&6; }
11364 cat >conftest.$ac_ext <<_ACEOF
11367 cat confdefs.h >>conftest.$ac_ext
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 #include <$ac_header>
11372 if { (ac_try="$ac_cpp conftest.$ac_ext"
11373 case "(($ac_try" in
11374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11375 *) ac_try_echo
=$ac_try;;
11377 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11378 $as_echo "$ac_try_echo") >&5
11379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11381 grep -v '^ *+' conftest.er1
>conftest.err
11383 cat conftest.err
>&5
11384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } >/dev
/null
&& {
11386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11387 test ! -s conftest.err
11389 ac_header_preproc
=yes
11391 $as_echo "$as_me: failed program was:" >&5
11392 sed 's/^/| /' conftest.
$ac_ext >&5
11394 ac_header_preproc
=no
11397 rm -f conftest.err conftest.
$ac_ext
11398 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11399 $as_echo "$ac_header_preproc" >&6; }
11401 # So? What about this header?
11402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11405 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11407 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11408 ac_header_preproc
=yes
11411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11412 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11414 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11416 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11418 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11420 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11422 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11426 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11427 $as_echo_n "checking for $ac_header... " >&6; }
11428 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11429 $as_echo_n "(cached) " >&6
11431 eval "$as_ac_Header=\$ac_header_preproc"
11433 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11434 $as_echo "$as_val"'`
11435 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11436 $as_echo "$ac_res" >&6; }
11439 as_val
=`eval 'as_val=${'$as_ac_Header'}
11440 $as_echo "$as_val"'`
11441 if test "x$as_val" = x
""yes; then
11442 cat >>confdefs.h
<<_ACEOF
11443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11452 check_lib_no_libs dlm dlm_lock
-lpthread
11453 if test $NOTFOUND = 0; then
11454 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
11455 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
11456 DLM_LIBS
="-ldlm -lpthread"
11459 elif test $pkg_failed = untried
; then
11462 for ac_header
in libdlm.h
11464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11465 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11467 $as_echo_n "checking for $ac_header... " >&6; }
11468 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11469 $as_echo_n "(cached) " >&6
11471 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11472 $as_echo "$as_val"'`
11473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11474 $as_echo "$ac_res" >&6; }
11476 # Is the header compilable?
11477 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11478 $as_echo_n "checking $ac_header usability... " >&6; }
11479 cat >conftest.
$ac_ext <<_ACEOF
11482 cat confdefs.h
>>conftest.
$ac_ext
11483 cat >>conftest.
$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 $ac_includes_default
11486 #include <$ac_header>
11488 rm -f conftest.
$ac_objext
11489 if { (ac_try
="$ac_compile"
11490 case "(($ac_try" in
11491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11495 $as_echo "$ac_try_echo") >&5
11496 (eval "$ac_compile") 2>conftest.er1
11498 grep -v '^ *+' conftest.er1 >conftest.err
11500 cat conftest.err >&5
11501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } && {
11503 test -z "$ac_c_werror_flag" ||
11504 test ! -s conftest.err
11505 } && test -s conftest.$ac_objext; then
11506 ac_header_compiler=yes
11508 $as_echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 ac_header_compiler=no
11514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11515 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11516 $as_echo "$ac_header_compiler" >&6; }
11518 # Is the header present?
11519 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11520 $as_echo_n "checking $ac_header presence... " >&6; }
11521 cat >conftest.$ac_ext <<_ACEOF
11524 cat confdefs.h >>conftest.$ac_ext
11525 cat >>conftest.$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11527 #include <$ac_header>
11529 if { (ac_try="$ac_cpp conftest.$ac_ext"
11530 case "(($ac_try" in
11531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11532 *) ac_try_echo
=$ac_try;;
11534 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11535 $as_echo "$ac_try_echo") >&5
11536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11538 grep -v '^ *+' conftest.er1
>conftest.err
11540 cat conftest.err
>&5
11541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } >/dev
/null
&& {
11543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11544 test ! -s conftest.err
11546 ac_header_preproc
=yes
11548 $as_echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.
$ac_ext >&5
11551 ac_header_preproc
=no
11554 rm -f conftest.err conftest.
$ac_ext
11555 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11556 $as_echo "$ac_header_preproc" >&6; }
11558 # So? What about this header?
11559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11562 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11564 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11565 ac_header_preproc
=yes
11568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11569 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11571 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11573 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11575 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11577 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11579 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11583 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11584 $as_echo_n "checking for $ac_header... " >&6; }
11585 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11586 $as_echo_n "(cached) " >&6
11588 eval "$as_ac_Header=\$ac_header_preproc"
11590 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11591 $as_echo "$as_val"'`
11592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11593 $as_echo "$ac_res" >&6; }
11596 as_val
=`eval 'as_val=${'$as_ac_Header'}
11597 $as_echo "$as_val"'`
11598 if test "x$as_val" = x
""yes; then
11599 cat >>confdefs.h
<<_ACEOF
11600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11609 check_lib_no_libs dlm dlm_lock
-lpthread
11610 if test $NOTFOUND = 0; then
11611 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
11612 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
11613 DLM_LIBS
="-ldlm -lpthread"
11617 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
11618 DLM_LIBS
=$pkg_cv_DLM_LIBS
11619 { $as_echo "$as_me:$LINENO: result: yes" >&5
11620 $as_echo "yes" >&6; }
11625 if test x
$CLVMD = xall
; then
11627 if test x
$HAVE_CCS = xyes
&& \
11628 test x
$HAVE_GULM = xyes
; then
11629 { $as_echo "$as_me:$LINENO: result: Enabling clvmd gulm cluster manager" >&5
11630 $as_echo "Enabling clvmd gulm cluster manager" >&6; }
11631 CLVMD
="$CLVMD,gulm"
11633 if test x
$HAVE_CMAN = xyes
&& \
11634 test x
$HAVE_DLM = xyes
; then
11635 { $as_echo "$as_me:$LINENO: result: Enabling clvmd cman cluster manager" >&5
11636 $as_echo "Enabling clvmd cman cluster manager" >&6; }
11637 CLVMD
="$CLVMD,cman"
11639 if test x
$HAVE_COROSYNC = xyes
&& \
11640 test x
$HAVE_QUORUM = xyes
&& \
11641 test x
$HAVE_CPG = xyes
&& \
11642 test x
$HAVE_DLM = xyes
&& \
11643 test x
$HAVE_CONFDB = xyes
; then
11644 { $as_echo "$as_me:$LINENO: result: Enabling clvmd corosync cluster manager" >&5
11645 $as_echo "Enabling clvmd corosync cluster manager" >&6; }
11646 CLVMD
="$CLVMD,corosync"
11648 if test x
$HAVE_COROSYNC = xyes
&& \
11649 test x
$HAVE_CPG = xyes
&& \
11650 test x
$HAVE_SALCK = xyes
; then
11651 { $as_echo "$as_me:$LINENO: result: Enabling clvmd openais cluster manager" >&5
11652 $as_echo "Enabling clvmd openais cluster manager" >&6; }
11653 CLVMD
="$CLVMD,openais"
11655 if test x
$CLVMD = xnone
; then
11656 { $as_echo "$as_me:$LINENO: result: Disabling clvmd build. No cluster manager detected." >&5
11657 $as_echo "Disabling clvmd build. No cluster manager detected." >&6; }
11661 ################################################################################
11662 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon" >&5
11663 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; }
11664 # Check whether --enable-cmirrord was given.
11665 if test "${enable_cmirrord+set}" = set; then
11666 enableval
=$enable_cmirrord; CMIRRORD
=$enableval
11671 { $as_echo "$as_me:$LINENO: result: $CMIRRORD" >&5
11672 $as_echo "$CMIRRORD" >&6; }
11674 BUILD_CMIRRORD
=$CMIRRORD
11676 ################################################################################
11679 if test "x$BUILD_CMIRRORD" = xyes
; then
11681 # Check whether --with-cmirrord-pidfile was given.
11682 if test "${with_cmirrord_pidfile+set}" = set; then
11683 withval
=$with_cmirrord_pidfile; cat >>confdefs.h
<<_ACEOF
11684 #define CMIRRORD_PIDFILE "$withval"
11688 cat >>confdefs.h
<<_ACEOF
11689 #define CMIRRORD_PIDFILE "/var/run/cmirrord.pid"
11696 ################################################################################
11697 if [ "x$BUILD_CMIRRORD" = xyes
]; then
11699 # FIXME: ALSO NEED TO CHECK FOR CHECKPOINT MODULE
11700 # FIXME: Merge this with the new clvmd logic
11704 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11705 $as_echo_n "checking for CPG... " >&6; }
11707 if test -n "$CPG_CFLAGS"; then
11708 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
11709 elif test -n "$PKG_CONFIG"; then
11710 if test -n "$PKG_CONFIG" && \
11711 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11712 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; then
11716 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
11723 if test -n "$CPG_LIBS"; then
11724 pkg_cv_CPG_LIBS
="$CPG_LIBS"
11725 elif test -n "$PKG_CONFIG"; then
11726 if test -n "$PKG_CONFIG" && \
11727 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11728 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; then
11732 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
11742 if test $pkg_failed = yes; then
11744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11745 _pkg_short_errors_supported
=yes
11747 _pkg_short_errors_supported
=no
11749 if test $_pkg_short_errors_supported = yes; then
11750 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11752 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11754 # Put the nasty error message in config.log where it belongs
11755 echo "$CPG_PKG_ERRORS" >&5
11757 { $as_echo "$as_me:$LINENO: result: no" >&5
11758 $as_echo "no" >&6; }
11759 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
11760 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
11762 elif test $pkg_failed = untried
; then
11763 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
11764 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
11767 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
11768 CPG_LIBS
=$pkg_cv_CPG_LIBS
11769 { $as_echo "$as_me:$LINENO: result: yes" >&5
11770 $as_echo "yes" >&6; }
11775 ################################################################################
11776 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
11777 $as_echo_n "checking whether to enable debugging... " >&6; }
11778 # Check whether --enable-debug was given.
11779 if test "${enable_debug+set}" = set; then
11780 enableval
=$enable_debug; DEBUG
=$enableval
11785 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
11786 $as_echo "$DEBUG" >&6; }
11788 if test x
$DEBUG = xyes
; then
11794 ################################################################################
11795 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
11796 $as_echo_n "checking for C optimisation flag... " >&6; }
11798 # Check whether --with-optimisation was given.
11799 if test "${with_optimisation+set}" = set; then
11800 withval
=$with_optimisation; COPTIMISE_FLAG
="$withval"
11803 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
11804 $as_echo "$COPTIMISE_FLAG" >&6; }
11806 ################################################################################
11807 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
11808 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
11809 # Check whether --enable-profiling was given.
11810 if test "${enable_profiling+set}" = set; then
11811 enableval
=$enable_profiling; PROFILING
=$enableval
11816 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
11817 $as_echo "$PROFILING" >&6; }
11819 if test "x$PROFILING" = xyes
; then
11820 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
11821 # Extract the first word of "lcov", so it can be a program name with args.
11822 set dummy lcov
; ac_word
=$2
11823 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11824 $as_echo_n "checking for $ac_word... " >&6; }
11825 if test "${ac_cv_path_LCOV+set}" = set; then
11826 $as_echo_n "(cached) " >&6
11830 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
11833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11834 for as_dir
in $PATH
11837 test -z "$as_dir" && as_dir
=.
11838 for ac_exec_ext
in '' $ac_executable_extensions; do
11839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11840 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
11841 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV
="no"
11852 LCOV
=$ac_cv_path_LCOV
11853 if test -n "$LCOV"; then
11854 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
11855 $as_echo "$LCOV" >&6; }
11857 { $as_echo "$as_me:$LINENO: result: no" >&5
11858 $as_echo "no" >&6; }
11862 # Extract the first word of "genhtml", so it can be a program name with args.
11863 set dummy genhtml
; ac_word
=$2
11864 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11865 $as_echo_n "checking for $ac_word... " >&6; }
11866 if test "${ac_cv_path_GENHTML+set}" = set; then
11867 $as_echo_n "(cached) " >&6
11871 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
11882 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML
="no"
11893 GENHTML
=$ac_cv_path_GENHTML
11894 if test -n "$GENHTML"; then
11895 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
11896 $as_echo "$GENHTML" >&6; }
11898 { $as_echo "$as_me:$LINENO: result: no" >&5
11899 $as_echo "no" >&6; }
11903 if test "$LCOV" = no
-o "$GENHTML" = no
; then
11904 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
11905 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
11906 { (exit 1); exit 1; }; }
11910 ################################################################################
11911 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
11912 $as_echo_n "checking whether to use device-mapper... " >&6; }
11913 # Check whether --enable-devmapper was given.
11914 if test "${enable_devmapper+set}" = set; then
11915 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
11918 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
11919 $as_echo "$DEVMAPPER" >&6; }
11921 if test x
$DEVMAPPER = xyes
; then
11923 cat >>confdefs.h
<<\_ACEOF
11924 #define DEVMAPPER_SUPPORT 1
11929 ################################################################################
11930 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
11931 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
11932 # Check whether --enable-udev_sync was given.
11933 if test "${enable_udev_sync+set}" = set; then
11934 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
11939 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
11940 $as_echo "$UDEV_SYNC" >&6; }
11942 if test x
$UDEV_SYNC = xyes
; then
11944 cat >>confdefs.h
<<\_ACEOF
11945 #define UDEV_SYNC_SUPPORT 1
11950 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
11951 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
11952 # Check whether --enable-udev_rules was given.
11953 if test "${enable_udev_rules+set}" = set; then
11954 enableval
=$enable_udev_rules; UDEV_RULES
=$enableval
11956 UDEV_RULES
=$UDEV_SYNC
11959 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
11960 $as_echo "$UDEV_RULES" >&6; }
11962 ################################################################################
11963 # Check whether --enable-compat was given.
11964 if test "${enable_compat+set}" = set; then
11965 enableval
=$enable_compat; DM_COMPAT
=$enableval
11971 ################################################################################
11972 # Check whether --enable-ioctl was given.
11973 if test "${enable_ioctl+set}" = set; then
11974 enableval
=$enable_ioctl; DM_IOCTLS
=$enableval
11978 ################################################################################
11979 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
11980 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
11981 # Check whether --enable-o_direct was given.
11982 if test "${enable_o_direct+set}" = set; then
11983 enableval
=$enable_o_direct; ODIRECT
=$enableval
11986 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
11987 $as_echo "$ODIRECT" >&6; }
11989 if test x
$ODIRECT = xyes
; then
11991 cat >>confdefs.h
<<\_ACEOF
11992 #define O_DIRECT_SUPPORT 1
11997 ################################################################################
11998 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
11999 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12000 # Check whether --enable-applib was given.
12001 if test "${enable_applib+set}" = set; then
12002 enableval
=$enable_applib; APPLIB
=$enableval
12007 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12008 $as_echo "$APPLIB" >&6; }
12010 test x
$APPLIB = xyes \
12011 && LVM2APP_LIB
=-llvm2app \
12014 ################################################################################
12015 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12016 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12017 # Check whether --enable-cmdlib was given.
12018 if test "${enable_cmdlib+set}" = set; then
12019 enableval
=$enable_cmdlib; CMDLIB
=$enableval
12024 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12025 $as_echo "$CMDLIB" >&6; }
12027 test x
$CMDLIB = xyes \
12028 && LVM2CMD_LIB
=-llvm2cmd \
12031 ################################################################################
12032 # Check whether --enable-pkgconfig was given.
12033 if test "${enable_pkgconfig+set}" = set; then
12034 enableval
=$enable_pkgconfig; PKGCONFIG
=$enableval
12040 ################################################################################
12041 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12042 $as_echo_n "checking whether to install fsadm... " >&6; }
12043 # Check whether --enable-fsadm was given.
12044 if test "${enable_fsadm+set}" = set; then
12045 enableval
=$enable_fsadm; FSADM
=$enableval
12048 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12049 $as_echo "$FSADM" >&6; }
12051 ################################################################################
12052 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12053 $as_echo_n "checking whether to use dmeventd... " >&6; }
12054 # Check whether --enable-dmeventd was given.
12055 if test "${enable_dmeventd+set}" = set; then
12056 enableval
=$enable_dmeventd; DMEVENTD
=$enableval
12059 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12060 $as_echo "$DMEVENTD" >&6; }
12062 BUILD_DMEVENTD
=$DMEVENTD
12064 if test x
$DMEVENTD = xyes
; then
12065 if test x
$MIRRORS != xinternal
; then
12066 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12068 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12070 { (exit 1); exit 1; }; }
12072 if test x
$CMDLIB = xno
; then
12073 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12075 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12077 { (exit 1); exit 1; }; }
12081 if test x
$DMEVENTD = xyes
; then
12083 cat >>confdefs.h
<<\_ACEOF
12089 ################################################################################
12091 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12092 $as_echo_n "checking for getline in -lc... " >&6; }
12093 if test "${ac_cv_lib_c_getline+set}" = set; then
12094 $as_echo_n "(cached) " >&6
12096 ac_check_lib_save_LIBS
=$LIBS
12098 cat >conftest.
$ac_ext <<_ACEOF
12101 cat confdefs.h
>>conftest.
$ac_ext
12102 cat >>conftest.
$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12120 rm -f conftest.
$ac_objext conftest
$ac_exeext
12121 if { (ac_try
="$ac_link"
12122 case "(($ac_try" in
12123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12124 *) ac_try_echo=$ac_try;;
12126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12127 $as_echo "$ac_try_echo") >&5
12128 (eval "$ac_link") 2>conftest.er1
12130 grep -v '^ *+' conftest.er1 >conftest.err
12132 cat conftest.err >&5
12133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } && {
12135 test -z "$ac_c_werror_flag" ||
12136 test ! -s conftest.err
12137 } && test -s conftest$ac_exeext && {
12138 test "$cross_compiling" = yes ||
12139 $as_test_x conftest$ac_exeext
12141 ac_cv_lib_c_getline=yes
12143 $as_echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.$ac_ext >&5
12146 ac_cv_lib_c_getline=no
12149 rm -rf conftest.dSYM
12150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12154 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12155 $as_echo "$ac_cv_lib_c_getline" >&6; }
12156 if test "x$ac_cv_lib_c_getline" = x""yes; then
12158 cat >>confdefs.h <<\_ACEOF
12159 #define HAVE_GETLINE 1
12165 ################################################################################
12167 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12168 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12169 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12170 $as_echo_n "(cached) " >&6
12172 ac_check_lib_save_LIBS=$LIBS
12174 cat >conftest.$ac_ext <<_ACEOF
12177 cat confdefs.h >>conftest.$ac_ext
12178 cat >>conftest.$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12187 char canonicalize_file_name ();
12191 return canonicalize_file_name ();
12196 rm -f conftest.$ac_objext conftest$ac_exeext
12197 if { (ac_try="$ac_link"
12198 case "(($ac_try" in
12199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12200 *) ac_try_echo
=$ac_try;;
12202 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12203 $as_echo "$ac_try_echo") >&5
12204 (eval "$ac_link") 2>conftest.er1
12206 grep -v '^ *+' conftest.er1
>conftest.err
12208 cat conftest.err
>&5
12209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } && {
12211 test -z "$ac_c_werror_flag" ||
12212 test ! -s conftest.err
12213 } && test -s conftest
$ac_exeext && {
12214 test "$cross_compiling" = yes ||
12215 $as_test_x conftest
$ac_exeext
12217 ac_cv_lib_c_canonicalize_file_name
=yes
12219 $as_echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.
$ac_ext >&5
12222 ac_cv_lib_c_canonicalize_file_name
=no
12225 rm -rf conftest.dSYM
12226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12227 conftest
$ac_exeext conftest.
$ac_ext
12228 LIBS
=$ac_check_lib_save_LIBS
12230 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12231 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12232 if test "x$ac_cv_lib_c_canonicalize_file_name" = x
""yes; then
12234 cat >>confdefs.h
<<\_ACEOF
12235 #define HAVE_CANONICALIZE_FILE_NAME 1
12241 ################################################################################
12242 if [ "x$exec_prefix" = xNONE
-a "x$prefix" = xNONE
];
12243 then exec_prefix
="";
12246 ################################################################################
12247 if test x
$READLINE != xno
; then
12248 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12249 $as_echo_n "checking for library containing tgetent... " >&6; }
12250 if test "${ac_cv_search_tgetent+set}" = set; then
12251 $as_echo_n "(cached) " >&6
12253 ac_func_search_save_LIBS
=$LIBS
12254 cat >conftest.
$ac_ext <<_ACEOF
12257 cat confdefs.h
>>conftest.
$ac_ext
12258 cat >>conftest.
$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12276 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
12277 if test -z "$ac_lib"; then
12278 ac_res
="none required"
12281 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12283 rm -f conftest.
$ac_objext conftest
$ac_exeext
12284 if { (ac_try
="$ac_link"
12285 case "(($ac_try" in
12286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12287 *) ac_try_echo=$ac_try;;
12289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12290 $as_echo "$ac_try_echo") >&5
12291 (eval "$ac_link") 2>conftest.er1
12293 grep -v '^ *+' conftest.er1 >conftest.err
12295 cat conftest.err >&5
12296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } && {
12298 test -z "$ac_c_werror_flag" ||
12299 test ! -s conftest.err
12300 } && test -s conftest$ac_exeext && {
12301 test "$cross_compiling" = yes ||
12302 $as_test_x conftest$ac_exeext
12304 ac_cv_search_tgetent=$ac_res
12306 $as_echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.$ac_ext >&5
12312 rm -rf conftest.dSYM
12313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12315 if test "${ac_cv_search_tgetent+set}" = set; then
12319 if test "${ac_cv_search_tgetent+set}" = set; then
12322 ac_cv_search_tgetent=no
12324 rm conftest.$ac_ext
12325 LIBS=$ac_func_search_save_LIBS
12327 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
12328 $as_echo "$ac_cv_search_tgetent" >&6; }
12329 ac_res=$ac_cv_search_tgetent
12330 if test "$ac_res" != no; then
12331 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12337 test x$READLINE:$tg_found = xyes:no &&
12338 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
12339 --enable-readline option (which is enabled by default). Either disable readline
12340 support with --disable-readline or download and install termcap from:
12341 ftp.gnu.org/gnu/termcap
12342 Note: if you are using precompiled packages you will also need the development
12343 package as well (which may be called termcap-devel or something similar).
12344 Note: (n)curses also seems to work as a substitute for termcap. This was
12345 not found either - but you could try installing that as well.
12347 $as_echo "$as_me: error: termcap could not be found which is required for the
12348 --enable-readline option (which is enabled by default). Either disable readline
12349 support with --disable-readline or download and install termcap from:
12350 ftp.gnu.org/gnu/termcap
12351 Note: if you are using precompiled packages you will also need the development
12352 package as well (which may be called termcap-devel or something similar).
12353 Note: (n)curses also seems to work as a substitute for termcap. This was
12354 not found either - but you could try installing that as well.
12356 { (exit 1); exit 1; }; }
12359 ################################################################################
12360 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12361 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12362 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12363 $as_echo_n "(cached) " >&6
12365 ac_check_lib_save_LIBS=$LIBS
12367 cat >conftest.$ac_ext <<_ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12374 /* Override any GCC internal prototype to avoid an error.
12375 Use char because int might match the return type of a GCC
12376 builtin and then its argument prototype would still apply. */
12389 rm -f conftest.$ac_objext conftest$ac_exeext
12390 if { (ac_try="$ac_link"
12391 case "(($ac_try" in
12392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12393 *) ac_try_echo
=$ac_try;;
12395 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12396 $as_echo "$ac_try_echo") >&5
12397 (eval "$ac_link") 2>conftest.er1
12399 grep -v '^ *+' conftest.er1
>conftest.err
12401 cat conftest.err
>&5
12402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } && {
12404 test -z "$ac_c_werror_flag" ||
12405 test ! -s conftest.err
12406 } && test -s conftest
$ac_exeext && {
12407 test "$cross_compiling" = yes ||
12408 $as_test_x conftest
$ac_exeext
12410 ac_cv_lib_dl_dlopen
=yes
12412 $as_echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_cv_lib_dl_dlopen
=no
12418 rm -rf conftest.dSYM
12419 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12420 conftest
$ac_exeext conftest.
$ac_ext
12421 LIBS
=$ac_check_lib_save_LIBS
12423 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12424 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12425 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12432 if [ "x$HAVE_LIBDL" = xyes
]; then
12434 cat >>confdefs.h
<<\_ACEOF
12435 #define HAVE_LIBDL 1
12443 ################################################################################
12444 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
12445 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
12446 \
) -a "x$STATIC_LINK" = xyes
];
12447 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
12449 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
12451 { (exit 1); exit 1; }; }
12454 ################################################################################
12455 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12456 $as_echo_n "checking whether to enable selinux support... " >&6; }
12457 # Check whether --enable-selinux was given.
12458 if test "${enable_selinux+set}" = set; then
12459 enableval
=$enable_selinux; SELINUX
=$enableval
12462 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12463 $as_echo "$SELINUX" >&6; }
12465 ################################################################################
12466 if test x
$SELINUX = xyes
; then
12467 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12468 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12469 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12470 $as_echo_n "(cached) " >&6
12472 ac_check_lib_save_LIBS
=$LIBS
12473 LIBS
="-lsepol $LIBS"
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12487 char sepol_check_context ();
12491 return sepol_check_context ();
12496 rm -f conftest.
$ac_objext conftest
$ac_exeext
12497 if { (ac_try
="$ac_link"
12498 case "(($ac_try" in
12499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12500 *) ac_try_echo=$ac_try;;
12502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12503 $as_echo "$ac_try_echo") >&5
12504 (eval "$ac_link") 2>conftest.er1
12506 grep -v '^ *+' conftest.er1 >conftest.err
12508 cat conftest.err >&5
12509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } && {
12511 test -z "$ac_c_werror_flag" ||
12512 test ! -s conftest.err
12513 } && test -s conftest$ac_exeext && {
12514 test "$cross_compiling" = yes ||
12515 $as_test_x conftest$ac_exeext
12517 ac_cv_lib_sepol_sepol_check_context=yes
12519 $as_echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12522 ac_cv_lib_sepol_sepol_check_context=no
12525 rm -rf conftest.dSYM
12526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12527 conftest$ac_exeext conftest.$ac_ext
12528 LIBS=$ac_check_lib_save_LIBS
12530 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12531 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12532 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12539 if test x$HAVE_SEPOL = xyes; then
12541 cat >>confdefs.h <<\_ACEOF
12542 #define HAVE_SEPOL 1
12545 LIBS="-lsepol $LIBS"
12548 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12549 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12550 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12551 $as_echo_n "(cached) " >&6
12553 ac_check_lib_save_LIBS=$LIBS
12554 LIBS="-lselinux $LIBS"
12555 cat >conftest.$ac_ext <<_ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12562 /* Override any GCC internal prototype to avoid an error.
12563 Use char because int might match the return type of a GCC
12564 builtin and then its argument prototype would still apply. */
12568 char is_selinux_enabled ();
12572 return is_selinux_enabled ();
12577 rm -f conftest.$ac_objext conftest$ac_exeext
12578 if { (ac_try="$ac_link"
12579 case "(($ac_try" in
12580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12581 *) ac_try_echo
=$ac_try;;
12583 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12584 $as_echo "$ac_try_echo") >&5
12585 (eval "$ac_link") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1
>conftest.err
12589 cat conftest.err
>&5
12590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest
$ac_exeext && {
12595 test "$cross_compiling" = yes ||
12596 $as_test_x conftest
$ac_exeext
12598 ac_cv_lib_selinux_is_selinux_enabled
=yes
12600 $as_echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.
$ac_ext >&5
12603 ac_cv_lib_selinux_is_selinux_enabled
=no
12606 rm -rf conftest.dSYM
12607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12608 conftest
$ac_exeext conftest.
$ac_ext
12609 LIBS
=$ac_check_lib_save_LIBS
12611 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12612 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12613 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x
""yes; then
12620 if test x
$HAVE_SELINUX = xyes
; then
12622 cat >>confdefs.h
<<\_ACEOF
12623 #define HAVE_SELINUX 1
12626 LIBS
="-lselinux $LIBS"
12628 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
12629 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
12632 # With --enable-static_link and selinux enabled, linking
12633 # fails on at least Debian unstable due to unsatisfied references
12634 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
12635 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes
; then
12636 lvm_saved_libs
=$LIBS
12637 LIBS
="$LIBS -static"
12638 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12639 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
12640 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12641 $as_echo_n "(cached) " >&6
12643 ac_func_search_save_LIBS
=$LIBS
12644 cat >conftest.
$ac_ext <<_ACEOF
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12657 char pthread_mutex_lock ();
12661 return pthread_mutex_lock ();
12666 for ac_lib
in '' pthread
; do
12667 if test -z "$ac_lib"; then
12668 ac_res
="none required"
12671 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12673 rm -f conftest.
$ac_objext conftest
$ac_exeext
12674 if { (ac_try
="$ac_link"
12675 case "(($ac_try" in
12676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12680 $as_echo "$ac_try_echo") >&5
12681 (eval "$ac_link") 2>conftest.er1
12683 grep -v '^ *+' conftest.er1 >conftest.err
12685 cat conftest.err >&5
12686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } && {
12688 test -z "$ac_c_werror_flag" ||
12689 test ! -s conftest.err
12690 } && test -s conftest$ac_exeext && {
12691 test "$cross_compiling" = yes ||
12692 $as_test_x conftest$ac_exeext
12694 ac_cv_search_pthread_mutex_lock=$ac_res
12696 $as_echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.$ac_ext >&5
12702 rm -rf conftest.dSYM
12703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12705 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12709 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12712 ac_cv_search_pthread_mutex_lock=no
12714 rm conftest.$ac_ext
12715 LIBS=$ac_func_search_save_LIBS
12717 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
12718 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
12719 ac_res=$ac_cv_search_pthread_mutex_lock
12720 if test "$ac_res" != no; then
12721 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12722 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
12723 LIB_PTHREAD=-lpthread
12726 LIBS=$lvm_saved_libs
12730 ################################################################################
12731 if test x$REALTIME = xyes; then
12732 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12733 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12734 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12735 $as_echo_n "(cached) " >&6
12737 ac_check_lib_save_LIBS=$LIBS
12739 cat >conftest.$ac_ext <<_ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12752 char clock_gettime ();
12756 return clock_gettime ();
12761 rm -f conftest.$ac_objext conftest$ac_exeext
12762 if { (ac_try="$ac_link"
12763 case "(($ac_try" in
12764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12765 *) ac_try_echo
=$ac_try;;
12767 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12768 $as_echo "$ac_try_echo") >&5
12769 (eval "$ac_link") 2>conftest.er1
12771 grep -v '^ *+' conftest.er1
>conftest.err
12773 cat conftest.err
>&5
12774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } && {
12776 test -z "$ac_c_werror_flag" ||
12777 test ! -s conftest.err
12778 } && test -s conftest
$ac_exeext && {
12779 test "$cross_compiling" = yes ||
12780 $as_test_x conftest
$ac_exeext
12782 ac_cv_lib_rt_clock_gettime
=yes
12784 $as_echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.
$ac_ext >&5
12787 ac_cv_lib_rt_clock_gettime
=no
12790 rm -rf conftest.dSYM
12791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12792 conftest
$ac_exeext conftest.
$ac_ext
12793 LIBS
=$ac_check_lib_save_LIBS
12795 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12796 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12797 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then
12804 if test x
$HAVE_REALTIME = xyes
; then
12806 cat >>confdefs.h
<<\_ACEOF
12807 #define HAVE_REALTIME 1
12812 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
12813 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
12817 ################################################################################
12819 for ac_header
in getopt.h
12821 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12822 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12823 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12824 $as_echo_n "checking for $ac_header... " >&6; }
12825 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12826 $as_echo_n "(cached) " >&6
12828 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12829 $as_echo "$as_val"'`
12830 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12831 $as_echo "$ac_res" >&6; }
12833 # Is the header compilable?
12834 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12835 $as_echo_n "checking $ac_header usability... " >&6; }
12836 cat >conftest.
$ac_ext <<_ACEOF
12839 cat confdefs.h
>>conftest.
$ac_ext
12840 cat >>conftest.
$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 $ac_includes_default
12843 #include <$ac_header>
12845 rm -f conftest.
$ac_objext
12846 if { (ac_try
="$ac_compile"
12847 case "(($ac_try" in
12848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12849 *) ac_try_echo=$ac_try;;
12851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12852 $as_echo "$ac_try_echo") >&5
12853 (eval "$ac_compile") 2>conftest.er1
12855 grep -v '^ *+' conftest.er1 >conftest.err
12857 cat conftest.err >&5
12858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && {
12860 test -z "$ac_c_werror_flag" ||
12861 test ! -s conftest.err
12862 } && test -s conftest.$ac_objext; then
12863 ac_header_compiler=yes
12865 $as_echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12868 ac_header_compiler=no
12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12872 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12873 $as_echo "$ac_header_compiler" >&6; }
12875 # Is the header present?
12876 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12877 $as_echo_n "checking $ac_header presence... " >&6; }
12878 cat >conftest.$ac_ext <<_ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 #include <$ac_header>
12886 if { (ac_try="$ac_cpp conftest.$ac_ext"
12887 case "(($ac_try" in
12888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12889 *) ac_try_echo
=$ac_try;;
12891 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12892 $as_echo "$ac_try_echo") >&5
12893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } >/dev
/null
&& {
12900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12901 test ! -s conftest.err
12903 ac_header_preproc
=yes
12905 $as_echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.
$ac_ext >&5
12908 ac_header_preproc
=no
12911 rm -f conftest.err conftest.
$ac_ext
12912 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12913 $as_echo "$ac_header_preproc" >&6; }
12915 # So? What about this header?
12916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12919 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12921 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12922 ac_header_preproc
=yes
12925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12926 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12927 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12928 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12930 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12932 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12934 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12936 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12940 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12941 $as_echo_n "checking for $ac_header... " >&6; }
12942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12943 $as_echo_n "(cached) " >&6
12945 eval "$as_ac_Header=\$ac_header_preproc"
12947 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12948 $as_echo "$as_val"'`
12949 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12950 $as_echo "$ac_res" >&6; }
12953 as_val
=`eval 'as_val=${'$as_ac_Header'}
12954 $as_echo "$as_val"'`
12955 if test "x$as_val" = x
""yes; then
12956 cat >>confdefs.h
<<_ACEOF
12957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12960 cat >>confdefs.h
<<\_ACEOF
12961 #define HAVE_GETOPTLONG 1
12969 ################################################################################
12970 if test x
$READLINE != xno
; then
12973 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
12974 $as_echo_n "checking for readline in -lreadline... " >&6; }
12975 if test "${ac_cv_lib_readline_readline+set}" = set; then
12976 $as_echo_n "(cached) " >&6
12978 ac_check_lib_save_LIBS
=$LIBS
12979 LIBS
="-lreadline $LIBS"
12980 cat >conftest.
$ac_ext <<_ACEOF
12983 cat confdefs.h
>>conftest.
$ac_ext
12984 cat >>conftest.
$ac_ext <<_ACEOF
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12997 return readline ();
13002 rm -f conftest.
$ac_objext conftest
$ac_exeext
13003 if { (ac_try
="$ac_link"
13004 case "(($ac_try" in
13005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13006 *) ac_try_echo=$ac_try;;
13008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13009 $as_echo "$ac_try_echo") >&5
13010 (eval "$ac_link") 2>conftest.er1
13012 grep -v '^ *+' conftest.er1 >conftest.err
13014 cat conftest.err >&5
13015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } && {
13017 test -z "$ac_c_werror_flag" ||
13018 test ! -s conftest.err
13019 } && test -s conftest$ac_exeext && {
13020 test "$cross_compiling" = yes ||
13021 $as_test_x conftest$ac_exeext
13023 ac_cv_lib_readline_readline=yes
13025 $as_echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13028 ac_cv_lib_readline_readline=no
13031 rm -rf conftest.dSYM
13032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13033 conftest$ac_exeext conftest.$ac_ext
13034 LIBS=$ac_check_lib_save_LIBS
13036 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13037 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13038 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13039 cat >>confdefs.h <<_ACEOF
13040 #define HAVE_LIBREADLINE 1
13043 LIBS="-lreadline $LIBS"
13049 test x$READLINE:$rl_found = xyes:no &&
13050 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13051 --enable-readline option (which is enabled by default). Either disable readline
13052 support with --disable-readline or download and install readline from:
13053 ftp.gnu.org/gnu/readline
13054 Note: if you are using precompiled packages you will also need the development
13055 package as well (which may be called readline-devel or something similar).
13057 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13058 --enable-readline option (which is enabled by default). Either disable readline
13059 support with --disable-readline or download and install readline from:
13060 ftp.gnu.org/gnu/readline
13061 Note: if you are using precompiled packages you will also need the development
13062 package as well (which may be called readline-devel or something similar).
13064 { (exit 1); exit 1; }; }
13065 if test $rl_found = yes; then
13067 for ac_func in rl_completion_matches
13069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13070 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13071 $as_echo_n "checking for $ac_func... " >&6; }
13072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13073 $as_echo_n "(cached) " >&6
13075 cat >conftest.$ac_ext <<_ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13083 #define $ac_func innocuous_$ac_func
13085 /* System header to define __stub macros and hopefully few prototypes,
13086 which can conflict with char $ac_func (); below.
13087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13088 <limits.h> exists even on freestanding compilers. */
13091 # include <limits.h>
13093 # include <assert.h>
13098 /* Override any GCC internal prototype to avoid an error.
13099 Use char because int might match the return type of a GCC
13100 builtin and then its argument prototype would still apply. */
13105 /* The GNU C library defines this for functions which it implements
13106 to always fail with ENOSYS. Some functions are actually named
13107 something starting with __ and the normal name is an alias. */
13108 #if defined __stub_$ac_func || defined __stub___$ac_func
13115 return $ac_func ();
13120 rm -f conftest.$ac_objext conftest$ac_exeext
13121 if { (ac_try="$ac_link"
13122 case "(($ac_try" in
13123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13124 *) ac_try_echo
=$ac_try;;
13126 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13127 $as_echo "$ac_try_echo") >&5
13128 (eval "$ac_link") 2>conftest.er1
13130 grep -v '^ *+' conftest.er1
>conftest.err
13132 cat conftest.err
>&5
13133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } && {
13135 test -z "$ac_c_werror_flag" ||
13136 test ! -s conftest.err
13137 } && test -s conftest
$ac_exeext && {
13138 test "$cross_compiling" = yes ||
13139 $as_test_x conftest
$ac_exeext
13141 eval "$as_ac_var=yes"
13143 $as_echo "$as_me: failed program was:" >&5
13144 sed 's/^/| /' conftest.
$ac_ext >&5
13146 eval "$as_ac_var=no"
13149 rm -rf conftest.dSYM
13150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13151 conftest
$ac_exeext conftest.
$ac_ext
13153 ac_res
=`eval 'as_val=${'$as_ac_var'}
13154 $as_echo "$as_val"'`
13155 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13156 $as_echo "$ac_res" >&6; }
13157 as_val
=`eval 'as_val=${'$as_ac_var'}
13158 $as_echo "$as_val"'`
13159 if test "x$as_val" = x
""yes; then
13160 cat >>confdefs.h
<<_ACEOF
13161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13168 cat >>confdefs.h
<<\_ACEOF
13169 #define READLINE_SUPPORT 1
13175 ################################################################################
13176 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13177 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13178 # Check whether --enable-nls was given.
13179 if test "${enable_nls+set}" = set; then
13180 enableval
=$enable_nls; INTL
=$enableval
13185 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13186 $as_echo "$INTL" >&6; }
13188 if test x
$INTL = xyes
; then
13189 # FIXME - Move this - can be device-mapper too
13190 INTL_PACKAGE
="lvm2"
13191 # Extract the first word of "msgfmt", so it can be a program name with args.
13192 set dummy msgfmt
; ac_word
=$2
13193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13194 $as_echo_n "checking for $ac_word... " >&6; }
13195 if test "${ac_cv_path_MSGFMT+set}" = set; then
13196 $as_echo_n "(cached) " >&6
13200 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13204 for as_dir
in $PATH
13207 test -z "$as_dir" && as_dir
=.
13208 for ac_exec_ext
in '' $ac_executable_extensions; do
13209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13210 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13221 MSGFMT
=$ac_cv_path_MSGFMT
13222 if test -n "$MSGFMT"; then
13223 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13224 $as_echo "$MSGFMT" >&6; }
13226 { $as_echo "$as_me:$LINENO: result: no" >&5
13227 $as_echo "no" >&6; }
13231 if [ "x$MSGFMT" == x
];
13232 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13234 $as_echo "$as_me: error: msgfmt not found in path $PATH
13236 { (exit 1); exit 1; }; }
13240 # Check whether --with-localedir was given.
13241 if test "${with_localedir+set}" = set; then
13242 withval
=$with_localedir; LOCALEDIR
="$withval"
13244 LOCALEDIR
='${prefix}/share/locale'
13249 ################################################################################
13251 # Check whether --with-confdir was given.
13252 if test "${with_confdir+set}" = set; then
13253 withval
=$with_confdir; CONFDIR
="$withval"
13260 # Check whether --with-staticdir was given.
13261 if test "${with_staticdir+set}" = set; then
13262 withval
=$with_staticdir; STATICDIR
="$withval"
13264 STATICDIR
='${exec_prefix}/sbin'
13269 # Check whether --with-usrlibdir was given.
13270 if test "${with_usrlibdir+set}" = set; then
13271 withval
=$with_usrlibdir; usrlibdir
="$withval"
13273 usrlibdir
='${prefix}/lib'
13278 # Check whether --with-usrsbindir was given.
13279 if test "${with_usrsbindir+set}" = set; then
13280 withval
=$with_usrsbindir; usrsbindir
="$withval"
13282 usrsbindir
='${prefix}/sbin'
13286 ################################################################################
13288 # Check whether --with-udev_prefix was given.
13289 if test "${with_udev_prefix+set}" = set; then
13290 withval
=$with_udev_prefix; udev_prefix
="$withval"
13292 udev_prefix
='${exec_prefix}'
13297 # Check whether --with-udevdir was given.
13298 if test "${with_udevdir+set}" = set; then
13299 withval
=$with_udevdir; udevdir
="$withval"
13301 udevdir
='${udev_prefix}/lib/udev/rules.d'
13305 ################################################################################
13306 if test x
$READLINE = xyes
; then
13309 for ac_header
in readline
/readline.h readline
/history.h
13311 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13313 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13314 $as_echo_n "checking for $ac_header... " >&6; }
13315 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13316 $as_echo_n "(cached) " >&6
13318 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13319 $as_echo "$as_val"'`
13320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13321 $as_echo "$ac_res" >&6; }
13323 # Is the header compilable?
13324 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13325 $as_echo_n "checking $ac_header usability... " >&6; }
13326 cat >conftest.
$ac_ext <<_ACEOF
13329 cat confdefs.h
>>conftest.
$ac_ext
13330 cat >>conftest.
$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 $ac_includes_default
13333 #include <$ac_header>
13335 rm -f conftest.
$ac_objext
13336 if { (ac_try
="$ac_compile"
13337 case "(($ac_try" in
13338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13339 *) ac_try_echo=$ac_try;;
13341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13342 $as_echo "$ac_try_echo") >&5
13343 (eval "$ac_compile") 2>conftest.er1
13345 grep -v '^ *+' conftest.er1 >conftest.err
13347 cat conftest.err >&5
13348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } && {
13350 test -z "$ac_c_werror_flag" ||
13351 test ! -s conftest.err
13352 } && test -s conftest.$ac_objext; then
13353 ac_header_compiler=yes
13355 $as_echo "$as_me: failed program was:" >&5
13356 sed 's/^/| /' conftest.$ac_ext >&5
13358 ac_header_compiler=no
13361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13362 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13363 $as_echo "$ac_header_compiler" >&6; }
13365 # Is the header present?
13366 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13367 $as_echo_n "checking $ac_header presence... " >&6; }
13368 cat >conftest.$ac_ext <<_ACEOF
13371 cat confdefs.h >>conftest.$ac_ext
13372 cat >>conftest.$ac_ext <<_ACEOF
13373 /* end confdefs.h. */
13374 #include <$ac_header>
13376 if { (ac_try="$ac_cpp conftest.$ac_ext"
13377 case "(($ac_try" in
13378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13379 *) ac_try_echo
=$ac_try;;
13381 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13382 $as_echo "$ac_try_echo") >&5
13383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } >/dev
/null
&& {
13390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13393 ac_header_preproc
=yes
13395 $as_echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.
$ac_ext >&5
13398 ac_header_preproc
=no
13401 rm -f conftest.err conftest.
$ac_ext
13402 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13403 $as_echo "$ac_header_preproc" >&6; }
13405 # So? What about this header?
13406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13409 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13411 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13412 ac_header_preproc
=yes
13415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13416 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13418 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13420 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13422 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13424 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13426 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13430 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13431 $as_echo_n "checking for $ac_header... " >&6; }
13432 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13433 $as_echo_n "(cached) " >&6
13435 eval "$as_ac_Header=\$ac_header_preproc"
13437 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13438 $as_echo "$as_val"'`
13439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13440 $as_echo "$ac_res" >&6; }
13443 as_val
=`eval 'as_val=${'$as_ac_Header'}
13444 $as_echo "$as_val"'`
13445 if test "x$as_val" = x
""yes; then
13446 cat >>confdefs.h
<<_ACEOF
13447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13451 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13452 $as_echo "$as_me: error: bailing out" >&2;}
13453 { (exit 1); exit 1; }; }
13460 if test x
$CLVMD != xnone
; then
13471 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
13473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13474 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13475 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13476 $as_echo_n "checking for $ac_header... " >&6; }
13477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13478 $as_echo_n "(cached) " >&6
13480 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13481 $as_echo "$as_val"'`
13482 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13483 $as_echo "$ac_res" >&6; }
13485 # Is the header compilable?
13486 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13487 $as_echo_n "checking $ac_header usability... " >&6; }
13488 cat >conftest.
$ac_ext <<_ACEOF
13491 cat confdefs.h
>>conftest.
$ac_ext
13492 cat >>conftest.
$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13494 $ac_includes_default
13495 #include <$ac_header>
13497 rm -f conftest.
$ac_objext
13498 if { (ac_try
="$ac_compile"
13499 case "(($ac_try" in
13500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13501 *) ac_try_echo=$ac_try;;
13503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13504 $as_echo "$ac_try_echo") >&5
13505 (eval "$ac_compile") 2>conftest.er1
13507 grep -v '^ *+' conftest.er1 >conftest.err
13509 cat conftest.err >&5
13510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest.$ac_objext; then
13515 ac_header_compiler=yes
13517 $as_echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13520 ac_header_compiler=no
13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13524 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13525 $as_echo "$ac_header_compiler" >&6; }
13527 # Is the header present?
13528 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13529 $as_echo_n "checking $ac_header presence... " >&6; }
13530 cat >conftest.$ac_ext <<_ACEOF
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <$ac_header>
13538 if { (ac_try="$ac_cpp conftest.$ac_ext"
13539 case "(($ac_try" in
13540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13541 *) ac_try_echo
=$ac_try;;
13543 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13544 $as_echo "$ac_try_echo") >&5
13545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13547 grep -v '^ *+' conftest.er1
>conftest.err
13549 cat conftest.err
>&5
13550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } >/dev
/null
&& {
13552 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13553 test ! -s conftest.err
13555 ac_header_preproc
=yes
13557 $as_echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.
$ac_ext >&5
13560 ac_header_preproc
=no
13563 rm -f conftest.err conftest.
$ac_ext
13564 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13565 $as_echo "$ac_header_preproc" >&6; }
13567 # So? What about this header?
13568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13571 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13573 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13574 ac_header_preproc
=yes
13577 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13578 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13579 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13580 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13582 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13583 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13584 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13586 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13588 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13592 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13593 $as_echo_n "checking for $ac_header... " >&6; }
13594 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13595 $as_echo_n "(cached) " >&6
13597 eval "$as_ac_Header=\$ac_header_preproc"
13599 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13600 $as_echo "$as_val"'`
13601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13602 $as_echo "$ac_res" >&6; }
13605 as_val
=`eval 'as_val=${'$as_ac_Header'}
13606 $as_echo "$as_val"'`
13607 if test "x$as_val" = x
""yes; then
13608 cat >>confdefs.h
<<_ACEOF
13609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13613 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13614 $as_echo "$as_me: error: bailing out" >&2;}
13615 { (exit 1); exit 1; }; }
13625 for ac_func
in dup2 getmntent memmove
select socket
13627 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13628 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13629 $as_echo_n "checking for $ac_func... " >&6; }
13630 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13631 $as_echo_n "(cached) " >&6
13633 cat >conftest.
$ac_ext <<_ACEOF
13636 cat confdefs.h
>>conftest.
$ac_ext
13637 cat >>conftest.
$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13641 #define $ac_func innocuous_$ac_func
13643 /* System header to define __stub macros and hopefully few prototypes,
13644 which can conflict with char $ac_func (); below.
13645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13646 <limits.h> exists even on freestanding compilers. */
13649 # include <limits.h>
13651 # include <assert.h>
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13663 /* The GNU C library defines this for functions which it implements
13664 to always fail with ENOSYS. Some functions are actually named
13665 something starting with __ and the normal name is an alias. */
13666 #if defined __stub_$ac_func || defined __stub___$ac_func
13673 return $ac_func ();
13678 rm -f conftest.
$ac_objext conftest
$ac_exeext
13679 if { (ac_try
="$ac_link"
13680 case "(($ac_try" in
13681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13682 *) ac_try_echo=$ac_try;;
13684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13685 $as_echo "$ac_try_echo") >&5
13686 (eval "$ac_link") 2>conftest.er1
13688 grep -v '^ *+' conftest.er1 >conftest.err
13690 cat conftest.err >&5
13691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } && {
13693 test -z "$ac_c_werror_flag" ||
13694 test ! -s conftest.err
13695 } && test -s conftest$ac_exeext && {
13696 test "$cross_compiling" = yes ||
13697 $as_test_x conftest$ac_exeext
13699 eval "$as_ac_var=yes"
13701 $as_echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 eval "$as_ac_var=no"
13707 rm -rf conftest.dSYM
13708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13709 conftest$ac_exeext conftest.$ac_ext
13711 ac_res=`eval 'as_val=${'$as_ac_var'}
13712 $as_echo "$as_val"'`
13713 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13714 $as_echo "$ac_res" >&6; }
13715 as_val=`eval 'as_val=${'$as_ac_var'}
13716 $as_echo "$as_val"'`
13717 if test "x$as_val" = x""yes; then
13718 cat >>confdefs.h <<_ACEOF
13719 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13723 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13724 $as_echo "$as_me: error: bailing out" >&2;}
13725 { (exit 1); exit 1; }; }
13729 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
13730 # -lseq on Dynix/PTX, -lgen on Unixware.
13731 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
13732 $as_echo_n "checking for library containing getmntent... " >&6; }
13733 if test "${ac_cv_search_getmntent+set}" = set; then
13734 $as_echo_n "(cached) " >&6
13736 ac_func_search_save_LIBS=$LIBS
13737 cat >conftest.$ac_ext <<_ACEOF
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13754 return getmntent ();
13759 for ac_lib in '' sun seq gen; do
13760 if test -z "$ac_lib"; then
13761 ac_res="none required"
13764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13766 rm -f conftest.$ac_objext conftest$ac_exeext
13767 if { (ac_try="$ac_link"
13768 case "(($ac_try" in
13769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13770 *) ac_try_echo
=$ac_try;;
13772 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13773 $as_echo "$ac_try_echo") >&5
13774 (eval "$ac_link") 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } && {
13781 test -z "$ac_c_werror_flag" ||
13782 test ! -s conftest.err
13783 } && test -s conftest
$ac_exeext && {
13784 test "$cross_compiling" = yes ||
13785 $as_test_x conftest
$ac_exeext
13787 ac_cv_search_getmntent
=$ac_res
13789 $as_echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.
$ac_ext >&5
13795 rm -rf conftest.dSYM
13796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13798 if test "${ac_cv_search_getmntent+set}" = set; then
13802 if test "${ac_cv_search_getmntent+set}" = set; then
13805 ac_cv_search_getmntent
=no
13807 rm conftest.
$ac_ext
13808 LIBS
=$ac_func_search_save_LIBS
13810 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
13811 $as_echo "$ac_cv_search_getmntent" >&6; }
13812 ac_res
=$ac_cv_search_getmntent
13813 if test "$ac_res" != no
; then
13814 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13815 ac_cv_func_getmntent
=yes
13817 cat >>confdefs.h
<<\_ACEOF
13818 #define HAVE_GETMNTENT 1
13822 ac_cv_func_getmntent
=no
13829 for ac_header
in sys
/select.h sys
/socket.h
13831 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13833 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13834 $as_echo_n "checking for $ac_header... " >&6; }
13835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13836 $as_echo_n "(cached) " >&6
13838 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13839 $as_echo "$as_val"'`
13840 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13841 $as_echo "$ac_res" >&6; }
13843 # Is the header compilable?
13844 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13845 $as_echo_n "checking $ac_header usability... " >&6; }
13846 cat >conftest.
$ac_ext <<_ACEOF
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 $ac_includes_default
13853 #include <$ac_header>
13855 rm -f conftest.
$ac_objext
13856 if { (ac_try
="$ac_compile"
13857 case "(($ac_try" in
13858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13859 *) ac_try_echo=$ac_try;;
13861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13862 $as_echo "$ac_try_echo") >&5
13863 (eval "$ac_compile") 2>conftest.er1
13865 grep -v '^ *+' conftest.er1 >conftest.err
13867 cat conftest.err >&5
13868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } && {
13870 test -z "$ac_c_werror_flag" ||
13871 test ! -s conftest.err
13872 } && test -s conftest.$ac_objext; then
13873 ac_header_compiler=yes
13875 $as_echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.$ac_ext >&5
13878 ac_header_compiler=no
13881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13882 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13883 $as_echo "$ac_header_compiler" >&6; }
13885 # Is the header present?
13886 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13887 $as_echo_n "checking $ac_header presence... " >&6; }
13888 cat >conftest.$ac_ext <<_ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 #include <$ac_header>
13896 if { (ac_try="$ac_cpp conftest.$ac_ext"
13897 case "(($ac_try" in
13898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13899 *) ac_try_echo
=$ac_try;;
13901 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13902 $as_echo "$ac_try_echo") >&5
13903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } >/dev
/null
&& {
13910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13911 test ! -s conftest.err
13913 ac_header_preproc
=yes
13915 $as_echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.
$ac_ext >&5
13918 ac_header_preproc
=no
13921 rm -f conftest.err conftest.
$ac_ext
13922 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13923 $as_echo "$ac_header_preproc" >&6; }
13925 # So? What about this header?
13926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13929 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13931 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13932 ac_header_preproc
=yes
13935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13936 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13937 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13938 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13940 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13941 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13942 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13943 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13944 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13946 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13950 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13951 $as_echo_n "checking for $ac_header... " >&6; }
13952 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13953 $as_echo_n "(cached) " >&6
13955 eval "$as_ac_Header=\$ac_header_preproc"
13957 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13958 $as_echo "$as_val"'`
13959 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13960 $as_echo "$ac_res" >&6; }
13963 as_val
=`eval 'as_val=${'$as_ac_Header'}
13964 $as_echo "$as_val"'`
13965 if test "x$as_val" = x
""yes; then
13966 cat >>confdefs.h
<<_ACEOF
13967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13974 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
13975 $as_echo_n "checking types of arguments for select... " >&6; }
13976 if test "${ac_cv_func_select_args+set}" = set; then
13977 $as_echo_n "(cached) " >&6
13979 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
13980 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13981 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
13982 cat >conftest.
$ac_ext <<_ACEOF
13985 cat confdefs.h
>>conftest.
$ac_ext
13986 cat >>conftest.
$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13988 $ac_includes_default
13989 #ifdef HAVE_SYS_SELECT_H
13990 # include <sys/select.h>
13992 #ifdef HAVE_SYS_SOCKET_H
13993 # include <sys/socket.h>
13999 extern int select ($ac_arg1,
14000 $ac_arg234, $ac_arg234, $ac_arg234,
14006 rm -f conftest.
$ac_objext
14007 if { (ac_try
="$ac_compile"
14008 case "(($ac_try" in
14009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14013 $as_echo "$ac_try_echo") >&5
14014 (eval "$ac_compile") 2>conftest.er1
14016 grep -v '^ *+' conftest.er1 >conftest.err
14018 cat conftest.err >&5
14019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } && {
14021 test -z "$ac_c_werror_flag" ||
14022 test ! -s conftest.err
14023 } && test -s conftest.$ac_objext; then
14024 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14026 $as_echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14036 # Provide a safe default value.
14037 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14040 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14041 $as_echo "$ac_cv_func_select_args" >&6; }
14042 ac_save_IFS=$IFS; IFS=','
14043 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
14047 cat >>confdefs.h <<_ACEOF
14048 #define SELECT_TYPE_ARG1 $1
14052 cat >>confdefs.h <<_ACEOF
14053 #define SELECT_TYPE_ARG234 ($2)
14057 cat >>confdefs.h <<_ACEOF
14058 #define SELECT_TYPE_ARG5 ($3)
14065 if test x$CLUSTER != xnone; then
14068 for ac_header in sys/socket.h sys/un.h
14070 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14072 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14073 $as_echo_n "checking for $ac_header... " >&6; }
14074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14075 $as_echo_n "(cached) " >&6
14077 ac_res=`eval 'as_val=${'$as_ac_Header'}
14078 $as_echo "$as_val"'`
14079 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14080 $as_echo "$ac_res" >&6; }
14082 # Is the header compilable?
14083 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14084 $as_echo_n "checking $ac_header usability... " >&6; }
14085 cat >conftest.$ac_ext <<_ACEOF
14088 cat confdefs.h >>conftest.$ac_ext
14089 cat >>conftest.$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14091 $ac_includes_default
14092 #include <$ac_header>
14094 rm -f conftest.$ac_objext
14095 if { (ac_try="$ac_compile"
14096 case "(($ac_try" in
14097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14098 *) ac_try_echo
=$ac_try;;
14100 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14101 $as_echo "$ac_try_echo") >&5
14102 (eval "$ac_compile") 2>conftest.er1
14104 grep -v '^ *+' conftest.er1
>conftest.err
14106 cat conftest.err
>&5
14107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } && {
14109 test -z "$ac_c_werror_flag" ||
14110 test ! -s conftest.err
14111 } && test -s conftest.
$ac_objext; then
14112 ac_header_compiler
=yes
14114 $as_echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_header_compiler
=no
14120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14121 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14122 $as_echo "$ac_header_compiler" >&6; }
14124 # Is the header present?
14125 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14126 $as_echo_n "checking $ac_header presence... " >&6; }
14127 cat >conftest.
$ac_ext <<_ACEOF
14130 cat confdefs.h
>>conftest.
$ac_ext
14131 cat >>conftest.
$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133 #include <$ac_header>
14135 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14136 case "(($ac_try" in
14137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14141 $as_echo "$ac_try_echo") >&5
14142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14144 grep -v '^ *+' conftest.er1 >conftest.err
14146 cat conftest.err >&5
14147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } >/dev/null && {
14149 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14150 test ! -s conftest.err
14152 ac_header_preproc=yes
14154 $as_echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14157 ac_header_preproc=no
14160 rm -f conftest.err conftest.$ac_ext
14161 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14162 $as_echo "$ac_header_preproc" >&6; }
14164 # So? What about this header?
14165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14168 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14170 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14171 ac_header_preproc=yes
14174 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14175 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14176 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14177 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14178 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14179 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14180 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14181 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14182 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14183 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14185 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14190 $as_echo_n "checking for $ac_header... " >&6; }
14191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14192 $as_echo_n "(cached) " >&6
14194 eval "$as_ac_Header=\$ac_header_preproc"
14196 ac_res=`eval 'as_val=${'$as_ac_Header'}
14197 $as_echo "$as_val"'`
14198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14199 $as_echo "$ac_res" >&6; }
14202 as_val=`eval 'as_val=${'$as_ac_Header'}
14203 $as_echo "$as_val"'`
14204 if test "x$as_val" = x""yes; then
14205 cat >>confdefs.h <<_ACEOF
14206 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14210 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14211 $as_echo "$as_me: error: bailing out" >&2;}
14212 { (exit 1); exit 1; }; }
14218 for ac_func in socket
14220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14221 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14222 $as_echo_n "checking for $ac_func... " >&6; }
14223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14224 $as_echo_n "(cached) " >&6
14226 cat >conftest.$ac_ext <<_ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14234 #define $ac_func innocuous_$ac_func
14236 /* System header to define __stub macros and hopefully few prototypes,
14237 which can conflict with char $ac_func (); below.
14238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14239 <limits.h> exists even on freestanding compilers. */
14242 # include <limits.h>
14244 # include <assert.h>
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14256 /* The GNU C library defines this for functions which it implements
14257 to always fail with ENOSYS. Some functions are actually named
14258 something starting with __ and the normal name is an alias. */
14259 #if defined __stub_$ac_func || defined __stub___$ac_func
14266 return $ac_func ();
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (ac_try="$ac_link"
14273 case "(($ac_try" in
14274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14275 *) ac_try_echo
=$ac_try;;
14277 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14278 $as_echo "$ac_try_echo") >&5
14279 (eval "$ac_link") 2>conftest.er1
14281 grep -v '^ *+' conftest.er1
>conftest.err
14283 cat conftest.err
>&5
14284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest
$ac_exeext && {
14289 test "$cross_compiling" = yes ||
14290 $as_test_x conftest
$ac_exeext
14292 eval "$as_ac_var=yes"
14294 $as_echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.
$ac_ext >&5
14297 eval "$as_ac_var=no"
14300 rm -rf conftest.dSYM
14301 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14302 conftest
$ac_exeext conftest.
$ac_ext
14304 ac_res
=`eval 'as_val=${'$as_ac_var'}
14305 $as_echo "$as_val"'`
14306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14307 $as_echo "$ac_res" >&6; }
14308 as_val
=`eval 'as_val=${'$as_ac_var'}
14309 $as_echo "$as_val"'`
14310 if test "x$as_val" = x
""yes; then
14311 cat >>confdefs.h
<<_ACEOF
14312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14316 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14317 $as_echo "$as_me: error: bailing out" >&2;}
14318 { (exit 1); exit 1; }; }
14324 if test x
$HAVE_LIBDL = xyes
; then
14326 for ac_header
in dlfcn.h
14328 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14329 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14330 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14331 $as_echo_n "checking for $ac_header... " >&6; }
14332 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14333 $as_echo_n "(cached) " >&6
14335 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14336 $as_echo "$as_val"'`
14337 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14338 $as_echo "$ac_res" >&6; }
14340 # Is the header compilable?
14341 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14342 $as_echo_n "checking $ac_header usability... " >&6; }
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 $ac_includes_default
14350 #include <$ac_header>
14352 rm -f conftest.
$ac_objext
14353 if { (ac_try
="$ac_compile"
14354 case "(($ac_try" in
14355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14359 $as_echo "$ac_try_echo") >&5
14360 (eval "$ac_compile") 2>conftest.er1
14362 grep -v '^ *+' conftest.er1 >conftest.err
14364 cat conftest.err >&5
14365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && {
14367 test -z "$ac_c_werror_flag" ||
14368 test ! -s conftest.err
14369 } && test -s conftest.$ac_objext; then
14370 ac_header_compiler=yes
14372 $as_echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_header_compiler=no
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14379 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14380 $as_echo "$ac_header_compiler" >&6; }
14382 # Is the header present?
14383 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14384 $as_echo_n "checking $ac_header presence... " >&6; }
14385 cat >conftest.$ac_ext <<_ACEOF
14388 cat confdefs.h >>conftest.$ac_ext
14389 cat >>conftest.$ac_ext <<_ACEOF
14390 /* end confdefs.h. */
14391 #include <$ac_header>
14393 if { (ac_try="$ac_cpp conftest.$ac_ext"
14394 case "(($ac_try" in
14395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14396 *) ac_try_echo
=$ac_try;;
14398 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14399 $as_echo "$ac_try_echo") >&5
14400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14402 grep -v '^ *+' conftest.er1
>conftest.err
14404 cat conftest.err
>&5
14405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } >/dev
/null
&& {
14407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14408 test ! -s conftest.err
14410 ac_header_preproc
=yes
14412 $as_echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.
$ac_ext >&5
14415 ac_header_preproc
=no
14418 rm -f conftest.err conftest.
$ac_ext
14419 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14420 $as_echo "$ac_header_preproc" >&6; }
14422 # So? What about this header?
14423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14426 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14427 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14428 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14429 ac_header_preproc
=yes
14432 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14433 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14435 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14437 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14439 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14441 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14443 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14447 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14448 $as_echo_n "checking for $ac_header... " >&6; }
14449 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14450 $as_echo_n "(cached) " >&6
14452 eval "$as_ac_Header=\$ac_header_preproc"
14454 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14455 $as_echo "$as_val"'`
14456 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14457 $as_echo "$ac_res" >&6; }
14460 as_val
=`eval 'as_val=${'$as_ac_Header'}
14461 $as_echo "$as_val"'`
14462 if test "x$as_val" = x
""yes; then
14463 cat >>confdefs.h
<<_ACEOF
14464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14468 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14469 $as_echo "$as_me: error: bailing out" >&2;}
14470 { (exit 1); exit 1; }; }
14477 if test x
$INTL = xyes
; then
14479 for ac_header
in libintl.h
14481 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14484 $as_echo_n "checking for $ac_header... " >&6; }
14485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14486 $as_echo_n "(cached) " >&6
14488 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14489 $as_echo "$as_val"'`
14490 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14491 $as_echo "$ac_res" >&6; }
14493 # Is the header compilable?
14494 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14495 $as_echo_n "checking $ac_header usability... " >&6; }
14496 cat >conftest.
$ac_ext <<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 $ac_includes_default
14503 #include <$ac_header>
14505 rm -f conftest.
$ac_objext
14506 if { (ac_try
="$ac_compile"
14507 case "(($ac_try" in
14508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14512 $as_echo "$ac_try_echo") >&5
14513 (eval "$ac_compile") 2>conftest.er1
14515 grep -v '^ *+' conftest.er1 >conftest.err
14517 cat conftest.err >&5
14518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && {
14520 test -z "$ac_c_werror_flag" ||
14521 test ! -s conftest.err
14522 } && test -s conftest.$ac_objext; then
14523 ac_header_compiler=yes
14525 $as_echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14528 ac_header_compiler=no
14531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14532 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14533 $as_echo "$ac_header_compiler" >&6; }
14535 # Is the header present?
14536 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14537 $as_echo_n "checking $ac_header presence... " >&6; }
14538 cat >conftest.$ac_ext <<_ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 #include <$ac_header>
14546 if { (ac_try="$ac_cpp conftest.$ac_ext"
14547 case "(($ac_try" in
14548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14549 *) ac_try_echo
=$ac_try;;
14551 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14552 $as_echo "$ac_try_echo") >&5
14553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14555 grep -v '^ *+' conftest.er1
>conftest.err
14557 cat conftest.err
>&5
14558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } >/dev
/null
&& {
14560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14561 test ! -s conftest.err
14563 ac_header_preproc
=yes
14565 $as_echo "$as_me: failed program was:" >&5
14566 sed 's/^/| /' conftest.
$ac_ext >&5
14568 ac_header_preproc
=no
14571 rm -f conftest.err conftest.
$ac_ext
14572 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14573 $as_echo "$ac_header_preproc" >&6; }
14575 # So? What about this header?
14576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14579 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14581 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14582 ac_header_preproc
=yes
14585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14586 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14588 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14590 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14592 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14593 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14594 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14596 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14600 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14601 $as_echo_n "checking for $ac_header... " >&6; }
14602 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14603 $as_echo_n "(cached) " >&6
14605 eval "$as_ac_Header=\$ac_header_preproc"
14607 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14608 $as_echo "$as_val"'`
14609 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14610 $as_echo "$ac_res" >&6; }
14613 as_val
=`eval 'as_val=${'$as_ac_Header'}
14614 $as_echo "$as_val"'`
14615 if test "x$as_val" = x
""yes; then
14616 cat >>confdefs.h
<<_ACEOF
14617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14621 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14622 $as_echo "$as_me: error: bailing out" >&2;}
14623 { (exit 1); exit 1; }; }
14630 if test x
$HAVE_SELINUX = xyes
; then
14632 for ac_header
in selinux
/selinux.h
14634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14635 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14636 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14637 $as_echo_n "checking for $ac_header... " >&6; }
14638 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14639 $as_echo_n "(cached) " >&6
14641 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14642 $as_echo "$as_val"'`
14643 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14644 $as_echo "$ac_res" >&6; }
14646 # Is the header compilable?
14647 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14648 $as_echo_n "checking $ac_header usability... " >&6; }
14649 cat >conftest.
$ac_ext <<_ACEOF
14652 cat confdefs.h
>>conftest.
$ac_ext
14653 cat >>conftest.
$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 $ac_includes_default
14656 #include <$ac_header>
14658 rm -f conftest.
$ac_objext
14659 if { (ac_try
="$ac_compile"
14660 case "(($ac_try" in
14661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14662 *) ac_try_echo=$ac_try;;
14664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14665 $as_echo "$ac_try_echo") >&5
14666 (eval "$ac_compile") 2>conftest.er1
14668 grep -v '^ *+' conftest.er1 >conftest.err
14670 cat conftest.err >&5
14671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } && {
14673 test -z "$ac_c_werror_flag" ||
14674 test ! -s conftest.err
14675 } && test -s conftest.$ac_objext; then
14676 ac_header_compiler=yes
14678 $as_echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14681 ac_header_compiler=no
14684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14685 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14686 $as_echo "$ac_header_compiler" >&6; }
14688 # Is the header present?
14689 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14690 $as_echo_n "checking $ac_header presence... " >&6; }
14691 cat >conftest.$ac_ext <<_ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697 #include <$ac_header>
14699 if { (ac_try="$ac_cpp conftest.$ac_ext"
14700 case "(($ac_try" in
14701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14702 *) ac_try_echo
=$ac_try;;
14704 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14705 $as_echo "$ac_try_echo") >&5
14706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14708 grep -v '^ *+' conftest.er1
>conftest.err
14710 cat conftest.err
>&5
14711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } >/dev
/null
&& {
14713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14714 test ! -s conftest.err
14716 ac_header_preproc
=yes
14718 $as_echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.
$ac_ext >&5
14721 ac_header_preproc
=no
14724 rm -f conftest.err conftest.
$ac_ext
14725 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14726 $as_echo "$ac_header_preproc" >&6; }
14728 # So? What about this header?
14729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14731 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14732 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14734 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14735 ac_header_preproc
=yes
14738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14739 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14741 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14742 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14743 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14745 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14747 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14748 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14749 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14753 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14754 $as_echo_n "checking for $ac_header... " >&6; }
14755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14756 $as_echo_n "(cached) " >&6
14758 eval "$as_ac_Header=\$ac_header_preproc"
14760 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14761 $as_echo "$as_val"'`
14762 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14763 $as_echo "$ac_res" >&6; }
14766 as_val
=`eval 'as_val=${'$as_ac_Header'}
14767 $as_echo "$as_val"'`
14768 if test "x$as_val" = x
""yes; then
14769 cat >>confdefs.h
<<_ACEOF
14770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14774 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14775 $as_echo "$as_me: error: bailing out" >&2;}
14776 { (exit 1); exit 1; }; }
14783 if test x
$UDEV_SYNC = xyes
; then
14786 for ac_header
in sys
/ipc.h sys
/sem.h
14788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14790 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14791 $as_echo_n "checking for $ac_header... " >&6; }
14792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14793 $as_echo_n "(cached) " >&6
14795 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14796 $as_echo "$as_val"'`
14797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14798 $as_echo "$ac_res" >&6; }
14800 # Is the header compilable?
14801 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14802 $as_echo_n "checking $ac_header usability... " >&6; }
14803 cat >conftest.
$ac_ext <<_ACEOF
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809 $ac_includes_default
14810 #include <$ac_header>
14812 rm -f conftest.
$ac_objext
14813 if { (ac_try
="$ac_compile"
14814 case "(($ac_try" in
14815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14819 $as_echo "$ac_try_echo") >&5
14820 (eval "$ac_compile") 2>conftest.er1
14822 grep -v '^ *+' conftest.er1 >conftest.err
14824 cat conftest.err >&5
14825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); } && {
14827 test -z "$ac_c_werror_flag" ||
14828 test ! -s conftest.err
14829 } && test -s conftest.$ac_objext; then
14830 ac_header_compiler=yes
14832 $as_echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.$ac_ext >&5
14835 ac_header_compiler=no
14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14840 $as_echo "$ac_header_compiler" >&6; }
14842 # Is the header present?
14843 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14844 $as_echo_n "checking $ac_header presence... " >&6; }
14845 cat >conftest.$ac_ext <<_ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851 #include <$ac_header>
14853 if { (ac_try="$ac_cpp conftest.$ac_ext"
14854 case "(($ac_try" in
14855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14856 *) ac_try_echo
=$ac_try;;
14858 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14859 $as_echo "$ac_try_echo") >&5
14860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14862 grep -v '^ *+' conftest.er1
>conftest.err
14864 cat conftest.err
>&5
14865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } >/dev
/null
&& {
14867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14868 test ! -s conftest.err
14870 ac_header_preproc
=yes
14872 $as_echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.
$ac_ext >&5
14875 ac_header_preproc
=no
14878 rm -f conftest.err conftest.
$ac_ext
14879 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14880 $as_echo "$ac_header_preproc" >&6; }
14882 # So? What about this header?
14883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14886 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14888 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14889 ac_header_preproc
=yes
14892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14893 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14895 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14897 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14899 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14901 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14903 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14907 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 $as_echo_n "checking for $ac_header... " >&6; }
14909 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14910 $as_echo_n "(cached) " >&6
14912 eval "$as_ac_Header=\$ac_header_preproc"
14914 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14915 $as_echo "$as_val"'`
14916 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14917 $as_echo "$ac_res" >&6; }
14920 as_val
=`eval 'as_val=${'$as_ac_Header'}
14921 $as_echo "$as_val"'`
14922 if test "x$as_val" = x
""yes; then
14923 cat >>confdefs.h
<<_ACEOF
14924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14928 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14929 $as_echo "$as_me: error: bailing out" >&2;}
14930 { (exit 1); exit 1; }; }
14937 ################################################################################
14938 # Extract the first word of "modprobe", so it can be a program name with args.
14939 set dummy modprobe
; ac_word
=$2
14940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14941 $as_echo_n "checking for $ac_word... " >&6; }
14942 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
14943 $as_echo_n "(cached) " >&6
14945 case $MODPROBE_CMD in
14947 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
14950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14951 for as_dir
in $PATH
14954 test -z "$as_dir" && as_dir
=.
14955 for ac_exec_ext
in '' $ac_executable_extensions; do
14956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14957 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
14958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14968 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
14969 if test -n "$MODPROBE_CMD"; then
14970 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
14971 $as_echo "$MODPROBE_CMD" >&6; }
14973 { $as_echo "$as_me:$LINENO: result: no" >&5
14974 $as_echo "no" >&6; }
14979 if test x
$MODPROBE_CMD != x
; then
14981 cat >>confdefs.h
<<_ACEOF
14982 #define MODPROBE_CMD "$MODPROBE_CMD"
14987 ################################################################################
14990 if test "$BUILD_DMEVENTD" = yes; then
14992 # Check whether --with-dmeventd-pidfile was given.
14993 if test "${with_dmeventd_pidfile+set}" = set; then
14994 withval
=$with_dmeventd_pidfile; cat >>confdefs.h
<<_ACEOF
14995 #define DMEVENTD_PIDFILE "$withval"
14999 cat >>confdefs.h
<<_ACEOF
15000 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15009 if test "$BUILD_DMEVENTD" = yes; then
15010 dmeventd_prefix
="$exec_prefix"
15011 if test "x$dmeventd_prefix" = "xNONE"; then
15012 dmeventd_prefix
="$prefix"
15014 if test "x$dmeventd_prefix" = "xNONE"; then
15018 # Check whether --with-dmeventd-path was given.
15019 if test "${with_dmeventd_path+set}" = set; then
15020 withval
=$with_dmeventd_path; cat >>confdefs.h
<<_ACEOF
15021 #define DMEVENTD_PATH "$withval"
15025 cat >>confdefs.h
<<_ACEOF
15026 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15033 ################################################################################
15034 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15035 $as_echo_n "checking for kernel interface choice... " >&6; }
15037 # Check whether --with-interface was given.
15038 if test "${with_interface+set}" = set; then
15039 withval
=$with_interface; interface
="$withval"
15044 if [ "x$interface" != xioctl
];
15046 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15047 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15048 { (exit 1); exit 1; }; }
15050 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15051 $as_echo "$interface" >&6; }
15053 ################################################################################
15054 DM_LIB_VERSION
="\"`cat VERSION_DM 2>/dev/null || echo Unknown`\""
15056 cat >>confdefs.h
<<_ACEOF
15057 #define DM_LIB_VERSION $DM_LIB_VERSION
15061 DM_LIB_PATCHLEVEL
=`cat VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
15063 LVM_VERSION
="\"`cat VERSION 2>/dev/null || echo Unknown`\""
15066 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
15067 VER
=`echo "$VER" | $AWK '{print $1}'`
15068 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
15069 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
15070 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
15071 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
15072 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
15073 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
15075 ################################################################################
15157 ################################################################################
15158 ac_config_files
="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/clogd/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile 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/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
15160 cat >confcache
<<\_ACEOF
15161 # This file is a shell script that caches the results of configure
15162 # tests run on this system so they can be shared between configure
15163 # scripts and configure runs, see configure's option --config-cache.
15164 # It is not useful on other systems. If it contains results you don't
15165 # want to keep, you may remove or edit it.
15167 # config.status only pays attention to the cache file if you give it
15168 # the --recheck option to rerun configure.
15170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15172 # following values.
15176 # The following way of writing the cache mishandles newlines in values,
15177 # but we know of no workaround that is simple, portable, and efficient.
15178 # So, we kill variables containing newlines.
15179 # Ultrix sh set writes to stderr and can't be redirected directly,
15180 # and sets the high bit in the cache file unless we assign to the vars.
15182 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15183 eval ac_val
=\$
$ac_var
15187 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15191 _ | IFS | as_nl
) ;; #(
15192 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15193 *) $as_unset $ac_var ;;
15199 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15200 *${as_nl}ac_space
=\
*)
15201 # `set' does not quote correctly, so add quotes (double-quote
15202 # substitution turns \\\\ into \\, and sed turns \\ into \).
15205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15208 # `set' quotes correctly as required by POSIX, so do not add quotes.
15209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15220 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15222 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15223 if test -w "$cache_file"; then
15224 test "x$cache_file" != "x/dev/null" &&
15225 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15226 $as_echo "$as_me: updating cache $cache_file" >&6;}
15227 cat confcache
>$cache_file
15229 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15235 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15236 # Let make expand exec_prefix.
15237 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15239 DEFS
=-DHAVE_CONFIG_H
15243 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15244 # 1. Remove the extension, and $U if already installed.
15245 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15246 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15247 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15248 # will be set to the directory where LIBOBJS objects are built.
15249 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15250 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15252 LIBOBJS
=$ac_libobjs
15254 LTLIBOBJS
=$ac_ltlibobjs
15258 : ${CONFIG_STATUS=./config.status}
15260 ac_clean_files_save
=$ac_clean_files
15261 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15262 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15264 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15266 # Generated by $as_me.
15267 # Run this file to recreate the current configuration.
15268 # Compiler output produced by configure, useful for debugging
15269 # configure, is in config.log if it exists.
15272 ac_cs_recheck=false
15274 SHELL=\${CONFIG_SHELL-$SHELL}
15277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15278 ## --------------------- ##
15279 ## M4sh Initialization. ##
15280 ## --------------------- ##
15282 # Be more Bourne compatible
15283 DUALCASE
=1; export DUALCASE
# for MKS sh
15284 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15287 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15288 # is contrary to our usage. Disable this feature.
15289 alias -g '${1+"$@"}'='"$@"'
15290 setopt NO_GLOB_SUBST
15292 case `(set -o) 2>/dev/null` in
15293 *posix
*) set -o posix
;;
15302 # Avoid depending upon Character Ranges.
15303 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15304 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15305 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15306 as_cr_digits
='0123456789'
15307 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15312 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15313 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15314 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15316 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15317 as_echo='printf %s
\n'
15318 as_echo_n='printf %s
'
15320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15321 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15322 as_echo_n='/usr
/ucb
/echo -n'
15324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15325 as_echo_n_body='eval
15329 expr "X$arg" : "X\\(.*\\)$as_nl";
15330 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15332 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15334 export as_echo_n_body
15335 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15337 export as_echo_body
15338 as_echo='sh
-c $as_echo_body as_echo
'
15341 # The user is always right.
15342 if test "${PATH_SEPARATOR+set}" != set; then
15344 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15345 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15350 # Support unset when possible.
15351 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15359 # We need space, tab and new line, in precisely that order. Quoting is
15360 # there to prevent editors from complaining about space-tab.
15361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15362 # splitting by setting IFS to empty value.)
15365 # Find who we are. Look in the path if we contain no directory separator.
15367 *[\\/]* ) as_myself=$0 ;;
15368 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15369 for as_dir in $PATH
15372 test -z "$as_dir" && as_dir=.
15373 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15379 # We did not find ourselves, most probably we were run as `sh COMMAND'
15380 # in which case we are not to be found in the path.
15381 if test "x$as_myself" = x
; then
15384 if test ! -f "$as_myself"; then
15385 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15386 { (exit 1); exit 1; }
15389 # Work around bugs in pre-3.0 UWIN ksh.
15390 for as_var
in ENV MAIL MAILPATH
15391 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15403 # Required to use basename.
15404 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15405 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15411 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15412 as_basename
=basename
15418 # Name of the executable.
15419 as_me
=`$as_basename -- "$0" ||
15420 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15421 X"$0" : 'X\(//\)$' \| \
15422 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15424 sed '/^.*\/\([^/][^/]*\)\/*$/{
15443 as_lineno_1
=$LINENO
15444 as_lineno_2
=$LINENO
15445 test "x$as_lineno_1" != "x$as_lineno_2" &&
15446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15449 # uniformly replaced by the line number. The first 'sed' inserts a
15450 # line-number line after each line using $LINENO; the second 'sed'
15451 # does the real work. The second script uses 'N' to pair each
15452 # line-number line with the line containing $LINENO, and appends
15453 # trailing '-' during substitution so that $LINENO is not a special
15454 # case at line end.
15455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15456 # scripts with optimization help from Paolo Bonzini. Blame Lee
15457 # E. McMahon (1931-1989) for sed's syntax. :-)
15469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15472 ' >$as_me.lineno
&&
15473 chmod +x
"$as_me.lineno" ||
15474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15475 { (exit 1); exit 1; }; }
15477 # Don't try to exec as it changes $[0], causing all sort of problems
15478 # (the dirname of $[0] is not the place where we might find the
15479 # original and so on. Autoconf is especially sensitive to this).
15480 .
"./$as_me.lineno"
15481 # Exit status is that of the last command.
15486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15492 ECHO_C
= ECHO_N
= ECHO_T
=
15493 case `echo -n x` in
15495 case `echo 'x\c'` in
15496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15509 rm -f conf$$ conf$$.exe conf$$.
file
15510 if test -d conf$$.dir
; then
15511 rm -f conf$$.dir
/conf$$.
file
15514 mkdir conf$$.dir
2>/dev
/null
15516 if (echo >conf$$.
file) 2>/dev
/null
; then
15517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15519 # ... but there are two gotchas:
15520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15522 # In both cases, we have to default to `cp -p'.
15523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15534 rmdir conf$$.dir
2>/dev
/null
15536 if mkdir
-p .
2>/dev
/null
; then
15539 test -d .
/-p && rmdir .
/-p
15543 if test -x / >/dev
/null
2>&1; then
15544 as_test_x
='test -x'
15546 if ls -dL / >/dev
/null
2>&1; then
15553 if test -d "$1"; then
15559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15560 ???[sx]*):;;*)false;;esac;fi
15564 as_executable_p
=$as_test_x
15566 # Sed expression to map a string onto a valid CPP name.
15567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15569 # Sed expression to map a string onto a valid variable name.
15570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15575 # Save the log message, to keep $[0] and so on meaningful, and to
15576 # report actual input values of CONFIG_FILES etc. instead of their
15577 # values after options handling.
15579 This file was extended by $as_me, which was
15580 generated by GNU Autoconf 2.63. Invocation command line was
15582 CONFIG_FILES = $CONFIG_FILES
15583 CONFIG_HEADERS = $CONFIG_HEADERS
15584 CONFIG_LINKS = $CONFIG_LINKS
15585 CONFIG_COMMANDS = $CONFIG_COMMANDS
15588 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15593 case $ac_config_files in *"
15594 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15597 case $ac_config_headers in *"
15598 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15603 # Files that config.status was made for.
15604 config_files="$ac_config_files"
15605 config_headers="$ac_config_headers"
15609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15611 \`$as_me' instantiates files from templates according to the
15612 current configuration.
15614 Usage: $0 [OPTION]... [FILE]...
15616 -h, --help print this help, then exit
15617 -V, --version print version number and configuration settings, then exit
15618 -q, --quiet, --silent
15619 do not print progress messages
15620 -d, --debug don't remove temporary files
15621 --recheck update $as_me by reconfiguring in the same conditions
15622 --file=FILE[:TEMPLATE]
15623 instantiate the configuration file FILE
15624 --header=FILE[:TEMPLATE]
15625 instantiate the configuration header FILE
15627 Configuration files:
15630 Configuration headers:
15633 Report bugs to <bug-autoconf@gnu.org>."
15636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15639 configured by $0, generated by GNU Autoconf 2.63,
15640 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15642 Copyright (C) 2008 Free Software Foundation, Inc.
15643 This config.status script is free software; the Free Software Foundation
15644 gives unlimited permission to copy, distribute and modify it."
15651 test -n "\$AWK" || AWK=awk
15654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15655 # The default lists apply if the user does not specify any file.
15661 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15662 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15673 # Handling of the options.
15674 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15676 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15677 $as_echo "$ac_cs_version"; exit ;;
15678 --debug |
--debu |
--deb |
--de |
--d |
-d )
15680 --file |
--fil |
--fi |
--f )
15683 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15685 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
15686 ac_need_defaults
=false
;;
15687 --header |
--heade |
--head |
--hea )
15690 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15692 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
15693 ac_need_defaults
=false
;;
15695 # Conflict between --help and --header
15696 { $as_echo "$as_me: error: ambiguous option: $1
15697 Try \`$0 --help' for more information." >&2
15698 { (exit 1); exit 1; }; };;
15699 --help |
--hel |
-h )
15700 $as_echo "$ac_cs_usage"; exit ;;
15701 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15702 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15705 # This is an error.
15706 -*) { $as_echo "$as_me: error: unrecognized option: $1
15707 Try \`$0 --help' for more information." >&2
15708 { (exit 1); exit 1; }; } ;;
15710 *) ac_config_targets
="$ac_config_targets $1"
15711 ac_need_defaults
=false
;;
15717 ac_configure_extra_args
=
15719 if $ac_cs_silent; then
15721 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15726 if \$ac_cs_recheck; then
15727 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15729 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15730 CONFIG_SHELL='$SHELL'
15731 export CONFIG_SHELL
15736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15740 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15741 ## Running $as_me. ##
15747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15752 # Handling of arguments.
15753 for ac_config_target
in $ac_config_targets
15755 case $ac_config_target in
15756 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
15757 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15758 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
15759 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
15760 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
15761 "daemons/clogd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clogd/Makefile" ;;
15762 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
15763 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
15764 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
15765 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
15766 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
15767 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15768 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15769 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
15770 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
15771 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
15772 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
15773 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
15774 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
15775 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
15776 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
15777 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
15778 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
15779 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
15780 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
15781 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
15782 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
15783 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
15784 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
15785 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
15786 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
15787 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
15789 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15790 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15791 { (exit 1); exit 1; }; };;
15796 # If the user did not use the arguments to specify the items to instantiate,
15797 # then the envvar interface is used. Set only those that are not.
15798 # We use the long form for the default assignment because of an extremely
15799 # bizarre bug on SunOS 4.1.3.
15800 if $ac_need_defaults; then
15801 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15802 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15805 # Have a temporary directory for convenience. Make it in the build tree
15806 # simply because there is no reason against having it here, and in addition,
15807 # creating and moving files from /tmp can sometimes cause problems.
15808 # Hook for its removal unless debugging.
15809 # Note that there is a small window in which the directory will not be cleaned:
15810 # after its creation but before its name has been assigned to `$tmp'.
15814 trap 'exit_status=$?
15815 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15817 trap '{ (exit 1); exit 1; }' 1 2 13 15
15819 # Create a (secure) tmp directory for tmp files.
15822 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15823 test -n "$tmp" && test -d "$tmp"
15826 tmp
=.
/conf$$
-$RANDOM
15827 (umask 077 && mkdir
"$tmp")
15830 $as_echo "$as_me: cannot create a temporary directory in ." >&2
15831 { (exit 1); exit 1; }
15834 # Set up the scripts for CONFIG_FILES section.
15835 # No need to generate them if there are no CONFIG_FILES.
15836 # This happens for instance with `./config.status config.h'.
15837 if test -n "$CONFIG_FILES"; then
15841 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15842 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15845 ac_cs_awk_cr
=$ac_cr
15848 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15853 echo "cat >conf$$subs.awk <<_ACEOF" &&
15854 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15856 } >conf$$subs.sh ||
15857 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15858 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15859 { (exit 1); exit 1; }; }
15860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15862 for ac_last_try in false false false false false :; do
15863 . ./conf$$subs.sh ||
15864 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15865 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15866 { (exit 1); exit 1; }; }
15868 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15869 if test $ac_delim_n = $ac_delim_num; then
15871 elif $ac_last_try; then
15872 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15873 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15874 { (exit 1); exit 1; }; }
15876 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15879 rm -f conf$$subs.sh
15881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15882 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15886 s/^/S["/; s
/!.
*/"]=/
15896 s/\(.\{148\}\).*/\1/
15898 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15903 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15910 s/\(.\{148\}\).*/\1/
15912 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15916 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15921 ' <conf$$subs.awk | sed '
15926 ' >>$CONFIG_STATUS || ac_write_fail=1
15927 rm -f conf$$subs.awk
15928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15930 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15931 for (key in S) S_is_set[key] = 1
15937 nfields = split(line, field, "@
")
15939 len = length(field[1])
15940 for (i = 2; i < nfields; i++) {
15942 keylen = length(key)
15943 if (S_is_set[key]) {
15945 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15946 len += length(value) + length(field[++i])
15957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15958 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15959 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15962 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15963 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
15964 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
15965 { (exit 1); exit 1; }; }
15968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15970 # trailing colons and then remove the whole line if VPATH becomes empty
15971 # (actually we leave an empty line to preserve line numbers).
15972 if test "x
$srcdir" = x.; then
15973 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15974 s/:*\$(srcdir):*/:/
15975 s/:*\${srcdir}:*/:/
15977 s/^\([^=]*=[ ]*\):*/\1/
15983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15984 fi # test -n "$CONFIG_FILES"
15986 # Set up the scripts for CONFIG_HEADERS section.
15987 # No need to generate them if there are no CONFIG_HEADERS.
15988 # This happens for instance with `./config.status Makefile'.
15989 if test -n "$CONFIG_HEADERS"; then
15990 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15994 # Transform confdefs.h into an awk script `defines.awk', embedded as
15995 # here-document in config.status, that substitutes the proper values into
15996 # config.h.in to produce config.h.
15998 # Create a delimiter string that does not exist in confdefs.h, to ease
15999 # handling of long lines.
16001 for ac_last_try in false false :; do
16002 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16003 if test -z "$ac_t"; then
16005 elif $ac_last_try; then
16006 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16007 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16008 { (exit 1); exit 1; }; }
16010 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16014 # For the awk script, D is an array of macro values keyed by name,
16015 # likewise P contains macro parameters if any. Preserve backslash
16016 # newline sequences.
16018 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16020 s/.\{148\}/&'"$ac_delim"'/g
16023 s/^[ ]*#[ ]*define[ ][ ]*/ /
16030 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16032 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16037 D["\
1"]=" \
3\\\\\\n
"\\/p
16039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16044 s/.\{148\}/&'"$ac_delim"'/g
16049 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16052 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16054 ' <confdefs.h | sed '
16055 s/'"$ac_delim"'/"\\\
16056 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16059 for (key in D) D_is_set[key] = 1
16062 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16064 split(line, arg, " ")
16065 if (arg[1] == "#") {
16069 defundef
= substr
(arg
[1], 2)
16072 split(mac1
, mac2
, "(") #)
16074 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16075 if (D_is_set
[macro
]) {
16076 # Preserve the white space surrounding the "#".
16077 print prefix
"define", macro P
[macro
] D
[macro
]
16080 # Replace #undef with comments. This is necessary, for example,
16081 # in the case of _POSIX_SOURCE, which is predefined and required
16082 # on some systems where configure will not decide to define it.
16083 if (defundef
== "undef") {
16084 print
"/*", prefix defundef
, macro
, "*/"
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16093 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16094 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16095 { (exit 1); exit 1; }; }
16096 fi # test -n "$CONFIG_HEADERS"
16099 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16104 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16106 case $ac_mode$ac_tag in
16108 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16109 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16110 { (exit 1); exit 1; }; };;
16111 :[FH
]-) ac_tag
=-:-;;
16112 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16129 -) ac_f
="$tmp/stdin";;
16130 *) # Look for the file first in the build tree, then in the source tree
16131 # (if the path is not absolute). The absolute path cannot be DOS-style,
16132 # because $ac_f cannot contain `:'.
16136 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16138 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16139 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16140 { (exit 1); exit 1; }; };;
16142 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16143 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16146 # Let's still pretend it is `configure' which instantiates (i.e., don't
16147 # use $as_me), people would be surprised to read:
16148 # /* config.h. Generated by config.status. */
16149 configure_input
='Generated from '`
16150 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16152 if test x
"$ac_file" != x-
; then
16153 configure_input
="$ac_file. $configure_input"
16154 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16155 $as_echo "$as_me: creating $ac_file" >&6;}
16157 # Neutralize special characters interpreted by sed in replacement strings.
16158 case $configure_input in #(
16159 *\
&* |
*\|
* |
*\\* )
16160 ac_sed_conf_input
=`$as_echo "$configure_input" |
16161 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16162 *) ac_sed_conf_input
=$configure_input;;
16166 *:-:* |
*:-) cat >"$tmp/stdin" \
16167 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16168 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16169 { (exit 1); exit 1; }; } ;;
16174 ac_dir
=`$as_dirname -- "$ac_file" ||
16175 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16176 X"$ac_file" : 'X\(//\)[^/]' \| \
16177 X"$ac_file" : 'X\(//\)$' \| \
16178 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16179 $as_echo X"$ac_file" |
16180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16184 /^X\(\/\/\)[^/].*/{
16199 -*) as_dir
=.
/$as_dir;;
16201 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16205 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16206 *) as_qdir
=$as_dir;;
16208 as_dirs
="'$as_qdir' $as_dirs"
16209 as_dir
=`$as_dirname -- "$as_dir" ||
16210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16211 X"$as_dir" : 'X\(//\)[^/]' \| \
16212 X"$as_dir" : 'X\(//\)$' \| \
16213 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16214 $as_echo X"$as_dir" |
16215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16219 /^X\(\/\/\)[^/].*/{
16232 test -d "$as_dir" && break
16234 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16235 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16236 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16237 { (exit 1); exit 1; }; }; }
16241 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16243 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16244 # A ".." for each directory in $ac_dir_suffix.
16245 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16246 case $ac_top_builddir_sub in
16247 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16248 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16251 ac_abs_top_builddir
=$ac_pwd
16252 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16253 # for backward compatibility:
16254 ac_top_builddir
=$ac_top_build_prefix
16257 .
) # We are building in place.
16259 ac_top_srcdir
=$ac_top_builddir_sub
16260 ac_abs_top_srcdir
=$ac_pwd ;;
16261 [\\/]* | ?
:[\\/]* ) # Absolute name.
16262 ac_srcdir
=$srcdir$ac_dir_suffix;
16263 ac_top_srcdir
=$srcdir
16264 ac_abs_top_srcdir
=$srcdir ;;
16265 *) # Relative name.
16266 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16267 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16268 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16270 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16280 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16281 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16283 ac_MKDIR_P
=$MKDIR_P
16285 [\\/$
]* | ?
:[\\/]* ) ;;
16286 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16291 # If the template does not know about datarootdir, expand it.
16292 # FIXME: This hack should be removed a few years after 2.60.
16293 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16306 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16307 *datarootdir
*) ac_datarootdir_seen
=yes;;
16308 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16309 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16310 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16313 ac_datarootdir_hack='
16314 s&@datadir@&$datadir&g
16315 s&@docdir@&$docdir&g
16316 s&@infodir@&$infodir&g
16317 s&@localedir@&$localedir&g
16318 s&@mandir@&$mandir&g
16319 s&\\\${datarootdir}&$datarootdir&g' ;;
16323 # Neutralize VPATH when `$srcdir' = `.'.
16324 # Shell code in configure.ac might set extrasub.
16325 # FIXME: do we really want to maintain this feature?
16326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16327 ac_sed_extra="$ac_vpsub
16330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16332 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16333 s|@configure_input@|
$ac_sed_conf_input|
;t t
16334 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16335 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16336 s
&@srcdir@
&$ac_srcdir&;t t
16337 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16338 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16339 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16340 s
&@builddir@
&$ac_builddir&;t t
16341 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16342 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16343 s
&@INSTALL@
&$ac_INSTALL&;t t
16344 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16345 $ac_datarootdir_hack
16347 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16348 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16349 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16350 { (exit 1); exit 1; }; }
16352 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16353 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16354 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16355 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16356 which seems to be undefined. Please make sure it is defined." >&5
16357 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16358 which seems to be undefined. Please make sure it is defined." >&2;}
16362 -) cat "$tmp/out" && rm -f "$tmp/out";;
16363 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16365 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16366 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16367 { (exit 1); exit 1; }; }
16373 if test x"$ac_file" != x-; then
16375 $as_echo "/* $configure_input */" \
16376 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16377 } >"$tmp/config.h" \
16378 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16379 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16380 { (exit 1); exit 1; }; }
16381 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16382 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16383 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16386 mv "$tmp/config.h" "$ac_file" \
16387 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16388 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16389 { (exit 1); exit 1; }; }
16392 $as_echo "/* $configure_input */" \
16393 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16394 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16395 $as_echo "$as_me: error: could not create -" >&2;}
16396 { (exit 1); exit 1; }; }
16406 { (exit 0); exit 0; }
16408 chmod +x $CONFIG_STATUS
16409 ac_clean_files=$ac_clean_files_save
16411 test $ac_write_fail = 0 ||
16412 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16413 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16414 { (exit 1); exit 1; }; }
16417 # configure is writing to config.log, and then calls config.status.
16418 # config.status does its own redirection, appending to config.log.
16419 # Unfortunately, on DOS this fails, as config.log is still kept open
16420 # by configure, so config.status won't be able to
write to it
; its
16421 # output is simply discarded. So we exec the FD to /dev/null,
16422 # effectively closing config.log, so it can be properly (re)opened and
16423 # appended to by config.status. When coming back to configure, we
16424 # need to make the FD available again.
16425 if test "$no_create" != yes; then
16427 ac_config_status_args
=
16428 test "$silent" = yes &&
16429 ac_config_status_args
="$ac_config_status_args --quiet"
16431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16434 # would make configure fail if this is the last instruction.
16435 $ac_cs_success ||
{ (exit 1); exit 1; }
16437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16438 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16443 if test x
$ODIRECT != xyes
; then
16444 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16445 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}