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
841 with_dmeventd_pidfile
845 ac_precious_vars
='build_alias
877 # Initialize some variables set by options.
879 ac_init_version
=false
880 ac_unrecognized_opts
=
882 # The variables have the same names as the options, with
883 # dashes changed to underlines.
891 program_transform_name
=s
,x
,x
,
899 # Installation directory options.
900 # These are left unexpanded so users can "make install exec_prefix=/foo"
901 # and all the variables that are supposed to be based on exec_prefix
902 # by default will actually change.
903 # Use braces instead of parens because sh, perl, etc. also accept them.
904 # (The list follows the same order as the GNU Coding Standards.)
905 bindir
='${exec_prefix}/bin'
906 sbindir
='${exec_prefix}/sbin'
907 libexecdir
='${exec_prefix}/libexec'
908 datarootdir
='${prefix}/share'
909 datadir
='${datarootdir}'
910 sysconfdir
='${prefix}/etc'
911 sharedstatedir
='${prefix}/com'
912 localstatedir
='${prefix}/var'
913 includedir
='${prefix}/include'
914 oldincludedir
='/usr/include'
915 docdir
='${datarootdir}/doc/${PACKAGE}'
916 infodir
='${datarootdir}/info'
921 libdir
='${exec_prefix}/lib'
922 localedir
='${datarootdir}/locale'
923 mandir
='${datarootdir}/man'
929 # If the previous option needs an argument, assign it.
930 if test -n "$ac_prev"; then
931 eval $ac_prev=\
$ac_option
937 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
941 # Accept the important Cygnus configure options, so we can diagnose typos.
943 case $ac_dashdash$ac_option in
947 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
949 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
952 -build |
--build |
--buil |
--bui |
--bu)
953 ac_prev
=build_alias
;;
954 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
955 build_alias
=$ac_optarg ;;
957 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
958 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
959 ac_prev
=cache_file
;;
960 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
961 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
962 cache_file
=$ac_optarg ;;
965 cache_file
=config.cache
;;
967 -datadir |
--datadir |
--datadi |
--datad)
969 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
970 datadir
=$ac_optarg ;;
972 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
973 |
--dataroo |
--dataro |
--datar)
974 ac_prev
=datarootdir
;;
975 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
976 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
977 datarootdir
=$ac_optarg ;;
979 -disable-* |
--disable-*)
980 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
983 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
984 { (exit 1); exit 1; }; }
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=no
;;
996 -docdir |
--docdir |
--docdi |
--doc |
--do)
998 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1001 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1003 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1004 dvidir
=$ac_optarg ;;
1006 -enable-* |
--enable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1011 { (exit 1); exit 1; }; }
1012 ac_useropt_orig
=$ac_useropt
1013 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "enable_
$ac_useropt"
1018 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1019 ac_unrecognized_sep
=', ';;
1021 eval enable_
$ac_useropt=\
$ac_optarg ;;
1023 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1024 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1025 |
--exec |
--exe |
--ex)
1026 ac_prev
=exec_prefix
;;
1027 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1028 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1029 |
--exec=* |
--exe=* |
--ex=*)
1030 exec_prefix
=$ac_optarg ;;
1032 -gas |
--gas |
--ga |
--g)
1033 # Obsolete; use --with-gas.
1036 -help |
--help |
--hel |
--he |
-h)
1037 ac_init_help
=long
;;
1038 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1039 ac_init_help
=recursive
;;
1040 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1041 ac_init_help
=short
;;
1043 -host |
--host |
--hos |
--ho)
1044 ac_prev
=host_alias
;;
1045 -host=* |
--host=* |
--hos=* |
--ho=*)
1046 host_alias
=$ac_optarg ;;
1048 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1050 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1052 htmldir
=$ac_optarg ;;
1054 -includedir |
--includedir |
--includedi |
--included |
--include \
1055 |
--includ |
--inclu |
--incl |
--inc)
1056 ac_prev
=includedir
;;
1057 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1058 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1059 includedir
=$ac_optarg ;;
1061 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1063 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1064 infodir
=$ac_optarg ;;
1066 -libdir |
--libdir |
--libdi |
--libd)
1068 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1069 libdir
=$ac_optarg ;;
1071 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1072 |
--libexe |
--libex |
--libe)
1073 ac_prev
=libexecdir
;;
1074 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1075 |
--libexe=* |
--libex=* |
--libe=*)
1076 libexecdir
=$ac_optarg ;;
1078 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1079 ac_prev
=localedir
;;
1080 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1081 localedir
=$ac_optarg ;;
1083 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1084 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1085 ac_prev
=localstatedir
;;
1086 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1087 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1088 localstatedir
=$ac_optarg ;;
1090 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1092 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1093 mandir
=$ac_optarg ;;
1095 -nfp |
--nfp |
--nf)
1096 # Obsolete; use --without-fp.
1099 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1100 |
--no-cr |
--no-c |
-n)
1103 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1104 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1107 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1108 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1109 |
--oldin |
--oldi |
--old |
--ol |
--o)
1110 ac_prev
=oldincludedir
;;
1111 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1112 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1113 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1114 oldincludedir
=$ac_optarg ;;
1116 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1118 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1119 prefix
=$ac_optarg ;;
1121 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1122 |
--program-pre |
--program-pr |
--program-p)
1123 ac_prev
=program_prefix
;;
1124 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1125 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1126 program_prefix
=$ac_optarg ;;
1128 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1129 |
--program-suf |
--program-su |
--program-s)
1130 ac_prev
=program_suffix
;;
1131 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1132 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1133 program_suffix
=$ac_optarg ;;
1135 -program-transform-name |
--program-transform-name \
1136 |
--program-transform-nam |
--program-transform-na \
1137 |
--program-transform-n |
--program-transform- \
1138 |
--program-transform |
--program-transfor \
1139 |
--program-transfo |
--program-transf \
1140 |
--program-trans |
--program-tran \
1141 |
--progr-tra |
--program-tr |
--program-t)
1142 ac_prev
=program_transform_name
;;
1143 -program-transform-name=* |
--program-transform-name=* \
1144 |
--program-transform-nam=* |
--program-transform-na=* \
1145 |
--program-transform-n=* |
--program-transform-=* \
1146 |
--program-transform=* |
--program-transfor=* \
1147 |
--program-transfo=* |
--program-transf=* \
1148 |
--program-trans=* |
--program-tran=* \
1149 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1150 program_transform_name
=$ac_optarg ;;
1152 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1154 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1155 pdfdir
=$ac_optarg ;;
1157 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1159 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1162 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1163 |
-silent |
--silent |
--silen |
--sile |
--sil)
1166 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1168 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1170 sbindir
=$ac_optarg ;;
1172 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1173 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1174 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1176 ac_prev
=sharedstatedir
;;
1177 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1178 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1179 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1181 sharedstatedir
=$ac_optarg ;;
1183 -site |
--site |
--sit)
1185 -site=* |
--site=* |
--sit=*)
1188 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1190 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1191 srcdir
=$ac_optarg ;;
1193 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1194 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1195 ac_prev
=sysconfdir
;;
1196 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1197 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1198 sysconfdir
=$ac_optarg ;;
1200 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1201 ac_prev
=target_alias
;;
1202 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1203 target_alias
=$ac_optarg ;;
1205 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1208 -version |
--version |
--versio |
--versi |
--vers |
-V)
1209 ac_init_version
=: ;;
1212 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1215 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1216 { (exit 1); exit 1; }; }
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=\
$ac_optarg ;;
1228 -without-* |
--without-*)
1229 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1232 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1233 { (exit 1); exit 1; }; }
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1264 Try \`$0 --help' for more information." >&2
1265 { (exit 1); exit 1; }; }
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1272 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1273 { (exit 1); exit 1; }; }
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1291 { (exit 1); exit 1; }; }
1294 if test -n "$ac_unrecognized_opts"; then
1295 case $enable_option_checking in
1297 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1298 { (exit 1); exit 1; }; } ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 # Check all directory arguments for consistency.
1304 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val
=\$
$ac_var
1310 # Remove trailing slashes.
1313 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\
$ac_val;;
1316 # Be sure to have absolute directory names.
1318 [\\/$
]* | ?
:[\\/]* ) continue;;
1319 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1321 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1322 { (exit 1); exit 1; }; }
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1330 target
=$target_alias
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x
; then
1334 if test "x$build_alias" = x
; then
1335 cross_compiling
=maybe
1336 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1337 If a cross compiler is detected then cross compile mode will be used." >&2
1338 elif test "x$build_alias" != "x$host_alias"; then
1344 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1346 test "$silent" = yes && exec 6>/dev
/null
1349 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1350 ac_ls_di
=`ls -di .` &&
1351 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1352 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1353 { (exit 1); exit 1; }; }
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1356 { (exit 1); exit 1; }; }
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1396 { (exit 1); exit 1; }; }
1398 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1401 { (exit 1); exit 1; }; }
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures this package to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1487 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1491 if test -n "$ac_init_help"; then
1496 --disable-option-checking ignore unrecognized
--enable/--with options
1497 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1498 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1499 --enable-static_link Use this to link the tools to their libraries
1500 statically. Default is dynamic linking
1501 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1502 device-mapper is missing from the kernel
1503 --disable-readline Disable readline support
1504 --disable-realtime Disable realtime
clock support
1505 --enable-clogd Enable the cluster log daemon
1506 --enable-debug Enable debugging
1507 --enable-profiling Gather gcov profiling data
1508 --disable-devmapper Disable LVM2 device-mapper interaction
1509 --enable-udev_sync Enable synchronisation with udev processing
1510 --enable-udev_rules Install rule files needed
for udev synchronisation
1511 --enable-compat Enable support
for old device-mapper versions
1512 --disable-driver Disable calls to device-mapper
in the kernel
1513 --disable-o_direct Disable O_DIRECT
1514 --enable-applib Build application library
1515 --enable-cmdlib Build shared
command library
1516 --enable-pkgconfig Install pkgconfig support
1517 --enable-fsadm Enable fsadm
1518 --enable-dmeventd Enable the device-mapper event daemon
1519 --disable-selinux Disable selinux support
1520 --enable-nls Enable Native Language Support
1523 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1524 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1525 --with-user=USER Set the owner of installed files
[USER
=root
]
1526 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1527 --with-device-uid=UID Set the owner used
for new device nodes
[UID
=0]
1528 --with-device-gid=UID Set the group used
for new device nodes
[GID
=0]
1529 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1530 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1532 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1534 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1536 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1538 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1540 --with-clvmd=TYPE Build cluster LVM Daemon.
1541 The following locking combinations are valid
:
1542 * cman
,gulm
(RHEL4 or equivalent
)
1543 * cman
(RHEL5 or equivalent
)
1544 * cman
,corosync
,openais
(or selection of them
)
1546 * none
(disable build
)
1548 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1549 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1550 --with-confdir=DIR Configuration files
in DIR
[/etc
]
1551 --with-staticdir=DIR Static binary
in DIR
[EPREFIX
/sbin
]
1552 --with-usrlibdir=DIR
1553 --with-usrsbindir=DIR
1554 --with-udev-prefix=UPREFIX Install udev rule files
in UPREFIX
[EPREFIX
]
1555 --with-udevdir=DIR udev rules
in DIR
[UPREFIX
/lib
/udev
/rules.d
]
1556 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1557 --with-dmeventd-path=PATH dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1558 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1560 Some influential environment variables
:
1561 CC C compiler
command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1564 nonstandard directory
<lib dir
>
1565 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1566 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1567 you have headers
in a nonstandard directory
<include dir
>
1569 PKG_CONFIG path to pkg-config utility
1570 PKGCONFIGINIT_CFLAGS
1571 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1573 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1574 CCS_CFLAGS C compiler flags
for CCS
, overriding pkg-config
1575 CCS_LIBS linker flags
for CCS
, overriding pkg-config
1576 GULM_CFLAGS C compiler flags
for GULM
, overriding pkg-config
1577 GULM_LIBS linker flags
for GULM
, overriding pkg-config
1578 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1579 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1581 C compiler flags
for COROSYNC
, overriding pkg-config
1583 linker flags
for COROSYNC
, overriding pkg-config
1585 C compiler flags
for QUORUM
, overriding pkg-config
1586 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1588 C compiler flags
for SALCK
, overriding pkg-config
1589 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1591 C compiler flags
for CONFDB
, overriding pkg-config
1592 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1593 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1594 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1595 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1596 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1598 Use these variables to override the choices made by
`configure' or to help
1599 it to find libraries and programs with nonstandard names/locations.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1664 generated by GNU Autoconf 2.63
1666 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1667 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1673 cat >config.log <<_ACEOF
1674 This file contains any messages produced by compilers while
1675 running configure, to aid debugging if configure makes a mistake.
1677 It was created by $as_me, which was
1678 generated by GNU Autoconf 2.63. Invocation command line was
1690 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1691 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1692 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1693 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1694 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1697 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1699 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1700 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1701 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1703 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1704 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1705 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 $as_echo "PATH: $as_dir"
1730 # Keep a trace of the command line.
1731 # Strip out --no-create and --no-recursion so they do not pile up.
1732 # Strip out --silent because we don't want to record it for future runs.
1733 # Also quote any args containing shell meta-characters.
1734 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_must_keep_next=false
1744 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1746 | -silent | --silent | --silen | --sile | --sil)
1749 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1752 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1754 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1755 if test $ac_must_keep_next = true; then
1756 ac_must_keep_next=false # Got value, back to normal.
1759 *=* | --config-cache | -C | -disable-* | --disable-* \
1760 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1761 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1762 | -with-* | --with-* | -without-* | --without-* | --x)
1763 case "$ac_configure_args0 " in
1764 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767 -* ) ac_must_keep_next=true ;;
1770 ac_configure_args="$ac_configure_args '$ac_arg'"
1775 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1776 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1778 # When interrupted or exit'd, cleanup temporary files, and complete
1779 # config.log. We remove comments because anyway the quotes in there
1780 # would cause problems or look ugly.
1781 # WARNING: Use '\'' to represent an apostrophe within the trap.
1782 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783 trap 'exit_status=$?
1784 # Save into config.log some information that might help in debugging.
1789 ## ---------------- ##
1790 ## Cache variables. ##
1791 ## ---------------- ##
1794 # The following way of writing the cache mishandles newlines in values,
1796 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1797 eval ac_val=\$$ac_var
1801 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1805 _ | IFS | as_nl) ;; #(
1806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 $as_echo "$as_me: caught signal $ac_signal"
1872 $as_echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1917 if test -n "$CONFIG_SITE"; then
1918 ac_site_file1=$CONFIG_SITE
1919 elif test "x$prefix" != xNONE; then
1920 ac_site_file1=$prefix/share/config.site
1921 ac_site_file2=$prefix/etc/config.site
1923 ac_site_file1=$ac_default_prefix/share/config.site
1924 ac_site_file2=$ac_default_prefix/etc/config.site
1926 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1928 test "x$ac_site_file" = xNONE && continue
1929 if test -r "$ac_site_file"; then
1930 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1931 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1932 sed 's/^/| /' "$ac_site_file" >&5
1937 if test -r "$cache_file"; then
1938 # Some versions of bash will fail to source /dev/null (special
1939 # files actually), so we avoid doing that.
1940 if test -f "$cache_file"; then
1941 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1942 $as_echo "$as_me: loading cache $cache_file" >&6;}
1944 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1945 *) . "./$cache_file";;
1949 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1950 $as_echo "$as_me: creating cache $cache_file" >&6;}
1954 # Check that the precious variables saved in the cache have kept the same
1956 ac_cache_corrupted=false
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1959 eval ac_new_set=\$ac_env_${ac_var}_set
1960 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1961 eval ac_new_val=\$ac_env_${ac_var}_value
1962 case $ac_old_set,$ac_new_set in
1964 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1965 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966 ac_cache_corrupted=: ;;
1968 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1969 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1970 ac_cache_corrupted=: ;;
1973 if test "x$ac_old_val" != "x$ac_new_val"; then
1974 # differences in whitespace do not lead to failure.
1975 ac_old_val_w=`echo x
$ac_old_val`
1976 ac_new_val_w=`echo x
$ac_new_val`
1977 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1978 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1979 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1980 ac_cache_corrupted=:
1982 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1983 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1984 eval $ac_var=\$ac_old_val
1986 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1987 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1988 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1989 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1992 # Pass precious variables to config.status.
1993 if test "$ac_new_set" = set; then
1995 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1996 *) ac_arg=$ac_var=$ac_new_val ;;
1998 case " $ac_configure_args " in
1999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2000 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2004 if $ac_cache_corrupted; then
2005 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2007 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2008 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2009 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2010 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2011 { (exit 1); exit 1; }; }
2031 ac_cpp='$CPP $CPPFLAGS'
2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
2041 ################################################################################
2043 for ac_dir in autoconf "$srcdir"/autoconf; do
2044 if test -f "$ac_dir/install-sh
"; then
2046 ac_install_sh="$ac_aux_dir/install-sh
-c"
2048 elif test -f "$ac_dir/install.sh
"; then
2050 ac_install_sh="$ac_aux_dir/install.sh
-c"
2052 elif test -f "$ac_dir/shtool
"; then
2054 ac_install_sh="$ac_aux_dir/shtool
install -c"
2058 if test -z "$ac_aux_dir"; then
2059 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2060 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2061 { (exit 1); exit 1; }; }
2064 # These three variables are undocumented and unsupported,
2065 # and are intended to be withdrawn in a future Autoconf release.
2066 # They can cause serious problems if a builder's source tree is in a directory
2067 # whose full name contains unusual characters.
2068 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2069 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2070 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2074 ################################################################################
2075 # Make sure we can run config.sub.
2076 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2077 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2078 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2079 { (exit 1); exit 1; }; }
2081 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2082 $as_echo_n "checking build system
type...
" >&6; }
2083 if test "${ac_cv_build+set}" = set; then
2084 $as_echo_n "(cached
) " >&6
2086 ac_build_alias=$build_alias
2087 test "x
$ac_build_alias" = x &&
2088 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2089 test "x
$ac_build_alias" = x &&
2090 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2091 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2092 { (exit 1); exit 1; }; }
2093 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2094 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2095 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2096 { (exit 1); exit 1; }; }
2099 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2100 $as_echo "$ac_cv_build" >&6; }
2101 case $ac_cv_build in
2103 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2104 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2105 { (exit 1); exit 1; }; };;
2108 ac_save_IFS=$IFS; IFS='-'
2114 # Remember, the first character of IFS is used to create $*,
2115 # except with old shells:
2118 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2121 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2122 $as_echo_n "checking
host system
type...
" >&6; }
2123 if test "${ac_cv_host+set}" = set; then
2124 $as_echo_n "(cached
) " >&6
2126 if test "x
$host_alias" = x; then
2127 ac_cv_host=$ac_cv_build
2129 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2130 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2131 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2132 { (exit 1); exit 1; }; }
2136 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2137 $as_echo "$ac_cv_host" >&6; }
2140 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2141 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2142 { (exit 1); exit 1; }; };;
2145 ac_save_IFS=$IFS; IFS='-'
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2155 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2158 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2159 $as_echo_n "checking target system
type...
" >&6; }
2160 if test "${ac_cv_target+set}" = set; then
2161 $as_echo_n "(cached
) " >&6
2163 if test "x
$target_alias" = x; then
2164 ac_cv_target=$ac_cv_host
2166 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2167 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2168 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2169 { (exit 1); exit 1; }; }
2173 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2174 $as_echo "$ac_cv_target" >&6; }
2175 case $ac_cv_target in
2177 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2178 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2179 { (exit 1); exit 1; }; };;
2181 target=$ac_cv_target
2182 ac_save_IFS=$IFS; IFS='-'
2188 # Remember, the first character of IFS is used to create $*,
2189 # except with old shells:
2192 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2195 # The aliases save the names the user supplied, while $host etc.
2196 # will get canonicalized.
2197 test -n "$target_alias" &&
2198 test "$program_prefix$program_suffix$program_transform_name" = \
2200 program_prefix=${target_alias}-
2205 COPTIMISE_FLAG="-O2"
2206 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2207 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2208 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2209 LDDEPS="$LDDEPS .
export.sym
"
2210 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2221 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2222 COPTIMISE_FLAG="-O2"
2223 CLDFLAGS="$CLDFLAGS"
2224 CLDWHOLEARCHIVE="-all_load"
2237 ################################################################################
2238 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2239 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2240 if test "${ac_cv_path_SED+set}" = set; then
2241 $as_echo_n "(cached
) " >&6
2243 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2244 for ac_i in 1 2 3 4 5 6 7; do
2245 ac_script="$ac_script$as_nl$ac_script"
2247 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2248 $as_unset ac_script || ac_script=
2249 if test -z "$SED"; then
2250 ac_path_SED_found=false
2251 # Loop through the user's path and test for each of PROGNAME-LIST
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_prog in sed gsed; do
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2260 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2261 # Check for GNU ac_path_SED and select it if it is found.
2262 # Check for GNU $ac_path_SED
2263 case `"$ac_path_SED" --version 2>&1` in
2265 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2268 $as_echo_n 0123456789 >"conftest.
in"
2271 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2272 mv "conftest.tmp
" "conftest.
in"
2273 cp "conftest.
in" "conftest.
nl"
2274 $as_echo '' >> "conftest.
nl"
2275 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2276 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2277 ac_count=`expr $ac_count + 1`
2278 if test $ac_count -gt ${ac_path_SED_max-0}; then
2279 # Best one so far, save it but keep looking for a better one
2280 ac_cv_path_SED="$ac_path_SED"
2281 ac_path_SED_max=$ac_count
2283 # 10*(2^10) chars as input seems more than enough
2284 test $ac_count -gt 10 && break
2286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2289 $ac_path_SED_found && break 3
2294 if test -z "$ac_cv_path_SED"; then
2295 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2296 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2297 { (exit 1); exit 1; }; }
2304 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2305 $as_echo "$ac_cv_path_SED" >&6; }
2306 SED="$ac_cv_path_SED"
2309 for ac_prog in gawk mawk nawk awk
2311 # Extract the first word of "$ac_prog", so it can be a program name with args.
2312 set dummy $ac_prog; ac_word=$2
2313 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2314 $as_echo_n "checking
for $ac_word...
" >&6; }
2315 if test "${ac_cv_prog_AWK+set}" = set; then
2316 $as_echo_n "(cached
) " >&6
2318 if test -n "$AWK"; then
2319 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_AWK="$ac_prog"
2329 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2339 if test -n "$AWK"; then
2340 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2341 $as_echo "$AWK" >&6; }
2343 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2344 $as_echo "no
" >&6; }
2348 test -n "$AWK" && break
2352 ac_cpp='$CPP $CPPFLAGS'
2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2356 if test -n "$ac_tool_prefix"; then
2357 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2359 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2360 $as_echo_n "checking
for $ac_word...
" >&6; }
2361 if test "${ac_cv_prog_CC+set}" = set; then
2362 $as_echo_n "(cached
) " >&6
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC="$CC" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2375 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2385 if test -n "$CC"; then
2386 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2387 $as_echo "$CC" >&6; }
2389 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2390 $as_echo "no
" >&6; }
2395 if test -z "$ac_cv_prog_CC"; then
2397 # Extract the first word of "gcc
", so it can be a program name with args.
2398 set dummy gcc; ac_word=$2
2399 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2400 $as_echo_n "checking
for $ac_word...
" >&6; }
2401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2402 $as_echo_n "(cached
) " >&6
2404 if test -n "$ac_ct_CC"; then
2405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 ac_cv_prog_ac_ct_CC="gcc
"
2415 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2425 if test -n "$ac_ct_CC"; then
2426 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2427 $as_echo "$ac_ct_CC" >&6; }
2429 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2430 $as_echo "no
" >&6; }
2433 if test "x
$ac_ct_CC" = x; then
2436 case $cross_compiling:$ac_tool_warned in
2438 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2440 ac_tool_warned=yes ;;
2448 if test -z "$CC"; then
2449 if test -n "$ac_tool_prefix"; then
2450 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}cc; ac_word=$2
2452 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2453 $as_echo_n "checking
for $ac_word...
" >&6; }
2454 if test "${ac_cv_prog_CC+set}" = set; then
2455 $as_echo_n "(cached
) " >&6
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2468 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2478 if test -n "$CC"; then
2479 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2480 $as_echo "$CC" >&6; }
2482 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2483 $as_echo "no
" >&6; }
2489 if test -z "$CC"; then
2490 # Extract the first word of "cc
", so it can be a program name with args.
2491 set dummy cc; ac_word=$2
2492 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2493 $as_echo_n "checking
for $ac_word...
" >&6; }
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495 $as_echo_n "(cached
) " >&6
2497 if test -n "$CC"; then
2498 ac_cv_prog_CC="$CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2509 ac_prog_rejected=yes
2513 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2520 if test $ac_prog_rejected = yes; then
2521 # We found a bogon in the path, so make sure we never use it.
2522 set dummy $ac_cv_prog_CC
2524 if test $# != 0; then
2525 # We chose a different compiler from the bogus one.
2526 # However, it has the same basename, so the bogon will be chosen
2527 # first if we set CC to just the basename; use the full file name.
2529 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2535 if test -n "$CC"; then
2536 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2537 $as_echo "$CC" >&6; }
2539 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2540 $as_echo "no
" >&6; }
2545 if test -z "$CC"; then
2546 if test -n "$ac_tool_prefix"; then
2547 for ac_prog in cl.exe
2549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2550 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2551 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2552 $as_echo_n "checking
for $ac_word...
" >&6; }
2553 if test "${ac_cv_prog_CC+set}" = set; then
2554 $as_echo_n "(cached
) " >&6
2556 if test -n "$CC"; then
2557 ac_cv_prog_CC="$CC" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2567 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2577 if test -n "$CC"; then
2578 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2579 $as_echo "$CC" >&6; }
2581 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2582 $as_echo "no
" >&6; }
2586 test -n "$CC" && break
2589 if test -z "$CC"; then
2591 for ac_prog in cl.exe
2593 # Extract the first word of "$ac_prog", so it can be a program name with args.
2594 set dummy $ac_prog; ac_word=$2
2595 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2596 $as_echo_n "checking
for $ac_word...
" >&6; }
2597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2598 $as_echo_n "(cached
) " >&6
2600 if test -n "$ac_ct_CC"; then
2601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir=.
2608 for ac_exec_ext in '' $ac_executable_extensions; do
2609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2610 ac_cv_prog_ac_ct_CC="$ac_prog"
2611 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2621 if test -n "$ac_ct_CC"; then
2622 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2623 $as_echo "$ac_ct_CC" >&6; }
2625 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2626 $as_echo "no
" >&6; }
2630 test -n "$ac_ct_CC" && break
2633 if test "x
$ac_ct_CC" = x; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2639 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2640 ac_tool_warned=yes ;;
2649 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2652 See \`config.log' for more details.
" >&5
2653 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2654 See \
`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }; }
2657 # Provide some information about the compiler.
2658 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2661 { (ac_try="$ac_compiler --version >&5"
2663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2664 *) ac_try_echo
=$ac_try;;
2666 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2667 $as_echo "$ac_try_echo") >&5
2668 (eval "$ac_compiler --version >&5") 2>&5
2670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }
2672 { (ac_try
="$ac_compiler -v >&5"
2674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678 $as_echo "$ac_try_echo") >&5
2679 (eval "$ac_compiler -v >&5") 2>&5
2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2683 { (ac_try="$ac_compiler -V >&5"
2685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2686 *) ac_try_echo
=$ac_try;;
2688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_compiler -V >&5") 2>&5
2692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }
2695 cat >conftest.
$ac_ext <<_ACEOF
2698 cat confdefs.h
>>conftest.
$ac_ext
2699 cat >>conftest.
$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 ac_clean_files_save
=$ac_clean_files
2711 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2712 # Try to create an executable without -o first, disregard a.out.
2713 # It will help us diagnose broken compilers, and finding out an intuition
2715 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2716 $as_echo_n "checking for C compiler default output file name... " >&6; }
2717 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2719 # The possible output files:
2720 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2723 for ac_file
in $ac_files
2726 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2727 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2732 if { (ac_try
="$ac_link_default"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2738 $as_echo "$ac_try_echo") >&5
2739 (eval "$ac_link_default") 2>&5
2741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; then
2743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2744 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2746 # so that the user can short-circuit this test for compilers unknown to
2748 for ac_file in $ac_files ''
2750 test -f "$ac_file" || continue
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2755 # We found the default executable, but exeext='' is most
2759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2763 # We set ac_cv_exeext here because the later test for it is not
2764 # safe: cross compilers may not add the suffix if given an `-o'
2765 # argument, so we may need to know it at that point already.
2766 # Even if this section looks crufty: it has the advantage of
2773 test "$ac_cv_exeext" = no && ac_cv_exeext=
2779 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2780 $as_echo "$ac_file" >&6; }
2781 if test -z "$ac_file"; then
2782 $as_echo "$as_me: failed program was:" >&5
2783 sed 's
/^
/|
/' conftest.$ac_ext >&5
2785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2786 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2787 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2788 See \`config.log
' for more details." >&5
2789 $as_echo "$as_me: error: C compiler cannot create executables
2790 See \`config.log' for more details.
" >&2;}
2791 { (exit 77); exit 77; }; }; }
2794 ac_exeext=$ac_cv_exeext
2796 # Check that the compiler produces executables we can run. If not, either
2797 # the compiler is broken, or we cross compile.
2798 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2799 $as_echo_n "checking whether the C compiler works...
" >&6; }
2800 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2801 # If not cross compiling, check that we can run a simple program.
2802 if test "$cross_compiling" != yes; then
2803 if { ac_try='./$ac_file'
2804 { (case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2809 $as_echo "$ac_try_echo") >&5
2810 (eval "$ac_try") 2>&5
2812 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2813 (exit $ac_status); }; }; then
2816 if test "$cross_compiling" = maybe; then
2819 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2822 If you meant to cross compile, use \`--host'.
2823 See \
`config.log' for more details." >&5
2824 $as_echo "$as_me: error: cannot run C compiled programs.
2825 If you meant to cross compile, use \`--host'.
2826 See \`config.log' for more details.
" >&2;}
2827 { (exit 1); exit 1; }; }; }
2831 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2832 $as_echo "yes" >&6; }
2834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2835 ac_clean_files=$ac_clean_files_save
2836 # Check that the compiler produces executables we can run. If not, either
2837 # the compiler is broken, or we cross compile.
2838 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2839 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2840 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2841 $as_echo "$cross_compiling" >&6; }
2843 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2844 $as_echo_n "checking
for suffix of executables...
" >&6; }
2845 if { (ac_try="$ac_link"
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2851 $as_echo "$ac_try_echo") >&5
2852 (eval "$ac_link") 2>&5
2854 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2855 (exit $ac_status); }; then
2856 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2857 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2858 # work properly (i.e., refer to `conftest.exe'), while it won't with
2860 for ac_file in conftest.exe conftest conftest.*; do
2861 test -f "$ac_file" || continue
2863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2864 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2870 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2872 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2873 See \`config.log' for more details.
" >&5
2874 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2875 See \
`config.log' for more details." >&2;}
2876 { (exit 1); exit 1; }; }; }
2879 rm -f conftest$ac_cv_exeext
2880 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2881 $as_echo "$ac_cv_exeext" >&6; }
2883 rm -f conftest.$ac_ext
2884 EXEEXT=$ac_cv_exeext
2886 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2887 $as_echo_n "checking for suffix of object files... " >&6; }
2888 if test "${ac_cv_objext+set}" = set; then
2889 $as_echo_n "(cached) " >&6
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 rm -f conftest.o conftest.obj
2907 if { (ac_try="$ac_compile"
2909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2910 *) ac_try_echo
=$ac_try;;
2912 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2913 $as_echo "$ac_try_echo") >&5
2914 (eval "$ac_compile") 2>&5
2916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; then
2918 for ac_file
in conftest.o conftest.obj conftest.
*; do
2919 test -f "$ac_file" ||
continue;
2921 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2922 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.
$ac_ext >&5
2930 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2933 See \`config.log' for more details." >&5
2934 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2935 See \`config.log' for more details." >&2;}
2936 { (exit 1); exit 1; }; }; }
2939 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2942 $as_echo "$ac_cv_objext" >&6; }
2943 OBJEXT
=$ac_cv_objext
2945 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2946 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2947 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2948 $as_echo_n "(cached) " >&6
2950 cat >conftest.
$ac_ext <<_ACEOF
2953 cat confdefs.h
>>conftest.
$ac_ext
2954 cat >>conftest.
$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2968 rm -f conftest.
$ac_objext
2969 if { (ac_try
="$ac_compile"
2971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2975 $as_echo "$ac_try_echo") >&5
2976 (eval "$ac_compile") 2>conftest.er1
2978 grep -v '^ *+' conftest.er1 >conftest.err
2980 cat conftest.err >&5
2981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } && {
2983 test -z "$ac_c_werror_flag" ||
2984 test ! -s conftest.err
2985 } && test -s conftest.$ac_objext; then
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2998 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3000 if test $ac_compiler_gnu = yes; then
3005 ac_test_CFLAGS=${CFLAGS+set}
3006 ac_save_CFLAGS=$CFLAGS
3007 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3008 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3009 if test "${ac_cv_prog_cc_g+set}" = set; then
3010 $as_echo_n "(cached) " >&6
3012 ac_save_c_werror_flag=$ac_c_werror_flag
3013 ac_c_werror_flag=yes
3016 cat >conftest.$ac_ext <<_ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3035 *) ac_try_echo
=$ac_try;;
3037 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3038 $as_echo "$ac_try_echo") >&5
3039 (eval "$ac_compile") 2>conftest.er1
3041 grep -v '^ *+' conftest.er1
>conftest.err
3043 cat conftest.err
>&5
3044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } && {
3046 test -z "$ac_c_werror_flag" ||
3047 test ! -s conftest.err
3048 } && test -s conftest.
$ac_objext; then
3051 $as_echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3055 cat >conftest.
$ac_ext <<_ACEOF
3058 cat confdefs.h
>>conftest.
$ac_ext
3059 cat >>conftest.
$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3070 rm -f conftest.
$ac_objext
3071 if { (ac_try
="$ac_compile"
3073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3077 $as_echo "$ac_try_echo") >&5
3078 (eval "$ac_compile") 2>conftest.er1
3080 grep -v '^ *+' conftest.er1 >conftest.err
3082 cat conftest.err >&5
3083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } && {
3085 test -z "$ac_c_werror_flag" ||
3086 test ! -s conftest.err
3087 } && test -s conftest.$ac_objext; then
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3093 ac_c_werror_flag=$ac_save_c_werror_flag
3095 cat >conftest.$ac_ext <<_ACEOF
3098 cat confdefs.h >>conftest.$ac_ext
3099 cat >>conftest.$ac_ext <<_ACEOF
3100 /* end confdefs.h. */
3110 rm -f conftest.$ac_objext
3111 if { (ac_try="$ac_compile"
3113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3114 *) ac_try_echo
=$ac_try;;
3116 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3117 $as_echo "$ac_try_echo") >&5
3118 (eval "$ac_compile") 2>conftest.er1
3120 grep -v '^ *+' conftest.er1
>conftest.err
3122 cat conftest.err
>&5
3123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } && {
3125 test -z "$ac_c_werror_flag" ||
3126 test ! -s conftest.err
3127 } && test -s conftest.
$ac_objext; then
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.
$ac_ext >&5
3136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3143 ac_c_werror_flag
=$ac_save_c_werror_flag
3145 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3146 $as_echo "$ac_cv_prog_cc_g" >&6; }
3147 if test "$ac_test_CFLAGS" = set; then
3148 CFLAGS
=$ac_save_CFLAGS
3149 elif test $ac_cv_prog_cc_g = yes; then
3150 if test "$GCC" = yes; then
3156 if test "$GCC" = yes; then
3162 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3163 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3164 if test "${ac_cv_prog_cc_c89+set}" = set; then
3165 $as_echo_n "(cached) " >&6
3167 ac_cv_prog_cc_c89
=no
3169 cat >conftest.
$ac_ext <<_ACEOF
3172 cat confdefs.h
>>conftest.
$ac_ext
3173 cat >>conftest.
$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3177 #include <sys/types.h>
3178 #include <sys/stat.h>
3179 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3180 struct buf { int x; };
3181 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3182 static char *e (p, i)
3188 static char *f (char * (*g) (char **, int), char **p, ...)
3193 s = g (p, va_arg (v,int));
3198 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3199 function prototypes and stuff, but not '\xHH' hex character constants.
3200 These don't provoke an error unfortunately, instead are silently treated
3201 as 'x'. The following induces an error, until -std is added to get
3202 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3203 array size at least. It's necessary to write '\x00'==0 to get something
3204 that's true only with -std. */
3205 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3207 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3208 inside strings and character constants. */
3210 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3212 int test (int i, double x);
3213 struct s1 {int (*f) (int a);};
3214 struct s2 {int (*f) (double a);};
3215 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3221 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3226 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3227 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3229 CC
="$ac_save_CC $ac_arg"
3230 rm -f conftest.
$ac_objext
3231 if { (ac_try
="$ac_compile"
3233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3237 $as_echo "$ac_try_echo") >&5
3238 (eval "$ac_compile") 2>conftest.er1
3240 grep -v '^ *+' conftest.er1 >conftest.err
3242 cat conftest.err >&5
3243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } && {
3245 test -z "$ac_c_werror_flag" ||
3246 test ! -s conftest.err
3247 } && test -s conftest.$ac_objext; then
3248 ac_cv_prog_cc_c89=$ac_arg
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3256 rm -f core conftest.err conftest.$ac_objext
3257 test "x$ac_cv_prog_cc_c89" != "xno" && break
3259 rm -f conftest.$ac_ext
3264 case "x$ac_cv_prog_cc_c89" in
3266 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3267 $as_echo "none needed" >&6; } ;;
3269 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3270 $as_echo "unsupported" >&6; } ;;
3272 CC="$CC $ac_cv_prog_cc_c89"
3273 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3279 ac_cpp='$CPP $CPPFLAGS'
3280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3287 ac_cpp='$CPP $CPPFLAGS'
3288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3291 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3292 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3293 # On Suns, sometimes $CPP names a directory.
3294 if test -n "$CPP" && test -d "$CPP"; then
3297 if test -z "$CPP"; then
3298 if test "${ac_cv_prog_CPP+set}" = set; then
3299 $as_echo_n "(cached) " >&6
3301 # Double quotes because CPP needs to be expanded
3302 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3305 for ac_c_preproc_warn_flag in '' yes
3307 # Use a header file that comes with gcc, so configuring glibc
3308 # with a fresh cross-compiler works.
3309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3310 # <limits.h> exists even on freestanding compilers.
3311 # On the NeXT, cc -E runs the code through the compiler's parser,
3312 # not just through cpp. "Syntax error" is here to catch this case.
3313 cat >conftest.$ac_ext <<_ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3320 # include <limits.h>
3322 # include <assert.h>
3326 if { (ac_try="$ac_cpp conftest.$ac_ext"
3328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3329 *) ac_try_echo
=$ac_try;;
3331 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3332 $as_echo "$ac_try_echo") >&5
3333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3335 grep -v '^ *+' conftest.er1
>conftest.err
3337 cat conftest.err
>&5
3338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } >/dev
/null
&& {
3340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3341 test ! -s conftest.err
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.
$ac_ext >&5
3348 # Broken: fails on valid input.
3352 rm -f conftest.err conftest.
$ac_ext
3354 # OK, works on sane cases. Now check whether nonexistent headers
3355 # can be detected and how.
3356 cat >conftest.
$ac_ext <<_ACEOF
3359 cat confdefs.h
>>conftest.
$ac_ext
3360 cat >>conftest.
$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3362 #include <ac_nonexistent.h>
3364 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3370 $as_echo "$ac_try_echo") >&5
3371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3373 grep -v '^ *+' conftest.er1 >conftest.err
3375 cat conftest.err >&5
3376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } >/dev/null && {
3378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3379 test ! -s conftest.err
3381 # Broken: success on invalid input.
3384 $as_echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.$ac_ext >&5
3387 # Passes both tests.
3392 rm -f conftest.err conftest.$ac_ext
3395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3396 rm -f conftest.err conftest.
$ac_ext
3397 if $ac_preproc_ok; then
3409 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3410 $as_echo "$CPP" >&6; }
3412 for ac_c_preproc_warn_flag
in '' yes
3414 # Use a header file that comes with gcc, so configuring glibc
3415 # with a fresh cross-compiler works.
3416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3417 # <limits.h> exists even on freestanding compilers.
3418 # On the NeXT, cc -E runs the code through the compiler's parser,
3419 # not just through cpp. "Syntax error" is here to catch this case.
3420 cat >conftest.
$ac_ext <<_ACEOF
3423 cat confdefs.h
>>conftest.
$ac_ext
3424 cat >>conftest.
$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3427 # include <limits.h>
3429 # include <assert.h>
3433 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3439 $as_echo "$ac_try_echo") >&5
3440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev/null && {
3447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3448 test ! -s conftest.err
3452 $as_echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 # Broken: fails on valid input.
3459 rm -f conftest.err conftest.$ac_ext
3461 # OK, works on sane cases. Now check whether nonexistent headers
3462 # can be detected and how.
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3469 #include <ac_nonexistent.h>
3471 if { (ac_try="$ac_cpp conftest.$ac_ext"
3473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3474 *) ac_try_echo
=$ac_try;;
3476 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3477 $as_echo "$ac_try_echo") >&5
3478 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1
>conftest.err
3482 cat conftest.err
>&5
3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } >/dev
/null
&& {
3485 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3486 test ! -s conftest.err
3488 # Broken: success on invalid input.
3491 $as_echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.
$ac_ext >&5
3494 # Passes both tests.
3499 rm -f conftest.err conftest.
$ac_ext
3502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3503 rm -f conftest.err conftest.
$ac_ext
3504 if $ac_preproc_ok; then
3507 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3510 See \`config.log' for more details." >&5
3511 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3512 See \`config.log' for more details." >&2;}
3513 { (exit 1); exit 1; }; }; }
3517 ac_cpp
='$CPP $CPPFLAGS'
3518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3523 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3524 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3525 if test "${ac_cv_path_GREP+set}" = set; then
3526 $as_echo_n "(cached) " >&6
3528 if test -z "$GREP"; then
3529 ac_path_GREP_found
=false
3530 # Loop through the user's path and test for each of PROGNAME-LIST
3531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3532 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3535 test -z "$as_dir" && as_dir
=.
3536 for ac_prog
in grep ggrep
; do
3537 for ac_exec_ext
in '' $ac_executable_extensions; do
3538 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3539 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3540 # Check for GNU ac_path_GREP and select it if it is found.
3541 # Check for GNU $ac_path_GREP
3542 case `"$ac_path_GREP" --version 2>&1` in
3544 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3547 $as_echo_n 0123456789 >"conftest.in"
3550 cat "conftest.in" "conftest.in" >"conftest.tmp"
3551 mv "conftest.tmp" "conftest.in"
3552 cp "conftest.in" "conftest.nl"
3553 $as_echo 'GREP' >> "conftest.nl"
3554 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3555 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3556 ac_count
=`expr $ac_count + 1`
3557 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3558 # Best one so far, save it but keep looking for a better one
3559 ac_cv_path_GREP
="$ac_path_GREP"
3560 ac_path_GREP_max
=$ac_count
3562 # 10*(2^10) chars as input seems more than enough
3563 test $ac_count -gt 10 && break
3565 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3568 $ac_path_GREP_found && break 3
3573 if test -z "$ac_cv_path_GREP"; then
3574 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3575 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3576 { (exit 1); exit 1; }; }
3579 ac_cv_path_GREP
=$GREP
3583 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3584 $as_echo "$ac_cv_path_GREP" >&6; }
3585 GREP
="$ac_cv_path_GREP"
3588 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3589 $as_echo_n "checking for egrep... " >&6; }
3590 if test "${ac_cv_path_EGREP+set}" = set; then
3591 $as_echo_n "(cached) " >&6
3593 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3594 then ac_cv_path_EGREP
="$GREP -E"
3596 if test -z "$EGREP"; then
3597 ac_path_EGREP_found
=false
3598 # Loop through the user's path and test for each of PROGNAME-LIST
3599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3603 test -z "$as_dir" && as_dir
=.
3604 for ac_prog
in egrep; do
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3607 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3608 # Check for GNU ac_path_EGREP and select it if it is found.
3609 # Check for GNU $ac_path_EGREP
3610 case `"$ac_path_EGREP" --version 2>&1` in
3612 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3615 $as_echo_n 0123456789 >"conftest.in"
3618 cat "conftest.in" "conftest.in" >"conftest.tmp"
3619 mv "conftest.tmp" "conftest.in"
3620 cp "conftest.in" "conftest.nl"
3621 $as_echo 'EGREP' >> "conftest.nl"
3622 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3623 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3624 ac_count
=`expr $ac_count + 1`
3625 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3626 # Best one so far, save it but keep looking for a better one
3627 ac_cv_path_EGREP
="$ac_path_EGREP"
3628 ac_path_EGREP_max
=$ac_count
3630 # 10*(2^10) chars as input seems more than enough
3631 test $ac_count -gt 10 && break
3633 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3636 $ac_path_EGREP_found && break 3
3641 if test -z "$ac_cv_path_EGREP"; then
3642 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3643 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3644 { (exit 1); exit 1; }; }
3647 ac_cv_path_EGREP
=$EGREP
3652 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3653 $as_echo "$ac_cv_path_EGREP" >&6; }
3654 EGREP
="$ac_cv_path_EGREP"
3657 if test $ac_cv_c_compiler_gnu = yes; then
3658 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3659 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3660 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3661 $as_echo_n "(cached) " >&6
3663 ac_pattern
="Autoconf.*'x'"
3664 cat >conftest.
$ac_ext <<_ACEOF
3667 cat confdefs.h
>>conftest.
$ac_ext
3668 cat >>conftest.
$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3674 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3675 ac_cv_prog_gcc_traditional
=yes
3677 ac_cv_prog_gcc_traditional
=no
3682 if test $ac_cv_prog_gcc_traditional = no
; then
3683 cat >conftest.
$ac_ext <<_ACEOF
3686 cat confdefs.h
>>conftest.
$ac_ext
3687 cat >>conftest.
$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3693 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3694 ac_cv_prog_gcc_traditional
=yes
3700 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3701 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3702 if test $ac_cv_prog_gcc_traditional = yes; then
3703 CC
="$CC -traditional"
3707 # Find a good install program. We prefer a C program (faster),
3708 # so one script is as good as another. But avoid the broken or
3709 # incompatible versions:
3710 # SysV /etc/install, /usr/sbin/install
3711 # SunOS /usr/etc/install
3712 # IRIX /sbin/install
3714 # AmigaOS /C/install, which installs bootblocks on floppy discs
3715 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3716 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3717 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3718 # OS/2's system install, which has a completely different semantic
3719 # ./install, which can be erroneously created by make from ./install.sh.
3720 # Reject install programs that cannot install multiple files.
3721 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3722 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3723 if test -z "$INSTALL"; then
3724 if test "${ac_cv_path_install+set}" = set; then
3725 $as_echo_n "(cached) " >&6
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 # Account for people who put trailing slashes in PATH elements.
3734 .
/ | .
// |
/cC
/* | \
3735 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3736 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3739 # OSF1 and SCO ODT 3.0 have their own names for install.
3740 # Don't use installbsd from OSF since it installs stuff as root
3742 for ac_prog
in ginstall scoinst
install; do
3743 for ac_exec_ext
in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3745 if test $ac_prog = install &&
3746 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3747 # AIX install. It has an incompatible calling convention.
3749 elif test $ac_prog = install &&
3750 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3751 # program-specific install script used by HP pwplus--don't use.
3754 rm -rf conftest.one conftest.two conftest.dir
3755 echo one
> conftest.one
3756 echo two
> conftest.two
3758 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3759 test -s conftest.one
&& test -s conftest.two
&&
3760 test -s conftest.dir
/conftest.one
&&
3761 test -s conftest.dir
/conftest.two
3763 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3776 rm -rf conftest.one conftest.two conftest.dir
3779 if test "${ac_cv_path_install+set}" = set; then
3780 INSTALL
=$ac_cv_path_install
3782 # As a last resort, use the slow shell script. Don't cache a
3783 # value for INSTALL within a source directory, because that will
3784 # break other packages using the cache if that directory is
3785 # removed, or if the value is a relative name.
3786 INSTALL
=$ac_install_sh
3789 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3790 $as_echo "$INSTALL" >&6; }
3792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3793 # It thinks the first close brace ends the variable substitution.
3794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3798 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3800 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3801 $as_echo_n "checking whether ln -s works... " >&6; }
3803 if test "$LN_S" = "ln -s"; then
3804 { $as_echo "$as_me:$LINENO: result: yes" >&5
3805 $as_echo "yes" >&6; }
3807 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3808 $as_echo "no, using $LN_S" >&6; }
3811 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3812 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3814 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3815 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3816 $as_echo_n "(cached) " >&6
3818 cat >conftest.
make <<\_ACEOF
3821 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3826 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3828 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3832 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3833 { $as_echo "$as_me:$LINENO: result: yes" >&5
3834 $as_echo "yes" >&6; }
3837 { $as_echo "$as_me:$LINENO: result: no" >&5
3838 $as_echo "no" >&6; }
3839 SET_MAKE
="MAKE=${MAKE-make}"
3842 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3843 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3844 if test -z "$MKDIR_P"; then
3845 if test "${ac_cv_path_mkdir+set}" = set; then
3846 $as_echo_n "(cached) " >&6
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3849 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_prog
in mkdir gmkdir
; do
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3856 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3857 'mkdir (GNU coreutils) '* | \
3858 'mkdir (coreutils) '* | \
3859 'mkdir (fileutils) '4.1*)
3860 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3870 if test "${ac_cv_path_mkdir+set}" = set; then
3871 MKDIR_P
="$ac_cv_path_mkdir -p"
3873 # As a last resort, use the slow shell script. Don't cache a
3874 # value for MKDIR_P within a source directory, because that will
3875 # break other packages using the cache if that directory is
3876 # removed, or if the value is a relative name.
3877 test -d .
/--version && rmdir .
/--version
3878 MKDIR_P
="$ac_install_sh -d"
3881 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3882 $as_echo "$MKDIR_P" >&6; }
3884 if test -n "$ac_tool_prefix"; then
3885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3886 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if test "${ac_cv_prog_RANLIB+set}" = set; then
3890 $as_echo_n "(cached) " >&6
3892 if test -n "$RANLIB"; then
3893 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 for ac_exec_ext
in '' $ac_executable_extensions; do
3901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 RANLIB
=$ac_cv_prog_RANLIB
3913 if test -n "$RANLIB"; then
3914 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3915 $as_echo "$RANLIB" >&6; }
3917 { $as_echo "$as_me:$LINENO: result: no" >&5
3918 $as_echo "no" >&6; }
3923 if test -z "$ac_cv_prog_RANLIB"; then
3924 ac_ct_RANLIB
=$RANLIB
3925 # Extract the first word of "ranlib", so it can be a program name with args.
3926 set dummy ranlib
; ac_word
=$2
3927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$ac_ct_RANLIB"; then
3933 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3942 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3943 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3953 if test -n "$ac_ct_RANLIB"; then
3954 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3955 $as_echo "$ac_ct_RANLIB" >&6; }
3957 { $as_echo "$as_me:$LINENO: result: no" >&5
3958 $as_echo "no" >&6; }
3961 if test "x$ac_ct_RANLIB" = x
; then
3964 case $cross_compiling:$ac_tool_warned in
3966 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3968 ac_tool_warned
=yes ;;
3970 RANLIB
=$ac_ct_RANLIB
3973 RANLIB
="$ac_cv_prog_RANLIB"
3976 # Extract the first word of "cflow", so it can be a program name with args.
3977 set dummy cflow
; ac_word
=$2
3978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3981 $as_echo_n "(cached) " >&6
3985 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3996 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4007 if test -n "$CFLOW_CMD"; then
4008 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4009 $as_echo "$CFLOW_CMD" >&6; }
4011 { $as_echo "$as_me:$LINENO: result: no" >&5
4012 $as_echo "no" >&6; }
4016 # Extract the first word of "cscope", so it can be a program name with args.
4017 set dummy cscope
; ac_word
=$2
4018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4021 $as_echo_n "(cached) " >&6
4025 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4047 if test -n "$CSCOPE_CMD"; then
4048 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4049 $as_echo "$CSCOPE_CMD" >&6; }
4051 { $as_echo "$as_me:$LINENO: result: no" >&5
4052 $as_echo "no" >&6; }
4057 ################################################################################
4064 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4065 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4066 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4067 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4068 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4069 $as_echo_n "(cached) " >&6
4071 cat >conftest.
$ac_ext <<_ACEOF
4074 cat confdefs.h
>>conftest.
$ac_ext
4075 cat >>conftest.
$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4077 #include <sys/types.h>
4089 rm -f conftest.
$ac_objext
4090 if { (ac_try
="$ac_compile"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4096 $as_echo "$ac_try_echo") >&5
4097 (eval "$ac_compile") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1 >conftest.err
4101 cat conftest.err >&5
4102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest.$ac_objext; then
4107 eval "$as_ac_Header=yes"
4109 $as_echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 eval "$as_ac_Header=no"
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_res=`eval 'as_val=${'$as_ac_Header'}
4118 $as_echo "$as_val"'`
4119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4120 $as_echo "$ac_res" >&6; }
4121 as_val=`eval 'as_val=${'$as_ac_Header'}
4122 $as_echo "$as_val"'`
4123 if test "x$as_val" = x""yes; then
4124 cat >>confdefs.h <<_ACEOF
4125 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4128 ac_header_dirent=$ac_hdr; break
4132 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4133 if test $ac_header_dirent = dirent.h; then
4134 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4135 $as_echo_n "checking for library containing opendir... " >&6; }
4136 if test "${ac_cv_search_opendir+set}" = set; then
4137 $as_echo_n "(cached) " >&6
4139 ac_func_search_save_LIBS=$LIBS
4140 cat >conftest.$ac_ext <<_ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4147 /* Override any GCC internal prototype to avoid an error.
4148 Use char because int might match the return type of a GCC
4149 builtin and then its argument prototype would still apply. */
4162 for ac_lib in '' dir; do
4163 if test -z "$ac_lib"; then
4164 ac_res="none required"
4167 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4169 rm -f conftest.$ac_objext conftest$ac_exeext
4170 if { (ac_try="$ac_link"
4172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4173 *) ac_try_echo
=$ac_try;;
4175 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4176 $as_echo "$ac_try_echo") >&5
4177 (eval "$ac_link") 2>conftest.er1
4179 grep -v '^ *+' conftest.er1
>conftest.err
4181 cat conftest.err
>&5
4182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } && {
4184 test -z "$ac_c_werror_flag" ||
4185 test ! -s conftest.err
4186 } && test -s conftest
$ac_exeext && {
4187 test "$cross_compiling" = yes ||
4188 $as_test_x conftest
$ac_exeext
4190 ac_cv_search_opendir
=$ac_res
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.
$ac_ext >&5
4198 rm -rf conftest.dSYM
4199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4201 if test "${ac_cv_search_opendir+set}" = set; then
4205 if test "${ac_cv_search_opendir+set}" = set; then
4208 ac_cv_search_opendir
=no
4211 LIBS
=$ac_func_search_save_LIBS
4213 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4214 $as_echo "$ac_cv_search_opendir" >&6; }
4215 ac_res
=$ac_cv_search_opendir
4216 if test "$ac_res" != no
; then
4217 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4222 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4223 $as_echo_n "checking for library containing opendir... " >&6; }
4224 if test "${ac_cv_search_opendir+set}" = set; then
4225 $as_echo_n "(cached) " >&6
4227 ac_func_search_save_LIBS
=$LIBS
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4235 /* Override any GCC internal prototype to avoid an error.
4236 Use char because int might match the return type of a GCC
4237 builtin and then its argument prototype would still apply. */
4250 for ac_lib
in '' x
; do
4251 if test -z "$ac_lib"; then
4252 ac_res
="none required"
4255 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4257 rm -f conftest.
$ac_objext conftest
$ac_exeext
4258 if { (ac_try
="$ac_link"
4260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4264 $as_echo "$ac_try_echo") >&5
4265 (eval "$ac_link") 2>conftest.er1
4267 grep -v '^ *+' conftest.er1 >conftest.err
4269 cat conftest.err >&5
4270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } && {
4272 test -z "$ac_c_werror_flag" ||
4273 test ! -s conftest.err
4274 } && test -s conftest$ac_exeext && {
4275 test "$cross_compiling" = yes ||
4276 $as_test_x conftest$ac_exeext
4278 ac_cv_search_opendir=$ac_res
4280 $as_echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4286 rm -rf conftest.dSYM
4287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4289 if test "${ac_cv_search_opendir+set}" = set; then
4293 if test "${ac_cv_search_opendir+set}" = set; then
4296 ac_cv_search_opendir=no
4299 LIBS=$ac_func_search_save_LIBS
4301 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4302 $as_echo "$ac_cv_search_opendir" >&6; }
4303 ac_res=$ac_cv_search_opendir
4304 if test "$ac_res" != no; then
4305 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4311 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4312 $as_echo_n "checking for ANSI C header files... " >&6; }
4313 if test "${ac_cv_header_stdc+set}" = set; then
4314 $as_echo_n "(cached) " >&6
4316 cat >conftest.$ac_ext <<_ACEOF
4319 cat confdefs.h >>conftest.$ac_ext
4320 cat >>conftest.$ac_ext <<_ACEOF
4321 /* end confdefs.h. */
4335 rm -f conftest.$ac_objext
4336 if { (ac_try="$ac_compile"
4338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4339 *) ac_try_echo
=$ac_try;;
4341 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4342 $as_echo "$ac_try_echo") >&5
4343 (eval "$ac_compile") 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && {
4350 test -z "$ac_c_werror_flag" ||
4351 test ! -s conftest.err
4352 } && test -s conftest.
$ac_objext; then
4353 ac_cv_header_stdc
=yes
4355 $as_echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4358 ac_cv_header_stdc
=no
4361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 if test $ac_cv_header_stdc = yes; then
4364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4365 cat >conftest.
$ac_ext <<_ACEOF
4368 cat confdefs.h
>>conftest.
$ac_ext
4369 cat >>conftest.
$ac_ext <<_ACEOF
4370 /* end confdefs.h. */
4374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4375 $EGREP "memchr" >/dev
/null
2>&1; then
4378 ac_cv_header_stdc
=no
4384 if test $ac_cv_header_stdc = yes; then
4385 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4386 cat >conftest.
$ac_ext <<_ACEOF
4389 cat confdefs.h
>>conftest.
$ac_ext
4390 cat >>conftest.
$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4396 $EGREP "free" >/dev
/null
2>&1; then
4399 ac_cv_header_stdc
=no
4405 if test $ac_cv_header_stdc = yes; then
4406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4407 if test "$cross_compiling" = yes; then
4410 cat >conftest.
$ac_ext <<_ACEOF
4413 cat confdefs.h
>>conftest.
$ac_ext
4414 cat >>conftest.
$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4418 #if ((' ' & 0x0FF) == 0x020)
4419 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4420 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4422 # define ISLOWER(c) \
4423 (('a' <= (c) && (c) <= 'i') \
4424 || ('j' <= (c) && (c) <= 'r') \
4425 || ('s' <= (c) && (c) <= 'z'))
4426 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4429 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4434 for (i = 0; i < 256; i++)
4435 if (XOR (islower (i), ISLOWER (i))
4436 || toupper (i) != TOUPPER (i))
4441 rm -f conftest
$ac_exeext
4442 if { (ac_try
="$ac_link"
4444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4448 $as_echo "$ac_try_echo") >&5
4449 (eval "$ac_link") 2>&5
4451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4453 { (case "(($ac_try" in
4454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4455 *) ac_try_echo
=$ac_try;;
4457 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4458 $as_echo "$ac_try_echo") >&5
4459 (eval "$ac_try") 2>&5
4461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4465 $as_echo "$as_me: program exited with status $ac_status" >&5
4466 $as_echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.
$ac_ext >&5
4470 ac_cv_header_stdc
=no
4472 rm -rf conftest.dSYM
4473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4479 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4480 $as_echo "$ac_cv_header_stdc" >&6; }
4481 if test $ac_cv_header_stdc = yes; then
4483 cat >>confdefs.h
<<\_ACEOF
4484 #define STDC_HEADERS 1
4489 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4490 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4491 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4492 $as_echo_n "(cached) " >&6
4494 cat >conftest.
$ac_ext <<_ACEOF
4497 cat confdefs.h
>>conftest.
$ac_ext
4498 cat >>conftest.
$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 #include <sys/types.h>
4501 #include <sys/wait.h>
4503 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4506 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4514 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4519 rm -f conftest.
$ac_objext
4520 if { (ac_try
="$ac_compile"
4522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4526 $as_echo "$ac_try_echo") >&5
4527 (eval "$ac_compile") 2>conftest.er1
4529 grep -v '^ *+' conftest.er1 >conftest.err
4531 cat conftest.err >&5
4532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } && {
4534 test -z "$ac_c_werror_flag" ||
4535 test ! -s conftest.err
4536 } && test -s conftest.$ac_objext; then
4537 ac_cv_header_sys_wait_h=yes
4539 $as_echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 ac_cv_header_sys_wait_h=no
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4548 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4549 if test $ac_cv_header_sys_wait_h = yes; then
4551 cat >>confdefs.h <<\_ACEOF
4552 #define HAVE_SYS_WAIT_H 1
4557 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4558 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4559 if test "${ac_cv_header_time+set}" = set; then
4560 $as_echo_n "(cached) " >&6
4562 cat >conftest.$ac_ext <<_ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4568 #include <sys/types.h>
4569 #include <sys/time.h>
4575 if ((struct tm *) 0)
4581 rm -f conftest.$ac_objext
4582 if { (ac_try="$ac_compile"
4584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4585 *) ac_try_echo
=$ac_try;;
4587 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4588 $as_echo "$ac_try_echo") >&5
4589 (eval "$ac_compile") 2>conftest.er1
4591 grep -v '^ *+' conftest.er1
>conftest.err
4593 cat conftest.err
>&5
4594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } && {
4596 test -z "$ac_c_werror_flag" ||
4597 test ! -s conftest.err
4598 } && test -s conftest.
$ac_objext; then
4599 ac_cv_header_time
=yes
4601 $as_echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.
$ac_ext >&5
4604 ac_cv_header_time
=no
4607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4610 $as_echo "$ac_cv_header_time" >&6; }
4611 if test $ac_cv_header_time = yes; then
4613 cat >>confdefs.h
<<\_ACEOF
4614 #define TIME_WITH_SYS_TIME 1
4620 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4630 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4631 inttypes.h stdint.h unistd.h
4633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4634 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4635 $as_echo_n "checking for $ac_header... " >&6; }
4636 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4637 $as_echo_n "(cached) " >&6
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 $ac_includes_default
4647 #include <$ac_header>
4649 rm -f conftest.
$ac_objext
4650 if { (ac_try
="$ac_compile"
4652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4656 $as_echo "$ac_try_echo") >&5
4657 (eval "$ac_compile") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest.$ac_objext; then
4667 eval "$as_ac_Header=yes"
4669 $as_echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.$ac_ext >&5
4672 eval "$as_ac_Header=no"
4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 ac_res=`eval 'as_val=${'$as_ac_Header'}
4678 $as_echo "$as_val"'`
4679 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4680 $as_echo "$ac_res" >&6; }
4681 as_val=`eval 'as_val=${'$as_ac_Header'}
4682 $as_echo "$as_val"'`
4683 if test "x$as_val" = x""yes; then
4684 cat >>confdefs.h <<_ACEOF
4685 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4706 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4707 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4712 $as_echo_n "checking for $ac_header... " >&6; }
4713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4714 $as_echo_n "(cached) " >&6
4716 ac_res=`eval 'as_val=${'$as_ac_Header'}
4717 $as_echo "$as_val"'`
4718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4719 $as_echo "$ac_res" >&6; }
4721 # Is the header compilable?
4722 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4723 $as_echo_n "checking $ac_header usability... " >&6; }
4724 cat >conftest.$ac_ext <<_ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4730 $ac_includes_default
4731 #include <$ac_header>
4733 rm -f conftest.$ac_objext
4734 if { (ac_try="$ac_compile"
4736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4737 *) ac_try_echo
=$ac_try;;
4739 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4740 $as_echo "$ac_try_echo") >&5
4741 (eval "$ac_compile") 2>conftest.er1
4743 grep -v '^ *+' conftest.er1
>conftest.err
4745 cat conftest.err
>&5
4746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } && {
4748 test -z "$ac_c_werror_flag" ||
4749 test ! -s conftest.err
4750 } && test -s conftest.
$ac_objext; then
4751 ac_header_compiler
=yes
4753 $as_echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.
$ac_ext >&5
4756 ac_header_compiler
=no
4759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4761 $as_echo "$ac_header_compiler" >&6; }
4763 # Is the header present?
4764 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4765 $as_echo_n "checking $ac_header presence... " >&6; }
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 #include <$ac_header>
4774 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4780 $as_echo "$ac_try_echo") >&5
4781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4783 grep -v '^ *+' conftest.er1 >conftest.err
4785 cat conftest.err >&5
4786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } >/dev/null && {
4788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4789 test ! -s conftest.err
4791 ac_header_preproc=yes
4793 $as_echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4796 ac_header_preproc=no
4799 rm -f conftest.err conftest.$ac_ext
4800 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4801 $as_echo "$ac_header_preproc" >&6; }
4803 # So? What about this header?
4804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4807 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4809 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4810 ac_header_preproc=yes
4813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4814 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4816 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4818 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4820 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4824 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4828 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4829 $as_echo_n "checking for $ac_header... " >&6; }
4830 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4831 $as_echo_n "(cached) " >&6
4833 eval "$as_ac_Header=\$ac_header_preproc"
4835 ac_res=`eval 'as_val=${'$as_ac_Header'}
4836 $as_echo "$as_val"'`
4837 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4838 $as_echo "$ac_res" >&6; }
4841 as_val=`eval 'as_val=${'$as_ac_Header'}
4842 $as_echo "$as_val"'`
4843 if test "x$as_val" = x""yes; then
4844 cat >>confdefs.h <<_ACEOF
4845 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4849 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4850 $as_echo "$as_me: error: bailing out" >&2;}
4851 { (exit 1); exit 1; }; }
4862 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4866 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4867 $as_echo_n "checking for $ac_header... " >&6; }
4868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4869 $as_echo_n "(cached) " >&6
4871 ac_res=`eval 'as_val=${'$as_ac_Header'}
4872 $as_echo "$as_val"'`
4873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4874 $as_echo "$ac_res" >&6; }
4876 # Is the header compilable?
4877 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4878 $as_echo_n "checking $ac_header usability... " >&6; }
4879 cat >conftest.$ac_ext <<_ACEOF
4882 cat confdefs.h >>conftest.$ac_ext
4883 cat >>conftest.$ac_ext <<_ACEOF
4884 /* end confdefs.h. */
4885 $ac_includes_default
4886 #include <$ac_header>
4888 rm -f conftest.$ac_objext
4889 if { (ac_try="$ac_compile"
4891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4892 *) ac_try_echo
=$ac_try;;
4894 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4895 $as_echo "$ac_try_echo") >&5
4896 (eval "$ac_compile") 2>conftest.er1
4898 grep -v '^ *+' conftest.er1
>conftest.err
4900 cat conftest.err
>&5
4901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } && {
4903 test -z "$ac_c_werror_flag" ||
4904 test ! -s conftest.err
4905 } && test -s conftest.
$ac_objext; then
4906 ac_header_compiler
=yes
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 ac_header_compiler
=no
4914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4916 $as_echo "$ac_header_compiler" >&6; }
4918 # Is the header present?
4919 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4920 $as_echo_n "checking $ac_header presence... " >&6; }
4921 cat >conftest.
$ac_ext <<_ACEOF
4924 cat confdefs.h
>>conftest.
$ac_ext
4925 cat >>conftest.
$ac_ext <<_ACEOF
4926 /* end confdefs.h. */
4927 #include <$ac_header>
4929 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;;
4934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4935 $as_echo "$ac_try_echo") >&5
4936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4938 grep -v '^ *+' conftest.er1 >conftest.err
4940 cat conftest.err >&5
4941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } >/dev/null && {
4943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4944 test ! -s conftest.err
4946 ac_header_preproc=yes
4948 $as_echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.$ac_ext >&5
4951 ac_header_preproc=no
4954 rm -f conftest.err conftest.$ac_ext
4955 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4956 $as_echo "$ac_header_preproc" >&6; }
4958 # So? What about this header?
4959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4962 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4964 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4965 ac_header_preproc=yes
4968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4969 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4971 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4973 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4975 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4977 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4979 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4983 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4984 $as_echo_n "checking for $ac_header... " >&6; }
4985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4986 $as_echo_n "(cached) " >&6
4988 eval "$as_ac_Header=\$ac_header_preproc"
4990 ac_res=`eval 'as_val=${'$as_ac_Header'}
4991 $as_echo "$as_val"'`
4992 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4993 $as_echo "$ac_res" >&6; }
4996 as_val=`eval 'as_val=${'$as_ac_Header'}
4997 $as_echo "$as_val"'`
4998 if test "x$as_val" = x""yes; then
4999 cat >>confdefs.h <<_ACEOF
5000 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5004 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5005 $as_echo "$as_me: error: bailing out" >&2;}
5006 { (exit 1); exit 1; }; }
5014 for ac_header in machine/endian.h sys/disk.h
5016 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5019 $as_echo_n "checking for $ac_header... " >&6; }
5020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5021 $as_echo_n "(cached) " >&6
5023 ac_res=`eval 'as_val=${'$as_ac_Header'}
5024 $as_echo "$as_val"'`
5025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5026 $as_echo "$ac_res" >&6; }
5028 # Is the header compilable?
5029 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5030 $as_echo_n "checking $ac_header usability... " >&6; }
5031 cat >conftest.$ac_ext <<_ACEOF
5034 cat confdefs.h >>conftest.$ac_ext
5035 cat >>conftest.$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5037 $ac_includes_default
5038 #include <$ac_header>
5040 rm -f conftest.$ac_objext
5041 if { (ac_try="$ac_compile"
5043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5044 *) ac_try_echo
=$ac_try;;
5046 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5047 $as_echo "$ac_try_echo") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.
$ac_objext; then
5058 ac_header_compiler
=yes
5060 $as_echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 ac_header_compiler
=no
5066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5067 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5068 $as_echo "$ac_header_compiler" >&6; }
5070 # Is the header present?
5071 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5072 $as_echo_n "checking $ac_header presence... " >&6; }
5073 cat >conftest.
$ac_ext <<_ACEOF
5076 cat confdefs.h
>>conftest.
$ac_ext
5077 cat >>conftest.
$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <$ac_header>
5081 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5084 *) ac_try_echo=$ac_try;;
5086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5087 $as_echo "$ac_try_echo") >&5
5088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } >/dev/null && {
5095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5098 ac_header_preproc=yes
5100 $as_echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 ac_header_preproc=no
5106 rm -f conftest.err conftest.$ac_ext
5107 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5108 $as_echo "$ac_header_preproc" >&6; }
5110 # So? What about this header?
5111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5114 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5116 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5117 ac_header_preproc=yes
5120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5121 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5123 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5125 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5127 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5129 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5131 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5136 $as_echo_n "checking for $ac_header... " >&6; }
5137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5138 $as_echo_n "(cached) " >&6
5140 eval "$as_ac_Header=\$ac_header_preproc"
5142 ac_res=`eval 'as_val=${'$as_ac_Header'}
5143 $as_echo "$as_val"'`
5144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5145 $as_echo "$ac_res" >&6; }
5148 as_val=`eval 'as_val=${'$as_ac_Header'}
5149 $as_echo "$as_val"'`
5150 if test "x$as_val" = x""yes; then
5151 cat >>confdefs.h <<_ACEOF
5152 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5156 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5157 $as_echo "$as_me: error: bailing out" >&2;}
5158 { (exit 1); exit 1; }; }
5181 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5182 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5183 sys/types.h unistd.h
5185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5187 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5188 $as_echo_n "checking for $ac_header... " >&6; }
5189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5190 $as_echo_n "(cached) " >&6
5192 ac_res=`eval 'as_val=${'$as_ac_Header'}
5193 $as_echo "$as_val"'`
5194 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5195 $as_echo "$ac_res" >&6; }
5197 # Is the header compilable?
5198 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5199 $as_echo_n "checking $ac_header usability... " >&6; }
5200 cat >conftest.$ac_ext <<_ACEOF
5203 cat confdefs.h >>conftest.$ac_ext
5204 cat >>conftest.$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5206 $ac_includes_default
5207 #include <$ac_header>
5209 rm -f conftest.$ac_objext
5210 if { (ac_try="$ac_compile"
5212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5213 *) ac_try_echo
=$ac_try;;
5215 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5216 $as_echo "$ac_try_echo") >&5
5217 (eval "$ac_compile") 2>conftest.er1
5219 grep -v '^ *+' conftest.er1
>conftest.err
5221 cat conftest.err
>&5
5222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } && {
5224 test -z "$ac_c_werror_flag" ||
5225 test ! -s conftest.err
5226 } && test -s conftest.
$ac_objext; then
5227 ac_header_compiler
=yes
5229 $as_echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 ac_header_compiler
=no
5235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5236 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5237 $as_echo "$ac_header_compiler" >&6; }
5239 # Is the header present?
5240 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5241 $as_echo_n "checking $ac_header presence... " >&6; }
5242 cat >conftest.
$ac_ext <<_ACEOF
5245 cat confdefs.h
>>conftest.
$ac_ext
5246 cat >>conftest.
$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 #include <$ac_header>
5250 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5253 *) ac_try_echo=$ac_try;;
5255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5256 $as_echo "$ac_try_echo") >&5
5257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } >/dev/null && {
5264 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5265 test ! -s conftest.err
5267 ac_header_preproc=yes
5269 $as_echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.$ac_ext >&5
5272 ac_header_preproc=no
5275 rm -f conftest.err conftest.$ac_ext
5276 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5277 $as_echo "$ac_header_preproc" >&6; }
5279 # So? What about this header?
5280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5283 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5285 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5286 ac_header_preproc=yes
5289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5290 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5292 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5294 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5296 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5298 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5300 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5304 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5305 $as_echo_n "checking for $ac_header... " >&6; }
5306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5307 $as_echo_n "(cached) " >&6
5309 eval "$as_ac_Header=\$ac_header_preproc"
5311 ac_res=`eval 'as_val=${'$as_ac_Header'}
5312 $as_echo "$as_val"'`
5313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5314 $as_echo "$ac_res" >&6; }
5317 as_val=`eval 'as_val=${'$as_ac_Header'}
5318 $as_echo "$as_val"'`
5319 if test "x$as_val" = x""yes; then
5320 cat >>confdefs.h <<_ACEOF
5321 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5325 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5326 $as_echo "$as_me: error: bailing out" >&2;}
5327 { (exit 1); exit 1; }; }
5334 for ac_header in termios.h sys/statvfs.h
5336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5338 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5339 $as_echo_n "checking for $ac_header... " >&6; }
5340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5341 $as_echo_n "(cached) " >&6
5343 ac_res=`eval 'as_val=${'$as_ac_Header'}
5344 $as_echo "$as_val"'`
5345 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5346 $as_echo "$ac_res" >&6; }
5348 # Is the header compilable?
5349 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5350 $as_echo_n "checking $ac_header usability... " >&6; }
5351 cat >conftest.$ac_ext <<_ACEOF
5354 cat confdefs.h >>conftest.$ac_ext
5355 cat >>conftest.$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5357 $ac_includes_default
5358 #include <$ac_header>
5360 rm -f conftest.$ac_objext
5361 if { (ac_try="$ac_compile"
5363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5364 *) ac_try_echo
=$ac_try;;
5366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5367 $as_echo "$ac_try_echo") >&5
5368 (eval "$ac_compile") 2>conftest.er1
5370 grep -v '^ *+' conftest.er1
>conftest.err
5372 cat conftest.err
>&5
5373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); } && {
5375 test -z "$ac_c_werror_flag" ||
5376 test ! -s conftest.err
5377 } && test -s conftest.
$ac_objext; then
5378 ac_header_compiler
=yes
5380 $as_echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.
$ac_ext >&5
5383 ac_header_compiler
=no
5386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5387 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5388 $as_echo "$ac_header_compiler" >&6; }
5390 # Is the header present?
5391 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5392 $as_echo_n "checking $ac_header presence... " >&6; }
5393 cat >conftest.
$ac_ext <<_ACEOF
5396 cat confdefs.h
>>conftest.
$ac_ext
5397 cat >>conftest.
$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5399 #include <$ac_header>
5401 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5404 *) ac_try_echo=$ac_try;;
5406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5407 $as_echo "$ac_try_echo") >&5
5408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5410 grep -v '^ *+' conftest.er1 >conftest.err
5412 cat conftest.err >&5
5413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } >/dev/null && {
5415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5416 test ! -s conftest.err
5418 ac_header_preproc=yes
5420 $as_echo "$as_me: failed program was:" >&5
5421 sed 's/^/| /' conftest.$ac_ext >&5
5423 ac_header_preproc=no
5426 rm -f conftest.err conftest.$ac_ext
5427 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5428 $as_echo "$ac_header_preproc" >&6; }
5430 # So? What about this header?
5431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5433 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5434 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5436 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5437 ac_header_preproc=yes
5440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5441 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5443 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5445 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5447 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5449 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5451 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5456 $as_echo_n "checking for $ac_header... " >&6; }
5457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5458 $as_echo_n "(cached) " >&6
5460 eval "$as_ac_Header=\$ac_header_preproc"
5462 ac_res=`eval 'as_val=${'$as_ac_Header'}
5463 $as_echo "$as_val"'`
5464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5465 $as_echo "$ac_res" >&6; }
5468 as_val=`eval 'as_val=${'$as_ac_Header'}
5469 $as_echo "$as_val"'`
5470 if test "x$as_val" = x""yes; then
5471 cat >>confdefs.h <<_ACEOF
5472 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5480 ################################################################################
5481 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5482 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5483 if test "${ac_cv_c_const+set}" = set; then
5484 $as_echo_n "(cached) " >&6
5486 cat >conftest.$ac_ext <<_ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5496 /* FIXME: Include the comments suggested by Paul. */
5498 /* Ultrix mips cc rejects this. */
5499 typedef int charset[2];
5501 /* SunOS 4.1.1 cc rejects this. */
5502 char const *const *pcpcc;
5504 /* NEC SVR4.0.2 mips cc rejects this. */
5505 struct point {int x, y;};
5506 static struct point const zero = {0,0};
5507 /* AIX XL C 1.02.0.0 rejects this.
5508 It does not let you subtract one const X* pointer from another in
5509 an arm of an if-expression whose if-part is not a constant
5511 const char *g = "string";
5512 pcpcc = &g + (g ? g-g : 0);
5513 /* HPUX 7.0 cc rejects these. */
5515 ppc = (char**) pcpcc;
5516 pcpcc = (char const *const *) ppc;
5517 { /* SCO 3.2v4 cc rejects this. */
5519 char const *s = 0 ? (char *) 0 : (char const *) 0;
5524 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5526 const int *foo = &x[0];
5529 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5530 typedef const int *iptr;
5534 { /* AIX XL C 1.02.0.0 rejects this saying
5535 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5536 struct s { int j; const int *ap[3]; };
5537 struct s *b; b->j = 5;
5539 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5543 return !cs[0] && !zero.x;
5550 rm -f conftest.$ac_objext
5551 if { (ac_try="$ac_compile"
5553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5554 *) ac_try_echo
=$ac_try;;
5556 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5557 $as_echo "$ac_try_echo") >&5
5558 (eval "$ac_compile") 2>conftest.er1
5560 grep -v '^ *+' conftest.er1
>conftest.err
5562 cat conftest.err
>&5
5563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && {
5565 test -z "$ac_c_werror_flag" ||
5566 test ! -s conftest.err
5567 } && test -s conftest.
$ac_objext; then
5570 $as_echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.
$ac_ext >&5
5576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5578 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5579 $as_echo "$ac_cv_c_const" >&6; }
5580 if test $ac_cv_c_const = no
; then
5582 cat >>confdefs.h
<<\_ACEOF
5588 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5589 $as_echo_n "checking for inline... " >&6; }
5590 if test "${ac_cv_c_inline+set}" = set; then
5591 $as_echo_n "(cached) " >&6
5594 for ac_kw
in inline __inline__ __inline
; do
5595 cat >conftest.
$ac_ext <<_ACEOF
5598 cat confdefs.h
>>conftest.
$ac_ext
5599 cat >>conftest.
$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5603 static $ac_kw foo_t static_foo () {return 0; }
5604 $ac_kw foo_t foo () {return 0; }
5608 rm -f conftest.
$ac_objext
5609 if { (ac_try
="$ac_compile"
5611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;;
5614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5615 $as_echo "$ac_try_echo") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5618 grep -v '^ *+' conftest.er1 >conftest.err
5620 cat conftest.err >&5
5621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 ac_cv_c_inline=$ac_kw
5628 $as_echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5635 test "$ac_cv_c_inline" != no && break
5639 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5640 $as_echo "$ac_cv_c_inline" >&6; }
5643 case $ac_cv_c_inline in
5646 case $ac_cv_c_inline in
5648 *) ac_val=$ac_cv_c_inline;;
5650 cat >>confdefs.h <<_ACEOF
5652 #define inline $ac_val
5658 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5659 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5660 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5661 $as_echo_n "(cached) " >&6
5663 cat >conftest.$ac_ext <<_ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5673 static struct stat ac_aggr;
5674 if (ac_aggr.st_rdev)
5680 rm -f conftest.$ac_objext
5681 if { (ac_try="$ac_compile"
5683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5684 *) ac_try_echo
=$ac_try;;
5686 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5687 $as_echo "$ac_try_echo") >&5
5688 (eval "$ac_compile") 2>conftest.er1
5690 grep -v '^ *+' conftest.er1
>conftest.err
5692 cat conftest.err
>&5
5693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } && {
5695 test -z "$ac_c_werror_flag" ||
5696 test ! -s conftest.err
5697 } && test -s conftest.
$ac_objext; then
5698 ac_cv_member_struct_stat_st_rdev
=yes
5700 $as_echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.
$ac_ext >&5
5703 cat >conftest.
$ac_ext <<_ACEOF
5706 cat confdefs.h
>>conftest.
$ac_ext
5707 cat >>conftest.
$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5709 $ac_includes_default
5713 static struct stat ac_aggr;
5714 if (sizeof ac_aggr.st_rdev)
5720 rm -f conftest.
$ac_objext
5721 if { (ac_try
="$ac_compile"
5723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5727 $as_echo "$ac_try_echo") >&5
5728 (eval "$ac_compile") 2>conftest.er1
5730 grep -v '^ *+' conftest.er1 >conftest.err
5732 cat conftest.err >&5
5733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } && {
5735 test -z "$ac_c_werror_flag" ||
5736 test ! -s conftest.err
5737 } && test -s conftest.$ac_objext; then
5738 ac_cv_member_struct_stat_st_rdev=yes
5740 $as_echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 ac_cv_member_struct_stat_st_rdev=no
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5751 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5752 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5753 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5755 cat >>confdefs.h <<_ACEOF
5756 #define HAVE_STRUCT_STAT_ST_RDEV 1
5762 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5763 $as_echo_n "checking for off_t... " >&6; }
5764 if test "${ac_cv_type_off_t+set}" = set; then
5765 $as_echo_n "(cached) " >&6
5768 cat >conftest.$ac_ext <<_ACEOF
5771 cat confdefs.h >>conftest.$ac_ext
5772 cat >>conftest.$ac_ext <<_ACEOF
5773 /* end confdefs.h. */
5774 $ac_includes_default
5784 rm -f conftest.$ac_objext
5785 if { (ac_try="$ac_compile"
5787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5788 *) ac_try_echo
=$ac_try;;
5790 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5791 $as_echo "$ac_try_echo") >&5
5792 (eval "$ac_compile") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1
>conftest.err
5796 cat conftest.err
>&5
5797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } && {
5799 test -z "$ac_c_werror_flag" ||
5800 test ! -s conftest.err
5801 } && test -s conftest.
$ac_objext; then
5802 cat >conftest.
$ac_ext <<_ACEOF
5805 cat confdefs.h
>>conftest.
$ac_ext
5806 cat >>conftest.
$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 $ac_includes_default
5812 if (sizeof ((off_t)))
5818 rm -f conftest.
$ac_objext
5819 if { (ac_try
="$ac_compile"
5821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5822 *) ac_try_echo=$ac_try;;
5824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5825 $as_echo "$ac_try_echo") >&5
5826 (eval "$ac_compile") 2>conftest.er1
5828 grep -v '^ *+' conftest.er1 >conftest.err
5830 cat conftest.err >&5
5831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && {
5833 test -z "$ac_c_werror_flag" ||
5834 test ! -s conftest.err
5835 } && test -s conftest.$ac_objext; then
5838 $as_echo "$as_me: failed program was:" >&5
5839 sed 's/^/| /' conftest.$ac_ext >&5
5841 ac_cv_type_off_t=yes
5844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5846 $as_echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5855 $as_echo "$ac_cv_type_off_t" >&6; }
5856 if test "x$ac_cv_type_off_t" = x""yes; then
5860 cat >>confdefs.h <<_ACEOF
5861 #define off_t long int
5866 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5867 $as_echo_n "checking for pid_t... " >&6; }
5868 if test "${ac_cv_type_pid_t+set}" = set; then
5869 $as_echo_n "(cached) " >&6
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 $ac_includes_default
5888 rm -f conftest.$ac_objext
5889 if { (ac_try="$ac_compile"
5891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5892 *) ac_try_echo
=$ac_try;;
5894 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5895 $as_echo "$ac_try_echo") >&5
5896 (eval "$ac_compile") 2>conftest.er1
5898 grep -v '^ *+' conftest.er1
>conftest.err
5900 cat conftest.err
>&5
5901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); } && {
5903 test -z "$ac_c_werror_flag" ||
5904 test ! -s conftest.err
5905 } && test -s conftest.
$ac_objext; then
5906 cat >conftest.
$ac_ext <<_ACEOF
5909 cat confdefs.h
>>conftest.
$ac_ext
5910 cat >>conftest.
$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 $ac_includes_default
5916 if (sizeof ((pid_t)))
5922 rm -f conftest.
$ac_objext
5923 if { (ac_try
="$ac_compile"
5925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5926 *) ac_try_echo=$ac_try;;
5928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5929 $as_echo "$ac_try_echo") >&5
5930 (eval "$ac_compile") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1 >conftest.err
5934 cat conftest.err >&5
5935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && {
5937 test -z "$ac_c_werror_flag" ||
5938 test ! -s conftest.err
5939 } && test -s conftest.$ac_objext; then
5942 $as_echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.$ac_ext >&5
5945 ac_cv_type_pid_t=yes
5948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5950 $as_echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.$ac_ext >&5
5956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5958 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5959 $as_echo "$ac_cv_type_pid_t" >&6; }
5960 if test "x$ac_cv_type_pid_t" = x""yes; then
5964 cat >>confdefs.h <<_ACEOF
5970 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5971 $as_echo_n "checking return type of signal handlers... " >&6; }
5972 if test "${ac_cv_type_signal+set}" = set; then
5973 $as_echo_n "(cached) " >&6
5975 cat >conftest.$ac_ext <<_ACEOF
5978 cat confdefs.h >>conftest.$ac_ext
5979 cat >>conftest.$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 #include <sys/types.h>
5987 return *(signal (0, 0)) (0) == 1;
5992 rm -f conftest.$ac_objext
5993 if { (ac_try="$ac_compile"
5995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5996 *) ac_try_echo
=$ac_try;;
5998 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5999 $as_echo "$ac_try_echo") >&5
6000 (eval "$ac_compile") 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } && {
6007 test -z "$ac_c_werror_flag" ||
6008 test ! -s conftest.err
6009 } && test -s conftest.
$ac_objext; then
6010 ac_cv_type_signal
=int
6012 $as_echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.
$ac_ext >&5
6015 ac_cv_type_signal
=void
6018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6020 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6021 $as_echo "$ac_cv_type_signal" >&6; }
6023 cat >>confdefs.h
<<_ACEOF
6024 #define RETSIGTYPE $ac_cv_type_signal
6028 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6029 $as_echo_n "checking for size_t... " >&6; }
6030 if test "${ac_cv_type_size_t+set}" = set; then
6031 $as_echo_n "(cached) " >&6
6033 ac_cv_type_size_t
=no
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6040 $ac_includes_default
6044 if (sizeof (size_t))
6050 rm -f conftest.
$ac_objext
6051 if { (ac_try
="$ac_compile"
6053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6054 *) ac_try_echo=$ac_try;;
6056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_compile") 2>conftest.er1
6060 grep -v '^ *+' conftest.er1 >conftest.err
6062 cat conftest.err >&5
6063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } && {
6065 test -z "$ac_c_werror_flag" ||
6066 test ! -s conftest.err
6067 } && test -s conftest.$ac_objext; then
6068 cat >conftest.$ac_ext <<_ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 $ac_includes_default
6078 if (sizeof ((size_t)))
6084 rm -f conftest.$ac_objext
6085 if { (ac_try="$ac_compile"
6087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6088 *) ac_try_echo
=$ac_try;;
6090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6091 $as_echo "$ac_try_echo") >&5
6092 (eval "$ac_compile") 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } && {
6099 test -z "$ac_c_werror_flag" ||
6100 test ! -s conftest.err
6101 } && test -s conftest.
$ac_objext; then
6104 $as_echo "$as_me: failed program was:" >&5
6105 sed 's/^/| /' conftest.
$ac_ext >&5
6107 ac_cv_type_size_t
=yes
6110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 $as_echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6121 $as_echo "$ac_cv_type_size_t" >&6; }
6122 if test "x$ac_cv_type_size_t" = x
""yes; then
6126 cat >>confdefs.h
<<_ACEOF
6127 #define size_t unsigned int
6132 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6133 $as_echo_n "checking for mode_t... " >&6; }
6134 if test "${ac_cv_type_mode_t+set}" = set; then
6135 $as_echo_n "(cached) " >&6
6137 ac_cv_type_mode_t
=no
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6144 $ac_includes_default
6148 if (sizeof (mode_t))
6154 rm -f conftest.
$ac_objext
6155 if { (ac_try
="$ac_compile"
6157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6161 $as_echo "$ac_try_echo") >&5
6162 (eval "$ac_compile") 2>conftest.er1
6164 grep -v '^ *+' conftest.er1 >conftest.err
6166 cat conftest.err >&5
6167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } && {
6169 test -z "$ac_c_werror_flag" ||
6170 test ! -s conftest.err
6171 } && test -s conftest.$ac_objext; then
6172 cat >conftest.$ac_ext <<_ACEOF
6175 cat confdefs.h >>conftest.$ac_ext
6176 cat >>conftest.$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6178 $ac_includes_default
6182 if (sizeof ((mode_t)))
6188 rm -f conftest.$ac_objext
6189 if { (ac_try="$ac_compile"
6191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6192 *) ac_try_echo
=$ac_try;;
6194 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6195 $as_echo "$ac_try_echo") >&5
6196 (eval "$ac_compile") 2>conftest.er1
6198 grep -v '^ *+' conftest.er1
>conftest.err
6200 cat conftest.err
>&5
6201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); } && {
6203 test -z "$ac_c_werror_flag" ||
6204 test ! -s conftest.err
6205 } && test -s conftest.
$ac_objext; then
6208 $as_echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.
$ac_ext >&5
6211 ac_cv_type_mode_t
=yes
6214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 $as_echo "$as_me: failed program was:" >&5
6217 sed 's/^/| /' conftest.
$ac_ext >&5
6222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6224 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6225 $as_echo "$ac_cv_type_mode_t" >&6; }
6226 if test "x$ac_cv_type_mode_t" = x
""yes; then
6230 cat >>confdefs.h
<<_ACEOF
6236 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6237 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6238 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6239 $as_echo_n "(cached) " >&6
6241 cat >conftest.
$ac_ext <<_ACEOF
6244 cat confdefs.h
>>conftest.
$ac_ext
6245 cat >>conftest.
$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 $ac_includes_default
6251 static struct stat ac_aggr;
6252 if (ac_aggr.st_rdev)
6258 rm -f conftest.
$ac_objext
6259 if { (ac_try
="$ac_compile"
6261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6262 *) ac_try_echo=$ac_try;;
6264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6265 $as_echo "$ac_try_echo") >&5
6266 (eval "$ac_compile") 2>conftest.er1
6268 grep -v '^ *+' conftest.er1 >conftest.err
6270 cat conftest.err >&5
6271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); } && {
6273 test -z "$ac_c_werror_flag" ||
6274 test ! -s conftest.err
6275 } && test -s conftest.$ac_objext; then
6276 ac_cv_member_struct_stat_st_rdev=yes
6278 $as_echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6281 cat >conftest.$ac_ext <<_ACEOF
6284 cat confdefs.h >>conftest.$ac_ext
6285 cat >>conftest.$ac_ext <<_ACEOF
6286 /* end confdefs.h. */
6287 $ac_includes_default
6291 static struct stat ac_aggr;
6292 if (sizeof ac_aggr.st_rdev)
6298 rm -f conftest.$ac_objext
6299 if { (ac_try="$ac_compile"
6301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6302 *) ac_try_echo
=$ac_try;;
6304 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6305 $as_echo "$ac_try_echo") >&5
6306 (eval "$ac_compile") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest.
$ac_objext; then
6316 ac_cv_member_struct_stat_st_rdev
=yes
6318 $as_echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.
$ac_ext >&5
6321 ac_cv_member_struct_stat_st_rdev
=no
6324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6329 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6330 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6331 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6333 cat >>confdefs.h
<<_ACEOF
6334 #define HAVE_STRUCT_STAT_ST_RDEV 1
6340 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6341 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6342 if test "${ac_cv_struct_tm+set}" = set; then
6343 $as_echo_n "(cached) " >&6
6345 cat >conftest.
$ac_ext <<_ACEOF
6348 cat confdefs.h
>>conftest.
$ac_ext
6349 cat >>conftest.
$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6351 #include <sys/types.h>
6358 int *p = &tm.tm_sec;
6364 rm -f conftest.
$ac_objext
6365 if { (ac_try
="$ac_compile"
6367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6368 *) ac_try_echo=$ac_try;;
6370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6371 $as_echo "$ac_try_echo") >&5
6372 (eval "$ac_compile") 2>conftest.er1
6374 grep -v '^ *+' conftest.er1 >conftest.err
6376 cat conftest.err >&5
6377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } && {
6379 test -z "$ac_c_werror_flag" ||
6380 test ! -s conftest.err
6381 } && test -s conftest.$ac_objext; then
6382 ac_cv_struct_tm=time.h
6384 $as_echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.$ac_ext >&5
6387 ac_cv_struct_tm=sys/time.h
6390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6392 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6393 $as_echo "$ac_cv_struct_tm" >&6; }
6394 if test $ac_cv_struct_tm = sys/time.h; then
6396 cat >>confdefs.h <<\_ACEOF
6397 #define TM_IN_SYS_TIME 1
6403 ################################################################################
6421 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6422 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6426 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6427 $as_echo_n "checking for $ac_func... " >&6; }
6428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6429 $as_echo_n "(cached) " >&6
6431 cat >conftest.$ac_ext <<_ACEOF
6434 cat confdefs.h >>conftest.$ac_ext
6435 cat >>conftest.$ac_ext <<_ACEOF
6436 /* end confdefs.h. */
6437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6439 #define $ac_func innocuous_$ac_func
6441 /* System header to define __stub macros and hopefully few prototypes,
6442 which can conflict with char $ac_func (); below.
6443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6444 <limits.h> exists even on freestanding compilers. */
6447 # include <limits.h>
6449 # include <assert.h>
6454 /* Override any GCC internal prototype to avoid an error.
6455 Use char because int might match the return type of a GCC
6456 builtin and then its argument prototype would still apply. */
6461 /* The GNU C library defines this for functions which it implements
6462 to always fail with ENOSYS. Some functions are actually named
6463 something starting with __ and the normal name is an alias. */
6464 #if defined __stub_$ac_func || defined __stub___$ac_func
6476 rm -f conftest.$ac_objext conftest$ac_exeext
6477 if { (ac_try="$ac_link"
6479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6480 *) ac_try_echo
=$ac_try;;
6482 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6483 $as_echo "$ac_try_echo") >&5
6484 (eval "$ac_link") 2>conftest.er1
6486 grep -v '^ *+' conftest.er1
>conftest.err
6488 cat conftest.err
>&5
6489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } && {
6491 test -z "$ac_c_werror_flag" ||
6492 test ! -s conftest.err
6493 } && test -s conftest
$ac_exeext && {
6494 test "$cross_compiling" = yes ||
6495 $as_test_x conftest
$ac_exeext
6497 eval "$as_ac_var=yes"
6499 $as_echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.
$ac_ext >&5
6502 eval "$as_ac_var=no"
6505 rm -rf conftest.dSYM
6506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6507 conftest
$ac_exeext conftest.
$ac_ext
6509 ac_res
=`eval 'as_val=${'$as_ac_var'}
6510 $as_echo "$as_val"'`
6511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6512 $as_echo "$ac_res" >&6; }
6513 as_val
=`eval 'as_val=${'$as_ac_var'}
6514 $as_echo "$as_val"'`
6515 if test "x$as_val" = x
""yes; then
6516 cat >>confdefs.h
<<_ACEOF
6517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6521 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6522 $as_echo "$as_me: error: bailing out" >&2;}
6523 { (exit 1); exit 1; }; }
6527 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6528 # for constant arguments. Useless!
6529 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6530 $as_echo_n "checking for working alloca.h... " >&6; }
6531 if test "${ac_cv_working_alloca_h+set}" = set; then
6532 $as_echo_n "(cached) " >&6
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6544 char *p = (char *) alloca (2 * sizeof (int));
6550 rm -f conftest.
$ac_objext conftest
$ac_exeext
6551 if { (ac_try
="$ac_link"
6553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6557 $as_echo "$ac_try_echo") >&5
6558 (eval "$ac_link") 2>conftest.er1
6560 grep -v '^ *+' conftest.er1 >conftest.err
6562 cat conftest.err >&5
6563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && {
6565 test -z "$ac_c_werror_flag" ||
6566 test ! -s conftest.err
6567 } && test -s conftest$ac_exeext && {
6568 test "$cross_compiling" = yes ||
6569 $as_test_x conftest$ac_exeext
6571 ac_cv_working_alloca_h=yes
6573 $as_echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 ac_cv_working_alloca_h=no
6579 rm -rf conftest.dSYM
6580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6581 conftest$ac_exeext conftest.$ac_ext
6583 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6584 $as_echo "$ac_cv_working_alloca_h" >&6; }
6585 if test $ac_cv_working_alloca_h = yes; then
6587 cat >>confdefs.h <<\_ACEOF
6588 #define HAVE_ALLOCA_H 1
6593 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6594 $as_echo_n "checking for alloca... " >&6; }
6595 if test "${ac_cv_func_alloca_works+set}" = set; then
6596 $as_echo_n "(cached) " >&6
6598 cat >conftest.$ac_ext <<_ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 # define alloca __builtin_alloca
6608 # include <malloc.h>
6609 # define alloca _alloca
6611 # ifdef HAVE_ALLOCA_H
6612 # include <alloca.h>
6617 # ifndef alloca /* predefined by HP cc +Olibcalls */
6628 char *p = (char *) alloca (1);
6634 rm -f conftest.$ac_objext conftest$ac_exeext
6635 if { (ac_try="$ac_link"
6637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6638 *) ac_try_echo
=$ac_try;;
6640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6641 $as_echo "$ac_try_echo") >&5
6642 (eval "$ac_link") 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } && {
6649 test -z "$ac_c_werror_flag" ||
6650 test ! -s conftest.err
6651 } && test -s conftest
$ac_exeext && {
6652 test "$cross_compiling" = yes ||
6653 $as_test_x conftest
$ac_exeext
6655 ac_cv_func_alloca_works
=yes
6657 $as_echo "$as_me: failed program was:" >&5
6658 sed 's/^/| /' conftest.
$ac_ext >&5
6660 ac_cv_func_alloca_works
=no
6663 rm -rf conftest.dSYM
6664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6665 conftest
$ac_exeext conftest.
$ac_ext
6667 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6668 $as_echo "$ac_cv_func_alloca_works" >&6; }
6670 if test $ac_cv_func_alloca_works = yes; then
6672 cat >>confdefs.h
<<\_ACEOF
6673 #define HAVE_ALLOCA 1
6677 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6678 # that cause trouble. Some versions do not even contain alloca or
6679 # contain a buggy version. If you still want to use their alloca,
6680 # use ar to extract alloca.o from them instead of compiling alloca.c.
6682 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6684 cat >>confdefs.h
<<\_ACEOF
6689 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6690 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6691 if test "${ac_cv_os_cray+set}" = set; then
6692 $as_echo_n "(cached) " >&6
6694 cat >conftest.
$ac_ext <<_ACEOF
6697 cat confdefs.h
>>conftest.
$ac_ext
6698 cat >>conftest.
$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6700 #if defined CRAY && ! defined CRAY2
6707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6708 $EGREP "webecray" >/dev
/null
2>&1; then
6716 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6717 $as_echo "$ac_cv_os_cray" >&6; }
6718 if test $ac_cv_os_cray = yes; then
6719 for ac_func
in _getb67 GETB67 getb67
; do
6720 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6721 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6722 $as_echo_n "checking for $ac_func... " >&6; }
6723 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6724 $as_echo_n "(cached) " >&6
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6734 #define $ac_func innocuous_$ac_func
6736 /* System header to define __stub macros and hopefully few prototypes,
6737 which can conflict with char $ac_func (); below.
6738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6739 <limits.h> exists even on freestanding compilers. */
6742 # include <limits.h>
6744 # include <assert.h>
6749 /* Override any GCC internal prototype to avoid an error.
6750 Use char because int might match the return type of a GCC
6751 builtin and then its argument prototype would still apply. */
6756 /* The GNU C library defines this for functions which it implements
6757 to always fail with ENOSYS. Some functions are actually named
6758 something starting with __ and the normal name is an alias. */
6759 #if defined __stub_$ac_func || defined __stub___$ac_func
6771 rm -f conftest.
$ac_objext conftest
$ac_exeext
6772 if { (ac_try
="$ac_link"
6774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6775 *) ac_try_echo=$ac_try;;
6777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6778 $as_echo "$ac_try_echo") >&5
6779 (eval "$ac_link") 2>conftest.er1
6781 grep -v '^ *+' conftest.er1 >conftest.err
6783 cat conftest.err >&5
6784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } && {
6786 test -z "$ac_c_werror_flag" ||
6787 test ! -s conftest.err
6788 } && test -s conftest$ac_exeext && {
6789 test "$cross_compiling" = yes ||
6790 $as_test_x conftest$ac_exeext
6792 eval "$as_ac_var=yes"
6794 $as_echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.$ac_ext >&5
6797 eval "$as_ac_var=no"
6800 rm -rf conftest.dSYM
6801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6802 conftest$ac_exeext conftest.$ac_ext
6804 ac_res=`eval 'as_val=${'$as_ac_var'}
6805 $as_echo "$as_val"'`
6806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6807 $as_echo "$ac_res" >&6; }
6808 as_val=`eval 'as_val=${'$as_ac_var'}
6809 $as_echo "$as_val"'`
6810 if test "x$as_val" = x""yes; then
6812 cat >>confdefs.h <<_ACEOF
6813 #define CRAY_STACKSEG_END $ac_func
6822 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6823 $as_echo_n "checking stack direction for C alloca... " >&6; }
6824 if test "${ac_cv_c_stack_direction+set}" = set; then
6825 $as_echo_n "(cached) " >&6
6827 if test "$cross_compiling" = yes; then
6828 ac_cv_c_stack_direction=0
6830 cat >conftest.$ac_ext <<_ACEOF
6833 cat confdefs.h >>conftest.$ac_ext
6834 cat >>conftest.$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 $ac_includes_default
6838 find_stack_direction ()
6840 static char *addr = 0;
6845 return find_stack_direction ();
6848 return (&dummy > addr) ? 1 : -1;
6854 return find_stack_direction () < 0;
6857 rm -f conftest$ac_exeext
6858 if { (ac_try="$ac_link"
6860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6861 *) ac_try_echo
=$ac_try;;
6863 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6864 $as_echo "$ac_try_echo") >&5
6865 (eval "$ac_link") 2>&5
6867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6869 { (case "(($ac_try" in
6870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6871 *) ac_try_echo=$ac_try;;
6873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6874 $as_echo "$ac_try_echo") >&5
6875 (eval "$ac_try") 2>&5
6877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; }; then
6879 ac_cv_c_stack_direction=1
6881 $as_echo "$as_me: program exited with status $ac_status" >&5
6882 $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6886 ac_cv_c_stack_direction=-1
6888 rm -rf conftest.dSYM
6889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6894 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6895 $as_echo "$ac_cv_c_stack_direction" >&6; }
6897 cat >>confdefs.h <<_ACEOF
6898 #define STACK_DIRECTION $ac_cv_c_stack_direction
6904 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6905 $as_echo_n "checking whether closedir returns void... " >&6; }
6906 if test "${ac_cv_func_closedir_void+set}" = set; then
6907 $as_echo_n "(cached) " >&6
6909 if test "$cross_compiling" = yes; then
6910 ac_cv_func_closedir_void=yes
6912 cat >conftest.$ac_ext <<_ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 $ac_includes_default
6919 #include <$ac_header_dirent>
6927 return closedir (opendir (".")) != 0;
6932 rm -f conftest$ac_exeext
6933 if { (ac_try="$ac_link"
6935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6936 *) ac_try_echo
=$ac_try;;
6938 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6939 $as_echo "$ac_try_echo") >&5
6940 (eval "$ac_link") 2>&5
6942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6944 { (case "(($ac_try" in
6945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6946 *) ac_try_echo=$ac_try;;
6948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6949 $as_echo "$ac_try_echo") >&5
6950 (eval "$ac_try") 2>&5
6952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_cv_func_closedir_void=no
6956 $as_echo "$as_me: program exited with status $ac_status" >&5
6957 $as_echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6961 ac_cv_func_closedir_void=yes
6963 rm -rf conftest.dSYM
6964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6969 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6970 $as_echo "$ac_cv_func_closedir_void" >&6; }
6971 if test $ac_cv_func_closedir_void = yes; then
6973 cat >>confdefs.h <<\_ACEOF
6974 #define CLOSEDIR_VOID 1
6980 for ac_header in vfork.h
6982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6983 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6984 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6985 $as_echo_n "checking for $ac_header... " >&6; }
6986 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6987 $as_echo_n "(cached) " >&6
6989 ac_res=`eval 'as_val=${'$as_ac_Header'}
6990 $as_echo "$as_val"'`
6991 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6992 $as_echo "$ac_res" >&6; }
6994 # Is the header compilable?
6995 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6996 $as_echo_n "checking $ac_header usability... " >&6; }
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 $ac_includes_default
7004 #include <$ac_header>
7006 rm -f conftest.$ac_objext
7007 if { (ac_try="$ac_compile"
7009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7010 *) ac_try_echo
=$ac_try;;
7012 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7013 $as_echo "$ac_try_echo") >&5
7014 (eval "$ac_compile") 2>conftest.er1
7016 grep -v '^ *+' conftest.er1
>conftest.err
7018 cat conftest.err
>&5
7019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && {
7021 test -z "$ac_c_werror_flag" ||
7022 test ! -s conftest.err
7023 } && test -s conftest.
$ac_objext; then
7024 ac_header_compiler
=yes
7026 $as_echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.
$ac_ext >&5
7029 ac_header_compiler
=no
7032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7033 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7034 $as_echo "$ac_header_compiler" >&6; }
7036 # Is the header present?
7037 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7038 $as_echo_n "checking $ac_header presence... " >&6; }
7039 cat >conftest.
$ac_ext <<_ACEOF
7042 cat confdefs.h
>>conftest.
$ac_ext
7043 cat >>conftest.
$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 #include <$ac_header>
7047 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;;
7052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7053 $as_echo "$ac_try_echo") >&5
7054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7056 grep -v '^ *+' conftest.er1 >conftest.err
7058 cat conftest.err >&5
7059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } >/dev/null && {
7061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7062 test ! -s conftest.err
7064 ac_header_preproc=yes
7066 $as_echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7069 ac_header_preproc=no
7072 rm -f conftest.err conftest.$ac_ext
7073 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7074 $as_echo "$ac_header_preproc" >&6; }
7076 # So? What about this header?
7077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7079 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7080 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7082 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7083 ac_header_preproc=yes
7086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7087 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7089 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7091 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7093 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7095 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7097 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7101 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7102 $as_echo_n "checking for $ac_header... " >&6; }
7103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104 $as_echo_n "(cached) " >&6
7106 eval "$as_ac_Header=\$ac_header_preproc"
7108 ac_res=`eval 'as_val=${'$as_ac_Header'}
7109 $as_echo "$as_val"'`
7110 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7111 $as_echo "$ac_res" >&6; }
7114 as_val=`eval 'as_val=${'$as_ac_Header'}
7115 $as_echo "$as_val"'`
7116 if test "x$as_val" = x""yes; then
7117 cat >>confdefs.h <<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7127 for ac_func in fork vfork
7129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7130 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7131 $as_echo_n "checking for $ac_func... " >&6; }
7132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7133 $as_echo_n "(cached) " >&6
7135 cat >conftest.$ac_ext <<_ACEOF
7138 cat confdefs.h >>conftest.$ac_ext
7139 cat >>conftest.$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7143 #define $ac_func innocuous_$ac_func
7145 /* System header to define __stub macros and hopefully few prototypes,
7146 which can conflict with char $ac_func (); below.
7147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 <limits.h> exists even on freestanding compilers. */
7151 # include <limits.h>
7153 # include <assert.h>
7158 /* Override any GCC internal prototype to avoid an error.
7159 Use char because int might match the return type of a GCC
7160 builtin and then its argument prototype would still apply. */
7165 /* The GNU C library defines this for functions which it implements
7166 to always fail with ENOSYS. Some functions are actually named
7167 something starting with __ and the normal name is an alias. */
7168 #if defined __stub_$ac_func || defined __stub___$ac_func
7180 rm -f conftest.$ac_objext conftest$ac_exeext
7181 if { (ac_try="$ac_link"
7183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7184 *) ac_try_echo
=$ac_try;;
7186 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7187 $as_echo "$ac_try_echo") >&5
7188 (eval "$ac_link") 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } && {
7195 test -z "$ac_c_werror_flag" ||
7196 test ! -s conftest.err
7197 } && test -s conftest
$ac_exeext && {
7198 test "$cross_compiling" = yes ||
7199 $as_test_x conftest
$ac_exeext
7201 eval "$as_ac_var=yes"
7203 $as_echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.
$ac_ext >&5
7206 eval "$as_ac_var=no"
7209 rm -rf conftest.dSYM
7210 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7211 conftest
$ac_exeext conftest.
$ac_ext
7213 ac_res
=`eval 'as_val=${'$as_ac_var'}
7214 $as_echo "$as_val"'`
7215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7216 $as_echo "$ac_res" >&6; }
7217 as_val
=`eval 'as_val=${'$as_ac_var'}
7218 $as_echo "$as_val"'`
7219 if test "x$as_val" = x
""yes; then
7220 cat >>confdefs.h
<<_ACEOF
7221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7227 if test "x$ac_cv_func_fork" = xyes
; then
7228 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
7229 $as_echo_n "checking for working fork... " >&6; }
7230 if test "${ac_cv_func_fork_works+set}" = set; then
7231 $as_echo_n "(cached) " >&6
7233 if test "$cross_compiling" = yes; then
7234 ac_cv_func_fork_works
=cross
7236 cat >conftest.
$ac_ext <<_ACEOF
7239 cat confdefs.h
>>conftest.
$ac_ext
7240 cat >>conftest.
$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 $ac_includes_default
7247 /* By Ruediger Kuhlmann. */
7254 rm -f conftest
$ac_exeext
7255 if { (ac_try
="$ac_link"
7257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7261 $as_echo "$ac_try_echo") >&5
7262 (eval "$ac_link") 2>&5
7264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7266 { (case "(($ac_try" in
7267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7268 *) ac_try_echo
=$ac_try;;
7270 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7271 $as_echo "$ac_try_echo") >&5
7272 (eval "$ac_try") 2>&5
7274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); }; }; then
7276 ac_cv_func_fork_works
=yes
7278 $as_echo "$as_me: program exited with status $ac_status" >&5
7279 $as_echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.
$ac_ext >&5
7283 ac_cv_func_fork_works
=no
7285 rm -rf conftest.dSYM
7286 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7291 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7292 $as_echo "$ac_cv_func_fork_works" >&6; }
7295 ac_cv_func_fork_works
=$ac_cv_func_fork
7297 if test "x$ac_cv_func_fork_works" = xcross
; then
7299 *-*-amigaos* |
*-*-msdosdjgpp*)
7300 # Override, as these systems have only a dummy fork() stub
7301 ac_cv_func_fork_works
=no
7304 ac_cv_func_fork_works
=yes
7307 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7308 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7310 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7311 if test "x$ac_cv_func_vfork" = xyes
; then
7312 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
7313 $as_echo_n "checking for working vfork... " >&6; }
7314 if test "${ac_cv_func_vfork_works+set}" = set; then
7315 $as_echo_n "(cached) " >&6
7317 if test "$cross_compiling" = yes; then
7318 ac_cv_func_vfork_works
=cross
7320 cat >conftest.
$ac_ext <<_ACEOF
7323 cat confdefs.h
>>conftest.
$ac_ext
7324 cat >>conftest.
$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 /* Thanks to Paul Eggert for this test. */
7327 $ac_includes_default
7328 #include <sys/wait.h>
7332 /* On some sparc systems, changes by the child to local and incoming
7333 argument registers are propagated back to the parent. The compiler
7334 is told about this with #include <vfork.h>, but some compilers
7335 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7336 static variable whose address is put into a register that is
7337 clobbered by the vfork. */
7340 sparc_address_test (int arg)
7342 sparc_address_test (arg) int arg;
7363 pid_t parent = getpid ();
7366 sparc_address_test (0);
7371 /* Here is another test for sparc vfork register problems. This
7372 test uses lots of local variables, at least as many local
7373 variables as main has allocated so far including compiler
7374 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7375 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7376 reuse the register of parent for one of the local variables,
7377 since it will think that parent can't possibly be used any more
7378 in this routine. Assigning to the local variable will thus
7379 munge parent in the parent process. */
7381 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7382 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7383 /* Convince the compiler that p..p7 are live; otherwise, it might
7384 use the same hardware register for all 8 local variables. */
7385 if (p != p1 || p != p2 || p != p3 || p != p4
7386 || p != p5 || p != p6 || p != p7)
7389 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7390 from child file descriptors. If the child closes a descriptor
7391 before it execs or exits, this munges the parent's descriptor
7392 as well. Test for this by closing stdout in the child. */
7393 _exit(close(fileno(stdout)) != 0);
7398 while (wait(&status) != child)
7401 /* Was there some problem with vforking? */
7404 /* Did the child fail? (This shouldn't happen.) */
7407 /* Did the vfork/compiler bug occur? */
7408 || parent != getpid()
7410 /* Did the file descriptor bug occur? */
7411 || fstat(fileno(stdout), &st) != 0
7416 rm -f conftest
$ac_exeext
7417 if { (ac_try
="$ac_link"
7419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7420 *) ac_try_echo=$ac_try;;
7422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7423 $as_echo "$ac_try_echo") >&5
7424 (eval "$ac_link") 2>&5
7426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7428 { (case "(($ac_try" in
7429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7430 *) ac_try_echo
=$ac_try;;
7432 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7433 $as_echo "$ac_try_echo") >&5
7434 (eval "$ac_try") 2>&5
7436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; }; then
7438 ac_cv_func_vfork_works
=yes
7440 $as_echo "$as_me: program exited with status $ac_status" >&5
7441 $as_echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.
$ac_ext >&5
7445 ac_cv_func_vfork_works
=no
7447 rm -rf conftest.dSYM
7448 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7453 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7454 $as_echo "$ac_cv_func_vfork_works" >&6; }
7457 if test "x$ac_cv_func_fork_works" = xcross
; then
7458 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7459 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7460 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7463 if test "x$ac_cv_func_vfork_works" = xyes
; then
7465 cat >>confdefs.h
<<\_ACEOF
7466 #define HAVE_WORKING_VFORK 1
7471 cat >>confdefs.h
<<\_ACEOF
7476 if test "x$ac_cv_func_fork_works" = xyes
; then
7478 cat >>confdefs.h
<<\_ACEOF
7479 #define HAVE_WORKING_FORK 1
7484 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7485 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
7486 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7487 $as_echo_n "(cached) " >&6
7489 rm -f conftest.sym conftest.
file
7491 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7492 if test "$cross_compiling" = yes; then
7493 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 $ac_includes_default
7506 /* Linux will dereference the symlink and fail.
7507 That is better in the sense that it means we will not
7508 have to compile and use the lstat wrapper. */
7509 return lstat ("conftest.sym/", &sbuf) == 0;
7514 rm -f conftest
$ac_exeext
7515 if { (ac_try
="$ac_link"
7517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7521 $as_echo "$ac_try_echo") >&5
7522 (eval "$ac_link") 2>&5
7524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7526 { (case "(($ac_try" in
7527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7528 *) ac_try_echo
=$ac_try;;
7530 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7531 $as_echo "$ac_try_echo") >&5
7532 (eval "$ac_try") 2>&5
7534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7538 $as_echo "$as_me: program exited with status $ac_status" >&5
7539 $as_echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.
$ac_ext >&5
7543 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7545 rm -rf conftest.dSYM
7546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7551 # If the `ln -s' command failed, then we probably don't even
7552 # have an lstat function.
7553 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7555 rm -f conftest.sym conftest.
file
7558 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7559 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7561 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7563 cat >>confdefs.h
<<_ACEOF
7564 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7568 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7569 case " $LIBOBJS " in
7570 *" lstat.$ac_objext "* ) ;;
7571 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7577 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7578 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
7579 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7580 $as_echo_n "(cached) " >&6
7582 if test "$cross_compiling" = yes; then
7583 ac_cv_func_lstat_empty_string_bug
=yes
7585 cat >conftest.
$ac_ext <<_ACEOF
7588 cat confdefs.h
>>conftest.
$ac_ext
7589 cat >>conftest.
$ac_ext <<_ACEOF
7590 /* end confdefs.h. */
7591 $ac_includes_default
7596 return lstat ("", &sbuf) == 0;
7601 rm -f conftest
$ac_exeext
7602 if { (ac_try
="$ac_link"
7604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7605 *) ac_try_echo=$ac_try;;
7607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7608 $as_echo "$ac_try_echo") >&5
7609 (eval "$ac_link") 2>&5
7611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7613 { (case "(($ac_try" in
7614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7615 *) ac_try_echo
=$ac_try;;
7617 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7618 $as_echo "$ac_try_echo") >&5
7619 (eval "$ac_try") 2>&5
7621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); }; }; then
7623 ac_cv_func_lstat_empty_string_bug
=no
7625 $as_echo "$as_me: program exited with status $ac_status" >&5
7626 $as_echo "$as_me: failed program was:" >&5
7627 sed 's/^/| /' conftest.
$ac_ext >&5
7630 ac_cv_func_lstat_empty_string_bug
=yes
7632 rm -rf conftest.dSYM
7633 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7638 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7639 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7640 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7641 case " $LIBOBJS " in
7642 *" lstat.$ac_objext "* ) ;;
7643 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7648 cat >>confdefs.h
<<_ACEOF
7649 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7655 for ac_header
in stdlib.h
7657 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7658 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7659 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7660 $as_echo_n "checking for $ac_header... " >&6; }
7661 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7662 $as_echo_n "(cached) " >&6
7664 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7665 $as_echo "$as_val"'`
7666 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7667 $as_echo "$ac_res" >&6; }
7669 # Is the header compilable?
7670 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7671 $as_echo_n "checking $ac_header usability... " >&6; }
7672 cat >conftest.
$ac_ext <<_ACEOF
7675 cat confdefs.h
>>conftest.
$ac_ext
7676 cat >>conftest.
$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7678 $ac_includes_default
7679 #include <$ac_header>
7681 rm -f conftest.
$ac_objext
7682 if { (ac_try
="$ac_compile"
7684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7685 *) ac_try_echo=$ac_try;;
7687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7688 $as_echo "$ac_try_echo") >&5
7689 (eval "$ac_compile") 2>conftest.er1
7691 grep -v '^ *+' conftest.er1 >conftest.err
7693 cat conftest.err >&5
7694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } && {
7696 test -z "$ac_c_werror_flag" ||
7697 test ! -s conftest.err
7698 } && test -s conftest.$ac_objext; then
7699 ac_header_compiler=yes
7701 $as_echo "$as_me: failed program was:" >&5
7702 sed 's/^/| /' conftest.$ac_ext >&5
7704 ac_header_compiler=no
7707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7708 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7709 $as_echo "$ac_header_compiler" >&6; }
7711 # Is the header present?
7712 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7713 $as_echo_n "checking $ac_header presence... " >&6; }
7714 cat >conftest.$ac_ext <<_ACEOF
7717 cat confdefs.h >>conftest.$ac_ext
7718 cat >>conftest.$ac_ext <<_ACEOF
7719 /* end confdefs.h. */
7720 #include <$ac_header>
7722 if { (ac_try="$ac_cpp conftest.$ac_ext"
7724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7725 *) ac_try_echo
=$ac_try;;
7727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7728 $as_echo "$ac_try_echo") >&5
7729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } >/dev
/null
&& {
7736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7737 test ! -s conftest.err
7739 ac_header_preproc
=yes
7741 $as_echo "$as_me: failed program was:" >&5
7742 sed 's/^/| /' conftest.
$ac_ext >&5
7744 ac_header_preproc
=no
7747 rm -f conftest.err conftest.
$ac_ext
7748 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7749 $as_echo "$ac_header_preproc" >&6; }
7751 # So? What about this header?
7752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7755 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7757 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7758 ac_header_preproc
=yes
7761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7762 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7764 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7766 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7768 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7770 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7772 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7776 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7777 $as_echo_n "checking for $ac_header... " >&6; }
7778 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7779 $as_echo_n "(cached) " >&6
7781 eval "$as_ac_Header=\$ac_header_preproc"
7783 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7784 $as_echo "$as_val"'`
7785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7786 $as_echo "$ac_res" >&6; }
7789 as_val
=`eval 'as_val=${'$as_ac_Header'}
7790 $as_echo "$as_val"'`
7791 if test "x$as_val" = x
""yes; then
7792 cat >>confdefs.h
<<_ACEOF
7793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7800 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7801 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7802 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7803 $as_echo_n "(cached) " >&6
7805 if test "$cross_compiling" = yes; then
7806 ac_cv_func_malloc_0_nonnull
=no
7808 cat >conftest.
$ac_ext <<_ACEOF
7811 cat confdefs.h
>>conftest.
$ac_ext
7812 cat >>conftest.
$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7814 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7815 # include <stdlib.h>
7823 return ! malloc (0);
7828 rm -f conftest
$ac_exeext
7829 if { (ac_try
="$ac_link"
7831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7832 *) ac_try_echo=$ac_try;;
7834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7835 $as_echo "$ac_try_echo") >&5
7836 (eval "$ac_link") 2>&5
7838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7840 { (case "(($ac_try" in
7841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7842 *) ac_try_echo
=$ac_try;;
7844 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7845 $as_echo "$ac_try_echo") >&5
7846 (eval "$ac_try") 2>&5
7848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }; }; then
7850 ac_cv_func_malloc_0_nonnull
=yes
7852 $as_echo "$as_me: program exited with status $ac_status" >&5
7853 $as_echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.
$ac_ext >&5
7857 ac_cv_func_malloc_0_nonnull
=no
7859 rm -rf conftest.dSYM
7860 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7865 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7866 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7867 if test $ac_cv_func_malloc_0_nonnull = yes; then
7869 cat >>confdefs.h
<<\_ACEOF
7870 #define HAVE_MALLOC 1
7874 cat >>confdefs.h
<<\_ACEOF
7875 #define HAVE_MALLOC 0
7878 case " $LIBOBJS " in
7879 *" malloc.$ac_objext "* ) ;;
7880 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7885 cat >>confdefs.h
<<\_ACEOF
7886 #define malloc rpl_malloc
7893 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
7894 $as_echo_n "checking for working memcmp... " >&6; }
7895 if test "${ac_cv_func_memcmp_working+set}" = set; then
7896 $as_echo_n "(cached) " >&6
7898 if test "$cross_compiling" = yes; then
7899 ac_cv_func_memcmp_working
=no
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7907 $ac_includes_default
7912 /* Some versions of memcmp are not 8-bit clean. */
7913 char c0 = '\100', c1 = '\200', c2 = '\201';
7914 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7917 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7918 or more and with at least one buffer not starting on a 4-byte boundary.
7919 William Lewis provided this test program. */
7924 for (i = 0; i < 4; i++)
7928 strcpy (a, "--------01111111");
7929 strcpy (b, "--------10000000");
7930 if (memcmp (a, b, 16) >= 0)
7940 rm -f conftest
$ac_exeext
7941 if { (ac_try
="$ac_link"
7943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7944 *) ac_try_echo=$ac_try;;
7946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7947 $as_echo "$ac_try_echo") >&5
7948 (eval "$ac_link") 2>&5
7950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7952 { (case "(($ac_try" in
7953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7954 *) ac_try_echo
=$ac_try;;
7956 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7957 $as_echo "$ac_try_echo") >&5
7958 (eval "$ac_try") 2>&5
7960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; }; then
7962 ac_cv_func_memcmp_working
=yes
7964 $as_echo "$as_me: program exited with status $ac_status" >&5
7965 $as_echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.
$ac_ext >&5
7969 ac_cv_func_memcmp_working
=no
7971 rm -rf conftest.dSYM
7972 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7977 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7978 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7979 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7980 *" memcmp.$ac_objext "* ) ;;
7981 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7988 for ac_header
in stdlib.h unistd.h
7990 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7991 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7992 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7993 $as_echo_n "checking for $ac_header... " >&6; }
7994 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7995 $as_echo_n "(cached) " >&6
7997 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7998 $as_echo "$as_val"'`
7999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8000 $as_echo "$ac_res" >&6; }
8002 # Is the header compilable?
8003 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8004 $as_echo_n "checking $ac_header usability... " >&6; }
8005 cat >conftest.
$ac_ext <<_ACEOF
8008 cat confdefs.h
>>conftest.
$ac_ext
8009 cat >>conftest.
$ac_ext <<_ACEOF
8010 /* end confdefs.h. */
8011 $ac_includes_default
8012 #include <$ac_header>
8014 rm -f conftest.
$ac_objext
8015 if { (ac_try
="$ac_compile"
8017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8018 *) ac_try_echo=$ac_try;;
8020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8021 $as_echo "$ac_try_echo") >&5
8022 (eval "$ac_compile") 2>conftest.er1
8024 grep -v '^ *+' conftest.er1 >conftest.err
8026 cat conftest.err >&5
8027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); } && {
8029 test -z "$ac_c_werror_flag" ||
8030 test ! -s conftest.err
8031 } && test -s conftest.$ac_objext; then
8032 ac_header_compiler=yes
8034 $as_echo "$as_me: failed program was:" >&5
8035 sed 's/^/| /' conftest.$ac_ext >&5
8037 ac_header_compiler=no
8040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8041 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8042 $as_echo "$ac_header_compiler" >&6; }
8044 # Is the header present?
8045 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8046 $as_echo_n "checking $ac_header presence... " >&6; }
8047 cat >conftest.$ac_ext <<_ACEOF
8050 cat confdefs.h >>conftest.$ac_ext
8051 cat >>conftest.$ac_ext <<_ACEOF
8052 /* end confdefs.h. */
8053 #include <$ac_header>
8055 if { (ac_try="$ac_cpp conftest.$ac_ext"
8057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8058 *) ac_try_echo
=$ac_try;;
8060 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8061 $as_echo "$ac_try_echo") >&5
8062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8064 grep -v '^ *+' conftest.er1
>conftest.err
8066 cat conftest.err
>&5
8067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } >/dev
/null
&& {
8069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8070 test ! -s conftest.err
8072 ac_header_preproc
=yes
8074 $as_echo "$as_me: failed program was:" >&5
8075 sed 's/^/| /' conftest.
$ac_ext >&5
8077 ac_header_preproc
=no
8080 rm -f conftest.err conftest.
$ac_ext
8081 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8082 $as_echo "$ac_header_preproc" >&6; }
8084 # So? What about this header?
8085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8088 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8090 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8091 ac_header_preproc
=yes
8094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8095 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8097 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8099 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8101 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8103 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8105 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8109 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8110 $as_echo_n "checking for $ac_header... " >&6; }
8111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8112 $as_echo_n "(cached) " >&6
8114 eval "$as_ac_Header=\$ac_header_preproc"
8116 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8117 $as_echo "$as_val"'`
8118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8119 $as_echo "$ac_res" >&6; }
8122 as_val
=`eval 'as_val=${'$as_ac_Header'}
8123 $as_echo "$as_val"'`
8124 if test "x$as_val" = x
""yes; then
8125 cat >>confdefs.h
<<_ACEOF
8126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8134 for ac_func
in getpagesize
8136 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8137 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8138 $as_echo_n "checking for $ac_func... " >&6; }
8139 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8140 $as_echo_n "(cached) " >&6
8142 cat >conftest.
$ac_ext <<_ACEOF
8145 cat confdefs.h
>>conftest.
$ac_ext
8146 cat >>conftest.
$ac_ext <<_ACEOF
8147 /* end confdefs.h. */
8148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8150 #define $ac_func innocuous_$ac_func
8152 /* System header to define __stub macros and hopefully few prototypes,
8153 which can conflict with char $ac_func (); below.
8154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8155 <limits.h> exists even on freestanding compilers. */
8158 # include <limits.h>
8160 # include <assert.h>
8165 /* Override any GCC internal prototype to avoid an error.
8166 Use char because int might match the return type of a GCC
8167 builtin and then its argument prototype would still apply. */
8172 /* The GNU C library defines this for functions which it implements
8173 to always fail with ENOSYS. Some functions are actually named
8174 something starting with __ and the normal name is an alias. */
8175 #if defined __stub_$ac_func || defined __stub___$ac_func
8187 rm -f conftest.
$ac_objext conftest
$ac_exeext
8188 if { (ac_try
="$ac_link"
8190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8191 *) ac_try_echo=$ac_try;;
8193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8194 $as_echo "$ac_try_echo") >&5
8195 (eval "$ac_link") 2>conftest.er1
8197 grep -v '^ *+' conftest.er1 >conftest.err
8199 cat conftest.err >&5
8200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } && {
8202 test -z "$ac_c_werror_flag" ||
8203 test ! -s conftest.err
8204 } && test -s conftest$ac_exeext && {
8205 test "$cross_compiling" = yes ||
8206 $as_test_x conftest$ac_exeext
8208 eval "$as_ac_var=yes"
8210 $as_echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 eval "$as_ac_var=no"
8216 rm -rf conftest.dSYM
8217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8218 conftest$ac_exeext conftest.$ac_ext
8220 ac_res=`eval 'as_val=${'$as_ac_var'}
8221 $as_echo "$as_val"'`
8222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8223 $as_echo "$ac_res" >&6; }
8224 as_val=`eval 'as_val=${'$as_ac_var'}
8225 $as_echo "$as_val"'`
8226 if test "x$as_val" = x""yes; then
8227 cat >>confdefs.h <<_ACEOF
8228 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8234 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8235 $as_echo_n "checking for working mmap... " >&6; }
8236 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8237 $as_echo_n "(cached) " >&6
8239 if test "$cross_compiling" = yes; then
8240 ac_cv_func_mmap_fixed_mapped=no
8242 cat >conftest.$ac_ext <<_ACEOF
8245 cat confdefs.h >>conftest.$ac_ext
8246 cat >>conftest.$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8248 $ac_includes_default
8249 /* malloc might have been renamed as rpl_malloc. */
8252 /* Thanks to Mike Haertel and Jim Avera for this test.
8253 Here is a matrix of mmap possibilities:
8254 mmap private not fixed
8255 mmap private fixed at somewhere currently unmapped
8256 mmap private fixed at somewhere already mapped
8257 mmap shared not fixed
8258 mmap shared fixed at somewhere currently unmapped
8259 mmap shared fixed at somewhere already mapped
8260 For private mappings, we should verify that changes cannot be read()
8261 back from the file, nor mmap's back from the file at a different
8262 address. (There have been systems where private was not correctly
8263 implemented like the infamous i386 svr4.0, and systems where the
8264 VM page cache was not coherent with the file system buffer cache
8265 like early versions of FreeBSD and possibly contemporary NetBSD.)
8266 For shared mappings, we should conversely verify that changes get
8267 propagated back to all the places they're supposed to be.
8269 Grep wants private fixed already mapped.
8270 The main things grep needs to know about mmap are:
8271 * does it exist and is it safe to write into the mmap'd area
8272 * how to use it (BSD variants) */
8275 #include <sys/mman.h>
8277 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8281 /* This mess was copied from the GNU getpagesize.h. */
8282 #ifndef HAVE_GETPAGESIZE
8283 /* Assume that all systems that can run configure have sys/param.h. */
8284 # ifndef HAVE_SYS_PARAM_H
8285 # define HAVE_SYS_PARAM_H 1
8288 # ifdef _SC_PAGESIZE
8289 # define getpagesize() sysconf(_SC_PAGESIZE)
8290 # else /* no _SC_PAGESIZE */
8291 # ifdef HAVE_SYS_PARAM_H
8292 # include <sys/param.h>
8293 # ifdef EXEC_PAGESIZE
8294 # define getpagesize() EXEC_PAGESIZE
8295 # else /* no EXEC_PAGESIZE */
8297 # define getpagesize() NBPG * CLSIZE
8300 # endif /* no CLSIZE */
8301 # else /* no NBPG */
8303 # define getpagesize() NBPC
8304 # else /* no NBPC */
8306 # define getpagesize() PAGESIZE
8307 # endif /* PAGESIZE */
8308 # endif /* no NBPC */
8309 # endif /* no NBPG */
8310 # endif /* no EXEC_PAGESIZE */
8311 # else /* no HAVE_SYS_PARAM_H */
8312 # define getpagesize() 8192 /* punt totally */
8313 # endif /* no HAVE_SYS_PARAM_H */
8314 # endif /* no _SC_PAGESIZE */
8316 #endif /* no HAVE_GETPAGESIZE */
8321 char *data, *data2, *data3;
8325 pagesize = getpagesize ();
8327 /* First, make a file with some known garbage in it. */
8328 data = (char *) malloc (pagesize);
8331 for (i = 0; i < pagesize; ++i)
8332 *(data + i) = rand ();
8334 fd = creat ("conftest.mmap", 0600);
8337 if (write (fd, data, pagesize) != pagesize)
8341 /* Next, try to mmap the file at a fixed address which already has
8342 something else allocated at it. If we can, also make sure that
8343 we see the same garbage. */
8344 fd = open ("conftest.mmap", O_RDWR);
8347 data2 = (char *) malloc (2 * pagesize);
8350 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8351 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8352 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8354 for (i = 0; i < pagesize; ++i)
8355 if (*(data + i) != *(data2 + i))
8358 /* Finally, make sure that changes to the mapped area do not
8359 percolate back to the file as seen by read(). (This is a bug on
8360 some variants of i386 svr4.0.) */
8361 for (i = 0; i < pagesize; ++i)
8362 *(data2 + i) = *(data2 + i) + 1;
8363 data3 = (char *) malloc (pagesize);
8366 if (read (fd, data3, pagesize) != pagesize)
8368 for (i = 0; i < pagesize; ++i)
8369 if (*(data + i) != *(data3 + i))
8375 rm -f conftest$ac_exeext
8376 if { (ac_try="$ac_link"
8378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8379 *) ac_try_echo
=$ac_try;;
8381 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8382 $as_echo "$ac_try_echo") >&5
8383 (eval "$ac_link") 2>&5
8385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8387 { (case "(($ac_try" in
8388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8392 $as_echo "$ac_try_echo") >&5
8393 (eval "$ac_try") 2>&5
8395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 ac_cv_func_mmap_fixed_mapped=yes
8399 $as_echo "$as_me: program exited with status $ac_status" >&5
8400 $as_echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8404 ac_cv_func_mmap_fixed_mapped=no
8406 rm -rf conftest.dSYM
8407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8412 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8413 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8414 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8416 cat >>confdefs.h <<\_ACEOF
8423 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
8424 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
8425 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8426 $as_echo_n "(cached) " >&6
8428 if test "$cross_compiling" = yes; then
8429 ac_cv_func_stat_empty_string_bug=yes
8431 cat >conftest.$ac_ext <<_ACEOF
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8437 $ac_includes_default
8442 return stat ("", &sbuf) == 0;
8447 rm -f conftest$ac_exeext
8448 if { (ac_try="$ac_link"
8450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8451 *) ac_try_echo
=$ac_try;;
8453 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8454 $as_echo "$ac_try_echo") >&5
8455 (eval "$ac_link") 2>&5
8457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8459 { (case "(($ac_try" in
8460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8461 *) ac_try_echo=$ac_try;;
8463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8464 $as_echo "$ac_try_echo") >&5
8465 (eval "$ac_try") 2>&5
8467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; }; then
8469 ac_cv_func_stat_empty_string_bug=no
8471 $as_echo "$as_me: program exited with status $ac_status" >&5
8472 $as_echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8476 ac_cv_func_stat_empty_string_bug=yes
8478 rm -rf conftest.dSYM
8479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8484 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
8485 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8486 if test $ac_cv_func_stat_empty_string_bug = yes; then
8487 case " $LIBOBJS " in
8488 *" stat.$ac_objext "* ) ;;
8489 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
8494 cat >>confdefs.h <<_ACEOF
8495 #define HAVE_STAT_EMPTY_STRING_BUG 1
8500 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
8501 $as_echo_n "checking for working strtod... " >&6; }
8502 if test "${ac_cv_func_strtod+set}" = set; then
8503 $as_echo_n "(cached) " >&6
8505 if test "$cross_compiling" = yes; then
8506 ac_cv_func_strtod=no
8508 cat >conftest.$ac_ext <<_ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8515 $ac_includes_default
8523 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8524 char *string = " +69";
8527 value = strtod (string, &term);
8528 if (value != 69 || term != (string + 4))
8533 /* Under Solaris 2.4, strtod returns the wrong value for the
8534 terminating character under some conditions. */
8535 char *string = "NaN";
8537 strtod (string, &term);
8538 if (term != string && *(term - 1) == 0)
8545 rm -f conftest$ac_exeext
8546 if { (ac_try="$ac_link"
8548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8549 *) ac_try_echo
=$ac_try;;
8551 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8552 $as_echo "$ac_try_echo") >&5
8553 (eval "$ac_link") 2>&5
8555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8557 { (case "(($ac_try" in
8558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8562 $as_echo "$ac_try_echo") >&5
8563 (eval "$ac_try") 2>&5
8565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 ac_cv_func_strtod=yes
8569 $as_echo "$as_me: program exited with status $ac_status" >&5
8570 $as_echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.$ac_ext >&5
8574 ac_cv_func_strtod=no
8576 rm -rf conftest.dSYM
8577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8582 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8583 $as_echo "$ac_cv_func_strtod" >&6; }
8584 if test $ac_cv_func_strtod = no; then
8585 case " $LIBOBJS " in
8586 *" strtod.$ac_objext "* ) ;;
8587 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8591 { $as_echo "$as_me:$LINENO: checking for pow" >&5
8592 $as_echo_n "checking for pow... " >&6; }
8593 if test "${ac_cv_func_pow+set}" = set; then
8594 $as_echo_n "(cached) " >&6
8596 cat >conftest.$ac_ext <<_ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8602 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8604 #define pow innocuous_pow
8606 /* System header to define __stub macros and hopefully few prototypes,
8607 which can conflict with char pow (); below.
8608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8609 <limits.h> exists even on freestanding compilers. */
8612 # include <limits.h>
8614 # include <assert.h>
8619 /* Override any GCC internal prototype to avoid an error.
8620 Use char because int might match the return type of a GCC
8621 builtin and then its argument prototype would still apply. */
8626 /* The GNU C library defines this for functions which it implements
8627 to always fail with ENOSYS. Some functions are actually named
8628 something starting with __ and the normal name is an alias. */
8629 #if defined __stub_pow || defined __stub___pow
8641 rm -f conftest.$ac_objext conftest$ac_exeext
8642 if { (ac_try="$ac_link"
8644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8645 *) ac_try_echo
=$ac_try;;
8647 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8648 $as_echo "$ac_try_echo") >&5
8649 (eval "$ac_link") 2>conftest.er1
8651 grep -v '^ *+' conftest.er1
>conftest.err
8653 cat conftest.err
>&5
8654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && {
8656 test -z "$ac_c_werror_flag" ||
8657 test ! -s conftest.err
8658 } && test -s conftest
$ac_exeext && {
8659 test "$cross_compiling" = yes ||
8660 $as_test_x conftest
$ac_exeext
8664 $as_echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.
$ac_ext >&5
8670 rm -rf conftest.dSYM
8671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8672 conftest
$ac_exeext conftest.
$ac_ext
8674 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8675 $as_echo "$ac_cv_func_pow" >&6; }
8677 if test $ac_cv_func_pow = no
; then
8678 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
8679 $as_echo_n "checking for pow in -lm... " >&6; }
8680 if test "${ac_cv_lib_m_pow+set}" = set; then
8681 $as_echo_n "(cached) " >&6
8683 ac_check_lib_save_LIBS
=$LIBS
8685 cat >conftest.
$ac_ext <<_ACEOF
8688 cat confdefs.h
>>conftest.
$ac_ext
8689 cat >>conftest.
$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8692 /* Override any GCC internal prototype to avoid an error.
8693 Use char because int might match the return type of a GCC
8694 builtin and then its argument prototype would still apply. */
8707 rm -f conftest.
$ac_objext conftest
$ac_exeext
8708 if { (ac_try
="$ac_link"
8710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8711 *) ac_try_echo=$ac_try;;
8713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8714 $as_echo "$ac_try_echo") >&5
8715 (eval "$ac_link") 2>conftest.er1
8717 grep -v '^ *+' conftest.er1 >conftest.err
8719 cat conftest.err >&5
8720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext && {
8725 test "$cross_compiling" = yes ||
8726 $as_test_x conftest$ac_exeext
8730 $as_echo "$as_me: failed program was:" >&5
8731 sed 's/^/| /' conftest.$ac_ext >&5
8736 rm -rf conftest.dSYM
8737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_lib_save_LIBS
8741 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8742 $as_echo "$ac_cv_lib_m_pow" >&6; }
8743 if test "x$ac_cv_lib_m_pow" = x""yes; then
8746 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8747 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8755 for ac_func in vprintf
8757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8758 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8759 $as_echo_n "checking for $ac_func... " >&6; }
8760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8761 $as_echo_n "(cached) " >&6
8763 cat >conftest.$ac_ext <<_ACEOF
8766 cat confdefs.h >>conftest.$ac_ext
8767 cat >>conftest.$ac_ext <<_ACEOF
8768 /* end confdefs.h. */
8769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8771 #define $ac_func innocuous_$ac_func
8773 /* System header to define __stub macros and hopefully few prototypes,
8774 which can conflict with char $ac_func (); below.
8775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8776 <limits.h> exists even on freestanding compilers. */
8779 # include <limits.h>
8781 # include <assert.h>
8786 /* Override any GCC internal prototype to avoid an error.
8787 Use char because int might match the return type of a GCC
8788 builtin and then its argument prototype would still apply. */
8793 /* The GNU C library defines this for functions which it implements
8794 to always fail with ENOSYS. Some functions are actually named
8795 something starting with __ and the normal name is an alias. */
8796 #if defined __stub_$ac_func || defined __stub___$ac_func
8808 rm -f conftest.$ac_objext conftest$ac_exeext
8809 if { (ac_try="$ac_link"
8811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8812 *) ac_try_echo
=$ac_try;;
8814 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8815 $as_echo "$ac_try_echo") >&5
8816 (eval "$ac_link") 2>conftest.er1
8818 grep -v '^ *+' conftest.er1
>conftest.err
8820 cat conftest.err
>&5
8821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } && {
8823 test -z "$ac_c_werror_flag" ||
8824 test ! -s conftest.err
8825 } && test -s conftest
$ac_exeext && {
8826 test "$cross_compiling" = yes ||
8827 $as_test_x conftest
$ac_exeext
8829 eval "$as_ac_var=yes"
8831 $as_echo "$as_me: failed program was:" >&5
8832 sed 's/^/| /' conftest.
$ac_ext >&5
8834 eval "$as_ac_var=no"
8837 rm -rf conftest.dSYM
8838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8839 conftest
$ac_exeext conftest.
$ac_ext
8841 ac_res
=`eval 'as_val=${'$as_ac_var'}
8842 $as_echo "$as_val"'`
8843 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8844 $as_echo "$ac_res" >&6; }
8845 as_val
=`eval 'as_val=${'$as_ac_var'}
8846 $as_echo "$as_val"'`
8847 if test "x$as_val" = x
""yes; then
8848 cat >>confdefs.h
<<_ACEOF
8849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8852 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
8853 $as_echo_n "checking for _doprnt... " >&6; }
8854 if test "${ac_cv_func__doprnt+set}" = set; then
8855 $as_echo_n "(cached) " >&6
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8863 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8865 #define _doprnt innocuous__doprnt
8867 /* System header to define __stub macros and hopefully few prototypes,
8868 which can conflict with char _doprnt (); below.
8869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8870 <limits.h> exists even on freestanding compilers. */
8873 # include <limits.h>
8875 # include <assert.h>
8880 /* Override any GCC internal prototype to avoid an error.
8881 Use char because int might match the return type of a GCC
8882 builtin and then its argument prototype would still apply. */
8887 /* The GNU C library defines this for functions which it implements
8888 to always fail with ENOSYS. Some functions are actually named
8889 something starting with __ and the normal name is an alias. */
8890 #if defined __stub__doprnt || defined __stub____doprnt
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (ac_try
="$ac_link"
8905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8909 $as_echo "$ac_try_echo") >&5
8910 (eval "$ac_link") 2>conftest.er1
8912 grep -v '^ *+' conftest.er1 >conftest.err
8914 cat conftest.err >&5
8915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err
8919 } && test -s conftest$ac_exeext && {
8920 test "$cross_compiling" = yes ||
8921 $as_test_x conftest$ac_exeext
8923 ac_cv_func__doprnt=yes
8925 $as_echo "$as_me: failed program was:" >&5
8926 sed 's/^/| /' conftest.$ac_ext >&5
8928 ac_cv_func__doprnt=no
8931 rm -rf conftest.dSYM
8932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8933 conftest$ac_exeext conftest.$ac_ext
8935 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8936 $as_echo "$ac_cv_func__doprnt" >&6; }
8937 if test "x$ac_cv_func__doprnt" = x""yes; then
8939 cat >>confdefs.h <<\_ACEOF
8940 #define HAVE_DOPRNT 1
8950 ################################################################################
8951 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
8952 $as_echo_n "checking whether to use static linking... " >&6; }
8953 # Check whether --enable-static_link was given.
8954 if test "${enable_static_link+set}" = set; then
8955 enableval=$enable_static_link; STATIC_LINK=$enableval
8960 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
8961 $as_echo "$STATIC_LINK" >&6; }
8963 ################################################################################
8966 ################################################################################
8967 { $as_echo "$as_me:$LINENO: checking file owner" >&5
8968 $as_echo_n "checking file owner... " >&6; }
8972 # Check whether --with-user was given.
8973 if test "${with_user+set}" = set; then
8974 withval=$with_user; OWNER="$withval"
8977 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
8978 $as_echo "$OWNER" >&6; }
8980 if test x$OWNER != x; then
8984 ################################################################################
8985 { $as_echo "$as_me:$LINENO: checking group owner" >&5
8986 $as_echo_n "checking group owner... " >&6; }
8989 # Check whether --with-group was given.
8990 if test "${with_group+set}" = set; then
8991 withval=$with_group; GROUP="$withval"
8994 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
8995 $as_echo "$GROUP" >&6; }
8997 if test x$GROUP != x; then
9001 ################################################################################
9002 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
9003 $as_echo_n "checking device node uid... " >&6; }
9006 # Check whether --with-device-uid was given.
9007 if test "${with_device_uid+set}" = set; then
9008 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9013 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
9014 $as_echo "$DM_DEVICE_UID" >&6; }
9016 ################################################################################
9017 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
9018 $as_echo_n "checking device node gid... " >&6; }
9021 # Check whether --with-device-gid was given.
9022 if test "${with_device_gid+set}" = set; then
9023 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9028 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
9029 $as_echo "$DM_DEVICE_GID" >&6; }
9031 ################################################################################
9032 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
9033 $as_echo_n "checking device node mode... " >&6; }
9036 # Check whether --with-device-mode was given.
9037 if test "${with_device_mode+set}" = set; then
9038 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9040 DM_DEVICE_MODE="0600"
9043 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
9044 $as_echo "$DM_DEVICE_MODE" >&6; }
9046 ################################################################################
9047 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
9048 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
9049 # Check whether --enable-lvm1_fallback was given.
9050 if test "${enable_lvm1_fallback+set}" = set; then
9051 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9056 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
9057 $as_echo "$LVM1_FALLBACK" >&6; }
9059 if test x$LVM1_FALLBACK = xyes; then
9061 cat >>confdefs.h <<\_ACEOF
9062 #define LVM1_FALLBACK 1
9067 ################################################################################
9068 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
9069 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
9071 # Check whether --with-lvm1 was given.
9072 if test "${with_lvm1+set}" = set; then
9073 withval=$with_lvm1; LVM1="$withval"
9078 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
9079 $as_echo "$LVM1" >&6; }
9081 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
9082 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
9084 $as_echo "$as_me: error: --with-lvm1 parameter invalid
9086 { (exit 1); exit 1; }; }
9089 if test x$LVM1 = xinternal; then
9091 cat >>confdefs.h <<\_ACEOF
9092 #define LVM1_INTERNAL 1
9097 ################################################################################
9098 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
9099 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
9101 # Check whether --with-pool was given.
9102 if test "${with_pool+set}" = set; then
9103 withval=$with_pool; POOL="$withval"
9108 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
9109 $as_echo "$POOL" >&6; }
9111 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
9112 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
9114 $as_echo "$as_me: error: --with-pool parameter invalid
9116 { (exit 1); exit 1; }; }
9119 if test x$POOL = xinternal; then
9121 cat >>confdefs.h <<\_ACEOF
9122 #define POOL_INTERNAL 1
9127 ################################################################################
9128 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
9129 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
9131 # Check whether --with-cluster was given.
9132 if test "${with_cluster+set}" = set; then
9133 withval=$with_cluster; CLUSTER="$withval"
9136 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
9137 $as_echo "$CLUSTER" >&6; }
9139 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
9140 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
9142 $as_echo "$as_me: error: --with-cluster parameter invalid
9144 { (exit 1); exit 1; }; }
9147 if test x$CLUSTER = xinternal; then
9149 cat >>confdefs.h <<\_ACEOF
9150 #define CLUSTER_LOCKING_INTERNAL 1
9155 ################################################################################
9156 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
9157 $as_echo_n "checking whether to include snapshots... " >&6; }
9159 # Check whether --with-snapshots was given.
9160 if test "${with_snapshots+set}" = set; then
9161 withval=$with_snapshots; SNAPSHOTS="$withval"
9163 SNAPSHOTS="internal"
9166 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
9167 $as_echo "$SNAPSHOTS" >&6; }
9169 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
9170 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
9172 $as_echo "$as_me: error: --with-snapshots parameter invalid
9174 { (exit 1); exit 1; }; }
9177 if test x$SNAPSHOTS = xinternal; then
9179 cat >>confdefs.h <<\_ACEOF
9180 #define SNAPSHOT_INTERNAL 1
9185 ################################################################################
9186 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
9187 $as_echo_n "checking whether to include mirrors... " >&6; }
9189 # Check whether --with-mirrors was given.
9190 if test "${with_mirrors+set}" = set; then
9191 withval=$with_mirrors; MIRRORS="$withval"
9196 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
9197 $as_echo "$MIRRORS" >&6; }
9199 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
9200 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
9202 $as_echo "$as_me: error: --with-mirrors parameter invalid
9204 { (exit 1); exit 1; }; }
9207 if test x$MIRRORS = xinternal; then
9209 cat >>confdefs.h <<\_ACEOF
9210 #define MIRRORED_INTERNAL 1
9215 ################################################################################
9216 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
9217 $as_echo_n "checking whether to enable readline... " >&6; }
9218 # Check whether --enable-readline was given.
9219 if test "${enable_readline+set}" = set; then
9220 enableval=$enable_readline; READLINE=$enableval
9225 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
9226 $as_echo "$READLINE" >&6; }
9228 ################################################################################
9229 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
9230 $as_echo_n "checking whether to enable realtime support... " >&6; }
9231 # Check whether --enable-realtime was given.
9232 if test "${enable_realtime+set}" = set; then
9233 enableval=$enable_realtime; REALTIME=$enableval
9236 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
9237 $as_echo "$REALTIME" >&6; }
9239 ################################################################################
9240 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
9241 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
9243 # Check whether --with-clvmd was given.
9244 if test "${with_clvmd+set}" = set; then
9245 withval=$with_clvmd; CLVMD="$withval"
9250 if test x$CLVMD = xyes; then
9253 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
9254 $as_echo "$CLVMD" >&6; }
9256 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9260 if [ `expr x
"$CLVMD" : '.*gulm.*'` != 0 ]; then
9263 if [ `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
9266 if [ `expr x
"$CLVMD" : '.*openais.*'` != 0 ]; then
9269 if [ `expr x
"$CLVMD" : '.*cman.*'` != 0 ]; then
9273 if test x$BUILDGULM = xyes; then
9274 if test x$BUILDCOROSYNC = xyes || \
9275 test x$BUILDOPENAIS = xyes; then
9276 { { $as_echo "$as_me:$LINENO: error: requested clvmd configuration is not valid" >&5
9277 $as_echo "$as_me: error: requested clvmd configuration is not valid" >&2;}
9278 { (exit 1); exit 1; }; }
9282 if test x$CLVMD != xnone; then
9285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9286 if test -n "$ac_tool_prefix"; then
9287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9289 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9290 $as_echo_n "checking for $ac_word... " >&6; }
9291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9292 $as_echo_n "(cached) " >&6
9296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir=.
9304 for ac_exec_ext in '' $ac_executable_extensions; do
9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9307 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9318 if test -n "$PKG_CONFIG"; then
9319 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9320 $as_echo "$PKG_CONFIG" >&6; }
9322 { $as_echo "$as_me:$LINENO: result: no" >&5
9323 $as_echo "no" >&6; }
9328 if test -z "$ac_cv_path_PKG_CONFIG"; then
9329 ac_pt_PKG_CONFIG=$PKG_CONFIG
9330 # Extract the first word of "pkg-config", so it can be a program name with args.
9331 set dummy pkg-config; ac_word=$2
9332 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9333 $as_echo_n "checking for $ac_word... " >&6; }
9334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9335 $as_echo_n "(cached) " >&6
9337 case $ac_pt_PKG_CONFIG in
9339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9350 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9361 if test -n "$ac_pt_PKG_CONFIG"; then
9362 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
9363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9365 { $as_echo "$as_me:$LINENO: result: no" >&5
9366 $as_echo "no" >&6; }
9369 if test "x$ac_pt_PKG_CONFIG" = x; then
9372 case $cross_compiling:$ac_tool_warned in
9374 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9376 ac_tool_warned=yes ;;
9378 PKG_CONFIG=$ac_pt_PKG_CONFIG
9381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9385 if test -n "$PKG_CONFIG"; then
9386 _pkg_min_version=0.9.0
9387 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
9388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9390 { $as_echo "$as_me:$LINENO: result: yes" >&5
9391 $as_echo "yes" >&6; }
9393 { $as_echo "$as_me:$LINENO: result: no" >&5
9394 $as_echo "no" >&6; }
9401 { $as_echo "$as_me:$LINENO: checking for PKGCONFIGINIT" >&5
9402 $as_echo_n "checking for PKGCONFIGINIT... " >&6; }
9404 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9405 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9406 elif test -n "$PKG_CONFIG"; then
9407 if test -n "$PKG_CONFIG" && \
9408 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
9409 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
9411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; then
9413 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit" 2>/dev
/null
`
9420 if test -n "$PKGCONFIGINIT_LIBS"; then
9421 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9422 elif test -n "$PKG_CONFIG"; then
9423 if test -n "$PKG_CONFIG" && \
9424 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
9425 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
9427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; then
9429 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit" 2>/dev
/null
`
9439 if test $pkg_failed = yes; then
9441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9442 _pkg_short_errors_supported=yes
9444 _pkg_short_errors_supported=no
9446 if test $_pkg_short_errors_supported = yes; then
9447 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
9449 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
9451 # Put the nasty error message in config.log where it belongs
9452 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9454 { $as_echo "$as_me:$LINENO: result: no" >&5
9455 $as_echo "no" >&6; }
9456 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
9457 $as_echo "pkg-config initialized" >&6; }
9458 elif test $pkg_failed = untried; then
9459 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
9460 $as_echo "pkg-config initialized" >&6; }
9462 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9463 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9464 { $as_echo "$as_me:$LINENO: result: yes" >&5
9465 $as_echo "yes" >&6; }
9475 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
9476 $as_echo "$as_me: error: bailing out" >&2;}
9477 { (exit 1); exit 1; }; }
9480 if test x$CLVMD = xall; then
9481 bailout=soft_bailout
9487 bailout=hard_bailout
9490 check_lib_no_libs() {
9497 as_ac_Lib=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" |
$as_tr_sh`
9498 { $as_echo "$as_me:$LINENO: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9499 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
9500 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
9501 $as_echo_n "(cached) " >&6
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9505 cat >conftest.$ac_ext <<_ACEOF
9508 cat confdefs.h >>conftest.$ac_ext
9509 cat >>conftest.$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9518 char $lib_no_libs_arg2 ();
9522 return $lib_no_libs_arg2 ();
9527 rm -f conftest.$ac_objext conftest$ac_exeext
9528 if { (ac_try="$ac_link"
9530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9531 *) ac_try_echo
=$ac_try;;
9533 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9534 $as_echo "$ac_try_echo") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1
>conftest.err
9539 cat conftest.err
>&5
9540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest
$ac_exeext && {
9545 test "$cross_compiling" = yes ||
9546 $as_test_x conftest
$ac_exeext
9548 eval "$as_ac_Lib=yes"
9550 $as_echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.
$ac_ext >&5
9553 eval "$as_ac_Lib=no"
9556 rm -rf conftest.dSYM
9557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9558 conftest
$ac_exeext conftest.
$ac_ext
9559 LIBS
=$ac_check_lib_save_LIBS
9561 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
9562 $as_echo "$as_val"'`
9563 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9564 $as_echo "$ac_res" >&6; }
9565 as_val
=`eval 'as_val=${'$as_ac_Lib'}
9566 $as_echo "$as_val"'`
9567 if test "x$as_val" = x
""yes; then
9568 cat >>confdefs.h
<<_ACEOF
9569 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
9572 LIBS
="-l$lib_no_libs_arg1 $LIBS"
9578 LIBS
=$ac_check_lib_save_LIBS
9581 if test x
$BUILDGULM = xyes
; then
9584 { $as_echo "$as_me:$LINENO: checking for CCS" >&5
9585 $as_echo_n "checking for CCS... " >&6; }
9587 if test -n "$CCS_CFLAGS"; then
9588 pkg_cv_CCS_CFLAGS
="$CCS_CFLAGS"
9589 elif test -n "$PKG_CONFIG"; then
9590 if test -n "$PKG_CONFIG" && \
9591 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
9592 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
9594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); }; then
9596 pkg_cv_CCS_CFLAGS
=`$PKG_CONFIG --cflags "libccs" 2>/dev/null`
9603 if test -n "$CCS_LIBS"; then
9604 pkg_cv_CCS_LIBS
="$CCS_LIBS"
9605 elif test -n "$PKG_CONFIG"; then
9606 if test -n "$PKG_CONFIG" && \
9607 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
9608 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
9610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; then
9612 pkg_cv_CCS_LIBS
=`$PKG_CONFIG --libs "libccs" 2>/dev/null`
9622 if test $pkg_failed = yes; then
9624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9625 _pkg_short_errors_supported
=yes
9627 _pkg_short_errors_supported
=no
9629 if test $_pkg_short_errors_supported = yes; then
9630 CCS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libccs" 2>&1`
9632 CCS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libccs" 2>&1`
9634 # Put the nasty error message in config.log where it belongs
9635 echo "$CCS_PKG_ERRORS" >&5
9637 { $as_echo "$as_me:$LINENO: result: no" >&5
9638 $as_echo "no" >&6; }
9641 for ac_header
in ccs.h
9643 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9644 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9645 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9646 $as_echo_n "checking for $ac_header... " >&6; }
9647 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9648 $as_echo_n "(cached) " >&6
9650 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9651 $as_echo "$as_val"'`
9652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9653 $as_echo "$ac_res" >&6; }
9655 # Is the header compilable?
9656 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9657 $as_echo_n "checking $ac_header usability... " >&6; }
9658 cat >conftest.
$ac_ext <<_ACEOF
9661 cat confdefs.h
>>conftest.
$ac_ext
9662 cat >>conftest.
$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9664 $ac_includes_default
9665 #include <$ac_header>
9667 rm -f conftest.
$ac_objext
9668 if { (ac_try
="$ac_compile"
9670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9674 $as_echo "$ac_try_echo") >&5
9675 (eval "$ac_compile") 2>conftest.er1
9677 grep -v '^ *+' conftest.er1 >conftest.err
9679 cat conftest.err >&5
9680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } && {
9682 test -z "$ac_c_werror_flag" ||
9683 test ! -s conftest.err
9684 } && test -s conftest.$ac_objext; then
9685 ac_header_compiler=yes
9687 $as_echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.$ac_ext >&5
9690 ac_header_compiler=no
9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9694 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9695 $as_echo "$ac_header_compiler" >&6; }
9697 # Is the header present?
9698 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9699 $as_echo_n "checking $ac_header presence... " >&6; }
9700 cat >conftest.$ac_ext <<_ACEOF
9703 cat confdefs.h >>conftest.$ac_ext
9704 cat >>conftest.$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9706 #include <$ac_header>
9708 if { (ac_try="$ac_cpp conftest.$ac_ext"
9710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9711 *) ac_try_echo
=$ac_try;;
9713 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9714 $as_echo "$ac_try_echo") >&5
9715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9717 grep -v '^ *+' conftest.er1
>conftest.err
9719 cat conftest.err
>&5
9720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } >/dev
/null
&& {
9722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9723 test ! -s conftest.err
9725 ac_header_preproc
=yes
9727 $as_echo "$as_me: failed program was:" >&5
9728 sed 's/^/| /' conftest.
$ac_ext >&5
9730 ac_header_preproc
=no
9733 rm -f conftest.err conftest.
$ac_ext
9734 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9735 $as_echo "$ac_header_preproc" >&6; }
9737 # So? What about this header?
9738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9741 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9742 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9743 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9744 ac_header_preproc
=yes
9747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9748 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9750 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9752 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9754 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9756 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9758 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9762 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9763 $as_echo_n "checking for $ac_header... " >&6; }
9764 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9765 $as_echo_n "(cached) " >&6
9767 eval "$as_ac_Header=\$ac_header_preproc"
9769 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9770 $as_echo "$as_val"'`
9771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9772 $as_echo "$ac_res" >&6; }
9775 as_val
=`eval 'as_val=${'$as_ac_Header'}
9776 $as_echo "$as_val"'`
9777 if test "x$as_val" = x
""yes; then
9778 cat >>confdefs.h
<<_ACEOF
9779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9788 check_lib_no_libs ccs ccs_connect
9789 if test $NOTFOUND = 0; then
9790 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
9791 $as_echo "no pkg for libccs, using -lccs" >&6; }
9795 elif test $pkg_failed = untried
; then
9798 for ac_header
in ccs.h
9800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9801 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9802 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9803 $as_echo_n "checking for $ac_header... " >&6; }
9804 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9805 $as_echo_n "(cached) " >&6
9807 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9808 $as_echo "$as_val"'`
9809 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9810 $as_echo "$ac_res" >&6; }
9812 # Is the header compilable?
9813 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9814 $as_echo_n "checking $ac_header usability... " >&6; }
9815 cat >conftest.
$ac_ext <<_ACEOF
9818 cat confdefs.h
>>conftest.
$ac_ext
9819 cat >>conftest.
$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9821 $ac_includes_default
9822 #include <$ac_header>
9824 rm -f conftest.
$ac_objext
9825 if { (ac_try
="$ac_compile"
9827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9828 *) ac_try_echo=$ac_try;;
9830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9831 $as_echo "$ac_try_echo") >&5
9832 (eval "$ac_compile") 2>conftest.er1
9834 grep -v '^ *+' conftest.er1 >conftest.err
9836 cat conftest.err >&5
9837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest.$ac_objext; then
9842 ac_header_compiler=yes
9844 $as_echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9847 ac_header_compiler=no
9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9851 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9852 $as_echo "$ac_header_compiler" >&6; }
9854 # Is the header present?
9855 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9856 $as_echo_n "checking $ac_header presence... " >&6; }
9857 cat >conftest.$ac_ext <<_ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9863 #include <$ac_header>
9865 if { (ac_try="$ac_cpp conftest.$ac_ext"
9867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9868 *) ac_try_echo
=$ac_try;;
9870 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9871 $as_echo "$ac_try_echo") >&5
9872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9874 grep -v '^ *+' conftest.er1
>conftest.err
9876 cat conftest.err
>&5
9877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } >/dev
/null
&& {
9879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9880 test ! -s conftest.err
9882 ac_header_preproc
=yes
9884 $as_echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9887 ac_header_preproc
=no
9890 rm -f conftest.err conftest.
$ac_ext
9891 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9892 $as_echo "$ac_header_preproc" >&6; }
9894 # So? What about this header?
9895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9898 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9900 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9901 ac_header_preproc
=yes
9904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9905 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9907 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9909 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9911 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9913 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9915 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9919 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9920 $as_echo_n "checking for $ac_header... " >&6; }
9921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9922 $as_echo_n "(cached) " >&6
9924 eval "$as_ac_Header=\$ac_header_preproc"
9926 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9927 $as_echo "$as_val"'`
9928 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9929 $as_echo "$ac_res" >&6; }
9932 as_val
=`eval 'as_val=${'$as_ac_Header'}
9933 $as_echo "$as_val"'`
9934 if test "x$as_val" = x
""yes; then
9935 cat >>confdefs.h
<<_ACEOF
9936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9945 check_lib_no_libs ccs ccs_connect
9946 if test $NOTFOUND = 0; then
9947 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
9948 $as_echo "no pkg for libccs, using -lccs" >&6; }
9953 CCS_CFLAGS
=$pkg_cv_CCS_CFLAGS
9954 CCS_LIBS
=$pkg_cv_CCS_LIBS
9955 { $as_echo "$as_me:$LINENO: result: yes" >&5
9956 $as_echo "yes" >&6; }
9961 { $as_echo "$as_me:$LINENO: checking for GULM" >&5
9962 $as_echo_n "checking for GULM... " >&6; }
9964 if test -n "$GULM_CFLAGS"; then
9965 pkg_cv_GULM_CFLAGS
="$GULM_CFLAGS"
9966 elif test -n "$PKG_CONFIG"; then
9967 if test -n "$PKG_CONFIG" && \
9968 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
9969 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
9971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; then
9973 pkg_cv_GULM_CFLAGS
=`$PKG_CONFIG --cflags "libgulm" 2>/dev/null`
9980 if test -n "$GULM_LIBS"; then
9981 pkg_cv_GULM_LIBS
="$GULM_LIBS"
9982 elif test -n "$PKG_CONFIG"; then
9983 if test -n "$PKG_CONFIG" && \
9984 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
9985 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
9987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; then
9989 pkg_cv_GULM_LIBS
=`$PKG_CONFIG --libs "libgulm" 2>/dev/null`
9999 if test $pkg_failed = yes; then
10001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10002 _pkg_short_errors_supported
=yes
10004 _pkg_short_errors_supported
=no
10006 if test $_pkg_short_errors_supported = yes; then
10007 GULM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libgulm" 2>&1`
10009 GULM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libgulm" 2>&1`
10011 # Put the nasty error message in config.log where it belongs
10012 echo "$GULM_PKG_ERRORS" >&5
10014 { $as_echo "$as_me:$LINENO: result: no" >&5
10015 $as_echo "no" >&6; }
10018 for ac_header
in libgulm.h
10020 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10021 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10022 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10023 $as_echo_n "checking for $ac_header... " >&6; }
10024 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10025 $as_echo_n "(cached) " >&6
10027 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10028 $as_echo "$as_val"'`
10029 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10030 $as_echo "$ac_res" >&6; }
10032 # Is the header compilable?
10033 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10034 $as_echo_n "checking $ac_header usability... " >&6; }
10035 cat >conftest.
$ac_ext <<_ACEOF
10038 cat confdefs.h
>>conftest.
$ac_ext
10039 cat >>conftest.
$ac_ext <<_ACEOF
10040 /* end confdefs.h. */
10041 $ac_includes_default
10042 #include <$ac_header>
10044 rm -f conftest.
$ac_objext
10045 if { (ac_try
="$ac_compile"
10046 case "(($ac_try" in
10047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10048 *) ac_try_echo=$ac_try;;
10050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10051 $as_echo "$ac_try_echo") >&5
10052 (eval "$ac_compile") 2>conftest.er1
10054 grep -v '^ *+' conftest.er1 >conftest.err
10056 cat conftest.err >&5
10057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); } && {
10059 test -z "$ac_c_werror_flag" ||
10060 test ! -s conftest.err
10061 } && test -s conftest.$ac_objext; then
10062 ac_header_compiler=yes
10064 $as_echo "$as_me: failed program was:" >&5
10065 sed 's/^/| /' conftest.$ac_ext >&5
10067 ac_header_compiler=no
10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10071 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10072 $as_echo "$ac_header_compiler" >&6; }
10074 # Is the header present?
10075 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10076 $as_echo_n "checking $ac_header presence... " >&6; }
10077 cat >conftest.$ac_ext <<_ACEOF
10080 cat confdefs.h >>conftest.$ac_ext
10081 cat >>conftest.$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10083 #include <$ac_header>
10085 if { (ac_try="$ac_cpp conftest.$ac_ext"
10086 case "(($ac_try" in
10087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10088 *) ac_try_echo
=$ac_try;;
10090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10091 $as_echo "$ac_try_echo") >&5
10092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10094 grep -v '^ *+' conftest.er1
>conftest.err
10096 cat conftest.err
>&5
10097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } >/dev
/null
&& {
10099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10100 test ! -s conftest.err
10102 ac_header_preproc
=yes
10104 $as_echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.
$ac_ext >&5
10107 ac_header_preproc
=no
10110 rm -f conftest.err conftest.
$ac_ext
10111 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10112 $as_echo "$ac_header_preproc" >&6; }
10114 # So? What about this header?
10115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10118 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10120 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10121 ac_header_preproc
=yes
10124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10125 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10127 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10129 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10131 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10133 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10135 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10139 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10140 $as_echo_n "checking for $ac_header... " >&6; }
10141 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10142 $as_echo_n "(cached) " >&6
10144 eval "$as_ac_Header=\$ac_header_preproc"
10146 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10147 $as_echo "$as_val"'`
10148 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10149 $as_echo "$ac_res" >&6; }
10152 as_val
=`eval 'as_val=${'$as_ac_Header'}
10153 $as_echo "$as_val"'`
10154 if test "x$as_val" = x
""yes; then
10155 cat >>confdefs.h
<<_ACEOF
10156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10165 check_lib_no_libs gulm lg_core_login
10166 if test $NOTFOUND = 0; then
10167 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
10168 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
10172 elif test $pkg_failed = untried
; then
10175 for ac_header
in libgulm.h
10177 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10178 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10179 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10180 $as_echo_n "checking for $ac_header... " >&6; }
10181 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10182 $as_echo_n "(cached) " >&6
10184 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10185 $as_echo "$as_val"'`
10186 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10187 $as_echo "$ac_res" >&6; }
10189 # Is the header compilable?
10190 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10191 $as_echo_n "checking $ac_header usability... " >&6; }
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 $ac_includes_default
10199 #include <$ac_header>
10201 rm -f conftest.
$ac_objext
10202 if { (ac_try
="$ac_compile"
10203 case "(($ac_try" in
10204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10205 *) ac_try_echo=$ac_try;;
10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10208 $as_echo "$ac_try_echo") >&5
10209 (eval "$ac_compile") 2>conftest.er1
10211 grep -v '^ *+' conftest.er1 >conftest.err
10213 cat conftest.err >&5
10214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } && {
10216 test -z "$ac_c_werror_flag" ||
10217 test ! -s conftest.err
10218 } && test -s conftest.$ac_objext; then
10219 ac_header_compiler=yes
10221 $as_echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10224 ac_header_compiler=no
10227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10228 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10229 $as_echo "$ac_header_compiler" >&6; }
10231 # Is the header present?
10232 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10233 $as_echo_n "checking $ac_header presence... " >&6; }
10234 cat >conftest.$ac_ext <<_ACEOF
10237 cat confdefs.h >>conftest.$ac_ext
10238 cat >>conftest.$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10240 #include <$ac_header>
10242 if { (ac_try="$ac_cpp conftest.$ac_ext"
10243 case "(($ac_try" in
10244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10245 *) ac_try_echo
=$ac_try;;
10247 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10248 $as_echo "$ac_try_echo") >&5
10249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10251 grep -v '^ *+' conftest.er1
>conftest.err
10253 cat conftest.err
>&5
10254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } >/dev
/null
&& {
10256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10257 test ! -s conftest.err
10259 ac_header_preproc
=yes
10261 $as_echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.
$ac_ext >&5
10264 ac_header_preproc
=no
10267 rm -f conftest.err conftest.
$ac_ext
10268 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10269 $as_echo "$ac_header_preproc" >&6; }
10271 # So? What about this header?
10272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10275 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10277 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10278 ac_header_preproc
=yes
10281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10282 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10284 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10286 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10288 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10290 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10292 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10296 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10297 $as_echo_n "checking for $ac_header... " >&6; }
10298 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10299 $as_echo_n "(cached) " >&6
10301 eval "$as_ac_Header=\$ac_header_preproc"
10303 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10304 $as_echo "$as_val"'`
10305 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10306 $as_echo "$ac_res" >&6; }
10309 as_val
=`eval 'as_val=${'$as_ac_Header'}
10310 $as_echo "$as_val"'`
10311 if test "x$as_val" = x
""yes; then
10312 cat >>confdefs.h
<<_ACEOF
10313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10322 check_lib_no_libs gulm lg_core_login
10323 if test $NOTFOUND = 0; then
10324 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
10325 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
10330 GULM_CFLAGS
=$pkg_cv_GULM_CFLAGS
10331 GULM_LIBS
=$pkg_cv_GULM_LIBS
10332 { $as_echo "$as_me:$LINENO: result: yes" >&5
10333 $as_echo "yes" >&6; }
10338 if test x
$BUILDCMAN = xyes
; then
10341 { $as_echo "$as_me:$LINENO: checking for CMAN" >&5
10342 $as_echo_n "checking for CMAN... " >&6; }
10344 if test -n "$CMAN_CFLAGS"; then
10345 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
10346 elif test -n "$PKG_CONFIG"; then
10347 if test -n "$PKG_CONFIG" && \
10348 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
10349 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
10351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; then
10353 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
10360 if test -n "$CMAN_LIBS"; then
10361 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
10362 elif test -n "$PKG_CONFIG"; then
10363 if test -n "$PKG_CONFIG" && \
10364 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
10365 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
10367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; then
10369 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
10379 if test $pkg_failed = yes; then
10381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10382 _pkg_short_errors_supported
=yes
10384 _pkg_short_errors_supported
=no
10386 if test $_pkg_short_errors_supported = yes; then
10387 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
10389 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
10391 # Put the nasty error message in config.log where it belongs
10392 echo "$CMAN_PKG_ERRORS" >&5
10394 { $as_echo "$as_me:$LINENO: result: no" >&5
10395 $as_echo "no" >&6; }
10398 for ac_header
in libcman.h
10400 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10401 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10402 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10403 $as_echo_n "checking for $ac_header... " >&6; }
10404 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10405 $as_echo_n "(cached) " >&6
10407 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10408 $as_echo "$as_val"'`
10409 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10410 $as_echo "$ac_res" >&6; }
10412 # Is the header compilable?
10413 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10414 $as_echo_n "checking $ac_header usability... " >&6; }
10415 cat >conftest.
$ac_ext <<_ACEOF
10418 cat confdefs.h
>>conftest.
$ac_ext
10419 cat >>conftest.
$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10421 $ac_includes_default
10422 #include <$ac_header>
10424 rm -f conftest.
$ac_objext
10425 if { (ac_try
="$ac_compile"
10426 case "(($ac_try" in
10427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;;
10430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10431 $as_echo "$ac_try_echo") >&5
10432 (eval "$ac_compile") 2>conftest.er1
10434 grep -v '^ *+' conftest.er1 >conftest.err
10436 cat conftest.err >&5
10437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } && {
10439 test -z "$ac_c_werror_flag" ||
10440 test ! -s conftest.err
10441 } && test -s conftest.$ac_objext; then
10442 ac_header_compiler=yes
10444 $as_echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.$ac_ext >&5
10447 ac_header_compiler=no
10450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10451 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10452 $as_echo "$ac_header_compiler" >&6; }
10454 # Is the header present?
10455 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10456 $as_echo_n "checking $ac_header presence... " >&6; }
10457 cat >conftest.$ac_ext <<_ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <$ac_header>
10465 if { (ac_try="$ac_cpp conftest.$ac_ext"
10466 case "(($ac_try" in
10467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10468 *) ac_try_echo
=$ac_try;;
10470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10471 $as_echo "$ac_try_echo") >&5
10472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10474 grep -v '^ *+' conftest.er1
>conftest.err
10476 cat conftest.err
>&5
10477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } >/dev
/null
&& {
10479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10480 test ! -s conftest.err
10482 ac_header_preproc
=yes
10484 $as_echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.
$ac_ext >&5
10487 ac_header_preproc
=no
10490 rm -f conftest.err conftest.
$ac_ext
10491 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10492 $as_echo "$ac_header_preproc" >&6; }
10494 # So? What about this header?
10495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10498 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10500 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10501 ac_header_preproc
=yes
10504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10505 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10507 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10508 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10509 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10511 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10512 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10513 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10514 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10515 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10519 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10520 $as_echo_n "checking for $ac_header... " >&6; }
10521 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10522 $as_echo_n "(cached) " >&6
10524 eval "$as_ac_Header=\$ac_header_preproc"
10526 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10527 $as_echo "$as_val"'`
10528 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10529 $as_echo "$ac_res" >&6; }
10532 as_val
=`eval 'as_val=${'$as_ac_Header'}
10533 $as_echo "$as_val"'`
10534 if test "x$as_val" = x
""yes; then
10535 cat >>confdefs.h
<<_ACEOF
10536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10545 check_lib_no_libs cman cman_init
10546 if test $NOTFOUND = 0; then
10547 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
10548 $as_echo "no pkg for libcman, using -lcman" >&6; }
10552 elif test $pkg_failed = untried
; then
10555 for ac_header
in libcman.h
10557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10558 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10560 $as_echo_n "checking for $ac_header... " >&6; }
10561 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10562 $as_echo_n "(cached) " >&6
10564 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10565 $as_echo "$as_val"'`
10566 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10567 $as_echo "$ac_res" >&6; }
10569 # Is the header compilable?
10570 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10571 $as_echo_n "checking $ac_header usability... " >&6; }
10572 cat >conftest.
$ac_ext <<_ACEOF
10575 cat confdefs.h
>>conftest.
$ac_ext
10576 cat >>conftest.
$ac_ext <<_ACEOF
10577 /* end confdefs.h. */
10578 $ac_includes_default
10579 #include <$ac_header>
10581 rm -f conftest.
$ac_objext
10582 if { (ac_try
="$ac_compile"
10583 case "(($ac_try" in
10584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10585 *) ac_try_echo=$ac_try;;
10587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10588 $as_echo "$ac_try_echo") >&5
10589 (eval "$ac_compile") 2>conftest.er1
10591 grep -v '^ *+' conftest.er1 >conftest.err
10593 cat conftest.err >&5
10594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } && {
10596 test -z "$ac_c_werror_flag" ||
10597 test ! -s conftest.err
10598 } && test -s conftest.$ac_objext; then
10599 ac_header_compiler=yes
10601 $as_echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10604 ac_header_compiler=no
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10608 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10609 $as_echo "$ac_header_compiler" >&6; }
10611 # Is the header present?
10612 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10613 $as_echo_n "checking $ac_header presence... " >&6; }
10614 cat >conftest.$ac_ext <<_ACEOF
10617 cat confdefs.h >>conftest.$ac_ext
10618 cat >>conftest.$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10620 #include <$ac_header>
10622 if { (ac_try="$ac_cpp conftest.$ac_ext"
10623 case "(($ac_try" in
10624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10625 *) ac_try_echo
=$ac_try;;
10627 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10628 $as_echo "$ac_try_echo") >&5
10629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10631 grep -v '^ *+' conftest.er1
>conftest.err
10633 cat conftest.err
>&5
10634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } >/dev
/null
&& {
10636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10637 test ! -s conftest.err
10639 ac_header_preproc
=yes
10641 $as_echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 ac_header_preproc
=no
10647 rm -f conftest.err conftest.
$ac_ext
10648 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10649 $as_echo "$ac_header_preproc" >&6; }
10651 # So? What about this header?
10652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10655 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10657 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10658 ac_header_preproc
=yes
10661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10662 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10664 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10666 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10668 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10672 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10676 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10677 $as_echo_n "checking for $ac_header... " >&6; }
10678 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10679 $as_echo_n "(cached) " >&6
10681 eval "$as_ac_Header=\$ac_header_preproc"
10683 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10684 $as_echo "$as_val"'`
10685 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10686 $as_echo "$ac_res" >&6; }
10689 as_val
=`eval 'as_val=${'$as_ac_Header'}
10690 $as_echo "$as_val"'`
10691 if test "x$as_val" = x
""yes; then
10692 cat >>confdefs.h
<<_ACEOF
10693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10702 check_lib_no_libs cman cman_init
10703 if test $NOTFOUND = 0; then
10704 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
10705 $as_echo "no pkg for libcman, using -lcman" >&6; }
10710 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
10711 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
10712 { $as_echo "$as_me:$LINENO: result: yes" >&5
10713 $as_echo "yes" >&6; }
10720 if test x
$BUILDCOROSYNC = xyes || \
10721 test x
$BUILDOPENAIS = xyes
; then
10724 { $as_echo "$as_me:$LINENO: checking for COROSYNC" >&5
10725 $as_echo_n "checking for COROSYNC... " >&6; }
10727 if test -n "$COROSYNC_CFLAGS"; then
10728 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
10729 elif test -n "$PKG_CONFIG"; then
10730 if test -n "$PKG_CONFIG" && \
10731 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
10732 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
10734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; then
10736 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
10743 if test -n "$COROSYNC_LIBS"; then
10744 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
10745 elif test -n "$PKG_CONFIG"; then
10746 if test -n "$PKG_CONFIG" && \
10747 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
10748 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
10750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; then
10752 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
10762 if test $pkg_failed = yes; then
10764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10765 _pkg_short_errors_supported
=yes
10767 _pkg_short_errors_supported
=no
10769 if test $_pkg_short_errors_supported = yes; then
10770 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
10772 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
10774 # Put the nasty error message in config.log where it belongs
10775 echo "$COROSYNC_PKG_ERRORS" >&5
10777 { $as_echo "$as_me:$LINENO: result: no" >&5
10778 $as_echo "no" >&6; }
10780 elif test $pkg_failed = untried
; then
10783 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
10784 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
10785 { $as_echo "$as_me:$LINENO: result: yes" >&5
10786 $as_echo "yes" >&6; }
10792 if test x
$BUILDCOROSYNC = xyes
; then
10795 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
10796 $as_echo_n "checking for QUORUM... " >&6; }
10798 if test -n "$QUORUM_CFLAGS"; then
10799 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
10800 elif test -n "$PKG_CONFIG"; then
10801 if test -n "$PKG_CONFIG" && \
10802 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
10803 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
10805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; then
10807 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
10814 if test -n "$QUORUM_LIBS"; then
10815 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
10816 elif test -n "$PKG_CONFIG"; then
10817 if test -n "$PKG_CONFIG" && \
10818 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
10819 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
10821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; then
10823 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
10833 if test $pkg_failed = yes; then
10835 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10836 _pkg_short_errors_supported
=yes
10838 _pkg_short_errors_supported
=no
10840 if test $_pkg_short_errors_supported = yes; then
10841 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
10843 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
10845 # Put the nasty error message in config.log where it belongs
10846 echo "$QUORUM_PKG_ERRORS" >&5
10848 { $as_echo "$as_me:$LINENO: result: no" >&5
10849 $as_echo "no" >&6; }
10851 elif test $pkg_failed = untried
; then
10854 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
10855 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
10856 { $as_echo "$as_me:$LINENO: result: yes" >&5
10857 $as_echo "yes" >&6; }
10864 if test x
$BUILDOPENAIS = xyes
; then
10867 { $as_echo "$as_me:$LINENO: checking for SALCK" >&5
10868 $as_echo_n "checking for SALCK... " >&6; }
10870 if test -n "$SALCK_CFLAGS"; then
10871 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
10872 elif test -n "$PKG_CONFIG"; then
10873 if test -n "$PKG_CONFIG" && \
10874 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
10875 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
10877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); }; then
10879 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
10886 if test -n "$SALCK_LIBS"; then
10887 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
10888 elif test -n "$PKG_CONFIG"; then
10889 if test -n "$PKG_CONFIG" && \
10890 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
10891 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
10893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; then
10895 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
10905 if test $pkg_failed = yes; then
10907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10908 _pkg_short_errors_supported
=yes
10910 _pkg_short_errors_supported
=no
10912 if test $_pkg_short_errors_supported = yes; then
10913 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
10915 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
10917 # Put the nasty error message in config.log where it belongs
10918 echo "$SALCK_PKG_ERRORS" >&5
10920 { $as_echo "$as_me:$LINENO: result: no" >&5
10921 $as_echo "no" >&6; }
10923 elif test $pkg_failed = untried
; then
10926 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
10927 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
10928 { $as_echo "$as_me:$LINENO: result: yes" >&5
10929 $as_echo "yes" >&6; }
10937 if test x
$CHECKCONFDB = xyes
; then
10940 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
10941 $as_echo_n "checking for CONFDB... " >&6; }
10943 if test -n "$CONFDB_CFLAGS"; then
10944 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
10945 elif test -n "$PKG_CONFIG"; then
10946 if test -n "$PKG_CONFIG" && \
10947 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
10948 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
10950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; then
10952 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
10959 if test -n "$CONFDB_LIBS"; then
10960 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
10961 elif test -n "$PKG_CONFIG"; then
10962 if test -n "$PKG_CONFIG" && \
10963 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
10964 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
10966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; then
10968 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
10978 if test $pkg_failed = yes; then
10980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10981 _pkg_short_errors_supported
=yes
10983 _pkg_short_errors_supported
=no
10985 if test $_pkg_short_errors_supported = yes; then
10986 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
10988 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
10990 # Put the nasty error message in config.log where it belongs
10991 echo "$CONFDB_PKG_ERRORS" >&5
10993 { $as_echo "$as_me:$LINENO: result: no" >&5
10994 $as_echo "no" >&6; }
10996 elif test $pkg_failed = untried
; then
10999 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
11000 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
11001 { $as_echo "$as_me:$LINENO: result: yes" >&5
11002 $as_echo "yes" >&6; }
11007 for ac_header
in corosync
/confdb.h
11009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11011 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11012 $as_echo_n "checking for $ac_header... " >&6; }
11013 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11014 $as_echo_n "(cached) " >&6
11016 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11017 $as_echo "$as_val"'`
11018 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11019 $as_echo "$ac_res" >&6; }
11021 # Is the header compilable?
11022 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11023 $as_echo_n "checking $ac_header usability... " >&6; }
11024 cat >conftest.
$ac_ext <<_ACEOF
11027 cat confdefs.h
>>conftest.
$ac_ext
11028 cat >>conftest.
$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11030 $ac_includes_default
11031 #include <$ac_header>
11033 rm -f conftest.
$ac_objext
11034 if { (ac_try
="$ac_compile"
11035 case "(($ac_try" in
11036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11040 $as_echo "$ac_try_echo") >&5
11041 (eval "$ac_compile") 2>conftest.er1
11043 grep -v '^ *+' conftest.er1 >conftest.err
11045 cat conftest.err >&5
11046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } && {
11048 test -z "$ac_c_werror_flag" ||
11049 test ! -s conftest.err
11050 } && test -s conftest.$ac_objext; then
11051 ac_header_compiler=yes
11053 $as_echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11056 ac_header_compiler=no
11059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11060 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11061 $as_echo "$ac_header_compiler" >&6; }
11063 # Is the header present?
11064 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11065 $as_echo_n "checking $ac_header presence... " >&6; }
11066 cat >conftest.$ac_ext <<_ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 #include <$ac_header>
11074 if { (ac_try="$ac_cpp conftest.$ac_ext"
11075 case "(($ac_try" in
11076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11077 *) ac_try_echo
=$ac_try;;
11079 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11080 $as_echo "$ac_try_echo") >&5
11081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11083 grep -v '^ *+' conftest.er1
>conftest.err
11085 cat conftest.err
>&5
11086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } >/dev
/null
&& {
11088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11091 ac_header_preproc
=yes
11093 $as_echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.
$ac_ext >&5
11096 ac_header_preproc
=no
11099 rm -f conftest.err conftest.
$ac_ext
11100 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11101 $as_echo "$ac_header_preproc" >&6; }
11103 # So? What about this header?
11104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11107 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11109 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11110 ac_header_preproc
=yes
11113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11114 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11116 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11118 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11120 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11122 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11124 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11128 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11129 $as_echo_n "checking for $ac_header... " >&6; }
11130 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11131 $as_echo_n "(cached) " >&6
11133 eval "$as_ac_Header=\$ac_header_preproc"
11135 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11136 $as_echo "$as_val"'`
11137 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11138 $as_echo "$ac_res" >&6; }
11141 as_val
=`eval 'as_val=${'$as_ac_Header'}
11142 $as_echo "$as_val"'`
11143 if test "x$as_val" = x
""yes; then
11144 cat >>confdefs.h
<<_ACEOF
11145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11155 if test x
$HAVE_CONFDB != xyes
&& \
11156 test x
$HAVE_CONFDB_H = xyes
; then
11157 check_lib_no_libs confdb confdb_initialize
11158 { $as_echo "$as_me:$LINENO: result: no pkg for confdb, using -lconfdb" >&5
11159 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
11160 CONFDB_LIBS
="-lconfdb"
11164 if test x
$BUILDCOROSYNC = xyes
&& \
11165 test x
$HAVE_CONFDB != xyes
&&
11166 test x
$CLVMD != xall
; then
11167 { { $as_echo "$as_me:$LINENO: error: bailing out... confdb library is required" >&5
11168 $as_echo "$as_me: error: bailing out... confdb library is required" >&2;}
11169 { (exit 1); exit 1; }; }
11173 if test x
$CHECKCPG = xyes
; then
11176 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11177 $as_echo_n "checking for CPG... " >&6; }
11179 if test -n "$CPG_CFLAGS"; then
11180 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
11181 elif test -n "$PKG_CONFIG"; then
11182 if test -n "$PKG_CONFIG" && \
11183 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11184 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; then
11188 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
11195 if test -n "$CPG_LIBS"; then
11196 pkg_cv_CPG_LIBS
="$CPG_LIBS"
11197 elif test -n "$PKG_CONFIG"; then
11198 if test -n "$PKG_CONFIG" && \
11199 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11200 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; then
11204 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
11214 if test $pkg_failed = yes; then
11216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11217 _pkg_short_errors_supported
=yes
11219 _pkg_short_errors_supported
=no
11221 if test $_pkg_short_errors_supported = yes; then
11222 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11224 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11226 # Put the nasty error message in config.log where it belongs
11227 echo "$CPG_PKG_ERRORS" >&5
11229 { $as_echo "$as_me:$LINENO: result: no" >&5
11230 $as_echo "no" >&6; }
11232 elif test $pkg_failed = untried
; then
11235 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
11236 CPG_LIBS
=$pkg_cv_CPG_LIBS
11237 { $as_echo "$as_me:$LINENO: result: yes" >&5
11238 $as_echo "yes" >&6; }
11243 if test x
$CHECKDLM = xyes
; then
11246 { $as_echo "$as_me:$LINENO: checking for DLM" >&5
11247 $as_echo_n "checking for DLM... " >&6; }
11249 if test -n "$DLM_CFLAGS"; then
11250 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
11251 elif test -n "$PKG_CONFIG"; then
11252 if test -n "$PKG_CONFIG" && \
11253 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
11254 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
11256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; then
11258 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
11265 if test -n "$DLM_LIBS"; then
11266 pkg_cv_DLM_LIBS
="$DLM_LIBS"
11267 elif test -n "$PKG_CONFIG"; then
11268 if test -n "$PKG_CONFIG" && \
11269 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
11270 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
11272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; then
11274 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
11284 if test $pkg_failed = yes; then
11286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11287 _pkg_short_errors_supported
=yes
11289 _pkg_short_errors_supported
=no
11291 if test $_pkg_short_errors_supported = yes; then
11292 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
11294 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
11296 # Put the nasty error message in config.log where it belongs
11297 echo "$DLM_PKG_ERRORS" >&5
11299 { $as_echo "$as_me:$LINENO: result: no" >&5
11300 $as_echo "no" >&6; }
11303 for ac_header
in libdlm.h
11305 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11306 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11307 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11308 $as_echo_n "checking for $ac_header... " >&6; }
11309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11310 $as_echo_n "(cached) " >&6
11312 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11313 $as_echo "$as_val"'`
11314 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11315 $as_echo "$ac_res" >&6; }
11317 # Is the header compilable?
11318 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11319 $as_echo_n "checking $ac_header usability... " >&6; }
11320 cat >conftest.
$ac_ext <<_ACEOF
11323 cat confdefs.h
>>conftest.
$ac_ext
11324 cat >>conftest.
$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11326 $ac_includes_default
11327 #include <$ac_header>
11329 rm -f conftest.
$ac_objext
11330 if { (ac_try
="$ac_compile"
11331 case "(($ac_try" in
11332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11333 *) ac_try_echo=$ac_try;;
11335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11336 $as_echo "$ac_try_echo") >&5
11337 (eval "$ac_compile") 2>conftest.er1
11339 grep -v '^ *+' conftest.er1 >conftest.err
11341 cat conftest.err >&5
11342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } && {
11344 test -z "$ac_c_werror_flag" ||
11345 test ! -s conftest.err
11346 } && test -s conftest.$ac_objext; then
11347 ac_header_compiler=yes
11349 $as_echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_header_compiler=no
11355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11356 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11357 $as_echo "$ac_header_compiler" >&6; }
11359 # Is the header present?
11360 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11361 $as_echo_n "checking $ac_header presence... " >&6; }
11362 cat >conftest.$ac_ext <<_ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 #include <$ac_header>
11370 if { (ac_try="$ac_cpp conftest.$ac_ext"
11371 case "(($ac_try" in
11372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11373 *) ac_try_echo
=$ac_try;;
11375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11376 $as_echo "$ac_try_echo") >&5
11377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11379 grep -v '^ *+' conftest.er1
>conftest.err
11381 cat conftest.err
>&5
11382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } >/dev
/null
&& {
11384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11385 test ! -s conftest.err
11387 ac_header_preproc
=yes
11389 $as_echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.
$ac_ext >&5
11392 ac_header_preproc
=no
11395 rm -f conftest.err conftest.
$ac_ext
11396 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11397 $as_echo "$ac_header_preproc" >&6; }
11399 # So? What about this header?
11400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11403 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11405 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11406 ac_header_preproc
=yes
11409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11410 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11412 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11414 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11416 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11418 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11420 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11424 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11425 $as_echo_n "checking for $ac_header... " >&6; }
11426 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11427 $as_echo_n "(cached) " >&6
11429 eval "$as_ac_Header=\$ac_header_preproc"
11431 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11432 $as_echo "$as_val"'`
11433 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11434 $as_echo "$ac_res" >&6; }
11437 as_val
=`eval 'as_val=${'$as_ac_Header'}
11438 $as_echo "$as_val"'`
11439 if test "x$as_val" = x
""yes; then
11440 cat >>confdefs.h
<<_ACEOF
11441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11450 check_lib_no_libs dlm dlm_lock
-lpthread
11451 if test $NOTFOUND = 0; then
11452 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
11453 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
11454 DLM_LIBS
="-ldlm -lpthread"
11457 elif test $pkg_failed = untried
; then
11460 for ac_header
in libdlm.h
11462 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11463 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11465 $as_echo_n "checking for $ac_header... " >&6; }
11466 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11467 $as_echo_n "(cached) " >&6
11469 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11470 $as_echo "$as_val"'`
11471 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11472 $as_echo "$ac_res" >&6; }
11474 # Is the header compilable?
11475 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11476 $as_echo_n "checking $ac_header usability... " >&6; }
11477 cat >conftest.
$ac_ext <<_ACEOF
11480 cat confdefs.h
>>conftest.
$ac_ext
11481 cat >>conftest.
$ac_ext <<_ACEOF
11482 /* end confdefs.h. */
11483 $ac_includes_default
11484 #include <$ac_header>
11486 rm -f conftest.
$ac_objext
11487 if { (ac_try
="$ac_compile"
11488 case "(($ac_try" in
11489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11490 *) ac_try_echo=$ac_try;;
11492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11493 $as_echo "$ac_try_echo") >&5
11494 (eval "$ac_compile") 2>conftest.er1
11496 grep -v '^ *+' conftest.er1 >conftest.err
11498 cat conftest.err >&5
11499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } && {
11501 test -z "$ac_c_werror_flag" ||
11502 test ! -s conftest.err
11503 } && test -s conftest.$ac_objext; then
11504 ac_header_compiler=yes
11506 $as_echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11509 ac_header_compiler=no
11512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11513 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11514 $as_echo "$ac_header_compiler" >&6; }
11516 # Is the header present?
11517 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11518 $as_echo_n "checking $ac_header presence... " >&6; }
11519 cat >conftest.$ac_ext <<_ACEOF
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <$ac_header>
11527 if { (ac_try="$ac_cpp conftest.$ac_ext"
11528 case "(($ac_try" in
11529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11530 *) ac_try_echo
=$ac_try;;
11532 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11533 $as_echo "$ac_try_echo") >&5
11534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11536 grep -v '^ *+' conftest.er1
>conftest.err
11538 cat conftest.err
>&5
11539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } >/dev
/null
&& {
11541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11542 test ! -s conftest.err
11544 ac_header_preproc
=yes
11546 $as_echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.
$ac_ext >&5
11549 ac_header_preproc
=no
11552 rm -f conftest.err conftest.
$ac_ext
11553 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11554 $as_echo "$ac_header_preproc" >&6; }
11556 # So? What about this header?
11557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11560 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11562 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11563 ac_header_preproc
=yes
11566 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11567 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11569 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11571 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11573 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11575 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11577 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11581 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11582 $as_echo_n "checking for $ac_header... " >&6; }
11583 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11584 $as_echo_n "(cached) " >&6
11586 eval "$as_ac_Header=\$ac_header_preproc"
11588 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11589 $as_echo "$as_val"'`
11590 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11591 $as_echo "$ac_res" >&6; }
11594 as_val
=`eval 'as_val=${'$as_ac_Header'}
11595 $as_echo "$as_val"'`
11596 if test "x$as_val" = x
""yes; then
11597 cat >>confdefs.h
<<_ACEOF
11598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11607 check_lib_no_libs dlm dlm_lock
-lpthread
11608 if test $NOTFOUND = 0; then
11609 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
11610 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
11611 DLM_LIBS
="-ldlm -lpthread"
11615 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
11616 DLM_LIBS
=$pkg_cv_DLM_LIBS
11617 { $as_echo "$as_me:$LINENO: result: yes" >&5
11618 $as_echo "yes" >&6; }
11623 if test x
$CLVMD = xall
; then
11624 if test x
$HAVE_CCS = xyes
&& \
11625 test x
$HAVE_GULM = xyes
; then
11626 { $as_echo "$as_me:$LINENO: result: Enabling clvmd gulm backend" >&5
11627 $as_echo "Enabling clvmd gulm backend" >&6; }
11628 NEWCLVMD
="$NEWCLVMD,gulm"
11630 if test x
$HAVE_CMAN = xyes
&& \
11631 test x
$HAVE_DLM = xyes
; then
11632 { $as_echo "$as_me:$LINENO: result: Enabling clvmd cman backend" >&5
11633 $as_echo "Enabling clvmd cman backend" >&6; }
11634 NEWCLVMD
="$NEWCLVMD,cman"
11636 if test x
$HAVE_COROSYNC = xyes
&& \
11637 test x
$HAVE_QUORUM = xyes
&& \
11638 test x
$HAVE_CPG = xyes
&& \
11639 test x
$HAVE_DLM = xyes
&& \
11640 test x
$HAVE_CONFDB = xyes
; then
11641 { $as_echo "$as_me:$LINENO: result: Enabling clvmd corosync backend" >&5
11642 $as_echo "Enabling clvmd corosync backend" >&6; }
11643 NEWCLVMD
="$NEWCLVMD,corosync"
11645 if test x
$HAVE_COROSYNC = xyes
&& \
11646 test x
$HAVE_CPG = xyes
&& \
11647 test x
$HAVE_SALCK = xyes
; then
11648 { $as_echo "$as_me:$LINENO: result: Enabling clvmd openais backend" >&5
11649 $as_echo "Enabling clvmd openais backend" >&6; }
11650 NEWCLVMD
="$NEWCLVMD,openais"
11655 ################################################################################
11656 { $as_echo "$as_me:$LINENO: checking whether to build cluster log daemon" >&5
11657 $as_echo_n "checking whether to build cluster log daemon... " >&6; }
11658 # Check whether --enable-clogd was given.
11659 if test "${enable_clogd+set}" = set; then
11660 enableval
=$enable_clogd; CLOGD
=$enableval
11663 { $as_echo "$as_me:$LINENO: result: $CLOGD" >&5
11664 $as_echo "$CLOGD" >&6; }
11666 if [ "x$CLOGD" = xall
-o `expr x"$CLOGD" : '.*corosync.*'` != 0 ]; then
11668 # FIXME: ALSO NEED TO CHECK FOR CHECKPOINT MODULE
11672 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11673 $as_echo_n "checking for CPG... " >&6; }
11675 if test -n "$CPG_CFLAGS"; then
11676 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
11677 elif test -n "$PKG_CONFIG"; then
11678 if test -n "$PKG_CONFIG" && \
11679 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11680 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; then
11684 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
11691 if test -n "$CPG_LIBS"; then
11692 pkg_cv_CPG_LIBS
="$CPG_LIBS"
11693 elif test -n "$PKG_CONFIG"; then
11694 if test -n "$PKG_CONFIG" && \
11695 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11696 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; then
11700 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
11710 if test $pkg_failed = yes; then
11712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11713 _pkg_short_errors_supported
=yes
11715 _pkg_short_errors_supported
=no
11717 if test $_pkg_short_errors_supported = yes; then
11718 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11720 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11722 # Put the nasty error message in config.log where it belongs
11723 echo "$CPG_PKG_ERRORS" >&5
11725 { $as_echo "$as_me:$LINENO: result: no" >&5
11726 $as_echo "no" >&6; }
11727 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
11728 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
11730 elif test $pkg_failed = untried
; then
11731 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
11732 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
11735 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
11736 CPG_LIBS
=$pkg_cv_CPG_LIBS
11737 { $as_echo "$as_me:$LINENO: result: yes" >&5
11738 $as_echo "yes" >&6; }
11743 ################################################################################
11744 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
11745 $as_echo_n "checking whether to enable debugging... " >&6; }
11746 # Check whether --enable-debug was given.
11747 if test "${enable_debug+set}" = set; then
11748 enableval
=$enable_debug; DEBUG
=$enableval
11753 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
11754 $as_echo "$DEBUG" >&6; }
11756 if test x
$DEBUG = xyes
; then
11762 ################################################################################
11763 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
11764 $as_echo_n "checking for C optimisation flag... " >&6; }
11766 # Check whether --with-optimisation was given.
11767 if test "${with_optimisation+set}" = set; then
11768 withval
=$with_optimisation; COPTIMISE_FLAG
="$withval"
11771 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
11772 $as_echo "$COPTIMISE_FLAG" >&6; }
11774 ################################################################################
11775 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
11776 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
11777 # Check whether --enable-profiling was given.
11778 if test "${enable_profiling+set}" = set; then
11779 enableval
=$enable_profiling; PROFILING
=$enableval
11784 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
11785 $as_echo "$PROFILING" >&6; }
11787 if test "x$PROFILING" = xyes
; then
11788 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
11789 # Extract the first word of "lcov", so it can be a program name with args.
11790 set dummy lcov
; ac_word
=$2
11791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11792 $as_echo_n "checking for $ac_word... " >&6; }
11793 if test "${ac_cv_path_LCOV+set}" = set; then
11794 $as_echo_n "(cached) " >&6
11798 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
11801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11802 for as_dir
in $PATH
11805 test -z "$as_dir" && as_dir
=.
11806 for ac_exec_ext
in '' $ac_executable_extensions; do
11807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11808 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
11809 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV
="no"
11820 LCOV
=$ac_cv_path_LCOV
11821 if test -n "$LCOV"; then
11822 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
11823 $as_echo "$LCOV" >&6; }
11825 { $as_echo "$as_me:$LINENO: result: no" >&5
11826 $as_echo "no" >&6; }
11830 # Extract the first word of "genhtml", so it can be a program name with args.
11831 set dummy genhtml
; ac_word
=$2
11832 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11833 $as_echo_n "checking for $ac_word... " >&6; }
11834 if test "${ac_cv_path_GENHTML+set}" = set; then
11835 $as_echo_n "(cached) " >&6
11839 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11857 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML
="no"
11861 GENHTML
=$ac_cv_path_GENHTML
11862 if test -n "$GENHTML"; then
11863 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
11864 $as_echo "$GENHTML" >&6; }
11866 { $as_echo "$as_me:$LINENO: result: no" >&5
11867 $as_echo "no" >&6; }
11871 if test "$LCOV" = no
-o "$GENHTML" = no
; then
11872 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
11873 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
11874 { (exit 1); exit 1; }; }
11878 ################################################################################
11879 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
11880 $as_echo_n "checking whether to use device-mapper... " >&6; }
11881 # Check whether --enable-devmapper was given.
11882 if test "${enable_devmapper+set}" = set; then
11883 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
11886 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
11887 $as_echo "$DEVMAPPER" >&6; }
11889 if test x
$DEVMAPPER = xyes
; then
11891 cat >>confdefs.h
<<\_ACEOF
11892 #define DEVMAPPER_SUPPORT 1
11897 ################################################################################
11898 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
11899 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
11900 # Check whether --enable-udev_sync was given.
11901 if test "${enable_udev_sync+set}" = set; then
11902 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
11907 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
11908 $as_echo "$UDEV_SYNC" >&6; }
11910 if test x
$UDEV_SYNC = xyes
; then
11912 cat >>confdefs.h
<<\_ACEOF
11913 #define UDEV_SYNC_SUPPORT 1
11918 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
11919 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
11920 # Check whether --enable-udev_rules was given.
11921 if test "${enable_udev_rules+set}" = set; then
11922 enableval
=$enable_udev_rules; UDEV_RULES
=$enableval
11924 UDEV_RULES
=$UDEV_SYNC
11927 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
11928 $as_echo "$UDEV_RULES" >&6; }
11930 ################################################################################
11931 # Check whether --enable-compat was given.
11932 if test "${enable_compat+set}" = set; then
11933 enableval
=$enable_compat; DM_COMPAT
=$enableval
11939 ################################################################################
11940 # Check whether --enable-ioctl was given.
11941 if test "${enable_ioctl+set}" = set; then
11942 enableval
=$enable_ioctl; DM_IOCTLS
=$enableval
11946 ################################################################################
11947 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
11948 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
11949 # Check whether --enable-o_direct was given.
11950 if test "${enable_o_direct+set}" = set; then
11951 enableval
=$enable_o_direct; ODIRECT
=$enableval
11954 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
11955 $as_echo "$ODIRECT" >&6; }
11957 if test x
$ODIRECT = xyes
; then
11959 cat >>confdefs.h
<<\_ACEOF
11960 #define O_DIRECT_SUPPORT 1
11965 ################################################################################
11966 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
11967 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
11968 # Check whether --enable-applib was given.
11969 if test "${enable_applib+set}" = set; then
11970 enableval
=$enable_applib; APPLIB
=$enableval
11975 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
11976 $as_echo "$APPLIB" >&6; }
11978 test x
$APPLIB = xyes \
11979 && LVM2APP_LIB
=-llvm2app \
11982 ################################################################################
11983 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
11984 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
11985 # Check whether --enable-cmdlib was given.
11986 if test "${enable_cmdlib+set}" = set; then
11987 enableval
=$enable_cmdlib; CMDLIB
=$enableval
11992 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
11993 $as_echo "$CMDLIB" >&6; }
11995 test x
$CMDLIB = xyes \
11996 && LVM2CMD_LIB
=-llvm2cmd \
11999 ################################################################################
12000 # Check whether --enable-pkgconfig was given.
12001 if test "${enable_pkgconfig+set}" = set; then
12002 enableval
=$enable_pkgconfig; PKGCONFIG
=$enableval
12008 ################################################################################
12009 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12010 $as_echo_n "checking whether to install fsadm... " >&6; }
12011 # Check whether --enable-fsadm was given.
12012 if test "${enable_fsadm+set}" = set; then
12013 enableval
=$enable_fsadm; FSADM
=$enableval
12016 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12017 $as_echo "$FSADM" >&6; }
12019 ################################################################################
12020 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12021 $as_echo_n "checking whether to use dmeventd... " >&6; }
12022 # Check whether --enable-dmeventd was given.
12023 if test "${enable_dmeventd+set}" = set; then
12024 enableval
=$enable_dmeventd; DMEVENTD
=$enableval
12027 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12028 $as_echo "$DMEVENTD" >&6; }
12030 BUILD_DMEVENTD
=$DMEVENTD
12032 if test x
$DMEVENTD = xyes
; then
12033 if test x
$MIRRORS != xinternal
; then
12034 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12036 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12038 { (exit 1); exit 1; }; }
12040 if test x
$CMDLIB = xno
; then
12041 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12043 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12045 { (exit 1); exit 1; }; }
12049 if test x
$DMEVENTD = xyes
; then
12051 cat >>confdefs.h
<<\_ACEOF
12057 ################################################################################
12059 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12060 $as_echo_n "checking for getline in -lc... " >&6; }
12061 if test "${ac_cv_lib_c_getline+set}" = set; then
12062 $as_echo_n "(cached) " >&6
12064 ac_check_lib_save_LIBS
=$LIBS
12066 cat >conftest.
$ac_ext <<_ACEOF
12069 cat confdefs.h
>>conftest.
$ac_ext
12070 cat >>conftest.
$ac_ext <<_ACEOF
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12088 rm -f conftest.
$ac_objext conftest
$ac_exeext
12089 if { (ac_try
="$ac_link"
12090 case "(($ac_try" in
12091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12092 *) ac_try_echo=$ac_try;;
12094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12095 $as_echo "$ac_try_echo") >&5
12096 (eval "$ac_link") 2>conftest.er1
12098 grep -v '^ *+' conftest.er1 >conftest.err
12100 cat conftest.err >&5
12101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && {
12103 test -z "$ac_c_werror_flag" ||
12104 test ! -s conftest.err
12105 } && test -s conftest$ac_exeext && {
12106 test "$cross_compiling" = yes ||
12107 $as_test_x conftest$ac_exeext
12109 ac_cv_lib_c_getline=yes
12111 $as_echo "$as_me: failed program was:" >&5
12112 sed 's/^/| /' conftest.$ac_ext >&5
12114 ac_cv_lib_c_getline=no
12117 rm -rf conftest.dSYM
12118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12122 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12123 $as_echo "$ac_cv_lib_c_getline" >&6; }
12124 if test "x$ac_cv_lib_c_getline" = x""yes; then
12126 cat >>confdefs.h <<\_ACEOF
12127 #define HAVE_GETLINE 1
12133 ################################################################################
12135 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12136 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12137 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12138 $as_echo_n "(cached) " >&6
12140 ac_check_lib_save_LIBS=$LIBS
12142 cat >conftest.$ac_ext <<_ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12155 char canonicalize_file_name ();
12159 return canonicalize_file_name ();
12164 rm -f conftest.$ac_objext conftest$ac_exeext
12165 if { (ac_try="$ac_link"
12166 case "(($ac_try" in
12167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12168 *) ac_try_echo
=$ac_try;;
12170 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12171 $as_echo "$ac_try_echo") >&5
12172 (eval "$ac_link") 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } && {
12179 test -z "$ac_c_werror_flag" ||
12180 test ! -s conftest.err
12181 } && test -s conftest
$ac_exeext && {
12182 test "$cross_compiling" = yes ||
12183 $as_test_x conftest
$ac_exeext
12185 ac_cv_lib_c_canonicalize_file_name
=yes
12187 $as_echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.
$ac_ext >&5
12190 ac_cv_lib_c_canonicalize_file_name
=no
12193 rm -rf conftest.dSYM
12194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12195 conftest
$ac_exeext conftest.
$ac_ext
12196 LIBS
=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12199 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12200 if test "x$ac_cv_lib_c_canonicalize_file_name" = x
""yes; then
12202 cat >>confdefs.h
<<\_ACEOF
12203 #define HAVE_CANONICALIZE_FILE_NAME 1
12209 ################################################################################
12210 if [ "x$exec_prefix" = xNONE
-a "x$prefix" = xNONE
];
12211 then exec_prefix
="";
12214 ################################################################################
12215 if test x
$READLINE != xno
; then
12216 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12217 $as_echo_n "checking for library containing tgetent... " >&6; }
12218 if test "${ac_cv_search_tgetent+set}" = set; then
12219 $as_echo_n "(cached) " >&6
12221 ac_func_search_save_LIBS
=$LIBS
12222 cat >conftest.
$ac_ext <<_ACEOF
12225 cat confdefs.h
>>conftest.
$ac_ext
12226 cat >>conftest.
$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12244 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
12245 if test -z "$ac_lib"; then
12246 ac_res
="none required"
12249 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12251 rm -f conftest.
$ac_objext conftest
$ac_exeext
12252 if { (ac_try
="$ac_link"
12253 case "(($ac_try" in
12254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12258 $as_echo "$ac_try_echo") >&5
12259 (eval "$ac_link") 2>conftest.er1
12261 grep -v '^ *+' conftest.er1 >conftest.err
12263 cat conftest.err >&5
12264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && {
12266 test -z "$ac_c_werror_flag" ||
12267 test ! -s conftest.err
12268 } && test -s conftest$ac_exeext && {
12269 test "$cross_compiling" = yes ||
12270 $as_test_x conftest$ac_exeext
12272 ac_cv_search_tgetent=$ac_res
12274 $as_echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12280 rm -rf conftest.dSYM
12281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12283 if test "${ac_cv_search_tgetent+set}" = set; then
12287 if test "${ac_cv_search_tgetent+set}" = set; then
12290 ac_cv_search_tgetent=no
12292 rm conftest.$ac_ext
12293 LIBS=$ac_func_search_save_LIBS
12295 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
12296 $as_echo "$ac_cv_search_tgetent" >&6; }
12297 ac_res=$ac_cv_search_tgetent
12298 if test "$ac_res" != no; then
12299 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12305 test x$READLINE:$tg_found = xyes:no &&
12306 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
12307 --enable-readline option (which is enabled by default). Either disable readline
12308 support with --disable-readline or download and install termcap from:
12309 ftp.gnu.org/gnu/termcap
12310 Note: if you are using precompiled packages you will also need the development
12311 package as well (which may be called termcap-devel or something similar).
12312 Note: (n)curses also seems to work as a substitute for termcap. This was
12313 not found either - but you could try installing that as well.
12315 $as_echo "$as_me: error: termcap could not be found which is required for the
12316 --enable-readline option (which is enabled by default). Either disable readline
12317 support with --disable-readline or download and install termcap from:
12318 ftp.gnu.org/gnu/termcap
12319 Note: if you are using precompiled packages you will also need the development
12320 package as well (which may be called termcap-devel or something similar).
12321 Note: (n)curses also seems to work as a substitute for termcap. This was
12322 not found either - but you could try installing that as well.
12324 { (exit 1); exit 1; }; }
12327 ################################################################################
12328 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12329 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12330 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12331 $as_echo_n "(cached) " >&6
12333 ac_check_lib_save_LIBS=$LIBS
12335 cat >conftest.$ac_ext <<_ACEOF
12338 cat confdefs.h >>conftest.$ac_ext
12339 cat >>conftest.$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12357 rm -f conftest.$ac_objext conftest$ac_exeext
12358 if { (ac_try="$ac_link"
12359 case "(($ac_try" in
12360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12361 *) ac_try_echo
=$ac_try;;
12363 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12364 $as_echo "$ac_try_echo") >&5
12365 (eval "$ac_link") 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } && {
12372 test -z "$ac_c_werror_flag" ||
12373 test ! -s conftest.err
12374 } && test -s conftest
$ac_exeext && {
12375 test "$cross_compiling" = yes ||
12376 $as_test_x conftest
$ac_exeext
12378 ac_cv_lib_dl_dlopen
=yes
12380 $as_echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.
$ac_ext >&5
12383 ac_cv_lib_dl_dlopen
=no
12386 rm -rf conftest.dSYM
12387 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12388 conftest
$ac_exeext conftest.
$ac_ext
12389 LIBS
=$ac_check_lib_save_LIBS
12391 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12393 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12400 if [ "x$HAVE_LIBDL" = xyes
]; then
12402 cat >>confdefs.h
<<\_ACEOF
12403 #define HAVE_LIBDL 1
12411 ################################################################################
12412 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
12413 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
12414 \
) -a "x$STATIC_LINK" = xyes
];
12415 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
12417 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
12419 { (exit 1); exit 1; }; }
12422 ################################################################################
12423 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12424 $as_echo_n "checking whether to enable selinux support... " >&6; }
12425 # Check whether --enable-selinux was given.
12426 if test "${enable_selinux+set}" = set; then
12427 enableval
=$enable_selinux; SELINUX
=$enableval
12430 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12431 $as_echo "$SELINUX" >&6; }
12433 ################################################################################
12434 if test x
$SELINUX = xyes
; then
12435 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12436 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12437 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12438 $as_echo_n "(cached) " >&6
12440 ac_check_lib_save_LIBS
=$LIBS
12441 LIBS
="-lsepol $LIBS"
12442 cat >conftest.
$ac_ext <<_ACEOF
12445 cat confdefs.h
>>conftest.
$ac_ext
12446 cat >>conftest.
$ac_ext <<_ACEOF
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12455 char sepol_check_context ();
12459 return sepol_check_context ();
12464 rm -f conftest.
$ac_objext conftest
$ac_exeext
12465 if { (ac_try
="$ac_link"
12466 case "(($ac_try" in
12467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12468 *) ac_try_echo=$ac_try;;
12470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12471 $as_echo "$ac_try_echo") >&5
12472 (eval "$ac_link") 2>conftest.er1
12474 grep -v '^ *+' conftest.er1 >conftest.err
12476 cat conftest.err >&5
12477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } && {
12479 test -z "$ac_c_werror_flag" ||
12480 test ! -s conftest.err
12481 } && test -s conftest$ac_exeext && {
12482 test "$cross_compiling" = yes ||
12483 $as_test_x conftest$ac_exeext
12485 ac_cv_lib_sepol_sepol_check_context=yes
12487 $as_echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12490 ac_cv_lib_sepol_sepol_check_context=no
12493 rm -rf conftest.dSYM
12494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12499 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12500 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12507 if test x$HAVE_SEPOL = xyes; then
12509 cat >>confdefs.h <<\_ACEOF
12510 #define HAVE_SEPOL 1
12513 LIBS="-lsepol $LIBS"
12516 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12517 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12518 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12519 $as_echo_n "(cached) " >&6
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lselinux $LIBS"
12523 cat >conftest.$ac_ext <<_ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12536 char is_selinux_enabled ();
12540 return is_selinux_enabled ();
12545 rm -f conftest.$ac_objext conftest$ac_exeext
12546 if { (ac_try="$ac_link"
12547 case "(($ac_try" in
12548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12549 *) ac_try_echo
=$ac_try;;
12551 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12552 $as_echo "$ac_try_echo") >&5
12553 (eval "$ac_link") 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && {
12560 test -z "$ac_c_werror_flag" ||
12561 test ! -s conftest.err
12562 } && test -s conftest
$ac_exeext && {
12563 test "$cross_compiling" = yes ||
12564 $as_test_x conftest
$ac_exeext
12566 ac_cv_lib_selinux_is_selinux_enabled
=yes
12568 $as_echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.
$ac_ext >&5
12571 ac_cv_lib_selinux_is_selinux_enabled
=no
12574 rm -rf conftest.dSYM
12575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12576 conftest
$ac_exeext conftest.
$ac_ext
12577 LIBS
=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12580 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12581 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x
""yes; then
12588 if test x
$HAVE_SELINUX = xyes
; then
12590 cat >>confdefs.h
<<\_ACEOF
12591 #define HAVE_SELINUX 1
12594 LIBS
="-lselinux $LIBS"
12596 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
12597 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
12600 # With --enable-static_link and selinux enabled, linking
12601 # fails on at least Debian unstable due to unsatisfied references
12602 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
12603 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes
; then
12604 lvm_saved_libs
=$LIBS
12605 LIBS
="$LIBS -static"
12606 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12607 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
12608 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12609 $as_echo_n "(cached) " >&6
12611 ac_func_search_save_LIBS
=$LIBS
12612 cat >conftest.
$ac_ext <<_ACEOF
12615 cat confdefs.h
>>conftest.
$ac_ext
12616 cat >>conftest.
$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12625 char pthread_mutex_lock ();
12629 return pthread_mutex_lock ();
12634 for ac_lib
in '' pthread
; do
12635 if test -z "$ac_lib"; then
12636 ac_res
="none required"
12639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12641 rm -f conftest.
$ac_objext conftest
$ac_exeext
12642 if { (ac_try
="$ac_link"
12643 case "(($ac_try" in
12644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12645 *) ac_try_echo=$ac_try;;
12647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12648 $as_echo "$ac_try_echo") >&5
12649 (eval "$ac_link") 2>conftest.er1
12651 grep -v '^ *+' conftest.er1 >conftest.err
12653 cat conftest.err >&5
12654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } && {
12656 test -z "$ac_c_werror_flag" ||
12657 test ! -s conftest.err
12658 } && test -s conftest$ac_exeext && {
12659 test "$cross_compiling" = yes ||
12660 $as_test_x conftest$ac_exeext
12662 ac_cv_search_pthread_mutex_lock=$ac_res
12664 $as_echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12670 rm -rf conftest.dSYM
12671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12673 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12677 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12680 ac_cv_search_pthread_mutex_lock=no
12682 rm conftest.$ac_ext
12683 LIBS=$ac_func_search_save_LIBS
12685 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
12686 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
12687 ac_res=$ac_cv_search_pthread_mutex_lock
12688 if test "$ac_res" != no; then
12689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12690 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
12691 LIB_PTHREAD=-lpthread
12694 LIBS=$lvm_saved_libs
12698 ################################################################################
12699 if test x$REALTIME = xyes; then
12700 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12701 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12702 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12703 $as_echo_n "(cached) " >&6
12705 ac_check_lib_save_LIBS=$LIBS
12707 cat >conftest.$ac_ext <<_ACEOF
12710 cat confdefs.h >>conftest.$ac_ext
12711 cat >>conftest.$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12720 char clock_gettime ();
12724 return clock_gettime ();
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (ac_try="$ac_link"
12731 case "(($ac_try" in
12732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12733 *) ac_try_echo
=$ac_try;;
12735 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12736 $as_echo "$ac_try_echo") >&5
12737 (eval "$ac_link") 2>conftest.er1
12739 grep -v '^ *+' conftest.er1
>conftest.err
12741 cat conftest.err
>&5
12742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && {
12744 test -z "$ac_c_werror_flag" ||
12745 test ! -s conftest.err
12746 } && test -s conftest
$ac_exeext && {
12747 test "$cross_compiling" = yes ||
12748 $as_test_x conftest
$ac_exeext
12750 ac_cv_lib_rt_clock_gettime
=yes
12752 $as_echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.
$ac_ext >&5
12755 ac_cv_lib_rt_clock_gettime
=no
12758 rm -rf conftest.dSYM
12759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12760 conftest
$ac_exeext conftest.
$ac_ext
12761 LIBS
=$ac_check_lib_save_LIBS
12763 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12764 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12765 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then
12772 if test x
$HAVE_REALTIME = xyes
; then
12774 cat >>confdefs.h
<<\_ACEOF
12775 #define HAVE_REALTIME 1
12780 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
12781 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
12785 ################################################################################
12787 for ac_header
in getopt.h
12789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12790 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12792 $as_echo_n "checking for $ac_header... " >&6; }
12793 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12794 $as_echo_n "(cached) " >&6
12796 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12797 $as_echo "$as_val"'`
12798 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12799 $as_echo "$ac_res" >&6; }
12801 # Is the header compilable?
12802 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12803 $as_echo_n "checking $ac_header usability... " >&6; }
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 $ac_includes_default
12811 #include <$ac_header>
12813 rm -f conftest.
$ac_objext
12814 if { (ac_try
="$ac_compile"
12815 case "(($ac_try" in
12816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12817 *) ac_try_echo=$ac_try;;
12819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12820 $as_echo "$ac_try_echo") >&5
12821 (eval "$ac_compile") 2>conftest.er1
12823 grep -v '^ *+' conftest.er1 >conftest.err
12825 cat conftest.err >&5
12826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } && {
12828 test -z "$ac_c_werror_flag" ||
12829 test ! -s conftest.err
12830 } && test -s conftest.$ac_objext; then
12831 ac_header_compiler=yes
12833 $as_echo "$as_me: failed program was:" >&5
12834 sed 's/^/| /' conftest.$ac_ext >&5
12836 ac_header_compiler=no
12839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12840 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12841 $as_echo "$ac_header_compiler" >&6; }
12843 # Is the header present?
12844 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12845 $as_echo_n "checking $ac_header presence... " >&6; }
12846 cat >conftest.$ac_ext <<_ACEOF
12849 cat confdefs.h >>conftest.$ac_ext
12850 cat >>conftest.$ac_ext <<_ACEOF
12851 /* end confdefs.h. */
12852 #include <$ac_header>
12854 if { (ac_try="$ac_cpp conftest.$ac_ext"
12855 case "(($ac_try" in
12856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12857 *) ac_try_echo
=$ac_try;;
12859 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12860 $as_echo "$ac_try_echo") >&5
12861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } >/dev
/null
&& {
12868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12869 test ! -s conftest.err
12871 ac_header_preproc
=yes
12873 $as_echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.
$ac_ext >&5
12876 ac_header_preproc
=no
12879 rm -f conftest.err conftest.
$ac_ext
12880 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12881 $as_echo "$ac_header_preproc" >&6; }
12883 # So? What about this header?
12884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12887 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12889 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12890 ac_header_preproc
=yes
12893 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12894 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12895 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12896 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12898 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12900 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12904 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12909 $as_echo_n "checking for $ac_header... " >&6; }
12910 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12911 $as_echo_n "(cached) " >&6
12913 eval "$as_ac_Header=\$ac_header_preproc"
12915 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12916 $as_echo "$as_val"'`
12917 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12918 $as_echo "$ac_res" >&6; }
12921 as_val
=`eval 'as_val=${'$as_ac_Header'}
12922 $as_echo "$as_val"'`
12923 if test "x$as_val" = x
""yes; then
12924 cat >>confdefs.h
<<_ACEOF
12925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define HAVE_GETOPTLONG 1
12937 ################################################################################
12938 if test x
$READLINE != xno
; then
12941 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
12942 $as_echo_n "checking for readline in -lreadline... " >&6; }
12943 if test "${ac_cv_lib_readline_readline+set}" = set; then
12944 $as_echo_n "(cached) " >&6
12946 ac_check_lib_save_LIBS
=$LIBS
12947 LIBS
="-lreadline $LIBS"
12948 cat >conftest.
$ac_ext <<_ACEOF
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12965 return readline ();
12970 rm -f conftest.
$ac_objext conftest
$ac_exeext
12971 if { (ac_try
="$ac_link"
12972 case "(($ac_try" in
12973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12974 *) ac_try_echo=$ac_try;;
12976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12977 $as_echo "$ac_try_echo") >&5
12978 (eval "$ac_link") 2>conftest.er1
12980 grep -v '^ *+' conftest.er1 >conftest.err
12982 cat conftest.err >&5
12983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } && {
12985 test -z "$ac_c_werror_flag" ||
12986 test ! -s conftest.err
12987 } && test -s conftest$ac_exeext && {
12988 test "$cross_compiling" = yes ||
12989 $as_test_x conftest$ac_exeext
12991 ac_cv_lib_readline_readline=yes
12993 $as_echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 ac_cv_lib_readline_readline=no
12999 rm -rf conftest.dSYM
13000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LIBS=$ac_check_lib_save_LIBS
13004 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13005 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13006 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13007 cat >>confdefs.h <<_ACEOF
13008 #define HAVE_LIBREADLINE 1
13011 LIBS="-lreadline $LIBS"
13017 test x$READLINE:$rl_found = xyes:no &&
13018 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13019 --enable-readline option (which is enabled by default). Either disable readline
13020 support with --disable-readline or download and install readline from:
13021 ftp.gnu.org/gnu/readline
13022 Note: if you are using precompiled packages you will also need the development
13023 package as well (which may be called readline-devel or something similar).
13025 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13026 --enable-readline option (which is enabled by default). Either disable readline
13027 support with --disable-readline or download and install readline from:
13028 ftp.gnu.org/gnu/readline
13029 Note: if you are using precompiled packages you will also need the development
13030 package as well (which may be called readline-devel or something similar).
13032 { (exit 1); exit 1; }; }
13033 if test $rl_found = yes; then
13035 for ac_func in rl_completion_matches
13037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13038 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13039 $as_echo_n "checking for $ac_func... " >&6; }
13040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13041 $as_echo_n "(cached) " >&6
13043 cat >conftest.$ac_ext <<_ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13051 #define $ac_func innocuous_$ac_func
13053 /* System header to define __stub macros and hopefully few prototypes,
13054 which can conflict with char $ac_func (); below.
13055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13056 <limits.h> exists even on freestanding compilers. */
13059 # include <limits.h>
13061 # include <assert.h>
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13073 /* The GNU C library defines this for functions which it implements
13074 to always fail with ENOSYS. Some functions are actually named
13075 something starting with __ and the normal name is an alias. */
13076 #if defined __stub_$ac_func || defined __stub___$ac_func
13083 return $ac_func ();
13088 rm -f conftest.$ac_objext conftest$ac_exeext
13089 if { (ac_try="$ac_link"
13090 case "(($ac_try" in
13091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13092 *) ac_try_echo
=$ac_try;;
13094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13095 $as_echo "$ac_try_echo") >&5
13096 (eval "$ac_link") 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } && {
13103 test -z "$ac_c_werror_flag" ||
13104 test ! -s conftest.err
13105 } && test -s conftest
$ac_exeext && {
13106 test "$cross_compiling" = yes ||
13107 $as_test_x conftest
$ac_exeext
13109 eval "$as_ac_var=yes"
13111 $as_echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.
$ac_ext >&5
13114 eval "$as_ac_var=no"
13117 rm -rf conftest.dSYM
13118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13119 conftest
$ac_exeext conftest.
$ac_ext
13121 ac_res
=`eval 'as_val=${'$as_ac_var'}
13122 $as_echo "$as_val"'`
13123 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13124 $as_echo "$ac_res" >&6; }
13125 as_val
=`eval 'as_val=${'$as_ac_var'}
13126 $as_echo "$as_val"'`
13127 if test "x$as_val" = x
""yes; then
13128 cat >>confdefs.h
<<_ACEOF
13129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13136 cat >>confdefs.h
<<\_ACEOF
13137 #define READLINE_SUPPORT 1
13143 ################################################################################
13144 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13145 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13146 # Check whether --enable-nls was given.
13147 if test "${enable_nls+set}" = set; then
13148 enableval
=$enable_nls; INTL
=$enableval
13153 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13154 $as_echo "$INTL" >&6; }
13156 if test x
$INTL = xyes
; then
13157 # FIXME - Move this - can be device-mapper too
13158 INTL_PACKAGE
="lvm2"
13159 # Extract the first word of "msgfmt", so it can be a program name with args.
13160 set dummy msgfmt
; ac_word
=$2
13161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13162 $as_echo_n "checking for $ac_word... " >&6; }
13163 if test "${ac_cv_path_MSGFMT+set}" = set; then
13164 $as_echo_n "(cached) " >&6
13168 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13172 for as_dir
in $PATH
13175 test -z "$as_dir" && as_dir
=.
13176 for ac_exec_ext
in '' $ac_executable_extensions; do
13177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13178 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13179 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13189 MSGFMT
=$ac_cv_path_MSGFMT
13190 if test -n "$MSGFMT"; then
13191 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13192 $as_echo "$MSGFMT" >&6; }
13194 { $as_echo "$as_me:$LINENO: result: no" >&5
13195 $as_echo "no" >&6; }
13199 if [ "x$MSGFMT" == x
];
13200 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13202 $as_echo "$as_me: error: msgfmt not found in path $PATH
13204 { (exit 1); exit 1; }; }
13208 # Check whether --with-localedir was given.
13209 if test "${with_localedir+set}" = set; then
13210 withval
=$with_localedir; LOCALEDIR
="$withval"
13212 LOCALEDIR
='${prefix}/share/locale'
13217 ################################################################################
13219 # Check whether --with-confdir was given.
13220 if test "${with_confdir+set}" = set; then
13221 withval
=$with_confdir; CONFDIR
="$withval"
13228 # Check whether --with-staticdir was given.
13229 if test "${with_staticdir+set}" = set; then
13230 withval
=$with_staticdir; STATICDIR
="$withval"
13232 STATICDIR
='${exec_prefix}/sbin'
13237 # Check whether --with-usrlibdir was given.
13238 if test "${with_usrlibdir+set}" = set; then
13239 withval
=$with_usrlibdir; usrlibdir
="$withval"
13241 usrlibdir
='${prefix}/lib'
13246 # Check whether --with-usrsbindir was given.
13247 if test "${with_usrsbindir+set}" = set; then
13248 withval
=$with_usrsbindir; usrsbindir
="$withval"
13250 usrsbindir
='${prefix}/sbin'
13254 ################################################################################
13256 # Check whether --with-udev_prefix was given.
13257 if test "${with_udev_prefix+set}" = set; then
13258 withval
=$with_udev_prefix; udev_prefix
="$withval"
13260 udev_prefix
='${exec_prefix}'
13265 # Check whether --with-udevdir was given.
13266 if test "${with_udevdir+set}" = set; then
13267 withval
=$with_udevdir; udevdir
="$withval"
13269 udevdir
='${udev_prefix}/lib/udev/rules.d'
13273 ################################################################################
13274 if test x
$READLINE = xyes
; then
13277 for ac_header
in readline
/readline.h readline
/history.h
13279 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13280 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13281 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13282 $as_echo_n "checking for $ac_header... " >&6; }
13283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13284 $as_echo_n "(cached) " >&6
13286 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13287 $as_echo "$as_val"'`
13288 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13289 $as_echo "$ac_res" >&6; }
13291 # Is the header compilable?
13292 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13293 $as_echo_n "checking $ac_header usability... " >&6; }
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 $ac_includes_default
13301 #include <$ac_header>
13303 rm -f conftest.
$ac_objext
13304 if { (ac_try
="$ac_compile"
13305 case "(($ac_try" in
13306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13310 $as_echo "$ac_try_echo") >&5
13311 (eval "$ac_compile") 2>conftest.er1
13313 grep -v '^ *+' conftest.er1 >conftest.err
13315 cat conftest.err >&5
13316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } && {
13318 test -z "$ac_c_werror_flag" ||
13319 test ! -s conftest.err
13320 } && test -s conftest.$ac_objext; then
13321 ac_header_compiler=yes
13323 $as_echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_header_compiler=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13330 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13331 $as_echo "$ac_header_compiler" >&6; }
13333 # Is the header present?
13334 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13335 $as_echo_n "checking $ac_header presence... " >&6; }
13336 cat >conftest.$ac_ext <<_ACEOF
13339 cat confdefs.h >>conftest.$ac_ext
13340 cat >>conftest.$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13342 #include <$ac_header>
13344 if { (ac_try="$ac_cpp conftest.$ac_ext"
13345 case "(($ac_try" in
13346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13347 *) ac_try_echo
=$ac_try;;
13349 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13350 $as_echo "$ac_try_echo") >&5
13351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13353 grep -v '^ *+' conftest.er1
>conftest.err
13355 cat conftest.err
>&5
13356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } >/dev
/null
&& {
13358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13359 test ! -s conftest.err
13361 ac_header_preproc
=yes
13363 $as_echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.
$ac_ext >&5
13366 ac_header_preproc
=no
13369 rm -f conftest.err conftest.
$ac_ext
13370 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13371 $as_echo "$ac_header_preproc" >&6; }
13373 # So? What about this header?
13374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13377 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13379 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13380 ac_header_preproc
=yes
13383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13384 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13386 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13388 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13390 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13394 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13398 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13399 $as_echo_n "checking for $ac_header... " >&6; }
13400 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13401 $as_echo_n "(cached) " >&6
13403 eval "$as_ac_Header=\$ac_header_preproc"
13405 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13406 $as_echo "$as_val"'`
13407 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13408 $as_echo "$ac_res" >&6; }
13411 as_val
=`eval 'as_val=${'$as_ac_Header'}
13412 $as_echo "$as_val"'`
13413 if test "x$as_val" = x
""yes; then
13414 cat >>confdefs.h
<<_ACEOF
13415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13419 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13420 $as_echo "$as_me: error: bailing out" >&2;}
13421 { (exit 1); exit 1; }; }
13428 if test x
$CLVMD != xnone
; then
13439 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
13441 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13442 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13443 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13444 $as_echo_n "checking for $ac_header... " >&6; }
13445 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13446 $as_echo_n "(cached) " >&6
13448 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13449 $as_echo "$as_val"'`
13450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13451 $as_echo "$ac_res" >&6; }
13453 # Is the header compilable?
13454 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13455 $as_echo_n "checking $ac_header usability... " >&6; }
13456 cat >conftest.
$ac_ext <<_ACEOF
13459 cat confdefs.h
>>conftest.
$ac_ext
13460 cat >>conftest.
$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13462 $ac_includes_default
13463 #include <$ac_header>
13465 rm -f conftest.
$ac_objext
13466 if { (ac_try
="$ac_compile"
13467 case "(($ac_try" in
13468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13472 $as_echo "$ac_try_echo") >&5
13473 (eval "$ac_compile") 2>conftest.er1
13475 grep -v '^ *+' conftest.er1 >conftest.err
13477 cat conftest.err >&5
13478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } && {
13480 test -z "$ac_c_werror_flag" ||
13481 test ! -s conftest.err
13482 } && test -s conftest.$ac_objext; then
13483 ac_header_compiler=yes
13485 $as_echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13488 ac_header_compiler=no
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13492 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13493 $as_echo "$ac_header_compiler" >&6; }
13495 # Is the header present?
13496 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13497 $as_echo_n "checking $ac_header presence... " >&6; }
13498 cat >conftest.$ac_ext <<_ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 #include <$ac_header>
13506 if { (ac_try="$ac_cpp conftest.$ac_ext"
13507 case "(($ac_try" in
13508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13509 *) ac_try_echo
=$ac_try;;
13511 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13512 $as_echo "$ac_try_echo") >&5
13513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13515 grep -v '^ *+' conftest.er1
>conftest.err
13517 cat conftest.err
>&5
13518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } >/dev
/null
&& {
13520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13521 test ! -s conftest.err
13523 ac_header_preproc
=yes
13525 $as_echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.
$ac_ext >&5
13528 ac_header_preproc
=no
13531 rm -f conftest.err conftest.
$ac_ext
13532 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13533 $as_echo "$ac_header_preproc" >&6; }
13535 # So? What about this header?
13536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13539 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13541 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13542 ac_header_preproc
=yes
13545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13546 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13548 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13550 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13552 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13554 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13556 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13560 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13561 $as_echo_n "checking for $ac_header... " >&6; }
13562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13563 $as_echo_n "(cached) " >&6
13565 eval "$as_ac_Header=\$ac_header_preproc"
13567 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13568 $as_echo "$as_val"'`
13569 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13570 $as_echo "$ac_res" >&6; }
13573 as_val
=`eval 'as_val=${'$as_ac_Header'}
13574 $as_echo "$as_val"'`
13575 if test "x$as_val" = x
""yes; then
13576 cat >>confdefs.h
<<_ACEOF
13577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13581 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13582 $as_echo "$as_me: error: bailing out" >&2;}
13583 { (exit 1); exit 1; }; }
13593 for ac_func
in dup2 getmntent memmove
select socket
13595 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13596 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13597 $as_echo_n "checking for $ac_func... " >&6; }
13598 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13599 $as_echo_n "(cached) " >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13609 #define $ac_func innocuous_$ac_func
13611 /* System header to define __stub macros and hopefully few prototypes,
13612 which can conflict with char $ac_func (); below.
13613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13614 <limits.h> exists even on freestanding compilers. */
13617 # include <limits.h>
13619 # include <assert.h>
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13631 /* The GNU C library defines this for functions which it implements
13632 to always fail with ENOSYS. Some functions are actually named
13633 something starting with __ and the normal name is an alias. */
13634 #if defined __stub_$ac_func || defined __stub___$ac_func
13641 return $ac_func ();
13646 rm -f conftest.
$ac_objext conftest
$ac_exeext
13647 if { (ac_try
="$ac_link"
13648 case "(($ac_try" in
13649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13650 *) ac_try_echo=$ac_try;;
13652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13653 $as_echo "$ac_try_echo") >&5
13654 (eval "$ac_link") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && {
13661 test -z "$ac_c_werror_flag" ||
13662 test ! -s conftest.err
13663 } && test -s conftest$ac_exeext && {
13664 test "$cross_compiling" = yes ||
13665 $as_test_x conftest$ac_exeext
13667 eval "$as_ac_var=yes"
13669 $as_echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13672 eval "$as_ac_var=no"
13675 rm -rf conftest.dSYM
13676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13677 conftest$ac_exeext conftest.$ac_ext
13679 ac_res=`eval 'as_val=${'$as_ac_var'}
13680 $as_echo "$as_val"'`
13681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13682 $as_echo "$ac_res" >&6; }
13683 as_val=`eval 'as_val=${'$as_ac_var'}
13684 $as_echo "$as_val"'`
13685 if test "x$as_val" = x""yes; then
13686 cat >>confdefs.h <<_ACEOF
13687 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13691 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13692 $as_echo "$as_me: error: bailing out" >&2;}
13693 { (exit 1); exit 1; }; }
13697 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
13698 # -lseq on Dynix/PTX, -lgen on Unixware.
13699 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
13700 $as_echo_n "checking for library containing getmntent... " >&6; }
13701 if test "${ac_cv_search_getmntent+set}" = set; then
13702 $as_echo_n "(cached) " >&6
13704 ac_func_search_save_LIBS=$LIBS
13705 cat >conftest.$ac_ext <<_ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13722 return getmntent ();
13727 for ac_lib in '' sun seq gen; do
13728 if test -z "$ac_lib"; then
13729 ac_res="none required"
13732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13734 rm -f conftest.$ac_objext conftest$ac_exeext
13735 if { (ac_try="$ac_link"
13736 case "(($ac_try" in
13737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13738 *) ac_try_echo
=$ac_try;;
13740 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13741 $as_echo "$ac_try_echo") >&5
13742 (eval "$ac_link") 2>conftest.er1
13744 grep -v '^ *+' conftest.er1
>conftest.err
13746 cat conftest.err
>&5
13747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && {
13749 test -z "$ac_c_werror_flag" ||
13750 test ! -s conftest.err
13751 } && test -s conftest
$ac_exeext && {
13752 test "$cross_compiling" = yes ||
13753 $as_test_x conftest
$ac_exeext
13755 ac_cv_search_getmntent
=$ac_res
13757 $as_echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.
$ac_ext >&5
13763 rm -rf conftest.dSYM
13764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13766 if test "${ac_cv_search_getmntent+set}" = set; then
13770 if test "${ac_cv_search_getmntent+set}" = set; then
13773 ac_cv_search_getmntent
=no
13775 rm conftest.
$ac_ext
13776 LIBS
=$ac_func_search_save_LIBS
13778 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
13779 $as_echo "$ac_cv_search_getmntent" >&6; }
13780 ac_res
=$ac_cv_search_getmntent
13781 if test "$ac_res" != no
; then
13782 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13783 ac_cv_func_getmntent
=yes
13785 cat >>confdefs.h
<<\_ACEOF
13786 #define HAVE_GETMNTENT 1
13790 ac_cv_func_getmntent
=no
13797 for ac_header
in sys
/select.h sys
/socket.h
13799 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13800 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13802 $as_echo_n "checking for $ac_header... " >&6; }
13803 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13804 $as_echo_n "(cached) " >&6
13806 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13807 $as_echo "$as_val"'`
13808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13809 $as_echo "$ac_res" >&6; }
13811 # Is the header compilable?
13812 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13813 $as_echo_n "checking $ac_header usability... " >&6; }
13814 cat >conftest.
$ac_ext <<_ACEOF
13817 cat confdefs.h
>>conftest.
$ac_ext
13818 cat >>conftest.
$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 $ac_includes_default
13821 #include <$ac_header>
13823 rm -f conftest.
$ac_objext
13824 if { (ac_try
="$ac_compile"
13825 case "(($ac_try" in
13826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13827 *) ac_try_echo=$ac_try;;
13829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13830 $as_echo "$ac_try_echo") >&5
13831 (eval "$ac_compile") 2>conftest.er1
13833 grep -v '^ *+' conftest.er1 >conftest.err
13835 cat conftest.err >&5
13836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } && {
13838 test -z "$ac_c_werror_flag" ||
13839 test ! -s conftest.err
13840 } && test -s conftest.$ac_objext; then
13841 ac_header_compiler=yes
13843 $as_echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13846 ac_header_compiler=no
13849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13850 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13851 $as_echo "$ac_header_compiler" >&6; }
13853 # Is the header present?
13854 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13855 $as_echo_n "checking $ac_header presence... " >&6; }
13856 cat >conftest.$ac_ext <<_ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 #include <$ac_header>
13864 if { (ac_try="$ac_cpp conftest.$ac_ext"
13865 case "(($ac_try" in
13866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13867 *) ac_try_echo
=$ac_try;;
13869 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13870 $as_echo "$ac_try_echo") >&5
13871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13873 grep -v '^ *+' conftest.er1
>conftest.err
13875 cat conftest.err
>&5
13876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } >/dev
/null
&& {
13878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13881 ac_header_preproc
=yes
13883 $as_echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.
$ac_ext >&5
13886 ac_header_preproc
=no
13889 rm -f conftest.err conftest.
$ac_ext
13890 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13891 $as_echo "$ac_header_preproc" >&6; }
13893 # So? What about this header?
13894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13897 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13899 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13900 ac_header_preproc
=yes
13903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13904 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13906 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13908 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13910 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13912 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13914 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13918 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13919 $as_echo_n "checking for $ac_header... " >&6; }
13920 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13921 $as_echo_n "(cached) " >&6
13923 eval "$as_ac_Header=\$ac_header_preproc"
13925 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13926 $as_echo "$as_val"'`
13927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13928 $as_echo "$ac_res" >&6; }
13931 as_val
=`eval 'as_val=${'$as_ac_Header'}
13932 $as_echo "$as_val"'`
13933 if test "x$as_val" = x
""yes; then
13934 cat >>confdefs.h
<<_ACEOF
13935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13942 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
13943 $as_echo_n "checking types of arguments for select... " >&6; }
13944 if test "${ac_cv_func_select_args+set}" = set; then
13945 $as_echo_n "(cached) " >&6
13947 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
13948 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13949 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
13950 cat >conftest.
$ac_ext <<_ACEOF
13953 cat confdefs.h
>>conftest.
$ac_ext
13954 cat >>conftest.
$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13956 $ac_includes_default
13957 #ifdef HAVE_SYS_SELECT_H
13958 # include <sys/select.h>
13960 #ifdef HAVE_SYS_SOCKET_H
13961 # include <sys/socket.h>
13967 extern int select ($ac_arg1,
13968 $ac_arg234, $ac_arg234, $ac_arg234,
13974 rm -f conftest.
$ac_objext
13975 if { (ac_try
="$ac_compile"
13976 case "(($ac_try" in
13977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13978 *) ac_try_echo=$ac_try;;
13980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13981 $as_echo "$ac_try_echo") >&5
13982 (eval "$ac_compile") 2>conftest.er1
13984 grep -v '^ *+' conftest.er1 >conftest.err
13986 cat conftest.err >&5
13987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } && {
13989 test -z "$ac_c_werror_flag" ||
13990 test ! -s conftest.err
13991 } && test -s conftest.$ac_objext; then
13992 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13994 $as_echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.$ac_ext >&5
14000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14004 # Provide a safe default value.
14005 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14008 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14009 $as_echo "$ac_cv_func_select_args" >&6; }
14010 ac_save_IFS=$IFS; IFS=','
14011 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
14015 cat >>confdefs.h <<_ACEOF
14016 #define SELECT_TYPE_ARG1 $1
14020 cat >>confdefs.h <<_ACEOF
14021 #define SELECT_TYPE_ARG234 ($2)
14025 cat >>confdefs.h <<_ACEOF
14026 #define SELECT_TYPE_ARG5 ($3)
14033 if test x$CLUSTER != xnone; then
14036 for ac_header in sys/socket.h sys/un.h
14038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14040 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14041 $as_echo_n "checking for $ac_header... " >&6; }
14042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14043 $as_echo_n "(cached) " >&6
14045 ac_res=`eval 'as_val=${'$as_ac_Header'}
14046 $as_echo "$as_val"'`
14047 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14048 $as_echo "$ac_res" >&6; }
14050 # Is the header compilable?
14051 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14052 $as_echo_n "checking $ac_header usability... " >&6; }
14053 cat >conftest.$ac_ext <<_ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14059 $ac_includes_default
14060 #include <$ac_header>
14062 rm -f conftest.$ac_objext
14063 if { (ac_try="$ac_compile"
14064 case "(($ac_try" in
14065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14066 *) ac_try_echo
=$ac_try;;
14068 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14069 $as_echo "$ac_try_echo") >&5
14070 (eval "$ac_compile") 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest.
$ac_objext; then
14080 ac_header_compiler
=yes
14082 $as_echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 ac_header_compiler
=no
14088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14089 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14090 $as_echo "$ac_header_compiler" >&6; }
14092 # Is the header present?
14093 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14094 $as_echo_n "checking $ac_header presence... " >&6; }
14095 cat >conftest.
$ac_ext <<_ACEOF
14098 cat confdefs.h
>>conftest.
$ac_ext
14099 cat >>conftest.
$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101 #include <$ac_header>
14103 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14104 case "(($ac_try" in
14105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14106 *) ac_try_echo=$ac_try;;
14108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14109 $as_echo "$ac_try_echo") >&5
14110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14112 grep -v '^ *+' conftest.er1 >conftest.err
14114 cat conftest.err >&5
14115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } >/dev/null && {
14117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14118 test ! -s conftest.err
14120 ac_header_preproc=yes
14122 $as_echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 ac_header_preproc=no
14128 rm -f conftest.err conftest.$ac_ext
14129 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14130 $as_echo "$ac_header_preproc" >&6; }
14132 # So? What about this header?
14133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14136 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14138 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14139 ac_header_preproc=yes
14142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14143 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14145 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14147 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14149 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14151 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14153 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14157 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14158 $as_echo_n "checking for $ac_header... " >&6; }
14159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14160 $as_echo_n "(cached) " >&6
14162 eval "$as_ac_Header=\$ac_header_preproc"
14164 ac_res=`eval 'as_val=${'$as_ac_Header'}
14165 $as_echo "$as_val"'`
14166 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14167 $as_echo "$ac_res" >&6; }
14170 as_val=`eval 'as_val=${'$as_ac_Header'}
14171 $as_echo "$as_val"'`
14172 if test "x$as_val" = x""yes; then
14173 cat >>confdefs.h <<_ACEOF
14174 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14178 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14179 $as_echo "$as_me: error: bailing out" >&2;}
14180 { (exit 1); exit 1; }; }
14186 for ac_func in socket
14188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14189 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14190 $as_echo_n "checking for $ac_func... " >&6; }
14191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14192 $as_echo_n "(cached) " >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14202 #define $ac_func innocuous_$ac_func
14204 /* System header to define __stub macros and hopefully few prototypes,
14205 which can conflict with char $ac_func (); below.
14206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14207 <limits.h> exists even on freestanding compilers. */
14210 # include <limits.h>
14212 # include <assert.h>
14217 /* Override any GCC internal prototype to avoid an error.
14218 Use char because int might match the return type of a GCC
14219 builtin and then its argument prototype would still apply. */
14224 /* The GNU C library defines this for functions which it implements
14225 to always fail with ENOSYS. Some functions are actually named
14226 something starting with __ and the normal name is an alias. */
14227 #if defined __stub_$ac_func || defined __stub___$ac_func
14234 return $ac_func ();
14239 rm -f conftest.$ac_objext conftest$ac_exeext
14240 if { (ac_try="$ac_link"
14241 case "(($ac_try" in
14242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14243 *) ac_try_echo
=$ac_try;;
14245 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14246 $as_echo "$ac_try_echo") >&5
14247 (eval "$ac_link") 2>conftest.er1
14249 grep -v '^ *+' conftest.er1
>conftest.err
14251 cat conftest.err
>&5
14252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } && {
14254 test -z "$ac_c_werror_flag" ||
14255 test ! -s conftest.err
14256 } && test -s conftest
$ac_exeext && {
14257 test "$cross_compiling" = yes ||
14258 $as_test_x conftest
$ac_exeext
14260 eval "$as_ac_var=yes"
14262 $as_echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.
$ac_ext >&5
14265 eval "$as_ac_var=no"
14268 rm -rf conftest.dSYM
14269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14270 conftest
$ac_exeext conftest.
$ac_ext
14272 ac_res
=`eval 'as_val=${'$as_ac_var'}
14273 $as_echo "$as_val"'`
14274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14275 $as_echo "$ac_res" >&6; }
14276 as_val
=`eval 'as_val=${'$as_ac_var'}
14277 $as_echo "$as_val"'`
14278 if test "x$as_val" = x
""yes; then
14279 cat >>confdefs.h
<<_ACEOF
14280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14284 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14285 $as_echo "$as_me: error: bailing out" >&2;}
14286 { (exit 1); exit 1; }; }
14292 if test x
$HAVE_LIBDL = xyes
; then
14294 for ac_header
in dlfcn.h
14296 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14297 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14298 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14299 $as_echo_n "checking for $ac_header... " >&6; }
14300 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14301 $as_echo_n "(cached) " >&6
14303 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14304 $as_echo "$as_val"'`
14305 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14306 $as_echo "$ac_res" >&6; }
14308 # Is the header compilable?
14309 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14310 $as_echo_n "checking $ac_header usability... " >&6; }
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_includes_default
14318 #include <$ac_header>
14320 rm -f conftest.
$ac_objext
14321 if { (ac_try
="$ac_compile"
14322 case "(($ac_try" in
14323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14327 $as_echo "$ac_try_echo") >&5
14328 (eval "$ac_compile") 2>conftest.er1
14330 grep -v '^ *+' conftest.er1 >conftest.err
14332 cat conftest.err >&5
14333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); } && {
14335 test -z "$ac_c_werror_flag" ||
14336 test ! -s conftest.err
14337 } && test -s conftest.$ac_objext; then
14338 ac_header_compiler=yes
14340 $as_echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14343 ac_header_compiler=no
14346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14347 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14348 $as_echo "$ac_header_compiler" >&6; }
14350 # Is the header present?
14351 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14352 $as_echo_n "checking $ac_header presence... " >&6; }
14353 cat >conftest.$ac_ext <<_ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14359 #include <$ac_header>
14361 if { (ac_try="$ac_cpp conftest.$ac_ext"
14362 case "(($ac_try" in
14363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14364 *) ac_try_echo
=$ac_try;;
14366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14367 $as_echo "$ac_try_echo") >&5
14368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14370 grep -v '^ *+' conftest.er1
>conftest.err
14372 cat conftest.err
>&5
14373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } >/dev
/null
&& {
14375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14376 test ! -s conftest.err
14378 ac_header_preproc
=yes
14380 $as_echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 ac_header_preproc
=no
14386 rm -f conftest.err conftest.
$ac_ext
14387 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14388 $as_echo "$ac_header_preproc" >&6; }
14390 # So? What about this header?
14391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14394 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14396 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14397 ac_header_preproc
=yes
14400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14401 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14403 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14405 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14407 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14409 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14411 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14415 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14416 $as_echo_n "checking for $ac_header... " >&6; }
14417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14418 $as_echo_n "(cached) " >&6
14420 eval "$as_ac_Header=\$ac_header_preproc"
14422 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14423 $as_echo "$as_val"'`
14424 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14425 $as_echo "$ac_res" >&6; }
14428 as_val
=`eval 'as_val=${'$as_ac_Header'}
14429 $as_echo "$as_val"'`
14430 if test "x$as_val" = x
""yes; then
14431 cat >>confdefs.h
<<_ACEOF
14432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14436 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14437 $as_echo "$as_me: error: bailing out" >&2;}
14438 { (exit 1); exit 1; }; }
14445 if test x
$INTL = xyes
; then
14447 for ac_header
in libintl.h
14449 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14450 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14451 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 $as_echo_n "checking for $ac_header... " >&6; }
14453 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14454 $as_echo_n "(cached) " >&6
14456 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14457 $as_echo "$as_val"'`
14458 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14459 $as_echo "$ac_res" >&6; }
14461 # Is the header compilable?
14462 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14463 $as_echo_n "checking $ac_header usability... " >&6; }
14464 cat >conftest.
$ac_ext <<_ACEOF
14467 cat confdefs.h
>>conftest.
$ac_ext
14468 cat >>conftest.
$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 $ac_includes_default
14471 #include <$ac_header>
14473 rm -f conftest.
$ac_objext
14474 if { (ac_try
="$ac_compile"
14475 case "(($ac_try" in
14476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14480 $as_echo "$ac_try_echo") >&5
14481 (eval "$ac_compile") 2>conftest.er1
14483 grep -v '^ *+' conftest.er1 >conftest.err
14485 cat conftest.err >&5
14486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); } && {
14488 test -z "$ac_c_werror_flag" ||
14489 test ! -s conftest.err
14490 } && test -s conftest.$ac_objext; then
14491 ac_header_compiler=yes
14493 $as_echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 ac_header_compiler=no
14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14501 $as_echo "$ac_header_compiler" >&6; }
14503 # Is the header present?
14504 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14505 $as_echo_n "checking $ac_header presence... " >&6; }
14506 cat >conftest.$ac_ext <<_ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 #include <$ac_header>
14514 if { (ac_try="$ac_cpp conftest.$ac_ext"
14515 case "(($ac_try" in
14516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14517 *) ac_try_echo
=$ac_try;;
14519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14520 $as_echo "$ac_try_echo") >&5
14521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14523 grep -v '^ *+' conftest.er1
>conftest.err
14525 cat conftest.err
>&5
14526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); } >/dev
/null
&& {
14528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14529 test ! -s conftest.err
14531 ac_header_preproc
=yes
14533 $as_echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.
$ac_ext >&5
14536 ac_header_preproc
=no
14539 rm -f conftest.err conftest.
$ac_ext
14540 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14541 $as_echo "$ac_header_preproc" >&6; }
14543 # So? What about this header?
14544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14547 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14549 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14550 ac_header_preproc
=yes
14553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14554 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14556 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14558 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14560 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14562 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14564 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14568 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14569 $as_echo_n "checking for $ac_header... " >&6; }
14570 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14571 $as_echo_n "(cached) " >&6
14573 eval "$as_ac_Header=\$ac_header_preproc"
14575 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14576 $as_echo "$as_val"'`
14577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14578 $as_echo "$ac_res" >&6; }
14581 as_val
=`eval 'as_val=${'$as_ac_Header'}
14582 $as_echo "$as_val"'`
14583 if test "x$as_val" = x
""yes; then
14584 cat >>confdefs.h
<<_ACEOF
14585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14589 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14590 $as_echo "$as_me: error: bailing out" >&2;}
14591 { (exit 1); exit 1; }; }
14598 if test x
$HAVE_SELINUX = xyes
; then
14600 for ac_header
in selinux
/selinux.h
14602 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14604 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14605 $as_echo_n "checking for $ac_header... " >&6; }
14606 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14607 $as_echo_n "(cached) " >&6
14609 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14610 $as_echo "$as_val"'`
14611 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14612 $as_echo "$ac_res" >&6; }
14614 # Is the header compilable?
14615 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14616 $as_echo_n "checking $ac_header usability... " >&6; }
14617 cat >conftest.
$ac_ext <<_ACEOF
14620 cat confdefs.h
>>conftest.
$ac_ext
14621 cat >>conftest.
$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623 $ac_includes_default
14624 #include <$ac_header>
14626 rm -f conftest.
$ac_objext
14627 if { (ac_try
="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14633 $as_echo "$ac_try_echo") >&5
14634 (eval "$ac_compile") 2>conftest.er1
14636 grep -v '^ *+' conftest.er1 >conftest.err
14638 cat conftest.err >&5
14639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && {
14641 test -z "$ac_c_werror_flag" ||
14642 test ! -s conftest.err
14643 } && test -s conftest.$ac_objext; then
14644 ac_header_compiler=yes
14646 $as_echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14649 ac_header_compiler=no
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14654 $as_echo "$ac_header_compiler" >&6; }
14656 # Is the header present?
14657 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14658 $as_echo_n "checking $ac_header presence... " >&6; }
14659 cat >conftest.$ac_ext <<_ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 #include <$ac_header>
14667 if { (ac_try="$ac_cpp conftest.$ac_ext"
14668 case "(($ac_try" in
14669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14670 *) ac_try_echo
=$ac_try;;
14672 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14673 $as_echo "$ac_try_echo") >&5
14674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14676 grep -v '^ *+' conftest.er1
>conftest.err
14678 cat conftest.err
>&5
14679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } >/dev
/null
&& {
14681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14682 test ! -s conftest.err
14684 ac_header_preproc
=yes
14686 $as_echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.
$ac_ext >&5
14689 ac_header_preproc
=no
14692 rm -f conftest.err conftest.
$ac_ext
14693 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14694 $as_echo "$ac_header_preproc" >&6; }
14696 # So? What about this header?
14697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14700 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14702 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14703 ac_header_preproc
=yes
14706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14707 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14709 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14711 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14713 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14715 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14717 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14721 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14722 $as_echo_n "checking for $ac_header... " >&6; }
14723 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14724 $as_echo_n "(cached) " >&6
14726 eval "$as_ac_Header=\$ac_header_preproc"
14728 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14729 $as_echo "$as_val"'`
14730 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14731 $as_echo "$ac_res" >&6; }
14734 as_val
=`eval 'as_val=${'$as_ac_Header'}
14735 $as_echo "$as_val"'`
14736 if test "x$as_val" = x
""yes; then
14737 cat >>confdefs.h
<<_ACEOF
14738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14742 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14743 $as_echo "$as_me: error: bailing out" >&2;}
14744 { (exit 1); exit 1; }; }
14751 if test x
$UDEV_SYNC = xyes
; then
14754 for ac_header
in sys
/ipc.h sys
/sem.h
14756 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14757 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14758 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14759 $as_echo_n "checking for $ac_header... " >&6; }
14760 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14761 $as_echo_n "(cached) " >&6
14763 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14764 $as_echo "$as_val"'`
14765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14766 $as_echo "$ac_res" >&6; }
14768 # Is the header compilable?
14769 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14770 $as_echo_n "checking $ac_header usability... " >&6; }
14771 cat >conftest.
$ac_ext <<_ACEOF
14774 cat confdefs.h
>>conftest.
$ac_ext
14775 cat >>conftest.
$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 $ac_includes_default
14778 #include <$ac_header>
14780 rm -f conftest.
$ac_objext
14781 if { (ac_try
="$ac_compile"
14782 case "(($ac_try" in
14783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14787 $as_echo "$ac_try_echo") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1 >conftest.err
14792 cat conftest.err >&5
14793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest.$ac_objext; then
14798 ac_header_compiler=yes
14800 $as_echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14803 ac_header_compiler=no
14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14807 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14808 $as_echo "$ac_header_compiler" >&6; }
14810 # Is the header present?
14811 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14812 $as_echo_n "checking $ac_header presence... " >&6; }
14813 cat >conftest.$ac_ext <<_ACEOF
14816 cat confdefs.h >>conftest.$ac_ext
14817 cat >>conftest.$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 #include <$ac_header>
14821 if { (ac_try="$ac_cpp conftest.$ac_ext"
14822 case "(($ac_try" in
14823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14824 *) ac_try_echo
=$ac_try;;
14826 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14827 $as_echo "$ac_try_echo") >&5
14828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14830 grep -v '^ *+' conftest.er1
>conftest.err
14832 cat conftest.err
>&5
14833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } >/dev
/null
&& {
14835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14836 test ! -s conftest.err
14838 ac_header_preproc
=yes
14840 $as_echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.
$ac_ext >&5
14843 ac_header_preproc
=no
14846 rm -f conftest.err conftest.
$ac_ext
14847 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14848 $as_echo "$ac_header_preproc" >&6; }
14850 # So? What about this header?
14851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14854 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14856 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14857 ac_header_preproc
=yes
14860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14861 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14863 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14865 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14867 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14869 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14871 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14875 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14876 $as_echo_n "checking for $ac_header... " >&6; }
14877 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14878 $as_echo_n "(cached) " >&6
14880 eval "$as_ac_Header=\$ac_header_preproc"
14882 ac_res
=`eval 'as_val=${'$as_ac_Header'}
14883 $as_echo "$as_val"'`
14884 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14885 $as_echo "$ac_res" >&6; }
14888 as_val
=`eval 'as_val=${'$as_ac_Header'}
14889 $as_echo "$as_val"'`
14890 if test "x$as_val" = x
""yes; then
14891 cat >>confdefs.h
<<_ACEOF
14892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14896 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14897 $as_echo "$as_me: error: bailing out" >&2;}
14898 { (exit 1); exit 1; }; }
14905 ################################################################################
14906 # Extract the first word of "modprobe", so it can be a program name with args.
14907 set dummy modprobe
; ac_word
=$2
14908 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14909 $as_echo_n "checking for $ac_word... " >&6; }
14910 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
14911 $as_echo_n "(cached) " >&6
14913 case $MODPROBE_CMD in
14915 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
14918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14919 for as_dir
in $PATH
14922 test -z "$as_dir" && as_dir
=.
14923 for ac_exec_ext
in '' $ac_executable_extensions; do
14924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14925 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
14926 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14936 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
14937 if test -n "$MODPROBE_CMD"; then
14938 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
14939 $as_echo "$MODPROBE_CMD" >&6; }
14941 { $as_echo "$as_me:$LINENO: result: no" >&5
14942 $as_echo "no" >&6; }
14947 if test x
$MODPROBE_CMD != x
; then
14949 cat >>confdefs.h
<<_ACEOF
14950 #define MODPROBE_CMD "$MODPROBE_CMD"
14955 ################################################################################
14958 if test "$BUILD_DMEVENTD" = yes; then
14960 # Check whether --with-dmeventd-pidfile was given.
14961 if test "${with_dmeventd_pidfile+set}" = set; then
14962 withval
=$with_dmeventd_pidfile; cat >>confdefs.h
<<_ACEOF
14963 #define DMEVENTD_PIDFILE "$withval"
14967 cat >>confdefs.h
<<_ACEOF
14968 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
14977 if test "$BUILD_DMEVENTD" = yes; then
14978 dmeventd_prefix
="$exec_prefix"
14979 if test "x$dmeventd_prefix" = "xNONE"; then
14980 dmeventd_prefix
="$prefix"
14982 if test "x$dmeventd_prefix" = "xNONE"; then
14986 # Check whether --with-dmeventd-path was given.
14987 if test "${with_dmeventd_path+set}" = set; then
14988 withval
=$with_dmeventd_path; cat >>confdefs.h
<<_ACEOF
14989 #define DMEVENTD_PATH "$withval"
14993 cat >>confdefs.h
<<_ACEOF
14994 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15001 ################################################################################
15002 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15003 $as_echo_n "checking for kernel interface choice... " >&6; }
15005 # Check whether --with-interface was given.
15006 if test "${with_interface+set}" = set; then
15007 withval
=$with_interface; interface
="$withval"
15012 if [ "x$interface" != xioctl
];
15014 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15015 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15016 { (exit 1); exit 1; }; }
15018 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15019 $as_echo "$interface" >&6; }
15021 ################################################################################
15022 DM_LIB_VERSION
="\"`cat VERSION_DM 2>/dev/null || echo Unknown`\""
15024 cat >>confdefs.h
<<_ACEOF
15025 #define DM_LIB_VERSION $DM_LIB_VERSION
15029 DM_LIB_PATCHLEVEL
=`cat VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
15031 LVM_VERSION
="\"`cat VERSION 2>/dev/null || echo Unknown`\""
15034 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
15035 VER
=`echo "$VER" | $AWK '{print $1}'`
15036 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
15037 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
15038 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
15039 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
15040 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
15041 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
15043 ################################################################################
15125 ################################################################################
15126 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"
15128 cat >confcache
<<\_ACEOF
15129 # This file is a shell script that caches the results of configure
15130 # tests run on this system so they can be shared between configure
15131 # scripts and configure runs, see configure's option --config-cache.
15132 # It is not useful on other systems. If it contains results you don't
15133 # want to keep, you may remove or edit it.
15135 # config.status only pays attention to the cache file if you give it
15136 # the --recheck option to rerun configure.
15138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15140 # following values.
15144 # The following way of writing the cache mishandles newlines in values,
15145 # but we know of no workaround that is simple, portable, and efficient.
15146 # So, we kill variables containing newlines.
15147 # Ultrix sh set writes to stderr and can't be redirected directly,
15148 # and sets the high bit in the cache file unless we assign to the vars.
15150 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15151 eval ac_val
=\$
$ac_var
15155 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15159 _ | IFS | as_nl
) ;; #(
15160 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15161 *) $as_unset $ac_var ;;
15167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15168 *${as_nl}ac_space
=\
*)
15169 # `set' does not quote correctly, so add quotes (double-quote
15170 # substitution turns \\\\ into \\, and sed turns \\ into \).
15173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15176 # `set' quotes correctly as required by POSIX, so do not add quotes.
15177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15190 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15191 if test -w "$cache_file"; then
15192 test "x$cache_file" != "x/dev/null" &&
15193 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15194 $as_echo "$as_me: updating cache $cache_file" >&6;}
15195 cat confcache
>$cache_file
15197 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15198 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15203 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15204 # Let make expand exec_prefix.
15205 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15207 DEFS
=-DHAVE_CONFIG_H
15211 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15212 # 1. Remove the extension, and $U if already installed.
15213 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15214 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15216 # will be set to the directory where LIBOBJS objects are built.
15217 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15218 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15220 LIBOBJS
=$ac_libobjs
15222 LTLIBOBJS
=$ac_ltlibobjs
15226 : ${CONFIG_STATUS=./config.status}
15228 ac_clean_files_save
=$ac_clean_files
15229 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15230 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15231 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15232 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15234 # Generated by $as_me.
15235 # Run this file to recreate the current configuration.
15236 # Compiler output produced by configure, useful for debugging
15237 # configure, is in config.log if it exists.
15240 ac_cs_recheck=false
15242 SHELL=\${CONFIG_SHELL-$SHELL}
15245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15246 ## --------------------- ##
15247 ## M4sh Initialization. ##
15248 ## --------------------- ##
15250 # Be more Bourne compatible
15251 DUALCASE
=1; export DUALCASE
# for MKS sh
15252 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15255 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15256 # is contrary to our usage. Disable this feature.
15257 alias -g '${1+"$@"}'='"$@"'
15258 setopt NO_GLOB_SUBST
15260 case `(set -o) 2>/dev/null` in
15261 *posix
*) set -o posix
;;
15270 # Avoid depending upon Character Ranges.
15271 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15272 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15273 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15274 as_cr_digits
='0123456789'
15275 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15280 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15281 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15282 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15284 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15285 as_echo='printf %s
\n'
15286 as_echo_n='printf %s
'
15288 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15289 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15290 as_echo_n='/usr
/ucb
/echo -n'
15292 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15293 as_echo_n_body='eval
15297 expr "X$arg" : "X\\(.*\\)$as_nl";
15298 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15300 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15302 export as_echo_n_body
15303 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15305 export as_echo_body
15306 as_echo='sh
-c $as_echo_body as_echo
'
15309 # The user is always right.
15310 if test "${PATH_SEPARATOR+set}" != set; then
15312 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15313 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15318 # Support unset when possible.
15319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15327 # We need space, tab and new line, in precisely that order. Quoting is
15328 # there to prevent editors from complaining about space-tab.
15329 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15330 # splitting by setting IFS to empty value.)
15333 # Find who we are. Look in the path if we contain no directory separator.
15335 *[\\/]* ) as_myself=$0 ;;
15336 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15337 for as_dir in $PATH
15340 test -z "$as_dir" && as_dir=.
15341 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15347 # We did not find ourselves, most probably we were run as `sh COMMAND'
15348 # in which case we are not to be found in the path.
15349 if test "x$as_myself" = x
; then
15352 if test ! -f "$as_myself"; then
15353 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15354 { (exit 1); exit 1; }
15357 # Work around bugs in pre-3.0 UWIN ksh.
15358 for as_var
in ENV MAIL MAILPATH
15359 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15371 # Required to use basename.
15372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15380 as_basename
=basename
15386 # Name of the executable.
15387 as_me
=`$as_basename -- "$0" ||
15388 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15389 X"$0" : 'X\(//\)$' \| \
15390 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15392 sed '/^.*\/\([^/][^/]*\)\/*$/{
15411 as_lineno_1
=$LINENO
15412 as_lineno_2
=$LINENO
15413 test "x$as_lineno_1" != "x$as_lineno_2" &&
15414 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15416 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15417 # uniformly replaced by the line number. The first 'sed' inserts a
15418 # line-number line after each line using $LINENO; the second 'sed'
15419 # does the real work. The second script uses 'N' to pair each
15420 # line-number line with the line containing $LINENO, and appends
15421 # trailing '-' during substitution so that $LINENO is not a special
15422 # case at line end.
15423 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15424 # scripts with optimization help from Paolo Bonzini. Blame Lee
15425 # E. McMahon (1931-1989) for sed's syntax. :-)
15437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15440 ' >$as_me.lineno
&&
15441 chmod +x
"$as_me.lineno" ||
15442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15443 { (exit 1); exit 1; }; }
15445 # Don't try to exec as it changes $[0], causing all sort of problems
15446 # (the dirname of $[0] is not the place where we might find the
15447 # original and so on. Autoconf is especially sensitive to this).
15448 .
"./$as_me.lineno"
15449 # Exit status is that of the last command.
15454 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15460 ECHO_C
= ECHO_N
= ECHO_T
=
15461 case `echo -n x` in
15463 case `echo 'x\c'` in
15464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15470 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15471 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15477 rm -f conf$$ conf$$.exe conf$$.
file
15478 if test -d conf$$.dir
; then
15479 rm -f conf$$.dir
/conf$$.
file
15482 mkdir conf$$.dir
2>/dev
/null
15484 if (echo >conf$$.
file) 2>/dev
/null
; then
15485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15487 # ... but there are two gotchas:
15488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15490 # In both cases, we have to default to `cp -p'.
15491 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15493 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15501 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15502 rmdir conf$$.dir
2>/dev
/null
15504 if mkdir
-p .
2>/dev
/null
; then
15507 test -d .
/-p && rmdir .
/-p
15511 if test -x / >/dev
/null
2>&1; then
15512 as_test_x
='test -x'
15514 if ls -dL / >/dev
/null
2>&1; then
15521 if test -d "$1"; then
15527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15528 ???[sx]*):;;*)false;;esac;fi
15532 as_executable_p
=$as_test_x
15534 # Sed expression to map a string onto a valid CPP name.
15535 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15537 # Sed expression to map a string onto a valid variable name.
15538 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15543 # Save the log message, to keep $[0] and so on meaningful, and to
15544 # report actual input values of CONFIG_FILES etc. instead of their
15545 # values after options handling.
15547 This file was extended by $as_me, which was
15548 generated by GNU Autoconf 2.63. Invocation command line was
15550 CONFIG_FILES = $CONFIG_FILES
15551 CONFIG_HEADERS = $CONFIG_HEADERS
15552 CONFIG_LINKS = $CONFIG_LINKS
15553 CONFIG_COMMANDS = $CONFIG_COMMANDS
15556 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15561 case $ac_config_files in *"
15562 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15565 case $ac_config_headers in *"
15566 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15571 # Files that config.status was made for.
15572 config_files="$ac_config_files"
15573 config_headers="$ac_config_headers"
15577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15579 \`$as_me' instantiates files from templates according to the
15580 current configuration.
15582 Usage: $0 [OPTION]... [FILE]...
15584 -h, --help print this help, then exit
15585 -V, --version print version number and configuration settings, then exit
15586 -q, --quiet, --silent
15587 do not print progress messages
15588 -d, --debug don't remove temporary files
15589 --recheck update $as_me by reconfiguring in the same conditions
15590 --file=FILE[:TEMPLATE]
15591 instantiate the configuration file FILE
15592 --header=FILE[:TEMPLATE]
15593 instantiate the configuration header FILE
15595 Configuration files:
15598 Configuration headers:
15601 Report bugs to <bug-autoconf@gnu.org>."
15604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15607 configured by $0, generated by GNU Autoconf 2.63,
15608 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15610 Copyright (C) 2008 Free Software Foundation, Inc.
15611 This config.status script is free software; the Free Software Foundation
15612 gives unlimited permission to copy, distribute and modify it."
15619 test -n "\$AWK" || AWK=awk
15622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15623 # The default lists apply if the user does not specify any file.
15629 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15630 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15641 # Handling of the options.
15642 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15644 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15645 $as_echo "$ac_cs_version"; exit ;;
15646 --debug |
--debu |
--deb |
--de |
--d |
-d )
15648 --file |
--fil |
--fi |
--f )
15651 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15653 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
15654 ac_need_defaults
=false
;;
15655 --header |
--heade |
--head |
--hea )
15658 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15660 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
15661 ac_need_defaults
=false
;;
15663 # Conflict between --help and --header
15664 { $as_echo "$as_me: error: ambiguous option: $1
15665 Try \`$0 --help' for more information." >&2
15666 { (exit 1); exit 1; }; };;
15667 --help |
--hel |
-h )
15668 $as_echo "$ac_cs_usage"; exit ;;
15669 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15670 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15673 # This is an error.
15674 -*) { $as_echo "$as_me: error: unrecognized option: $1
15675 Try \`$0 --help' for more information." >&2
15676 { (exit 1); exit 1; }; } ;;
15678 *) ac_config_targets
="$ac_config_targets $1"
15679 ac_need_defaults
=false
;;
15685 ac_configure_extra_args
=
15687 if $ac_cs_silent; then
15689 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15694 if \$ac_cs_recheck; then
15695 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15697 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15698 CONFIG_SHELL='$SHELL'
15699 export CONFIG_SHELL
15704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15708 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15709 ## Running $as_me. ##
15715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15720 # Handling of arguments.
15721 for ac_config_target
in $ac_config_targets
15723 case $ac_config_target in
15724 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
15725 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15726 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
15727 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
15728 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
15729 "daemons/clogd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clogd/Makefile" ;;
15730 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
15731 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
15732 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
15733 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
15734 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
15735 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15736 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15737 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
15738 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
15739 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
15740 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
15741 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
15742 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
15743 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
15744 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
15745 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
15746 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
15747 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
15748 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
15749 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
15750 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
15751 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
15752 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
15753 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
15754 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
15755 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
15757 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15758 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15759 { (exit 1); exit 1; }; };;
15764 # If the user did not use the arguments to specify the items to instantiate,
15765 # then the envvar interface is used. Set only those that are not.
15766 # We use the long form for the default assignment because of an extremely
15767 # bizarre bug on SunOS 4.1.3.
15768 if $ac_need_defaults; then
15769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15773 # Have a temporary directory for convenience. Make it in the build tree
15774 # simply because there is no reason against having it here, and in addition,
15775 # creating and moving files from /tmp can sometimes cause problems.
15776 # Hook for its removal unless debugging.
15777 # Note that there is a small window in which the directory will not be cleaned:
15778 # after its creation but before its name has been assigned to `$tmp'.
15782 trap 'exit_status=$?
15783 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15785 trap '{ (exit 1); exit 1; }' 1 2 13 15
15787 # Create a (secure) tmp directory for tmp files.
15790 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15791 test -n "$tmp" && test -d "$tmp"
15794 tmp
=.
/conf$$
-$RANDOM
15795 (umask 077 && mkdir
"$tmp")
15798 $as_echo "$as_me: cannot create a temporary directory in ." >&2
15799 { (exit 1); exit 1; }
15802 # Set up the scripts for CONFIG_FILES section.
15803 # No need to generate them if there are no CONFIG_FILES.
15804 # This happens for instance with `./config.status config.h'.
15805 if test -n "$CONFIG_FILES"; then
15809 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15810 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15813 ac_cs_awk_cr
=$ac_cr
15816 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15821 echo "cat >conf$$subs.awk <<_ACEOF" &&
15822 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15824 } >conf$$subs.sh ||
15825 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15826 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15827 { (exit 1); exit 1; }; }
15828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15830 for ac_last_try in false false false false false :; do
15831 . ./conf$$subs.sh ||
15832 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15833 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15834 { (exit 1); exit 1; }; }
15836 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15837 if test $ac_delim_n = $ac_delim_num; then
15839 elif $ac_last_try; then
15840 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15841 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15842 { (exit 1); exit 1; }; }
15844 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15847 rm -f conf$$subs.sh
15849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15850 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15854 s/^/S["/; s
/!.
*/"]=/
15864 s/\(.\{148\}\).*/\1/
15866 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15871 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15878 s/\(.\{148\}\).*/\1/
15880 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15884 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15889 ' <conf$$subs.awk | sed '
15894 ' >>$CONFIG_STATUS || ac_write_fail=1
15895 rm -f conf$$subs.awk
15896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15898 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15899 for (key in S) S_is_set[key] = 1
15905 nfields = split(line, field, "@
")
15907 len = length(field[1])
15908 for (i = 2; i < nfields; i++) {
15910 keylen = length(key)
15911 if (S_is_set[key]) {
15913 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15914 len += length(value) + length(field[++i])
15925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15926 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15927 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15930 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15931 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
15932 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
15933 { (exit 1); exit 1; }; }
15936 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15937 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15938 # trailing colons and then remove the whole line if VPATH becomes empty
15939 # (actually we leave an empty line to preserve line numbers).
15940 if test "x
$srcdir" = x.; then
15941 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15942 s/:*\$(srcdir):*/:/
15943 s/:*\${srcdir}:*/:/
15945 s/^\([^=]*=[ ]*\):*/\1/
15951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15952 fi # test -n "$CONFIG_FILES"
15954 # Set up the scripts for CONFIG_HEADERS section.
15955 # No need to generate them if there are no CONFIG_HEADERS.
15956 # This happens for instance with `./config.status Makefile'.
15957 if test -n "$CONFIG_HEADERS"; then
15958 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15962 # Transform confdefs.h into an awk script `defines.awk', embedded as
15963 # here-document in config.status, that substitutes the proper values into
15964 # config.h.in to produce config.h.
15966 # Create a delimiter string that does not exist in confdefs.h, to ease
15967 # handling of long lines.
15969 for ac_last_try in false false :; do
15970 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15971 if test -z "$ac_t"; then
15973 elif $ac_last_try; then
15974 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
15975 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
15976 { (exit 1); exit 1; }; }
15978 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15982 # For the awk script, D is an array of macro values keyed by name,
15983 # likewise P contains macro parameters if any. Preserve backslash
15984 # newline sequences.
15986 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15988 s/.\{148\}/&'"$ac_delim"'/g
15991 s/^[ ]*#[ ]*define[ ][ ]*/ /
15998 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16000 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16004 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16005 D["\
1"]=" \
3\\\\\\n
"\\/p
16007 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16012 s/.\{148\}/&'"$ac_delim"'/g
16017 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16020 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16022 ' <confdefs.h | sed '
16023 s/'"$ac_delim"'/"\\\
16024 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16027 for (key in D) D_is_set[key] = 1
16030 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16032 split(line, arg, " ")
16033 if (arg[1] == "#") {
16037 defundef
= substr
(arg
[1], 2)
16040 split(mac1
, mac2
, "(") #)
16042 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16043 if (D_is_set
[macro
]) {
16044 # Preserve the white space surrounding the "#".
16045 print prefix
"define", macro P
[macro
] D
[macro
]
16048 # Replace #undef with comments. This is necessary, for example,
16049 # in the case of _POSIX_SOURCE, which is predefined and required
16050 # on some systems where configure will not decide to define it.
16051 if (defundef
== "undef") {
16052 print
"/*", prefix defundef
, macro
, "*/"
16060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16061 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16062 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16063 { (exit 1); exit 1; }; }
16064 fi # test -n "$CONFIG_HEADERS"
16067 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16072 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16074 case $ac_mode$ac_tag in
16076 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16077 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16078 { (exit 1); exit 1; }; };;
16079 :[FH
]-) ac_tag
=-:-;;
16080 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16097 -) ac_f
="$tmp/stdin";;
16098 *) # Look for the file first in the build tree, then in the source tree
16099 # (if the path is not absolute). The absolute path cannot be DOS-style,
16100 # because $ac_f cannot contain `:'.
16104 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16106 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16107 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16108 { (exit 1); exit 1; }; };;
16110 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16111 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16114 # Let's still pretend it is `configure' which instantiates (i.e., don't
16115 # use $as_me), people would be surprised to read:
16116 # /* config.h. Generated by config.status. */
16117 configure_input
='Generated from '`
16118 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16120 if test x
"$ac_file" != x-
; then
16121 configure_input
="$ac_file. $configure_input"
16122 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16123 $as_echo "$as_me: creating $ac_file" >&6;}
16125 # Neutralize special characters interpreted by sed in replacement strings.
16126 case $configure_input in #(
16127 *\
&* |
*\|
* |
*\\* )
16128 ac_sed_conf_input
=`$as_echo "$configure_input" |
16129 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16130 *) ac_sed_conf_input
=$configure_input;;
16134 *:-:* |
*:-) cat >"$tmp/stdin" \
16135 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16136 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16137 { (exit 1); exit 1; }; } ;;
16142 ac_dir
=`$as_dirname -- "$ac_file" ||
16143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16144 X"$ac_file" : 'X\(//\)[^/]' \| \
16145 X"$ac_file" : 'X\(//\)$' \| \
16146 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16147 $as_echo X"$ac_file" |
16148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16152 /^X\(\/\/\)[^/].*/{
16167 -*) as_dir
=.
/$as_dir;;
16169 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16173 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16174 *) as_qdir
=$as_dir;;
16176 as_dirs
="'$as_qdir' $as_dirs"
16177 as_dir
=`$as_dirname -- "$as_dir" ||
16178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16179 X"$as_dir" : 'X\(//\)[^/]' \| \
16180 X"$as_dir" : 'X\(//\)$' \| \
16181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16182 $as_echo X"$as_dir" |
16183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16187 /^X\(\/\/\)[^/].*/{
16200 test -d "$as_dir" && break
16202 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16203 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16204 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16205 { (exit 1); exit 1; }; }; }
16209 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16211 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16212 # A ".." for each directory in $ac_dir_suffix.
16213 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16214 case $ac_top_builddir_sub in
16215 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16216 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16219 ac_abs_top_builddir
=$ac_pwd
16220 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16221 # for backward compatibility:
16222 ac_top_builddir
=$ac_top_build_prefix
16225 .
) # We are building in place.
16227 ac_top_srcdir
=$ac_top_builddir_sub
16228 ac_abs_top_srcdir
=$ac_pwd ;;
16229 [\\/]* | ?
:[\\/]* ) # Absolute name.
16230 ac_srcdir
=$srcdir$ac_dir_suffix;
16231 ac_top_srcdir
=$srcdir
16232 ac_abs_top_srcdir
=$srcdir ;;
16233 *) # Relative name.
16234 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16235 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16236 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16238 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16248 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16249 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16251 ac_MKDIR_P
=$MKDIR_P
16253 [\\/$
]* | ?
:[\\/]* ) ;;
16254 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16259 # If the template does not know about datarootdir, expand it.
16260 # FIXME: This hack should be removed a few years after 2.60.
16261 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16274 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16275 *datarootdir
*) ac_datarootdir_seen
=yes;;
16276 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16277 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16278 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16281 ac_datarootdir_hack='
16282 s&@datadir@&$datadir&g
16283 s&@docdir@&$docdir&g
16284 s&@infodir@&$infodir&g
16285 s&@localedir@&$localedir&g
16286 s&@mandir@&$mandir&g
16287 s&\\\${datarootdir}&$datarootdir&g' ;;
16291 # Neutralize VPATH when `$srcdir' = `.'.
16292 # Shell code in configure.ac might set extrasub.
16293 # FIXME: do we really want to maintain this feature?
16294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16295 ac_sed_extra="$ac_vpsub
16298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16300 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16301 s|@configure_input@|
$ac_sed_conf_input|
;t t
16302 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16303 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16304 s
&@srcdir@
&$ac_srcdir&;t t
16305 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16306 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16307 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16308 s
&@builddir@
&$ac_builddir&;t t
16309 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16310 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16311 s
&@INSTALL@
&$ac_INSTALL&;t t
16312 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16313 $ac_datarootdir_hack
16315 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16316 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16317 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16318 { (exit 1); exit 1; }; }
16320 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16321 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16322 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16323 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16324 which seems to be undefined. Please make sure it is defined." >&5
16325 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16326 which seems to be undefined. Please make sure it is defined." >&2;}
16330 -) cat "$tmp/out" && rm -f "$tmp/out";;
16331 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16333 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16334 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16335 { (exit 1); exit 1; }; }
16341 if test x"$ac_file" != x-; then
16343 $as_echo "/* $configure_input */" \
16344 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16345 } >"$tmp/config.h" \
16346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16347 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16348 { (exit 1); exit 1; }; }
16349 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16350 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16351 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16354 mv "$tmp/config.h" "$ac_file" \
16355 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16356 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16357 { (exit 1); exit 1; }; }
16360 $as_echo "/* $configure_input */" \
16361 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16362 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16363 $as_echo "$as_me: error: could not create -" >&2;}
16364 { (exit 1); exit 1; }; }
16374 { (exit 0); exit 0; }
16376 chmod +x $CONFIG_STATUS
16377 ac_clean_files=$ac_clean_files_save
16379 test $ac_write_fail = 0 ||
16380 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16381 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16382 { (exit 1); exit 1; }; }
16385 # configure is writing to config.log, and then calls config.status.
16386 # config.status does its own redirection, appending to config.log.
16387 # Unfortunately, on DOS this fails, as config.log is still kept open
16388 # by configure, so config.status won't be able to
write to it
; its
16389 # output is simply discarded. So we exec the FD to /dev/null,
16390 # effectively closing config.log, so it can be properly (re)opened and
16391 # appended to by config.status. When coming back to configure, we
16392 # need to make the FD available again.
16393 if test "$no_create" != yes; then
16395 ac_config_status_args
=
16396 test "$silent" = yes &&
16397 ac_config_status_args
="$ac_config_status_args --quiet"
16399 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16401 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16402 # would make configure fail if this is the last instruction.
16403 $ac_cs_success ||
{ (exit 1); exit 1; }
16405 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16406 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16407 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16411 if test x
$ODIRECT != xyes
; then
16412 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16413 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}