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
793 program_transform_name
805 enable_option_checking
822 with_cmirrord_pidfile
847 with_dmeventd_pidfile
851 ac_precious_vars
='build_alias
885 # Initialize some variables set by options.
887 ac_init_version
=false
888 ac_unrecognized_opts
=
890 # The variables have the same names as the options, with
891 # dashes changed to underlines.
899 program_transform_name
=s
,x
,x
,
907 # Installation directory options.
908 # These are left unexpanded so users can "make install exec_prefix=/foo"
909 # and all the variables that are supposed to be based on exec_prefix
910 # by default will actually change.
911 # Use braces instead of parens because sh, perl, etc. also accept them.
912 # (The list follows the same order as the GNU Coding Standards.)
913 bindir
='${exec_prefix}/bin'
914 sbindir
='${exec_prefix}/sbin'
915 libexecdir
='${exec_prefix}/libexec'
916 datarootdir
='${prefix}/share'
917 datadir
='${datarootdir}'
918 sysconfdir
='${prefix}/etc'
919 sharedstatedir
='${prefix}/com'
920 localstatedir
='${prefix}/var'
921 includedir
='${prefix}/include'
922 oldincludedir
='/usr/include'
923 docdir
='${datarootdir}/doc/${PACKAGE}'
924 infodir
='${datarootdir}/info'
929 libdir
='${exec_prefix}/lib'
930 localedir
='${datarootdir}/locale'
931 mandir
='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\
$ac_option
945 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 # Accept the important Cygnus configure options, so we can diagnose typos.
951 case $ac_dashdash$ac_option in
955 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
957 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
960 -build |
--build |
--buil |
--bui |
--bu)
961 ac_prev
=build_alias
;;
962 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
963 build_alias
=$ac_optarg ;;
965 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
966 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
967 ac_prev
=cache_file
;;
968 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
969 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
970 cache_file
=$ac_optarg ;;
973 cache_file
=config.cache
;;
975 -datadir |
--datadir |
--datadi |
--datad)
977 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
978 datadir
=$ac_optarg ;;
980 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
981 |
--dataroo |
--dataro |
--datar)
982 ac_prev
=datarootdir
;;
983 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
984 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
985 datarootdir
=$ac_optarg ;;
987 -disable-* |
--disable-*)
988 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
991 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
992 { (exit 1); exit 1; }; }
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=no
;;
1004 -docdir |
--docdir |
--docdi |
--doc |
--do)
1006 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1007 docdir
=$ac_optarg ;;
1009 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1011 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1012 dvidir
=$ac_optarg ;;
1014 -enable-* |
--enable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1019 { (exit 1); exit 1; }; }
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1223 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1241 { (exit 1); exit 1; }; }
1242 ac_useropt_orig
=$ac_useropt
1243 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244 case $ac_user_opts in
1248 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1249 ac_unrecognized_sep
=', ';;
1251 eval with_
$ac_useropt=no
;;
1254 # Obsolete; use --with-x.
1257 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1258 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1259 ac_prev
=x_includes
;;
1260 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1261 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1262 x_includes
=$ac_optarg ;;
1264 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1265 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1266 ac_prev
=x_libraries
;;
1267 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1268 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1269 x_libraries
=$ac_optarg ;;
1271 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1272 Try \`$0 --help' for more information." >&2
1273 { (exit 1); exit 1; }; }
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1280 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1281 { (exit 1); exit 1; }; }
1282 eval $ac_envvar=\
$ac_optarg
1283 export $ac_envvar ;;
1286 # FIXME: should be removed in autoconf 3.0.
1287 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1289 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296 if test -n "$ac_prev"; then
1297 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1298 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1299 { (exit 1); exit 1; }; }
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1306 { (exit 1); exit 1; }; } ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1318 # Remove trailing slashes.
1321 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\
$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$
]* | ?
:[\\/]* ) continue;;
1327 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1329 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1330 { (exit 1); exit 1; }; }
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1338 target
=$target_alias
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x
; then
1342 if test "x$build_alias" = x
; then
1343 cross_compiling
=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1352 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1354 test "$silent" = yes && exec 6>/dev
/null
1357 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di
=`ls -di .` &&
1359 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1360 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1361 { (exit 1); exit 1; }; }
1362 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1364 { (exit 1); exit 1; }; }
1367 # Find the source files, if location was not specified.
1368 if test -z "$srcdir"; then
1369 ac_srcdir_defaulted
=yes
1370 # Try the directory containing this script, then the parent directory.
1371 ac_confdir
=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373 X"$as_myself" : 'X\(//\)[^/]' \| \
1374 X"$as_myself" : 'X\(//\)$' \| \
1375 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1376 $as_echo X"$as_myself" |
1377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1399 ac_srcdir_defaulted
=no
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1402 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1403 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1404 { (exit 1); exit 1; }; }
1406 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1409 { (exit 1); exit 1; }; }
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1419 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 for ac_var
in $ac_precious_vars; do
1422 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1423 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1424 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1429 # Report the --help message.
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1435 \`configure' configures this package to adapt to many kinds of systems.
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1442 Defaults for the options are specified in brackets.
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1466 For better control, use the options below.
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1493 --build=BUILD configure
for building on BUILD
[guessed
]
1494 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1495 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1499 if test -n "$ac_init_help"; then
1504 --disable-option-checking ignore unrecognized
--enable/--with options
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --enable-static_link Use this to link the tools to their libraries
1508 statically. Default is dynamic linking
1509 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1510 device-mapper is missing from the kernel
1511 --disable-readline Disable readline support
1512 --enable-realtime Enable realtime
clock support
1513 --enable-cmirrord Enable the cluster mirror log daemon
1514 --enable-debug Enable debugging
1515 --enable-profiling Gather gcov profiling data
1516 --disable-devmapper Disable LVM2 device-mapper interaction
1517 --enable-udev_sync Enable synchronisation with udev processing
1518 --enable-udev_rules Install rule files needed
for udev synchronisation
1519 --enable-compat Enable support
for old device-mapper versions
1520 --enable-units-compat Enable output compatibility with old versions that
1521 that don
't use KiB-style unit suffixes
1522 --disable-driver Disable calls to device-mapper in the kernel
1523 --disable-o_direct Disable O_DIRECT
1524 --enable-applib Build application library
1525 --enable-cmdlib Build shared command library
1526 --enable-pkgconfig Install pkgconfig support
1527 --enable-fsadm Enable fsadm
1528 --enable-dmeventd Enable the device-mapper event daemon
1529 --disable-selinux Disable selinux support
1530 --enable-nls Enable Native Language Support
1533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1535 --with-user=USER Set the owner of installed files [USER=]
1536 --with-group=GROUP Set the group owner of installed files [GROUP=]
1537 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1538 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1539 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1540 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1542 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1544 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1546 --with-snapshots=TYPE Snapshot support: internal/shared/none
1548 --with-mirrors=TYPE Mirror support: internal/shared/none
1550 --with-clvmd=TYPE Build cluster LVM Daemon.
1551 The following cluster manager combinations are valid:
1552 * cman,gulm (RHEL4 or equivalent)
1553 * cman (RHEL5 or equivalent)
1554 * cman,corosync,openais (or selection of them)
1556 * none (disable build)
1558 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1559 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1560 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1561 --with-confdir=DIR Configuration files in DIR [/etc]
1562 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1563 --with-usrlibdir=DIR
1564 --with-usrsbindir=DIR
1565 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1566 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1567 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1568 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1569 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1571 Some influential environment variables:
1572 CC C compiler command
1573 CFLAGS C compiler flags
1574 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1575 nonstandard directory <lib dir>
1576 LIBS libraries to pass to the linker, e.g. -l<library>
1577 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1578 you have headers in a nonstandard directory <include dir>
1580 PKG_CONFIG path to pkg-config utility
1581 PKGCONFIGINIT_CFLAGS
1582 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1584 linker flags for PKGCONFIGINIT, overriding pkg-config
1585 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1586 CCS_LIBS linker flags for CCS, overriding pkg-config
1587 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1588 GULM_LIBS linker flags for GULM, overriding pkg-config
1589 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1590 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1592 C compiler flags for COROSYNC, overriding pkg-config
1594 linker flags for COROSYNC, overriding pkg-config
1596 C compiler flags for QUORUM, overriding pkg-config
1597 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1599 C compiler flags for SALCK, overriding pkg-config
1600 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1602 C compiler flags for CONFDB, overriding pkg-config
1603 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1604 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1605 CPG_LIBS linker flags for CPG, overriding pkg-config
1606 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1607 DLM_LIBS linker flags for DLM, overriding pkg-config
1609 C compiler flags for SACKPT, overriding pkg-config
1610 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1612 Use these variables to override the choices made by `configure' or to
help
1613 it to
find libraries and programs with nonstandard names
/locations.
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1628 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1630 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1635 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1638 ac_abs_top_builddir
=$ac_pwd
1639 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir
=$ac_top_build_prefix
1644 .
) # We are building in place.
1646 ac_top_srcdir
=$ac_top_builddir_sub
1647 ac_abs_top_srcdir
=$ac_pwd ;;
1648 [\\/]* | ?
:[\\/]* ) # Absolute name.
1649 ac_srcdir
=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir
=$srcdir
1651 ac_abs_top_srcdir
=$srcdir ;;
1653 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1657 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1678 generated by GNU Autoconf
2.63
1680 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1681 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1682 This configure
script is free software
; the Free Software Foundation
1683 gives unlimited permission to copy
, distribute and modify it.
1687 cat >config.log
<<_ACEOF
1688 This file contains any messages produced by compilers while
1689 running configure, to aid debugging if configure makes a mistake.
1691 It was created by $as_me, which was
1692 generated by GNU Autoconf 2.63. Invocation command line was
1704 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1705 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1706 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1707 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1708 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1710 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1711 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1713 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1714 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1715 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1716 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1717 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1718 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1719 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1727 test -z "$as_dir" && as_dir
=.
1728 $as_echo "PATH: $as_dir"
1744 # Keep a trace of the command line.
1745 # Strip out --no-create and --no-recursion so they do not pile up.
1746 # Strip out --silent because we don't want to record it for future runs.
1747 # Also quote any args containing shell meta-characters.
1748 # Make two passes to allow for proper duplicate-argument suppression.
1752 ac_must_keep_next
=false
1758 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1759 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1760 |
-silent |
--silent |
--silen |
--sile |
--sil)
1763 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1768 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1769 if test $ac_must_keep_next = true
; then
1770 ac_must_keep_next
=false
# Got value, back to normal.
1773 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1774 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1775 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1776 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1777 case "$ac_configure_args0 " in
1778 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1781 -* ) ac_must_keep_next
=true
;;
1784 ac_configure_args
="$ac_configure_args '$ac_arg'"
1789 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1790 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1792 # When interrupted or exit'd, cleanup temporary files, and complete
1793 # config.log. We remove comments because anyway the quotes in there
1794 # would cause problems or look ugly.
1795 # WARNING: Use '\'' to represent an apostrophe within the trap.
1796 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1797 trap 'exit_status=$?
1798 # Save into config.log some information that might help in debugging.
1803 ## ---------------- ##
1804 ## Cache variables. ##
1805 ## ---------------- ##
1808 # The following way of writing the cache mishandles newlines in values,
1810 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1811 eval ac_val=\$$ac_var
1815 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1816 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1819 _ | IFS | as_nl) ;; #(
1820 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1821 *) $as_unset $ac_var ;;
1826 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1827 *${as_nl}ac_space=\ *)
1829 "s/'\''/'\''\\\\'\'''\''/g;
1830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1841 ## ----------------- ##
1842 ## Output variables. ##
1843 ## ----------------- ##
1846 for ac_var in $ac_subst_vars
1848 eval ac_val=\$$ac_var
1850 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1852 $as_echo "$ac_var='\''$ac_val'\''"
1856 if test -n "$ac_subst_files"; then
1858 ## ------------------- ##
1859 ## File substitutions. ##
1860 ## ------------------- ##
1863 for ac_var
in $ac_subst_files
1865 eval ac_val
=\$
$ac_var
1867 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1869 $as_echo "$ac_var='\''$ac_val'\''"
1874 if test -s confdefs.h; then
1884 test "$ac_signal" != 0 &&
1885 $as_echo "$as_me: caught signal $ac_signal"
1886 $as_echo "$as_me: exit $exit_status"
1888 rm -f core *.core core.conftest.* &&
1889 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1892 for ac_signal
in 1 2 13 15; do
1893 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1897 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1898 rm -f -r conftest
* confdefs.h
1900 # Predefined preprocessor variables.
1902 cat >>confdefs.h
<<_ACEOF
1903 #define PACKAGE_NAME "$PACKAGE_NAME"
1907 cat >>confdefs.h
<<_ACEOF
1908 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1912 cat >>confdefs.h
<<_ACEOF
1913 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1917 cat >>confdefs.h
<<_ACEOF
1918 #define PACKAGE_STRING "$PACKAGE_STRING"
1922 cat >>confdefs.h
<<_ACEOF
1923 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1927 # Let the site file select an alternate cache file if it wants to.
1928 # Prefer an explicitly selected file to automatically selected ones.
1931 if test -n "$CONFIG_SITE"; then
1932 ac_site_file1
=$CONFIG_SITE
1933 elif test "x$prefix" != xNONE
; then
1934 ac_site_file1
=$prefix/share
/config.site
1935 ac_site_file2
=$prefix/etc
/config.site
1937 ac_site_file1
=$ac_default_prefix/share
/config.site
1938 ac_site_file2
=$ac_default_prefix/etc
/config.site
1940 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1942 test "x$ac_site_file" = xNONE
&& continue
1943 if test -r "$ac_site_file"; then
1944 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1945 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1946 sed 's/^/| /' "$ac_site_file" >&5
1951 if test -r "$cache_file"; then
1952 # Some versions of bash will fail to source /dev/null (special
1953 # files actually), so we avoid doing that.
1954 if test -f "$cache_file"; then
1955 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1956 $as_echo "$as_me: loading cache $cache_file" >&6;}
1958 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1959 *) .
"./$cache_file";;
1963 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1964 $as_echo "$as_me: creating cache $cache_file" >&6;}
1968 # Check that the precious variables saved in the cache have kept the same
1970 ac_cache_corrupted
=false
1971 for ac_var
in $ac_precious_vars; do
1972 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1973 eval ac_new_set
=\
$ac_env_${ac_var}_set
1974 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1975 eval ac_new_val
=\
$ac_env_${ac_var}_value
1976 case $ac_old_set,$ac_new_set in
1978 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1979 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1980 ac_cache_corrupted
=: ;;
1982 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1984 ac_cache_corrupted
=: ;;
1987 if test "x$ac_old_val" != "x$ac_new_val"; then
1988 # differences in whitespace do not lead to failure.
1989 ac_old_val_w
=`echo x $ac_old_val`
1990 ac_new_val_w
=`echo x $ac_new_val`
1991 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1992 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1993 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1994 ac_cache_corrupted
=:
1996 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1997 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1998 eval $ac_var=\
$ac_old_val
2000 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2001 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2002 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2003 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2006 # Pass precious variables to config.status.
2007 if test "$ac_new_set" = set; then
2009 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 *) ac_arg
=$ac_var=$ac_new_val ;;
2012 case " $ac_configure_args " in
2013 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2014 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2018 if $ac_cache_corrupted; then
2019 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2021 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2022 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2023 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2024 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2025 { (exit 1); exit 1; }; }
2045 ac_cpp
='$CPP $CPPFLAGS'
2046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2052 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2055 ################################################################################
2057 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2058 if test -f "$ac_dir/install-sh"; then
2060 ac_install_sh
="$ac_aux_dir/install-sh -c"
2062 elif test -f "$ac_dir/install.sh"; then
2064 ac_install_sh
="$ac_aux_dir/install.sh -c"
2066 elif test -f "$ac_dir/shtool"; then
2068 ac_install_sh
="$ac_aux_dir/shtool install -c"
2072 if test -z "$ac_aux_dir"; then
2073 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2074 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2075 { (exit 1); exit 1; }; }
2078 # These three variables are undocumented and unsupported,
2079 # and are intended to be withdrawn in a future Autoconf release.
2080 # They can cause serious problems if a builder's source tree is in a directory
2081 # whose full name contains unusual characters.
2082 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2083 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2084 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2088 ################################################################################
2089 # Make sure we can run config.sub.
2090 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2091 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2092 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2093 { (exit 1); exit 1; }; }
2095 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2096 $as_echo_n "checking build system type... " >&6; }
2097 if test "${ac_cv_build+set}" = set; then
2098 $as_echo_n "(cached) " >&6
2100 ac_build_alias
=$build_alias
2101 test "x$ac_build_alias" = x
&&
2102 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2103 test "x$ac_build_alias" = x
&&
2104 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2105 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2106 { (exit 1); exit 1; }; }
2107 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2108 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2109 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2110 { (exit 1); exit 1; }; }
2113 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2114 $as_echo "$ac_cv_build" >&6; }
2115 case $ac_cv_build in
2117 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2118 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2119 { (exit 1); exit 1; }; };;
2122 ac_save_IFS
=$IFS; IFS
='-'
2128 # Remember, the first character of IFS is used to create $*,
2129 # except with old shells:
2132 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2135 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2136 $as_echo_n "checking host system type... " >&6; }
2137 if test "${ac_cv_host+set}" = set; then
2138 $as_echo_n "(cached) " >&6
2140 if test "x$host_alias" = x
; then
2141 ac_cv_host
=$ac_cv_build
2143 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2144 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2145 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2146 { (exit 1); exit 1; }; }
2150 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2151 $as_echo "$ac_cv_host" >&6; }
2154 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2155 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2156 { (exit 1); exit 1; }; };;
2159 ac_save_IFS
=$IFS; IFS
='-'
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2169 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2172 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2173 $as_echo_n "checking target system type... " >&6; }
2174 if test "${ac_cv_target+set}" = set; then
2175 $as_echo_n "(cached) " >&6
2177 if test "x$target_alias" = x
; then
2178 ac_cv_target
=$ac_cv_host
2180 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2181 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2182 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2187 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2188 $as_echo "$ac_cv_target" >&6; }
2189 case $ac_cv_target in
2191 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2192 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2193 { (exit 1); exit 1; }; };;
2195 target
=$ac_cv_target
2196 ac_save_IFS
=$IFS; IFS
='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2209 # The aliases save the names the user supplied, while $host etc.
2210 # will get canonicalized.
2211 test -n "$target_alias" &&
2212 test "$program_prefix$program_suffix$program_transform_name" = \
2214 program_prefix
=${target_alias}-
2219 COPTIMISE_FLAG
="-O2"
2220 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2221 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2222 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2223 LDDEPS
="$LDDEPS .export.sym"
2224 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2234 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2235 COPTIMISE_FLAG
="-O2"
2236 CLDFLAGS
="$CLDFLAGS"
2237 CLDWHOLEARCHIVE
="-all_load"
2249 ################################################################################
2250 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2251 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2252 if test "${ac_cv_path_SED+set}" = set; then
2253 $as_echo_n "(cached) " >&6
2255 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2256 for ac_i
in 1 2 3 4 5 6 7; do
2257 ac_script
="$ac_script$as_nl$ac_script"
2259 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2260 $as_unset ac_script || ac_script
=
2261 if test -z "$SED"; then
2262 ac_path_SED_found
=false
2263 # Loop through the user's path and test for each of PROGNAME-LIST
2264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir
=.
2269 for ac_prog
in sed gsed
; do
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2272 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2273 # Check for GNU ac_path_SED and select it if it is found.
2274 # Check for GNU $ac_path_SED
2275 case `"$ac_path_SED" --version 2>&1` in
2277 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2280 $as_echo_n 0123456789 >"conftest.in"
2283 cat "conftest.in" "conftest.in" >"conftest.tmp"
2284 mv "conftest.tmp" "conftest.in"
2285 cp "conftest.in" "conftest.nl"
2286 $as_echo '' >> "conftest.nl"
2287 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2288 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2289 ac_count
=`expr $ac_count + 1`
2290 if test $ac_count -gt ${ac_path_SED_max-0}; then
2291 # Best one so far, save it but keep looking for a better one
2292 ac_cv_path_SED
="$ac_path_SED"
2293 ac_path_SED_max
=$ac_count
2295 # 10*(2^10) chars as input seems more than enough
2296 test $ac_count -gt 10 && break
2298 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2301 $ac_path_SED_found && break 3
2306 if test -z "$ac_cv_path_SED"; then
2307 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2308 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2309 { (exit 1); exit 1; }; }
2316 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2317 $as_echo "$ac_cv_path_SED" >&6; }
2318 SED
="$ac_cv_path_SED"
2321 for ac_prog
in gawk mawk nawk
awk
2323 # Extract the first word of "$ac_prog", so it can be a program name with args.
2324 set dummy
$ac_prog; ac_word
=$2
2325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
2327 if test "${ac_cv_prog_AWK+set}" = set; then
2328 $as_echo_n "(cached) " >&6
2330 if test -n "$AWK"; then
2331 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir
=.
2338 for ac_exec_ext
in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_AWK
="$ac_prog"
2341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$AWK"; then
2352 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2353 $as_echo "$AWK" >&6; }
2355 { $as_echo "$as_me:$LINENO: result: no" >&5
2356 $as_echo "no" >&6; }
2360 test -n "$AWK" && break
2364 ac_cpp
='$CPP $CPPFLAGS'
2365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2368 if test -n "$ac_tool_prefix"; then
2369 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2370 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if test "${ac_cv_prog_CC+set}" = set; then
2374 $as_echo_n "(cached) " >&6
2376 if test -n "$CC"; then
2377 ac_cv_prog_CC
="$CC" # Let the user override the test.
2379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir
=.
2384 for ac_exec_ext
in '' $ac_executable_extensions; do
2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2386 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 if test -n "$CC"; then
2398 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2399 $as_echo "$CC" >&6; }
2401 { $as_echo "$as_me:$LINENO: result: no" >&5
2402 $as_echo "no" >&6; }
2407 if test -z "$ac_cv_prog_CC"; then
2409 # Extract the first word of "gcc", so it can be a program name with args.
2410 set dummy gcc
; ac_word
=$2
2411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
2413 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2414 $as_echo_n "(cached) " >&6
2416 if test -n "$ac_ct_CC"; then
2417 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir
=.
2424 for ac_exec_ext
in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 ac_cv_prog_ac_ct_CC
="gcc"
2427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2437 if test -n "$ac_ct_CC"; then
2438 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2439 $as_echo "$ac_ct_CC" >&6; }
2441 { $as_echo "$as_me:$LINENO: result: no" >&5
2442 $as_echo "no" >&6; }
2445 if test "x$ac_ct_CC" = x
; then
2448 case $cross_compiling:$ac_tool_warned in
2450 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2452 ac_tool_warned
=yes ;;
2460 if test -z "$CC"; then
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2463 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2464 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if test "${ac_cv_prog_CC+set}" = set; then
2467 $as_echo_n "(cached) " >&6
2469 if test -n "$CC"; then
2470 ac_cv_prog_CC
="$CC" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2480 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 if test -n "$CC"; then
2491 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2492 $as_echo "$CC" >&6; }
2494 { $as_echo "$as_me:$LINENO: result: no" >&5
2495 $as_echo "no" >&6; }
2501 if test -z "$CC"; then
2502 # Extract the first word of "cc", so it can be a program name with args.
2503 set dummy cc
; ac_word
=$2
2504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC
="$CC" # Let the user override the test.
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2521 ac_prog_rejected
=yes
2525 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 if test $ac_prog_rejected = yes; then
2533 # We found a bogon in the path, so make sure we never use it.
2534 set dummy
$ac_cv_prog_CC
2536 if test $# != 0; then
2537 # We chose a different compiler from the bogus one.
2538 # However, it has the same basename, so the bogon will be chosen
2539 # first if we set CC to just the basename; use the full file name.
2541 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2547 if test -n "$CC"; then
2548 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2549 $as_echo "$CC" >&6; }
2551 { $as_echo "$as_me:$LINENO: result: no" >&5
2552 $as_echo "no" >&6; }
2557 if test -z "$CC"; then
2558 if test -n "$ac_tool_prefix"; then
2559 for ac_prog
in cl.exe
2561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2562 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2563 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if test "${ac_cv_prog_CC+set}" = set; then
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$CC"; then
2569 ac_cv_prog_CC
="$CC" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 if test -n "$CC"; then
2590 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2591 $as_echo "$CC" >&6; }
2593 { $as_echo "$as_me:$LINENO: result: no" >&5
2594 $as_echo "no" >&6; }
2598 test -n "$CC" && break
2601 if test -z "$CC"; then
2603 for ac_prog
in cl.exe
2605 # Extract the first word of "$ac_prog", so it can be a program name with args.
2606 set dummy
$ac_prog; ac_word
=$2
2607 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$ac_ct_CC"; then
2613 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_ac_ct_CC
="$ac_prog"
2623 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 $as_echo "$ac_ct_CC" >&6; }
2637 { $as_echo "$as_me:$LINENO: result: no" >&5
2638 $as_echo "no" >&6; }
2642 test -n "$ac_ct_CC" && break
2645 if test "x$ac_ct_CC" = x
; then
2648 case $cross_compiling:$ac_tool_warned in
2650 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2652 ac_tool_warned
=yes ;;
2661 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2664 See \`config.log' for more details." >&5
2665 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2666 See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }; }
2669 # Provide some information about the compiler.
2670 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2673 { (ac_try
="$ac_compiler --version >&5"
2675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2679 $as_echo "$ac_try_echo") >&5
2680 (eval "$ac_compiler --version >&5") 2>&5
2682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }
2684 { (ac_try="$ac_compiler -v >&5"
2686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2687 *) ac_try_echo
=$ac_try;;
2689 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2690 $as_echo "$ac_try_echo") >&5
2691 (eval "$ac_compiler -v >&5") 2>&5
2693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }
2695 { (ac_try
="$ac_compiler -V >&5"
2697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2701 $as_echo "$ac_try_echo") >&5
2702 (eval "$ac_compiler -V >&5") 2>&5
2704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }
2707 cat >conftest.$ac_ext <<_ACEOF
2710 cat confdefs.h >>conftest.$ac_ext
2711 cat >>conftest.$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2722 ac_clean_files_save=$ac_clean_files
2723 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2724 # Try to create an executable without -o first, disregard a.out.
2725 # It will help us diagnose broken compilers, and finding out an intuition
2727 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2728 $as_echo_n "checking for C compiler default output file name... " >&6; }
2729 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2731 # The possible output files:
2732 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2735 for ac_file in $ac_files
2738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2739 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2744 if { (ac_try="$ac_link_default"
2746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2747 *) ac_try_echo
=$ac_try;;
2749 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2750 $as_echo "$ac_try_echo") >&5
2751 (eval "$ac_link_default") 2>&5
2753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; then
2755 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2756 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2757 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2758 # so that the user can short-circuit this test for compilers unknown to
2760 for ac_file
in $ac_files ''
2762 test -f "$ac_file" ||
continue
2764 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2767 # We found the default executable, but exeext='' is most
2771 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2773 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775 # We set ac_cv_exeext here because the later test for it is not
2776 # safe: cross compilers may not add the suffix if given an `-o'
2777 # argument, so we may need to know it at that point already.
2778 # Even if this section looks crufty: it has the advantage of
2785 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2791 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2792 $as_echo "$ac_file" >&6; }
2793 if test -z "$ac_file"; then
2794 $as_echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.
$ac_ext >&5
2797 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2800 See \`config.log' for more details." >&5
2801 $as_echo "$as_me: error: C compiler cannot create executables
2802 See \`config.log' for more details." >&2;}
2803 { (exit 77); exit 77; }; }; }
2806 ac_exeext
=$ac_cv_exeext
2808 # Check that the compiler produces executables we can run. If not, either
2809 # the compiler is broken, or we cross compile.
2810 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2811 $as_echo_n "checking whether the C compiler works... " >&6; }
2812 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2813 # If not cross compiling, check that we can run a simple program.
2814 if test "$cross_compiling" != yes; then
2815 if { ac_try
='./$ac_file'
2816 { (case "(($ac_try" in
2817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2821 $as_echo "$ac_try_echo") >&5
2822 (eval "$ac_try") 2>&5
2824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; }; then
2828 if test "$cross_compiling" = maybe; then
2831 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2834 If you meant to cross compile
, use \
`--host'.
2835 See \`config.log
' for more details." >&5
2836 $as_echo "$as_me: error: cannot run C compiled programs.
2837 If you meant to cross compile, use \`--host'.
2838 See \
`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }; }
2843 { $as_echo "$as_me:$LINENO: result: yes" >&5
2844 $as_echo "yes" >&6; }
2846 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2847 ac_clean_files=$ac_clean_files_save
2848 # Check that the compiler produces executables we can run. If not, either
2849 # the compiler is broken, or we cross compile.
2850 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2851 $as_echo_n "checking whether we are cross compiling... " >&6; }
2852 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2853 $as_echo "$cross_compiling" >&6; }
2855 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2856 $as_echo_n "checking for suffix of executables... " >&6; }
2857 if { (ac_try="$ac_link"
2859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2860 *) ac_try_echo
=$ac_try;;
2862 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2863 $as_echo "$ac_try_echo") >&5
2864 (eval "$ac_link") 2>&5
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; then
2868 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2869 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2870 # work properly (i.e., refer to `conftest.exe'), while it won't with
2872 for ac_file
in conftest.exe conftest conftest.
*; do
2873 test -f "$ac_file" ||
continue
2875 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2876 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2884 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2885 See \`config.log' for more details." >&5
2886 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2887 See \`config.log' for more details." >&2;}
2888 { (exit 1); exit 1; }; }; }
2891 rm -f conftest
$ac_cv_exeext
2892 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2893 $as_echo "$ac_cv_exeext" >&6; }
2895 rm -f conftest.
$ac_ext
2896 EXEEXT
=$ac_cv_exeext
2898 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2899 $as_echo_n "checking for suffix of object files... " >&6; }
2900 if test "${ac_cv_objext+set}" = set; then
2901 $as_echo_n "(cached) " >&6
2903 cat >conftest.
$ac_ext <<_ACEOF
2906 cat confdefs.h
>>conftest.
$ac_ext
2907 cat >>conftest.
$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.o conftest.obj
2919 if { (ac_try
="$ac_compile"
2921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2925 $as_echo "$ac_try_echo") >&5
2926 (eval "$ac_compile") 2>&5
2928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; then
2930 for ac_file in conftest.o conftest.obj conftest.*; do
2931 test -f "$ac_file" || continue;
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2934 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2939 $as_echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2945 See \
`config.log' for more details." >&5
2946 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2947 See \`config.log
' for more details." >&2;}
2948 { (exit 1); exit 1; }; }; }
2951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2953 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2954 $as_echo "$ac_cv_objext" >&6; }
2955 OBJEXT=$ac_cv_objext
2957 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2959 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2960 $as_echo_n "(cached) " >&6
2962 cat >conftest.$ac_ext <<_ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2987 $as_echo "$ac_try_echo") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2990 grep -v '^
*+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext; then
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's
/^
/|
/' conftest.$ac_ext >&5
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3010 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3012 if test $ac_compiler_gnu = yes; then
3017 ac_test_CFLAGS=${CFLAGS+set}
3018 ac_save_CFLAGS=$CFLAGS
3019 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3021 if test "${ac_cv_prog_cc_g+set}" = set; then
3022 $as_echo_n "(cached) " >&6
3024 ac_save_c_werror_flag=$ac_c_werror_flag
3025 ac_c_werror_flag=yes
3028 cat >conftest.$ac_ext <<_ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3043 rm -f conftest.$ac_objext
3044 if { (ac_try="$ac_compile"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3050 $as_echo "$ac_try_echo") >&5
3051 (eval "$ac_compile") 2>conftest.er1
3053 grep -v '^
*+' conftest.er1 >conftest.err
3055 cat conftest.err >&5
3056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } && {
3058 test -z "$ac_c_werror_flag" ||
3059 test ! -s conftest.err
3060 } && test -s conftest.$ac_objext; then
3063 $as_echo "$as_me: failed program was:" >&5
3064 sed 's
/^
/|
/' conftest.$ac_ext >&5
3067 cat >conftest.$ac_ext <<_ACEOF
3070 cat confdefs.h >>conftest.$ac_ext
3071 cat >>conftest.$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3082 rm -f conftest.$ac_objext
3083 if { (ac_try="$ac_compile"
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3089 $as_echo "$ac_try_echo") >&5
3090 (eval "$ac_compile") 2>conftest.er1
3092 grep -v '^
*+' conftest.er1 >conftest.err
3094 cat conftest.err >&5
3095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } && {
3097 test -z "$ac_c_werror_flag" ||
3098 test ! -s conftest.err
3099 } && test -s conftest.$ac_objext; then
3102 $as_echo "$as_me: failed program was:" >&5
3103 sed 's
/^
/|
/' conftest.$ac_ext >&5
3105 ac_c_werror_flag=$ac_save_c_werror_flag
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129 $as_echo "$ac_try_echo") >&5
3130 (eval "$ac_compile") 2>conftest.er1
3132 grep -v '^
*+' conftest.er1 >conftest.err
3134 cat conftest.err >&5
3135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_c_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's
/^
/|
/' conftest.$ac_ext >&5
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_c_werror_flag=$ac_save_c_werror_flag
3157 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3158 $as_echo "$ac_cv_prog_cc_g" >&6; }
3159 if test "$ac_test_CFLAGS" = set; then
3160 CFLAGS=$ac_save_CFLAGS
3161 elif test $ac_cv_prog_cc_g = yes; then
3162 if test "$GCC" = yes; then
3168 if test "$GCC" = yes; then
3174 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3176 if test "${ac_cv_prog_cc_c89+set}" = set; then
3177 $as_echo_n "(cached) " >&6
3179 ac_cv_prog_cc_c89=no
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3189 #include <sys/types.h>
3190 #include <sys/stat.h>
3191 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3192 struct buf
{ int x
; };
3193 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3194 static char
*e
(p
, i
)
3200 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3205 s
= g
(p
, va_arg
(v
,int
));
3210 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3211 function prototypes and stuff
, but not
'\xHH' hex character constants.
3212 These don
't provoke an error unfortunately, instead are silently treated
3213 as 'x
'. The following induces an error, until -std is added to get
3214 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3215 array size at least. It's necessary to
write '\x00'==0 to get something
3216 that
's true only with -std. */
3217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3219 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3220 inside strings and character constants. */
3222 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3224 int test (int i, double x);
3225 struct s1 {int (*f) (int a);};
3226 struct s2 {int (*f) (double a);};
3227 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3239 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3241 CC="$ac_save_CC $ac_arg"
3242 rm -f conftest.$ac_objext
3243 if { (ac_try="$ac_compile"
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3249 $as_echo "$ac_try_echo") >&5
3250 (eval "$ac_compile") 2>conftest.er1
3252 grep -v '^
*+' conftest.er1 >conftest.err
3254 cat conftest.err >&5
3255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } && {
3257 test -z "$ac_c_werror_flag" ||
3258 test ! -s conftest.err
3259 } && test -s conftest.$ac_objext; then
3260 ac_cv_prog_cc_c89=$ac_arg
3262 $as_echo "$as_me: failed program was:" >&5
3263 sed 's
/^
/|
/' conftest.$ac_ext >&5
3268 rm -f core conftest.err conftest.$ac_objext
3269 test "x$ac_cv_prog_cc_c89" != "xno" && break
3271 rm -f conftest.$ac_ext
3276 case "x$ac_cv_prog_cc_c89" in
3278 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3279 $as_echo "none needed" >&6; } ;;
3281 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3282 $as_echo "unsupported" >&6; } ;;
3284 CC="$CC $ac_cv_prog_cc_c89"
3285 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3286 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3299 ac_cpp='$CPP $CPPFLAGS'
3300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3304 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3305 # On Suns, sometimes $CPP names a directory.
3306 if test -n "$CPP" && test -d "$CPP"; then
3309 if test -z "$CPP"; then
3310 if test "${ac_cv_prog_CPP+set}" = set; then
3311 $as_echo_n "(cached) " >&6
3313 # Double quotes because CPP needs to be expanded
3314 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3317 for ac_c_preproc_warn_flag in '' yes
3319 # Use a header file that comes with gcc, so configuring glibc
3320 # with a fresh cross-compiler works.
3321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3322 # <limits.h> exists even on freestanding compilers.
3323 # On the NeXT, cc -E runs the code through the compiler's parser
,
3324 # not just through cpp. "Syntax error" is here to catch this case.
3325 cat >conftest.
$ac_ext <<_ACEOF
3328 cat confdefs.h
>>conftest.
$ac_ext
3329 cat >>conftest.
$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3332 # include <limits.h>
3334 # include <assert.h>
3338 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3344 $as_echo "$ac_try_echo") >&5
3345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } >/dev/null && {
3352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 # Broken: fails on valid input.
3364 rm -f conftest.err conftest.$ac_ext
3366 # OK, works on sane cases. Now check whether nonexistent headers
3367 # can be detected and how.
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 #include <ac_nonexistent.h>
3376 if { (ac_try="$ac_cpp conftest.$ac_ext"
3378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3379 *) ac_try_echo
=$ac_try;;
3381 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3382 $as_echo "$ac_try_echo") >&5
3383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev
/null
&& {
3390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3391 test ! -s conftest.err
3393 # Broken: success on invalid input.
3396 $as_echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.
$ac_ext >&5
3399 # Passes both tests.
3404 rm -f conftest.err conftest.
$ac_ext
3407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3408 rm -f conftest.err conftest.
$ac_ext
3409 if $ac_preproc_ok; then
3421 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3422 $as_echo "$CPP" >&6; }
3424 for ac_c_preproc_warn_flag
in '' yes
3426 # Use a header file that comes with gcc, so configuring glibc
3427 # with a fresh cross-compiler works.
3428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 # <limits.h> exists even on freestanding compilers.
3430 # On the NeXT, cc -E runs the code through the compiler's parser,
3431 # not just through cpp. "Syntax error" is here to catch this case.
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3439 # include <limits.h>
3441 # include <assert.h>
3445 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3451 $as_echo "$ac_try_echo") >&5
3452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3454 grep -v '^ *+' conftest.er1 >conftest.err
3456 cat conftest.err >&5
3457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } >/dev/null && {
3459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3460 test ! -s conftest.err
3464 $as_echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 # Broken: fails on valid input.
3471 rm -f conftest.err conftest.$ac_ext
3473 # OK, works on sane cases. Now check whether nonexistent headers
3474 # can be detected and how.
3475 cat >conftest.$ac_ext <<_ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #include <ac_nonexistent.h>
3483 if { (ac_try="$ac_cpp conftest.$ac_ext"
3485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3486 *) ac_try_echo
=$ac_try;;
3488 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3489 $as_echo "$ac_try_echo") >&5
3490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3492 grep -v '^ *+' conftest.er1
>conftest.err
3494 cat conftest.err
>&5
3495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev
/null
&& {
3497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3498 test ! -s conftest.err
3500 # Broken: success on invalid input.
3503 $as_echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.
$ac_ext >&5
3506 # Passes both tests.
3511 rm -f conftest.err conftest.
$ac_ext
3514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3515 rm -f conftest.err conftest.
$ac_ext
3516 if $ac_preproc_ok; then
3519 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3522 See \`config.log' for more details." >&5
3523 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3524 See \`config.log' for more details." >&2;}
3525 { (exit 1); exit 1; }; }; }
3529 ac_cpp
='$CPP $CPPFLAGS'
3530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3535 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3536 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3537 if test "${ac_cv_path_GREP+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3540 if test -z "$GREP"; then
3541 ac_path_GREP_found
=false
3542 # Loop through the user's path and test for each of PROGNAME-LIST
3543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3544 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3547 test -z "$as_dir" && as_dir
=.
3548 for ac_prog
in grep ggrep
; do
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3551 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3552 # Check for GNU ac_path_GREP and select it if it is found.
3553 # Check for GNU $ac_path_GREP
3554 case `"$ac_path_GREP" --version 2>&1` in
3556 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3559 $as_echo_n 0123456789 >"conftest.in"
3562 cat "conftest.in" "conftest.in" >"conftest.tmp"
3563 mv "conftest.tmp" "conftest.in"
3564 cp "conftest.in" "conftest.nl"
3565 $as_echo 'GREP' >> "conftest.nl"
3566 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3567 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3568 ac_count
=`expr $ac_count + 1`
3569 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3570 # Best one so far, save it but keep looking for a better one
3571 ac_cv_path_GREP
="$ac_path_GREP"
3572 ac_path_GREP_max
=$ac_count
3574 # 10*(2^10) chars as input seems more than enough
3575 test $ac_count -gt 10 && break
3577 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3580 $ac_path_GREP_found && break 3
3585 if test -z "$ac_cv_path_GREP"; then
3586 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3587 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3588 { (exit 1); exit 1; }; }
3591 ac_cv_path_GREP
=$GREP
3595 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3596 $as_echo "$ac_cv_path_GREP" >&6; }
3597 GREP
="$ac_cv_path_GREP"
3600 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3601 $as_echo_n "checking for egrep... " >&6; }
3602 if test "${ac_cv_path_EGREP+set}" = set; then
3603 $as_echo_n "(cached) " >&6
3605 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3606 then ac_cv_path_EGREP
="$GREP -E"
3608 if test -z "$EGREP"; then
3609 ac_path_EGREP_found
=false
3610 # Loop through the user's path and test for each of PROGNAME-LIST
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_prog
in egrep; do
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3619 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3620 # Check for GNU ac_path_EGREP and select it if it is found.
3621 # Check for GNU $ac_path_EGREP
3622 case `"$ac_path_EGREP" --version 2>&1` in
3624 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3627 $as_echo_n 0123456789 >"conftest.in"
3630 cat "conftest.in" "conftest.in" >"conftest.tmp"
3631 mv "conftest.tmp" "conftest.in"
3632 cp "conftest.in" "conftest.nl"
3633 $as_echo 'EGREP' >> "conftest.nl"
3634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3636 ac_count
=`expr $ac_count + 1`
3637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3638 # Best one so far, save it but keep looking for a better one
3639 ac_cv_path_EGREP
="$ac_path_EGREP"
3640 ac_path_EGREP_max
=$ac_count
3642 # 10*(2^10) chars as input seems more than enough
3643 test $ac_count -gt 10 && break
3645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3648 $ac_path_EGREP_found && break 3
3653 if test -z "$ac_cv_path_EGREP"; then
3654 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3655 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3656 { (exit 1); exit 1; }; }
3659 ac_cv_path_EGREP
=$EGREP
3664 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3665 $as_echo "$ac_cv_path_EGREP" >&6; }
3666 EGREP
="$ac_cv_path_EGREP"
3669 if test $ac_cv_c_compiler_gnu = yes; then
3670 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3671 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3672 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3673 $as_echo_n "(cached) " >&6
3675 ac_pattern
="Autoconf.*'x'"
3676 cat >conftest.
$ac_ext <<_ACEOF
3679 cat confdefs.h
>>conftest.
$ac_ext
3680 cat >>conftest.
$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3686 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3687 ac_cv_prog_gcc_traditional
=yes
3689 ac_cv_prog_gcc_traditional
=no
3694 if test $ac_cv_prog_gcc_traditional = no
; then
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3705 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3706 ac_cv_prog_gcc_traditional
=yes
3712 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3713 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3714 if test $ac_cv_prog_gcc_traditional = yes; then
3715 CC
="$CC -traditional"
3719 # Find a good install program. We prefer a C program (faster),
3720 # so one script is as good as another. But avoid the broken or
3721 # incompatible versions:
3722 # SysV /etc/install, /usr/sbin/install
3723 # SunOS /usr/etc/install
3724 # IRIX /sbin/install
3726 # AmigaOS /C/install, which installs bootblocks on floppy discs
3727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3730 # OS/2's system install, which has a completely different semantic
3731 # ./install, which can be erroneously created by make from ./install.sh.
3732 # Reject install programs that cannot install multiple files.
3733 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3734 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3735 if test -z "$INSTALL"; then
3736 if test "${ac_cv_path_install+set}" = set; then
3737 $as_echo_n "(cached) " >&6
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir
=.
3744 # Account for people who put trailing slashes in PATH elements.
3746 .
/ | .
// |
/cC
/* | \
3747 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3748 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3751 # OSF1 and SCO ODT 3.0 have their own names for install.
3752 # Don't use installbsd from OSF since it installs stuff as root
3754 for ac_prog
in ginstall scoinst
install; do
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3757 if test $ac_prog = install &&
3758 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3759 # AIX install. It has an incompatible calling convention.
3761 elif test $ac_prog = install &&
3762 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3763 # program-specific install script used by HP pwplus--don't use.
3766 rm -rf conftest.one conftest.two conftest.dir
3767 echo one
> conftest.one
3768 echo two
> conftest.two
3770 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3771 test -s conftest.one
&& test -s conftest.two
&&
3772 test -s conftest.dir
/conftest.one
&&
3773 test -s conftest.dir
/conftest.two
3775 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3788 rm -rf conftest.one conftest.two conftest.dir
3791 if test "${ac_cv_path_install+set}" = set; then
3792 INSTALL
=$ac_cv_path_install
3794 # As a last resort, use the slow shell script. Don't cache a
3795 # value for INSTALL within a source directory, because that will
3796 # break other packages using the cache if that directory is
3797 # removed, or if the value is a relative name.
3798 INSTALL
=$ac_install_sh
3801 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3802 $as_echo "$INSTALL" >&6; }
3804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3805 # It thinks the first close brace ends the variable substitution.
3806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3810 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3812 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3813 $as_echo_n "checking whether ln -s works... " >&6; }
3815 if test "$LN_S" = "ln -s"; then
3816 { $as_echo "$as_me:$LINENO: result: yes" >&5
3817 $as_echo "yes" >&6; }
3819 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3820 $as_echo "no, using $LN_S" >&6; }
3823 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3824 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3826 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3827 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3828 $as_echo_n "(cached) " >&6
3830 cat >conftest.
make <<\_ACEOF
3833 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3836 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3838 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3840 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3844 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3845 { $as_echo "$as_me:$LINENO: result: yes" >&5
3846 $as_echo "yes" >&6; }
3849 { $as_echo "$as_me:$LINENO: result: no" >&5
3850 $as_echo "no" >&6; }
3851 SET_MAKE
="MAKE=${MAKE-make}"
3854 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3855 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3856 if test -z "$MKDIR_P"; then
3857 if test "${ac_cv_path_mkdir+set}" = set; then
3858 $as_echo_n "(cached) " >&6
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_prog
in mkdir gmkdir
; do
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3868 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3869 'mkdir (GNU coreutils) '* | \
3870 'mkdir (coreutils) '* | \
3871 'mkdir (fileutils) '4.1*)
3872 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3882 if test "${ac_cv_path_mkdir+set}" = set; then
3883 MKDIR_P
="$ac_cv_path_mkdir -p"
3885 # As a last resort, use the slow shell script. Don't cache a
3886 # value for MKDIR_P within a source directory, because that will
3887 # break other packages using the cache if that directory is
3888 # removed, or if the value is a relative name.
3889 test -d .
/--version && rmdir .
/--version
3890 MKDIR_P
="$ac_install_sh -d"
3893 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3894 $as_echo "$MKDIR_P" >&6; }
3896 if test -n "$ac_tool_prefix"; then
3897 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3898 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if test "${ac_cv_prog_RANLIB+set}" = set; then
3902 $as_echo_n "(cached) " >&6
3904 if test -n "$RANLIB"; then
3905 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir
=.
3912 for ac_exec_ext
in '' $ac_executable_extensions; do
3913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3915 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 RANLIB
=$ac_cv_prog_RANLIB
3925 if test -n "$RANLIB"; then
3926 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3927 $as_echo "$RANLIB" >&6; }
3929 { $as_echo "$as_me:$LINENO: result: no" >&5
3930 $as_echo "no" >&6; }
3935 if test -z "$ac_cv_prog_RANLIB"; then
3936 ac_ct_RANLIB
=$RANLIB
3937 # Extract the first word of "ranlib", so it can be a program name with args.
3938 set dummy ranlib
; ac_word
=$2
3939 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3942 $as_echo_n "(cached) " >&6
3944 if test -n "$ac_ct_RANLIB"; then
3945 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir
=.
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3954 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3955 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3965 if test -n "$ac_ct_RANLIB"; then
3966 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3967 $as_echo "$ac_ct_RANLIB" >&6; }
3969 { $as_echo "$as_me:$LINENO: result: no" >&5
3970 $as_echo "no" >&6; }
3973 if test "x$ac_ct_RANLIB" = x
; then
3976 case $cross_compiling:$ac_tool_warned in
3978 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3980 ac_tool_warned
=yes ;;
3982 RANLIB
=$ac_ct_RANLIB
3985 RANLIB
="$ac_cv_prog_RANLIB"
3988 # Extract the first word of "cflow", so it can be a program name with args.
3989 set dummy cflow
; ac_word
=$2
3990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3993 $as_echo_n "(cached) " >&6
3997 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4008 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4019 if test -n "$CFLOW_CMD"; then
4020 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4021 $as_echo "$CFLOW_CMD" >&6; }
4023 { $as_echo "$as_me:$LINENO: result: no" >&5
4024 $as_echo "no" >&6; }
4028 # Extract the first word of "cscope", so it can be a program name with args.
4029 set dummy cscope
; ac_word
=$2
4030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4033 $as_echo_n "(cached) " >&6
4037 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4059 if test -n "$CSCOPE_CMD"; then
4060 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4061 $as_echo "$CSCOPE_CMD" >&6; }
4063 { $as_echo "$as_me:$LINENO: result: no" >&5
4064 $as_echo "no" >&6; }
4069 ################################################################################
4076 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4077 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4078 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4079 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4080 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4081 $as_echo_n "(cached) " >&6
4083 cat >conftest.
$ac_ext <<_ACEOF
4086 cat confdefs.h
>>conftest.
$ac_ext
4087 cat >>conftest.
$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4089 #include <sys/types.h>
4101 rm -f conftest.
$ac_objext
4102 if { (ac_try
="$ac_compile"
4104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108 $as_echo "$ac_try_echo") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^ *+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } && {
4116 test -z "$ac_c_werror_flag" ||
4117 test ! -s conftest.err
4118 } && test -s conftest.$ac_objext; then
4119 eval "$as_ac_Header=yes"
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 eval "$as_ac_Header=no"
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 ac_res=`eval 'as_val=${'$as_ac_Header'}
4130 $as_echo "$as_val"'`
4131 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4132 $as_echo "$ac_res" >&6; }
4133 as_val=`eval 'as_val=${'$as_ac_Header'}
4134 $as_echo "$as_val"'`
4135 if test "x$as_val" = x""yes; then
4136 cat >>confdefs.h <<_ACEOF
4137 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4140 ac_header_dirent=$ac_hdr; break
4144 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4145 if test $ac_header_dirent = dirent.h; then
4146 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4147 $as_echo_n "checking for library containing opendir... " >&6; }
4148 if test "${ac_cv_search_opendir+set}" = set; then
4149 $as_echo_n "(cached) " >&6
4151 ac_func_search_save_LIBS=$LIBS
4152 cat >conftest.$ac_ext <<_ACEOF
4155 cat confdefs.h >>conftest.$ac_ext
4156 cat >>conftest.$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4159 /* Override any GCC internal prototype to avoid an error.
4160 Use char because int might match the return type of a GCC
4161 builtin and then its argument prototype would still apply. */
4174 for ac_lib in '' dir; do
4175 if test -z "$ac_lib"; then
4176 ac_res="none required"
4179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4181 rm -f conftest.$ac_objext conftest$ac_exeext
4182 if { (ac_try="$ac_link"
4184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4185 *) ac_try_echo
=$ac_try;;
4187 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4188 $as_echo "$ac_try_echo") >&5
4189 (eval "$ac_link") 2>conftest.er1
4191 grep -v '^ *+' conftest.er1
>conftest.err
4193 cat conftest.err
>&5
4194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } && {
4196 test -z "$ac_c_werror_flag" ||
4197 test ! -s conftest.err
4198 } && test -s conftest
$ac_exeext && {
4199 test "$cross_compiling" = yes ||
4200 $as_test_x conftest
$ac_exeext
4202 ac_cv_search_opendir
=$ac_res
4204 $as_echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.
$ac_ext >&5
4210 rm -rf conftest.dSYM
4211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4213 if test "${ac_cv_search_opendir+set}" = set; then
4217 if test "${ac_cv_search_opendir+set}" = set; then
4220 ac_cv_search_opendir
=no
4223 LIBS
=$ac_func_search_save_LIBS
4225 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4226 $as_echo "$ac_cv_search_opendir" >&6; }
4227 ac_res
=$ac_cv_search_opendir
4228 if test "$ac_res" != no
; then
4229 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4234 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4235 $as_echo_n "checking for library containing opendir... " >&6; }
4236 if test "${ac_cv_search_opendir+set}" = set; then
4237 $as_echo_n "(cached) " >&6
4239 ac_func_search_save_LIBS
=$LIBS
4240 cat >conftest.
$ac_ext <<_ACEOF
4243 cat confdefs.h
>>conftest.
$ac_ext
4244 cat >>conftest.
$ac_ext <<_ACEOF
4245 /* end confdefs.h. */
4247 /* Override any GCC internal prototype to avoid an error.
4248 Use char because int might match the return type of a GCC
4249 builtin and then its argument prototype would still apply. */
4262 for ac_lib
in '' x
; do
4263 if test -z "$ac_lib"; then
4264 ac_res
="none required"
4267 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4269 rm -f conftest.
$ac_objext conftest
$ac_exeext
4270 if { (ac_try
="$ac_link"
4272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4276 $as_echo "$ac_try_echo") >&5
4277 (eval "$ac_link") 2>conftest.er1
4279 grep -v '^ *+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } && {
4284 test -z "$ac_c_werror_flag" ||
4285 test ! -s conftest.err
4286 } && test -s conftest$ac_exeext && {
4287 test "$cross_compiling" = yes ||
4288 $as_test_x conftest$ac_exeext
4290 ac_cv_search_opendir=$ac_res
4292 $as_echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.$ac_ext >&5
4298 rm -rf conftest.dSYM
4299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4301 if test "${ac_cv_search_opendir+set}" = set; then
4305 if test "${ac_cv_search_opendir+set}" = set; then
4308 ac_cv_search_opendir=no
4311 LIBS=$ac_func_search_save_LIBS
4313 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4314 $as_echo "$ac_cv_search_opendir" >&6; }
4315 ac_res=$ac_cv_search_opendir
4316 if test "$ac_res" != no; then
4317 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4323 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4324 $as_echo_n "checking for ANSI C header files... " >&6; }
4325 if test "${ac_cv_header_stdc+set}" = set; then
4326 $as_echo_n "(cached) " >&6
4328 cat >conftest.$ac_ext <<_ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4347 rm -f conftest.$ac_objext
4348 if { (ac_try="$ac_compile"
4350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4351 *) ac_try_echo
=$ac_try;;
4353 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4354 $as_echo "$ac_try_echo") >&5
4355 (eval "$ac_compile") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest.
$ac_objext; then
4365 ac_cv_header_stdc
=yes
4367 $as_echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_cv_header_stdc
=no
4373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4375 if test $ac_cv_header_stdc = yes; then
4376 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4377 cat >conftest.
$ac_ext <<_ACEOF
4380 cat confdefs.h
>>conftest.
$ac_ext
4381 cat >>conftest.
$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4387 $EGREP "memchr" >/dev
/null
2>&1; then
4390 ac_cv_header_stdc
=no
4396 if test $ac_cv_header_stdc = yes; then
4397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4398 cat >conftest.
$ac_ext <<_ACEOF
4401 cat confdefs.h
>>conftest.
$ac_ext
4402 cat >>conftest.
$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4408 $EGREP "free" >/dev
/null
2>&1; then
4411 ac_cv_header_stdc
=no
4417 if test $ac_cv_header_stdc = yes; then
4418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4419 if test "$cross_compiling" = yes; then
4422 cat >conftest.
$ac_ext <<_ACEOF
4425 cat confdefs.h
>>conftest.
$ac_ext
4426 cat >>conftest.
$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4430 #if ((' ' & 0x0FF) == 0x020)
4431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4434 # define ISLOWER(c) \
4435 (('a' <= (c) && (c) <= 'i') \
4436 || ('j' <= (c) && (c) <= 'r') \
4437 || ('s' <= (c) && (c) <= 'z'))
4438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4446 for (i = 0; i < 256; i++)
4447 if (XOR (islower (i), ISLOWER (i))
4448 || toupper (i) != TOUPPER (i))
4453 rm -f conftest
$ac_exeext
4454 if { (ac_try
="$ac_link"
4456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4460 $as_echo "$ac_try_echo") >&5
4461 (eval "$ac_link") 2>&5
4463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4465 { (case "(($ac_try" in
4466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4467 *) ac_try_echo
=$ac_try;;
4469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4470 $as_echo "$ac_try_echo") >&5
4471 (eval "$ac_try") 2>&5
4473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4477 $as_echo "$as_me: program exited with status $ac_status" >&5
4478 $as_echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4482 ac_cv_header_stdc
=no
4484 rm -rf conftest.dSYM
4485 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4491 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4492 $as_echo "$ac_cv_header_stdc" >&6; }
4493 if test $ac_cv_header_stdc = yes; then
4495 cat >>confdefs.h
<<\_ACEOF
4496 #define STDC_HEADERS 1
4501 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4502 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4503 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4504 $as_echo_n "(cached) " >&6
4506 cat >conftest.
$ac_ext <<_ACEOF
4509 cat confdefs.h
>>conftest.
$ac_ext
4510 cat >>conftest.
$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4512 #include <sys/types.h>
4513 #include <sys/wait.h>
4515 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4518 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4526 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4531 rm -f conftest.
$ac_objext
4532 if { (ac_try
="$ac_compile"
4534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4538 $as_echo "$ac_try_echo") >&5
4539 (eval "$ac_compile") 2>conftest.er1
4541 grep -v '^ *+' conftest.er1 >conftest.err
4543 cat conftest.err >&5
4544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); } && {
4546 test -z "$ac_c_werror_flag" ||
4547 test ! -s conftest.err
4548 } && test -s conftest.$ac_objext; then
4549 ac_cv_header_sys_wait_h=yes
4551 $as_echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4554 ac_cv_header_sys_wait_h=no
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4560 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4561 if test $ac_cv_header_sys_wait_h = yes; then
4563 cat >>confdefs.h <<\_ACEOF
4564 #define HAVE_SYS_WAIT_H 1
4569 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4570 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4571 if test "${ac_cv_header_time+set}" = set; then
4572 $as_echo_n "(cached) " >&6
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4580 #include <sys/types.h>
4581 #include <sys/time.h>
4587 if ((struct tm *) 0)
4593 rm -f conftest.$ac_objext
4594 if { (ac_try="$ac_compile"
4596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4597 *) ac_try_echo
=$ac_try;;
4599 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1
>conftest.err
4605 cat conftest.err
>&5
4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.
$ac_objext; then
4611 ac_cv_header_time
=yes
4613 $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4616 ac_cv_header_time
=no
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4622 $as_echo "$ac_cv_header_time" >&6; }
4623 if test $ac_cv_header_time = yes; then
4625 cat >>confdefs.h
<<\_ACEOF
4626 #define TIME_WITH_SYS_TIME 1
4632 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4642 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4643 inttypes.h stdint.h unistd.h
4645 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4646 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4647 $as_echo_n "checking for $ac_header... " >&6; }
4648 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4649 $as_echo_n "(cached) " >&6
4651 cat >conftest.
$ac_ext <<_ACEOF
4654 cat confdefs.h
>>conftest.
$ac_ext
4655 cat >>conftest.
$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4657 $ac_includes_default
4659 #include <$ac_header>
4661 rm -f conftest.
$ac_objext
4662 if { (ac_try
="$ac_compile"
4664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4668 $as_echo "$ac_try_echo") >&5
4669 (eval "$ac_compile") 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest.$ac_objext; then
4679 eval "$as_ac_Header=yes"
4681 $as_echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4684 eval "$as_ac_Header=no"
4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_res=`eval 'as_val=${'$as_ac_Header'}
4690 $as_echo "$as_val"'`
4691 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4692 $as_echo "$ac_res" >&6; }
4693 as_val=`eval 'as_val=${'$as_ac_Header'}
4694 $as_echo "$as_val"'`
4695 if test "x$as_val" = x""yes; then
4696 cat >>confdefs.h <<_ACEOF
4697 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4718 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4719 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4723 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4724 $as_echo_n "checking for $ac_header... " >&6; }
4725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4726 $as_echo_n "(cached) " >&6
4728 ac_res=`eval 'as_val=${'$as_ac_Header'}
4729 $as_echo "$as_val"'`
4730 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4731 $as_echo "$ac_res" >&6; }
4733 # Is the header compilable?
4734 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4735 $as_echo_n "checking $ac_header usability... " >&6; }
4736 cat >conftest.$ac_ext <<_ACEOF
4739 cat confdefs.h >>conftest.$ac_ext
4740 cat >>conftest.$ac_ext <<_ACEOF
4741 /* end confdefs.h. */
4742 $ac_includes_default
4743 #include <$ac_header>
4745 rm -f conftest.$ac_objext
4746 if { (ac_try="$ac_compile"
4748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4749 *) ac_try_echo
=$ac_try;;
4751 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4752 $as_echo "$ac_try_echo") >&5
4753 (eval "$ac_compile") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest.
$ac_objext; then
4763 ac_header_compiler
=yes
4765 $as_echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.
$ac_ext >&5
4768 ac_header_compiler
=no
4771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4772 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4773 $as_echo "$ac_header_compiler" >&6; }
4775 # Is the header present?
4776 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4777 $as_echo_n "checking $ac_header presence... " >&6; }
4778 cat >conftest.
$ac_ext <<_ACEOF
4781 cat confdefs.h
>>conftest.
$ac_ext
4782 cat >>conftest.
$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4784 #include <$ac_header>
4786 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4792 $as_echo "$ac_try_echo") >&5
4793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4795 grep -v '^ *+' conftest.er1 >conftest.err
4797 cat conftest.err >&5
4798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } >/dev/null && {
4800 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4801 test ! -s conftest.err
4803 ac_header_preproc=yes
4805 $as_echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4808 ac_header_preproc=no
4811 rm -f conftest.err conftest.$ac_ext
4812 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4813 $as_echo "$ac_header_preproc" >&6; }
4815 # So? What about this header?
4816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4819 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4821 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4822 ac_header_preproc=yes
4825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4826 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4828 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4830 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4832 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4834 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4836 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4840 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4841 $as_echo_n "checking for $ac_header... " >&6; }
4842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4843 $as_echo_n "(cached) " >&6
4845 eval "$as_ac_Header=\$ac_header_preproc"
4847 ac_res=`eval 'as_val=${'$as_ac_Header'}
4848 $as_echo "$as_val"'`
4849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4850 $as_echo "$ac_res" >&6; }
4853 as_val=`eval 'as_val=${'$as_ac_Header'}
4854 $as_echo "$as_val"'`
4855 if test "x$as_val" = x""yes; then
4856 cat >>confdefs.h <<_ACEOF
4857 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4861 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4862 $as_echo "$as_me: error: bailing out" >&2;}
4863 { (exit 1); exit 1; }; }
4874 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4878 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4879 $as_echo_n "checking for $ac_header... " >&6; }
4880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4881 $as_echo_n "(cached) " >&6
4883 ac_res=`eval 'as_val=${'$as_ac_Header'}
4884 $as_echo "$as_val"'`
4885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4886 $as_echo "$ac_res" >&6; }
4888 # Is the header compilable?
4889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4890 $as_echo_n "checking $ac_header usability... " >&6; }
4891 cat >conftest.$ac_ext <<_ACEOF
4894 cat confdefs.h >>conftest.$ac_ext
4895 cat >>conftest.$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4897 $ac_includes_default
4898 #include <$ac_header>
4900 rm -f conftest.$ac_objext
4901 if { (ac_try="$ac_compile"
4903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4904 *) ac_try_echo
=$ac_try;;
4906 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4907 $as_echo "$ac_try_echo") >&5
4908 (eval "$ac_compile") 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } && {
4915 test -z "$ac_c_werror_flag" ||
4916 test ! -s conftest.err
4917 } && test -s conftest.
$ac_objext; then
4918 ac_header_compiler
=yes
4920 $as_echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.
$ac_ext >&5
4923 ac_header_compiler
=no
4926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4928 $as_echo "$ac_header_compiler" >&6; }
4930 # Is the header present?
4931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4932 $as_echo_n "checking $ac_header presence... " >&6; }
4933 cat >conftest.
$ac_ext <<_ACEOF
4936 cat confdefs.h
>>conftest.
$ac_ext
4937 cat >>conftest.
$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4939 #include <$ac_header>
4941 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4944 *) ac_try_echo=$ac_try;;
4946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4947 $as_echo "$ac_try_echo") >&5
4948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4950 grep -v '^ *+' conftest.er1 >conftest.err
4952 cat conftest.err >&5
4953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } >/dev/null && {
4955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4956 test ! -s conftest.err
4958 ac_header_preproc=yes
4960 $as_echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4963 ac_header_preproc=no
4966 rm -f conftest.err conftest.$ac_ext
4967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4968 $as_echo "$ac_header_preproc" >&6; }
4970 # So? What about this header?
4971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4977 ac_header_preproc=yes
4980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4983 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4987 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4995 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4996 $as_echo_n "checking for $ac_header... " >&6; }
4997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4998 $as_echo_n "(cached) " >&6
5000 eval "$as_ac_Header=\$ac_header_preproc"
5002 ac_res=`eval 'as_val=${'$as_ac_Header'}
5003 $as_echo "$as_val"'`
5004 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5005 $as_echo "$ac_res" >&6; }
5008 as_val=`eval 'as_val=${'$as_ac_Header'}
5009 $as_echo "$as_val"'`
5010 if test "x$as_val" = x""yes; then
5011 cat >>confdefs.h <<_ACEOF
5012 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5016 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5017 $as_echo "$as_me: error: bailing out" >&2;}
5018 { (exit 1); exit 1; }; }
5026 for ac_header in machine/endian.h sys/disk.h
5028 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5030 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5031 $as_echo_n "checking for $ac_header... " >&6; }
5032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5033 $as_echo_n "(cached) " >&6
5035 ac_res=`eval 'as_val=${'$as_ac_Header'}
5036 $as_echo "$as_val"'`
5037 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5038 $as_echo "$ac_res" >&6; }
5040 # Is the header compilable?
5041 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5042 $as_echo_n "checking $ac_header usability... " >&6; }
5043 cat >conftest.$ac_ext <<_ACEOF
5046 cat confdefs.h >>conftest.$ac_ext
5047 cat >>conftest.$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5049 $ac_includes_default
5050 #include <$ac_header>
5052 rm -f conftest.$ac_objext
5053 if { (ac_try="$ac_compile"
5055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5056 *) ac_try_echo
=$ac_try;;
5058 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5059 $as_echo "$ac_try_echo") >&5
5060 (eval "$ac_compile") 2>conftest.er1
5062 grep -v '^ *+' conftest.er1
>conftest.err
5064 cat conftest.err
>&5
5065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } && {
5067 test -z "$ac_c_werror_flag" ||
5068 test ! -s conftest.err
5069 } && test -s conftest.
$ac_objext; then
5070 ac_header_compiler
=yes
5072 $as_echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.
$ac_ext >&5
5075 ac_header_compiler
=no
5078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5079 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5080 $as_echo "$ac_header_compiler" >&6; }
5082 # Is the header present?
5083 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5084 $as_echo_n "checking $ac_header presence... " >&6; }
5085 cat >conftest.
$ac_ext <<_ACEOF
5088 cat confdefs.h
>>conftest.
$ac_ext
5089 cat >>conftest.
$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <$ac_header>
5093 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5099 $as_echo "$ac_try_echo") >&5
5100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5102 grep -v '^ *+' conftest.er1 >conftest.err
5104 cat conftest.err >&5
5105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } >/dev/null && {
5107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5108 test ! -s conftest.err
5110 ac_header_preproc=yes
5112 $as_echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.$ac_ext >&5
5115 ac_header_preproc=no
5118 rm -f conftest.err conftest.$ac_ext
5119 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5120 $as_echo "$ac_header_preproc" >&6; }
5122 # So? What about this header?
5123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5126 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5128 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5129 ac_header_preproc=yes
5132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5133 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5135 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5137 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5139 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5141 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5143 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5147 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5148 $as_echo_n "checking for $ac_header... " >&6; }
5149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5150 $as_echo_n "(cached) " >&6
5152 eval "$as_ac_Header=\$ac_header_preproc"
5154 ac_res=`eval 'as_val=${'$as_ac_Header'}
5155 $as_echo "$as_val"'`
5156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5157 $as_echo "$ac_res" >&6; }
5160 as_val=`eval 'as_val=${'$as_ac_Header'}
5161 $as_echo "$as_val"'`
5162 if test "x$as_val" = x""yes; then
5163 cat >>confdefs.h <<_ACEOF
5164 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5168 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5169 $as_echo "$as_me: error: bailing out" >&2;}
5170 { (exit 1); exit 1; }; }
5193 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5194 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5195 sys/types.h unistd.h
5197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5200 $as_echo_n "checking for $ac_header... " >&6; }
5201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5202 $as_echo_n "(cached) " >&6
5204 ac_res=`eval 'as_val=${'$as_ac_Header'}
5205 $as_echo "$as_val"'`
5206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5207 $as_echo "$ac_res" >&6; }
5209 # Is the header compilable?
5210 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5211 $as_echo_n "checking $ac_header usability... " >&6; }
5212 cat >conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h >>conftest.$ac_ext
5216 cat >>conftest.$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 $ac_includes_default
5219 #include <$ac_header>
5221 rm -f conftest.$ac_objext
5222 if { (ac_try="$ac_compile"
5224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5225 *) ac_try_echo
=$ac_try;;
5227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5228 $as_echo "$ac_try_echo") >&5
5229 (eval "$ac_compile") 2>conftest.er1
5231 grep -v '^ *+' conftest.er1
>conftest.err
5233 cat conftest.err
>&5
5234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && {
5236 test -z "$ac_c_werror_flag" ||
5237 test ! -s conftest.err
5238 } && test -s conftest.
$ac_objext; then
5239 ac_header_compiler
=yes
5241 $as_echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.
$ac_ext >&5
5244 ac_header_compiler
=no
5247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5248 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5249 $as_echo "$ac_header_compiler" >&6; }
5251 # Is the header present?
5252 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5253 $as_echo_n "checking $ac_header presence... " >&6; }
5254 cat >conftest.
$ac_ext <<_ACEOF
5257 cat confdefs.h
>>conftest.
$ac_ext
5258 cat >>conftest.
$ac_ext <<_ACEOF
5259 /* end confdefs.h. */
5260 #include <$ac_header>
5262 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5268 $as_echo "$ac_try_echo") >&5
5269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5271 grep -v '^ *+' conftest.er1 >conftest.err
5273 cat conftest.err >&5
5274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } >/dev/null && {
5276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5277 test ! -s conftest.err
5279 ac_header_preproc=yes
5281 $as_echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5284 ac_header_preproc=no
5287 rm -f conftest.err conftest.$ac_ext
5288 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5289 $as_echo "$ac_header_preproc" >&6; }
5291 # So? What about this header?
5292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5295 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5297 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5298 ac_header_preproc=yes
5301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5302 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5304 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5306 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5308 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5310 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5312 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5316 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5317 $as_echo_n "checking for $ac_header... " >&6; }
5318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5319 $as_echo_n "(cached) " >&6
5321 eval "$as_ac_Header=\$ac_header_preproc"
5323 ac_res=`eval 'as_val=${'$as_ac_Header'}
5324 $as_echo "$as_val"'`
5325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5326 $as_echo "$ac_res" >&6; }
5329 as_val=`eval 'as_val=${'$as_ac_Header'}
5330 $as_echo "$as_val"'`
5331 if test "x$as_val" = x""yes; then
5332 cat >>confdefs.h <<_ACEOF
5333 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5337 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5338 $as_echo "$as_me: error: bailing out" >&2;}
5339 { (exit 1); exit 1; }; }
5346 for ac_header in termios.h sys/statvfs.h
5348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5350 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5351 $as_echo_n "checking for $ac_header... " >&6; }
5352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5353 $as_echo_n "(cached) " >&6
5355 ac_res=`eval 'as_val=${'$as_ac_Header'}
5356 $as_echo "$as_val"'`
5357 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5358 $as_echo "$ac_res" >&6; }
5360 # Is the header compilable?
5361 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5362 $as_echo_n "checking $ac_header usability... " >&6; }
5363 cat >conftest.$ac_ext <<_ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 $ac_includes_default
5370 #include <$ac_header>
5372 rm -f conftest.$ac_objext
5373 if { (ac_try="$ac_compile"
5375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5376 *) ac_try_echo
=$ac_try;;
5378 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5379 $as_echo "$ac_try_echo") >&5
5380 (eval "$ac_compile") 2>conftest.er1
5382 grep -v '^ *+' conftest.er1
>conftest.err
5384 cat conftest.err
>&5
5385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); } && {
5387 test -z "$ac_c_werror_flag" ||
5388 test ! -s conftest.err
5389 } && test -s conftest.
$ac_objext; then
5390 ac_header_compiler
=yes
5392 $as_echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_header_compiler
=no
5398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5399 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5400 $as_echo "$ac_header_compiler" >&6; }
5402 # Is the header present?
5403 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5404 $as_echo_n "checking $ac_header presence... " >&6; }
5405 cat >conftest.
$ac_ext <<_ACEOF
5408 cat confdefs.h
>>conftest.
$ac_ext
5409 cat >>conftest.
$ac_ext <<_ACEOF
5410 /* end confdefs.h. */
5411 #include <$ac_header>
5413 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5416 *) ac_try_echo=$ac_try;;
5418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5419 $as_echo "$ac_try_echo") >&5
5420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5422 grep -v '^ *+' conftest.er1 >conftest.err
5424 cat conftest.err >&5
5425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); } >/dev/null && {
5427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5428 test ! -s conftest.err
5430 ac_header_preproc=yes
5432 $as_echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 ac_header_preproc=no
5438 rm -f conftest.err conftest.$ac_ext
5439 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5440 $as_echo "$ac_header_preproc" >&6; }
5442 # So? What about this header?
5443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5446 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5449 ac_header_preproc=yes
5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5453 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5455 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5457 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5459 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5461 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5463 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5468 $as_echo_n "checking for $ac_header... " >&6; }
5469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5470 $as_echo_n "(cached) " >&6
5472 eval "$as_ac_Header=\$ac_header_preproc"
5474 ac_res=`eval 'as_val=${'$as_ac_Header'}
5475 $as_echo "$as_val"'`
5476 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5477 $as_echo "$ac_res" >&6; }
5480 as_val=`eval 'as_val=${'$as_ac_Header'}
5481 $as_echo "$as_val"'`
5482 if test "x$as_val" = x""yes; then
5483 cat >>confdefs.h <<_ACEOF
5484 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5492 ################################################################################
5493 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5494 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5495 if test "${ac_cv_c_const+set}" = set; then
5496 $as_echo_n "(cached) " >&6
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5508 /* FIXME: Include the comments suggested by Paul. */
5510 /* Ultrix mips cc rejects this. */
5511 typedef int charset[2];
5513 /* SunOS 4.1.1 cc rejects this. */
5514 char const *const *pcpcc;
5516 /* NEC SVR4.0.2 mips cc rejects this. */
5517 struct point {int x, y;};
5518 static struct point const zero = {0,0};
5519 /* AIX XL C 1.02.0.0 rejects this.
5520 It does not let you subtract one const X* pointer from another in
5521 an arm of an if-expression whose if-part is not a constant
5523 const char *g = "string";
5524 pcpcc = &g + (g ? g-g : 0);
5525 /* HPUX 7.0 cc rejects these. */
5527 ppc = (char**) pcpcc;
5528 pcpcc = (char const *const *) ppc;
5529 { /* SCO 3.2v4 cc rejects this. */
5531 char const *s = 0 ? (char *) 0 : (char const *) 0;
5536 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5538 const int *foo = &x[0];
5541 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5542 typedef const int *iptr;
5546 { /* AIX XL C 1.02.0.0 rejects this saying
5547 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5548 struct s { int j; const int *ap[3]; };
5549 struct s *b; b->j = 5;
5551 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5555 return !cs[0] && !zero.x;
5562 rm -f conftest.$ac_objext
5563 if { (ac_try="$ac_compile"
5565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5566 *) ac_try_echo
=$ac_try;;
5568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5569 $as_echo "$ac_try_echo") >&5
5570 (eval "$ac_compile") 2>conftest.er1
5572 grep -v '^ *+' conftest.er1
>conftest.err
5574 cat conftest.err
>&5
5575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } && {
5577 test -z "$ac_c_werror_flag" ||
5578 test ! -s conftest.err
5579 } && test -s conftest.
$ac_objext; then
5582 $as_echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5590 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5591 $as_echo "$ac_cv_c_const" >&6; }
5592 if test $ac_cv_c_const = no
; then
5594 cat >>confdefs.h
<<\_ACEOF
5600 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5601 $as_echo_n "checking for inline... " >&6; }
5602 if test "${ac_cv_c_inline+set}" = set; then
5603 $as_echo_n "(cached) " >&6
5606 for ac_kw
in inline __inline__ __inline
; do
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5615 static $ac_kw foo_t static_foo () {return 0; }
5616 $ac_kw foo_t foo () {return 0; }
5620 rm -f conftest.
$ac_objext
5621 if { (ac_try
="$ac_compile"
5623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5624 *) ac_try_echo=$ac_try;;
5626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5627 $as_echo "$ac_try_echo") >&5
5628 (eval "$ac_compile") 2>conftest.er1
5630 grep -v '^ *+' conftest.er1 >conftest.err
5632 cat conftest.err >&5
5633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && {
5635 test -z "$ac_c_werror_flag" ||
5636 test ! -s conftest.err
5637 } && test -s conftest.$ac_objext; then
5638 ac_cv_c_inline=$ac_kw
5640 $as_echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647 test "$ac_cv_c_inline" != no && break
5651 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5652 $as_echo "$ac_cv_c_inline" >&6; }
5655 case $ac_cv_c_inline in
5658 case $ac_cv_c_inline in
5660 *) ac_val=$ac_cv_c_inline;;
5662 cat >>confdefs.h <<_ACEOF
5664 #define inline $ac_val
5670 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5671 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5672 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5673 $as_echo_n "(cached) " >&6
5675 cat >conftest.$ac_ext <<_ACEOF
5678 cat confdefs.h >>conftest.$ac_ext
5679 cat >>conftest.$ac_ext <<_ACEOF
5680 /* end confdefs.h. */
5681 $ac_includes_default
5685 static struct stat ac_aggr;
5686 if (ac_aggr.st_rdev)
5692 rm -f conftest.$ac_objext
5693 if { (ac_try="$ac_compile"
5695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5696 *) ac_try_echo
=$ac_try;;
5698 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5699 $as_echo "$ac_try_echo") >&5
5700 (eval "$ac_compile") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1
>conftest.err
5704 cat conftest.err
>&5
5705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } && {
5707 test -z "$ac_c_werror_flag" ||
5708 test ! -s conftest.err
5709 } && test -s conftest.
$ac_objext; then
5710 ac_cv_member_struct_stat_st_rdev
=yes
5712 $as_echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.
$ac_ext >&5
5715 cat >conftest.
$ac_ext <<_ACEOF
5718 cat confdefs.h
>>conftest.
$ac_ext
5719 cat >>conftest.
$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5721 $ac_includes_default
5725 static struct stat ac_aggr;
5726 if (sizeof ac_aggr.st_rdev)
5732 rm -f conftest.
$ac_objext
5733 if { (ac_try
="$ac_compile"
5735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5736 *) ac_try_echo=$ac_try;;
5738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5739 $as_echo "$ac_try_echo") >&5
5740 (eval "$ac_compile") 2>conftest.er1
5742 grep -v '^ *+' conftest.er1 >conftest.err
5744 cat conftest.err >&5
5745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } && {
5747 test -z "$ac_c_werror_flag" ||
5748 test ! -s conftest.err
5749 } && test -s conftest.$ac_objext; then
5750 ac_cv_member_struct_stat_st_rdev=yes
5752 $as_echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.$ac_ext >&5
5755 ac_cv_member_struct_stat_st_rdev=no
5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5763 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5764 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5765 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5767 cat >>confdefs.h <<_ACEOF
5768 #define HAVE_STRUCT_STAT_ST_RDEV 1
5774 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5775 $as_echo_n "checking for off_t... " >&6; }
5776 if test "${ac_cv_type_off_t+set}" = set; then
5777 $as_echo_n "(cached) " >&6
5780 cat >conftest.$ac_ext <<_ACEOF
5783 cat confdefs.h >>conftest.$ac_ext
5784 cat >>conftest.$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5786 $ac_includes_default
5796 rm -f conftest.$ac_objext
5797 if { (ac_try="$ac_compile"
5799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5800 *) ac_try_echo
=$ac_try;;
5802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5803 $as_echo "$ac_try_echo") >&5
5804 (eval "$ac_compile") 2>conftest.er1
5806 grep -v '^ *+' conftest.er1
>conftest.err
5808 cat conftest.err
>&5
5809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } && {
5811 test -z "$ac_c_werror_flag" ||
5812 test ! -s conftest.err
5813 } && test -s conftest.
$ac_objext; then
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 $ac_includes_default
5824 if (sizeof ((off_t)))
5830 rm -f conftest.
$ac_objext
5831 if { (ac_try
="$ac_compile"
5833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5834 *) ac_try_echo=$ac_try;;
5836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5837 $as_echo "$ac_try_echo") >&5
5838 (eval "$ac_compile") 2>conftest.er1
5840 grep -v '^ *+' conftest.er1 >conftest.err
5842 cat conftest.err >&5
5843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && {
5845 test -z "$ac_c_werror_flag" ||
5846 test ! -s conftest.err
5847 } && test -s conftest.$ac_objext; then
5850 $as_echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.$ac_ext >&5
5853 ac_cv_type_off_t=yes
5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858 $as_echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5867 $as_echo "$ac_cv_type_off_t" >&6; }
5868 if test "x$ac_cv_type_off_t" = x""yes; then
5872 cat >>confdefs.h <<_ACEOF
5873 #define off_t long int
5878 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5879 $as_echo_n "checking for pid_t... " >&6; }
5880 if test "${ac_cv_type_pid_t+set}" = set; then
5881 $as_echo_n "(cached) " >&6
5884 cat >conftest.$ac_ext <<_ACEOF
5887 cat confdefs.h >>conftest.$ac_ext
5888 cat >>conftest.$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5890 $ac_includes_default
5900 rm -f conftest.$ac_objext
5901 if { (ac_try="$ac_compile"
5903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5904 *) ac_try_echo
=$ac_try;;
5906 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5907 $as_echo "$ac_try_echo") >&5
5908 (eval "$ac_compile") 2>conftest.er1
5910 grep -v '^ *+' conftest.er1
>conftest.err
5912 cat conftest.err
>&5
5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } && {
5915 test -z "$ac_c_werror_flag" ||
5916 test ! -s conftest.err
5917 } && test -s conftest.
$ac_objext; then
5918 cat >conftest.
$ac_ext <<_ACEOF
5921 cat confdefs.h
>>conftest.
$ac_ext
5922 cat >>conftest.
$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 $ac_includes_default
5928 if (sizeof ((pid_t)))
5934 rm -f conftest.
$ac_objext
5935 if { (ac_try
="$ac_compile"
5937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5938 *) ac_try_echo=$ac_try;;
5940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5941 $as_echo "$ac_try_echo") >&5
5942 (eval "$ac_compile") 2>conftest.er1
5944 grep -v '^ *+' conftest.er1 >conftest.err
5946 cat conftest.err >&5
5947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && {
5949 test -z "$ac_c_werror_flag" ||
5950 test ! -s conftest.err
5951 } && test -s conftest.$ac_objext; then
5954 $as_echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.$ac_ext >&5
5957 ac_cv_type_pid_t=yes
5960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5962 $as_echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5971 $as_echo "$ac_cv_type_pid_t" >&6; }
5972 if test "x$ac_cv_type_pid_t" = x""yes; then
5976 cat >>confdefs.h <<_ACEOF
5982 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5983 $as_echo_n "checking return type of signal handlers... " >&6; }
5984 if test "${ac_cv_type_signal+set}" = set; then
5985 $as_echo_n "(cached) " >&6
5987 cat >conftest.$ac_ext <<_ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 #include <sys/types.h>
5999 return *(signal (0, 0)) (0) == 1;
6004 rm -f conftest.$ac_objext
6005 if { (ac_try="$ac_compile"
6007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6008 *) ac_try_echo
=$ac_try;;
6010 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6011 $as_echo "$ac_try_echo") >&5
6012 (eval "$ac_compile") 2>conftest.er1
6014 grep -v '^ *+' conftest.er1
>conftest.err
6016 cat conftest.err
>&5
6017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } && {
6019 test -z "$ac_c_werror_flag" ||
6020 test ! -s conftest.err
6021 } && test -s conftest.
$ac_objext; then
6022 ac_cv_type_signal
=int
6024 $as_echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.
$ac_ext >&5
6027 ac_cv_type_signal
=void
6030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6033 $as_echo "$ac_cv_type_signal" >&6; }
6035 cat >>confdefs.h
<<_ACEOF
6036 #define RETSIGTYPE $ac_cv_type_signal
6040 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6041 $as_echo_n "checking for size_t... " >&6; }
6042 if test "${ac_cv_type_size_t+set}" = set; then
6043 $as_echo_n "(cached) " >&6
6045 ac_cv_type_size_t
=no
6046 cat >conftest.
$ac_ext <<_ACEOF
6049 cat confdefs.h
>>conftest.
$ac_ext
6050 cat >>conftest.
$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6052 $ac_includes_default
6056 if (sizeof (size_t))
6062 rm -f conftest.
$ac_objext
6063 if { (ac_try
="$ac_compile"
6065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6066 *) ac_try_echo=$ac_try;;
6068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6069 $as_echo "$ac_try_echo") >&5
6070 (eval "$ac_compile") 2>conftest.er1
6072 grep -v '^ *+' conftest.er1 >conftest.err
6074 cat conftest.err >&5
6075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); } && {
6077 test -z "$ac_c_werror_flag" ||
6078 test ! -s conftest.err
6079 } && test -s conftest.$ac_objext; then
6080 cat >conftest.$ac_ext <<_ACEOF
6083 cat confdefs.h >>conftest.$ac_ext
6084 cat >>conftest.$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 $ac_includes_default
6090 if (sizeof ((size_t)))
6096 rm -f conftest.$ac_objext
6097 if { (ac_try="$ac_compile"
6099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6100 *) ac_try_echo
=$ac_try;;
6102 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6103 $as_echo "$ac_try_echo") >&5
6104 (eval "$ac_compile") 2>conftest.er1
6106 grep -v '^ *+' conftest.er1
>conftest.err
6108 cat conftest.err
>&5
6109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } && {
6111 test -z "$ac_c_werror_flag" ||
6112 test ! -s conftest.err
6113 } && test -s conftest.
$ac_objext; then
6116 $as_echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.
$ac_ext >&5
6119 ac_cv_type_size_t
=yes
6122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6124 $as_echo "$as_me: failed program was:" >&5
6125 sed 's/^/| /' conftest.
$ac_ext >&5
6130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6132 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6133 $as_echo "$ac_cv_type_size_t" >&6; }
6134 if test "x$ac_cv_type_size_t" = x
""yes; then
6138 cat >>confdefs.h
<<_ACEOF
6139 #define size_t unsigned int
6144 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6145 $as_echo_n "checking for mode_t... " >&6; }
6146 if test "${ac_cv_type_mode_t+set}" = set; then
6147 $as_echo_n "(cached) " >&6
6149 ac_cv_type_mode_t
=no
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 $ac_includes_default
6160 if (sizeof (mode_t))
6166 rm -f conftest.
$ac_objext
6167 if { (ac_try
="$ac_compile"
6169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6173 $as_echo "$ac_try_echo") >&5
6174 (eval "$ac_compile") 2>conftest.er1
6176 grep -v '^ *+' conftest.er1 >conftest.err
6178 cat conftest.err >&5
6179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } && {
6181 test -z "$ac_c_werror_flag" ||
6182 test ! -s conftest.err
6183 } && test -s conftest.$ac_objext; then
6184 cat >conftest.$ac_ext <<_ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6190 $ac_includes_default
6194 if (sizeof ((mode_t)))
6200 rm -f conftest.$ac_objext
6201 if { (ac_try="$ac_compile"
6203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6204 *) ac_try_echo
=$ac_try;;
6206 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6207 $as_echo "$ac_try_echo") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6210 grep -v '^ *+' conftest.er1
>conftest.err
6212 cat conftest.err
>&5
6213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && {
6215 test -z "$ac_c_werror_flag" ||
6216 test ! -s conftest.err
6217 } && test -s conftest.
$ac_objext; then
6220 $as_echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 ac_cv_type_mode_t
=yes
6226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6228 $as_echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.
$ac_ext >&5
6234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6236 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6237 $as_echo "$ac_cv_type_mode_t" >&6; }
6238 if test "x$ac_cv_type_mode_t" = x
""yes; then
6242 cat >>confdefs.h
<<_ACEOF
6248 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6249 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6250 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6251 $as_echo_n "(cached) " >&6
6253 cat >conftest.
$ac_ext <<_ACEOF
6256 cat confdefs.h
>>conftest.
$ac_ext
6257 cat >>conftest.
$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6259 $ac_includes_default
6263 static struct stat ac_aggr;
6264 if (ac_aggr.st_rdev)
6270 rm -f conftest.
$ac_objext
6271 if { (ac_try
="$ac_compile"
6273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6274 *) ac_try_echo=$ac_try;;
6276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6277 $as_echo "$ac_try_echo") >&5
6278 (eval "$ac_compile") 2>conftest.er1
6280 grep -v '^ *+' conftest.er1 >conftest.err
6282 cat conftest.err >&5
6283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } && {
6285 test -z "$ac_c_werror_flag" ||
6286 test ! -s conftest.err
6287 } && test -s conftest.$ac_objext; then
6288 ac_cv_member_struct_stat_st_rdev=yes
6290 $as_echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.$ac_ext >&5
6293 cat >conftest.$ac_ext <<_ACEOF
6296 cat confdefs.h >>conftest.$ac_ext
6297 cat >>conftest.$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6299 $ac_includes_default
6303 static struct stat ac_aggr;
6304 if (sizeof ac_aggr.st_rdev)
6310 rm -f conftest.$ac_objext
6311 if { (ac_try="$ac_compile"
6313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6314 *) ac_try_echo
=$ac_try;;
6316 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6317 $as_echo "$ac_try_echo") >&5
6318 (eval "$ac_compile") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1
>conftest.err
6322 cat conftest.err
>&5
6323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && {
6325 test -z "$ac_c_werror_flag" ||
6326 test ! -s conftest.err
6327 } && test -s conftest.
$ac_objext; then
6328 ac_cv_member_struct_stat_st_rdev
=yes
6330 $as_echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.
$ac_ext >&5
6333 ac_cv_member_struct_stat_st_rdev
=no
6336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6342 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6343 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6345 cat >>confdefs.h
<<_ACEOF
6346 #define HAVE_STRUCT_STAT_ST_RDEV 1
6352 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6353 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6354 if test "${ac_cv_struct_tm+set}" = set; then
6355 $as_echo_n "(cached) " >&6
6357 cat >conftest.
$ac_ext <<_ACEOF
6360 cat confdefs.h
>>conftest.
$ac_ext
6361 cat >>conftest.
$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 #include <sys/types.h>
6370 int *p = &tm.tm_sec;
6376 rm -f conftest.
$ac_objext
6377 if { (ac_try
="$ac_compile"
6379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6380 *) ac_try_echo=$ac_try;;
6382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6383 $as_echo "$ac_try_echo") >&5
6384 (eval "$ac_compile") 2>conftest.er1
6386 grep -v '^ *+' conftest.er1 >conftest.err
6388 cat conftest.err >&5
6389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } && {
6391 test -z "$ac_c_werror_flag" ||
6392 test ! -s conftest.err
6393 } && test -s conftest.$ac_objext; then
6394 ac_cv_struct_tm=time.h
6396 $as_echo "$as_me: failed program was:" >&5
6397 sed 's/^/| /' conftest.$ac_ext >&5
6399 ac_cv_struct_tm=sys/time.h
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6405 $as_echo "$ac_cv_struct_tm" >&6; }
6406 if test $ac_cv_struct_tm = sys/time.h; then
6408 cat >>confdefs.h <<\_ACEOF
6409 #define TM_IN_SYS_TIME 1
6415 ################################################################################
6433 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6434 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6438 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6439 $as_echo_n "checking for $ac_func... " >&6; }
6440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6441 $as_echo_n "(cached) " >&6
6443 cat >conftest.$ac_ext <<_ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6451 #define $ac_func innocuous_$ac_func
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func (); below.
6455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 <limits.h> exists even on freestanding compilers. */
6459 # include <limits.h>
6461 # include <assert.h>
6466 /* Override any GCC internal prototype to avoid an error.
6467 Use char because int might match the return type of a GCC
6468 builtin and then its argument prototype would still apply. */
6473 /* The GNU C library defines this for functions which it implements
6474 to always fail with ENOSYS. Some functions are actually named
6475 something starting with __ and the normal name is an alias. */
6476 #if defined __stub_$ac_func || defined __stub___$ac_func
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6492 *) ac_try_echo
=$ac_try;;
6494 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6495 $as_echo "$ac_try_echo") >&5
6496 (eval "$ac_link") 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } && {
6503 test -z "$ac_c_werror_flag" ||
6504 test ! -s conftest.err
6505 } && test -s conftest
$ac_exeext && {
6506 test "$cross_compiling" = yes ||
6507 $as_test_x conftest
$ac_exeext
6509 eval "$as_ac_var=yes"
6511 $as_echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.
$ac_ext >&5
6514 eval "$as_ac_var=no"
6517 rm -rf conftest.dSYM
6518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6519 conftest
$ac_exeext conftest.
$ac_ext
6521 ac_res
=`eval 'as_val=${'$as_ac_var'}
6522 $as_echo "$as_val"'`
6523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6524 $as_echo "$ac_res" >&6; }
6525 as_val
=`eval 'as_val=${'$as_ac_var'}
6526 $as_echo "$as_val"'`
6527 if test "x$as_val" = x
""yes; then
6528 cat >>confdefs.h
<<_ACEOF
6529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6533 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6534 $as_echo "$as_me: error: bailing out" >&2;}
6535 { (exit 1); exit 1; }; }
6540 for ac_func
in siginterrupt
6542 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6543 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6544 $as_echo_n "checking for $ac_func... " >&6; }
6545 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6546 $as_echo_n "(cached) " >&6
6548 cat >conftest.
$ac_ext <<_ACEOF
6551 cat confdefs.h
>>conftest.
$ac_ext
6552 cat >>conftest.
$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6556 #define $ac_func innocuous_$ac_func
6558 /* System header to define __stub macros and hopefully few prototypes,
6559 which can conflict with char $ac_func (); below.
6560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6561 <limits.h> exists even on freestanding compilers. */
6564 # include <limits.h>
6566 # include <assert.h>
6571 /* Override any GCC internal prototype to avoid an error.
6572 Use char because int might match the return type of a GCC
6573 builtin and then its argument prototype would still apply. */
6578 /* The GNU C library defines this for functions which it implements
6579 to always fail with ENOSYS. Some functions are actually named
6580 something starting with __ and the normal name is an alias. */
6581 #if defined __stub_$ac_func || defined __stub___$ac_func
6593 rm -f conftest.
$ac_objext conftest
$ac_exeext
6594 if { (ac_try
="$ac_link"
6596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6597 *) ac_try_echo=$ac_try;;
6599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6600 $as_echo "$ac_try_echo") >&5
6601 (eval "$ac_link") 2>conftest.er1
6603 grep -v '^ *+' conftest.er1 >conftest.err
6605 cat conftest.err >&5
6606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } && {
6608 test -z "$ac_c_werror_flag" ||
6609 test ! -s conftest.err
6610 } && test -s conftest$ac_exeext && {
6611 test "$cross_compiling" = yes ||
6612 $as_test_x conftest$ac_exeext
6614 eval "$as_ac_var=yes"
6616 $as_echo "$as_me: failed program was:" >&5
6617 sed 's/^/| /' conftest.$ac_ext >&5
6619 eval "$as_ac_var=no"
6622 rm -rf conftest.dSYM
6623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6624 conftest$ac_exeext conftest.$ac_ext
6626 ac_res=`eval 'as_val=${'$as_ac_var'}
6627 $as_echo "$as_val"'`
6628 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6629 $as_echo "$ac_res" >&6; }
6630 as_val=`eval 'as_val=${'$as_ac_var'}
6631 $as_echo "$as_val"'`
6632 if test "x$as_val" = x""yes; then
6633 cat >>confdefs.h <<_ACEOF
6634 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6640 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6641 # for constant arguments. Useless!
6642 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6643 $as_echo_n "checking for working alloca.h... " >&6; }
6644 if test "${ac_cv_working_alloca_h+set}" = set; then
6645 $as_echo_n "(cached) " >&6
6647 cat >conftest.$ac_ext <<_ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6657 char *p = (char *) alloca (2 * sizeof (int));
6663 rm -f conftest.$ac_objext conftest$ac_exeext
6664 if { (ac_try="$ac_link"
6666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6667 *) ac_try_echo
=$ac_try;;
6669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6670 $as_echo "$ac_try_echo") >&5
6671 (eval "$ac_link") 2>conftest.er1
6673 grep -v '^ *+' conftest.er1
>conftest.err
6675 cat conftest.err
>&5
6676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } && {
6678 test -z "$ac_c_werror_flag" ||
6679 test ! -s conftest.err
6680 } && test -s conftest
$ac_exeext && {
6681 test "$cross_compiling" = yes ||
6682 $as_test_x conftest
$ac_exeext
6684 ac_cv_working_alloca_h
=yes
6686 $as_echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.
$ac_ext >&5
6689 ac_cv_working_alloca_h
=no
6692 rm -rf conftest.dSYM
6693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6694 conftest
$ac_exeext conftest.
$ac_ext
6696 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6697 $as_echo "$ac_cv_working_alloca_h" >&6; }
6698 if test $ac_cv_working_alloca_h = yes; then
6700 cat >>confdefs.h
<<\_ACEOF
6701 #define HAVE_ALLOCA_H 1
6706 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6707 $as_echo_n "checking for alloca... " >&6; }
6708 if test "${ac_cv_func_alloca_works+set}" = set; then
6709 $as_echo_n "(cached) " >&6
6711 cat >conftest.
$ac_ext <<_ACEOF
6714 cat confdefs.h
>>conftest.
$ac_ext
6715 cat >>conftest.
$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6718 # define alloca __builtin_alloca
6721 # include <malloc.h>
6722 # define alloca _alloca
6724 # ifdef HAVE_ALLOCA_H
6725 # include <alloca.h>
6730 # ifndef alloca /* predefined by HP cc +Olibcalls */
6741 char *p = (char *) alloca (1);
6747 rm -f conftest.
$ac_objext conftest
$ac_exeext
6748 if { (ac_try
="$ac_link"
6750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6751 *) ac_try_echo=$ac_try;;
6753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6754 $as_echo "$ac_try_echo") >&5
6755 (eval "$ac_link") 2>conftest.er1
6757 grep -v '^ *+' conftest.er1 >conftest.err
6759 cat conftest.err >&5
6760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); } && {
6762 test -z "$ac_c_werror_flag" ||
6763 test ! -s conftest.err
6764 } && test -s conftest$ac_exeext && {
6765 test "$cross_compiling" = yes ||
6766 $as_test_x conftest$ac_exeext
6768 ac_cv_func_alloca_works=yes
6770 $as_echo "$as_me: failed program was:" >&5
6771 sed 's/^/| /' conftest.$ac_ext >&5
6773 ac_cv_func_alloca_works=no
6776 rm -rf conftest.dSYM
6777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6778 conftest$ac_exeext conftest.$ac_ext
6780 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6781 $as_echo "$ac_cv_func_alloca_works" >&6; }
6783 if test $ac_cv_func_alloca_works = yes; then
6785 cat >>confdefs.h <<\_ACEOF
6786 #define HAVE_ALLOCA 1
6790 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6791 # that cause trouble. Some versions do not even contain alloca or
6792 # contain a buggy version. If you still want to use their alloca,
6793 # use ar to extract alloca.o from them instead of compiling alloca.c.
6795 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6797 cat >>confdefs.h <<\_ACEOF
6802 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6803 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6804 if test "${ac_cv_os_cray+set}" = set; then
6805 $as_echo_n "(cached
) " >&6
6807 cat >conftest.$ac_ext <<_ACEOF
6810 cat confdefs.h >>conftest.$ac_ext
6811 cat >>conftest.$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6813 #if defined CRAY && ! defined CRAY2
6820 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6821 $EGREP "webecray
" >/dev/null 2>&1; then
6829 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6830 $as_echo "$ac_cv_os_cray" >&6; }
6831 if test $ac_cv_os_cray = yes; then
6832 for ac_func in _getb67 GETB67 getb67; do
6833 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6834 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6835 $as_echo_n "checking
for $ac_func...
" >&6; }
6836 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6837 $as_echo_n "(cached
) " >&6
6839 cat >conftest.$ac_ext <<_ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6847 #define $ac_func innocuous_$ac_func
6849 /* System header to define __stub macros and hopefully few prototypes,
6850 which can conflict with char $ac_func (); below.
6851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6852 <limits.h> exists even on freestanding compilers. */
6855 # include <limits.h>
6857 # include <assert.h>
6862 /* Override any GCC internal prototype to avoid an error.
6863 Use char because int might match the return type of a GCC
6864 builtin and then its argument prototype would still apply. */
6869 /* The GNU C library defines this for functions which it implements
6870 to always fail with ENOSYS. Some functions are actually named
6871 something starting with __ and the normal name is an alias. */
6872 #if defined __stub_$ac_func || defined __stub___$ac_func
6884 rm -f conftest.$ac_objext conftest$ac_exeext
6885 if { (ac_try="$ac_link"
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6891 $as_echo "$ac_try_echo") >&5
6892 (eval "$ac_link") 2>conftest.er1
6894 grep -v '^ *+' conftest.er1 >conftest.err
6896 cat conftest.err >&5
6897 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6898 (exit $ac_status); } && {
6899 test -z "$ac_c_werror_flag" ||
6900 test ! -s conftest.err
6901 } && test -s conftest$ac_exeext && {
6902 test "$cross_compiling" = yes ||
6903 $as_test_x conftest$ac_exeext
6905 eval "$as_ac_var=yes"
6907 $as_echo "$as_me: failed program was
:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6910 eval "$as_ac_var=no
"
6913 rm -rf conftest.dSYM
6914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6915 conftest$ac_exeext conftest.$ac_ext
6917 ac_res=`eval 'as_val=${'$as_ac_var'}
6918 $as_echo "$as_val"'`
6919 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6920 $as_echo "$ac_res" >&6; }
6921 as_val=`eval 'as_val=${'$as_ac_var'}
6922 $as_echo "$as_val"'`
6923 if test "x
$as_val" = x""yes; then
6925 cat >>confdefs.h <<_ACEOF
6926 #define CRAY_STACKSEG_END $ac_func
6935 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6936 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6937 if test "${ac_cv_c_stack_direction+set}" = set; then
6938 $as_echo_n "(cached
) " >&6
6940 if test "$cross_compiling" = yes; then
6941 ac_cv_c_stack_direction=0
6943 cat >conftest.$ac_ext <<_ACEOF
6946 cat confdefs.h >>conftest.$ac_ext
6947 cat >>conftest.$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 $ac_includes_default
6951 find_stack_direction ()
6953 static char *addr = 0;
6958 return find_stack_direction ();
6961 return (&dummy > addr) ? 1 : -1;
6967 return find_stack_direction () < 0;
6970 rm -f conftest$ac_exeext
6971 if { (ac_try="$ac_link"
6973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6974 *) ac_try_echo=$ac_try;;
6976 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6977 $as_echo "$ac_try_echo") >&5
6978 (eval "$ac_link") 2>&5
6980 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6982 { (case "(($ac_try" in
6983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6984 *) ac_try_echo=$ac_try;;
6986 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6987 $as_echo "$ac_try_echo") >&5
6988 (eval "$ac_try") 2>&5
6990 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_c_stack_direction=1
6994 $as_echo "$as_me: program exited with status
$ac_status" >&5
6995 $as_echo "$as_me: failed program was
:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6999 ac_cv_c_stack_direction=-1
7001 rm -rf conftest.dSYM
7002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7007 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7008 $as_echo "$ac_cv_c_stack_direction" >&6; }
7010 cat >>confdefs.h <<_ACEOF
7011 #define STACK_DIRECTION $ac_cv_c_stack_direction
7017 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7018 $as_echo_n "checking whether closedir returns void...
" >&6; }
7019 if test "${ac_cv_func_closedir_void+set}" = set; then
7020 $as_echo_n "(cached
) " >&6
7022 if test "$cross_compiling" = yes; then
7023 ac_cv_func_closedir_void=yes
7025 cat >conftest.$ac_ext <<_ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7031 $ac_includes_default
7032 #include <$ac_header_dirent>
7040 return closedir (opendir (".
")) != 0;
7045 rm -f conftest$ac_exeext
7046 if { (ac_try="$ac_link"
7048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7049 *) ac_try_echo=$ac_try;;
7051 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7052 $as_echo "$ac_try_echo") >&5
7053 (eval "$ac_link") 2>&5
7055 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7057 { (case "(($ac_try" in
7058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7059 *) ac_try_echo=$ac_try;;
7061 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7062 $as_echo "$ac_try_echo") >&5
7063 (eval "$ac_try") 2>&5
7065 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7066 (exit $ac_status); }; }; then
7067 ac_cv_func_closedir_void=no
7069 $as_echo "$as_me: program exited with status
$ac_status" >&5
7070 $as_echo "$as_me: failed program was
:" >&5
7071 sed 's/^/| /' conftest.$ac_ext >&5
7074 ac_cv_func_closedir_void=yes
7076 rm -rf conftest.dSYM
7077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7082 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7083 $as_echo "$ac_cv_func_closedir_void" >&6; }
7084 if test $ac_cv_func_closedir_void = yes; then
7086 cat >>confdefs.h <<\_ACEOF
7087 #define CLOSEDIR_VOID 1
7093 for ac_header in vfork.h
7095 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7096 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7097 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7098 $as_echo_n "checking
for $ac_header...
" >&6; }
7099 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7100 $as_echo_n "(cached
) " >&6
7102 ac_res=`eval 'as_val=${'$as_ac_Header'}
7103 $as_echo "$as_val"'`
7104 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7105 $as_echo "$ac_res" >&6; }
7107 # Is the header compilable?
7108 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7109 $as_echo_n "checking
$ac_header usability...
" >&6; }
7110 cat >conftest.$ac_ext <<_ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 $ac_includes_default
7117 #include <$ac_header>
7119 rm -f conftest.$ac_objext
7120 if { (ac_try="$ac_compile"
7122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7123 *) ac_try_echo=$ac_try;;
7125 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7126 $as_echo "$ac_try_echo") >&5
7127 (eval "$ac_compile") 2>conftest.er1
7129 grep -v '^ *+' conftest.er1 >conftest.err
7131 cat conftest.err >&5
7132 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7133 (exit $ac_status); } && {
7134 test -z "$ac_c_werror_flag" ||
7135 test ! -s conftest.err
7136 } && test -s conftest.$ac_objext; then
7137 ac_header_compiler=yes
7139 $as_echo "$as_me: failed program was
:" >&5
7140 sed 's/^/| /' conftest.$ac_ext >&5
7142 ac_header_compiler=no
7145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7147 $as_echo "$ac_header_compiler" >&6; }
7149 # Is the header present?
7150 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7151 $as_echo_n "checking
$ac_header presence...
" >&6; }
7152 cat >conftest.$ac_ext <<_ACEOF
7155 cat confdefs.h >>conftest.$ac_ext
7156 cat >>conftest.$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7158 #include <$ac_header>
7160 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7163 *) ac_try_echo=$ac_try;;
7165 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7166 $as_echo "$ac_try_echo") >&5
7167 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7169 grep -v '^ *+' conftest.er1 >conftest.err
7171 cat conftest.err >&5
7172 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7173 (exit $ac_status); } >/dev/null && {
7174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7175 test ! -s conftest.err
7177 ac_header_preproc=yes
7179 $as_echo "$as_me: failed program was
:" >&5
7180 sed 's/^/| /' conftest.$ac_ext >&5
7182 ac_header_preproc=no
7185 rm -f conftest.err conftest.$ac_ext
7186 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7187 $as_echo "$ac_header_preproc" >&6; }
7189 # So? What about this header?
7190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7192 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7193 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7194 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7195 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7196 ac_header_preproc=yes
7199 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7200 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7201 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7202 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7203 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7204 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7205 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7206 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7207 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7208 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7210 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7214 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7215 $as_echo_n "checking
for $ac_header...
" >&6; }
7216 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7217 $as_echo_n "(cached
) " >&6
7219 eval "$as_ac_Header=\
$ac_header_preproc"
7221 ac_res=`eval 'as_val=${'$as_ac_Header'}
7222 $as_echo "$as_val"'`
7223 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7224 $as_echo "$ac_res" >&6; }
7227 as_val=`eval 'as_val=${'$as_ac_Header'}
7228 $as_echo "$as_val"'`
7229 if test "x
$as_val" = x""yes; then
7230 cat >>confdefs.h <<_ACEOF
7231 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7240 for ac_func in fork vfork
7242 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7243 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7244 $as_echo_n "checking
for $ac_func...
" >&6; }
7245 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7246 $as_echo_n "(cached
) " >&6
7248 cat >conftest.$ac_ext <<_ACEOF
7251 cat confdefs.h >>conftest.$ac_ext
7252 cat >>conftest.$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7256 #define $ac_func innocuous_$ac_func
7258 /* System header to define __stub macros and hopefully few prototypes,
7259 which can conflict with char $ac_func (); below.
7260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7261 <limits.h> exists even on freestanding compilers. */
7264 # include <limits.h>
7266 # include <assert.h>
7271 /* Override any GCC internal prototype to avoid an error.
7272 Use char because int might match the return type of a GCC
7273 builtin and then its argument prototype would still apply. */
7278 /* The GNU C library defines this for functions which it implements
7279 to always fail with ENOSYS. Some functions are actually named
7280 something starting with __ and the normal name is an alias. */
7281 #if defined __stub_$ac_func || defined __stub___$ac_func
7293 rm -f conftest.$ac_objext conftest$ac_exeext
7294 if { (ac_try="$ac_link"
7296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7297 *) ac_try_echo=$ac_try;;
7299 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7300 $as_echo "$ac_try_echo") >&5
7301 (eval "$ac_link") 2>conftest.er1
7303 grep -v '^ *+' conftest.er1 >conftest.err
7305 cat conftest.err >&5
7306 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7307 (exit $ac_status); } && {
7308 test -z "$ac_c_werror_flag" ||
7309 test ! -s conftest.err
7310 } && test -s conftest$ac_exeext && {
7311 test "$cross_compiling" = yes ||
7312 $as_test_x conftest$ac_exeext
7314 eval "$as_ac_var=yes"
7316 $as_echo "$as_me: failed program was
:" >&5
7317 sed 's/^/| /' conftest.$ac_ext >&5
7319 eval "$as_ac_var=no
"
7322 rm -rf conftest.dSYM
7323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7324 conftest$ac_exeext conftest.$ac_ext
7326 ac_res=`eval 'as_val=${'$as_ac_var'}
7327 $as_echo "$as_val"'`
7328 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7329 $as_echo "$ac_res" >&6; }
7330 as_val=`eval 'as_val=${'$as_ac_var'}
7331 $as_echo "$as_val"'`
7332 if test "x
$as_val" = x""yes; then
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7340 if test "x
$ac_cv_func_fork" = xyes; then
7341 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7342 $as_echo_n "checking
for working fork...
" >&6; }
7343 if test "${ac_cv_func_fork_works+set}" = set; then
7344 $as_echo_n "(cached
) " >&6
7346 if test "$cross_compiling" = yes; then
7347 ac_cv_func_fork_works=cross
7349 cat >conftest.$ac_ext <<_ACEOF
7352 cat confdefs.h >>conftest.$ac_ext
7353 cat >>conftest.$ac_ext <<_ACEOF
7354 /* end confdefs.h. */
7355 $ac_includes_default
7360 /* By Ruediger Kuhlmann. */
7367 rm -f conftest$ac_exeext
7368 if { (ac_try="$ac_link"
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7373 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7374 $as_echo "$ac_try_echo") >&5
7375 (eval "$ac_link") 2>&5
7377 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7379 { (case "(($ac_try" in
7380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7381 *) ac_try_echo=$ac_try;;
7383 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7384 $as_echo "$ac_try_echo") >&5
7385 (eval "$ac_try") 2>&5
7387 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 ac_cv_func_fork_works=yes
7391 $as_echo "$as_me: program exited with status
$ac_status" >&5
7392 $as_echo "$as_me: failed program was
:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_func_fork_works=no
7398 rm -rf conftest.dSYM
7399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7404 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7405 $as_echo "$ac_cv_func_fork_works" >&6; }
7408 ac_cv_func_fork_works=$ac_cv_func_fork
7410 if test "x
$ac_cv_func_fork_works" = xcross; then
7412 *-*-amigaos* | *-*-msdosdjgpp*)
7413 # Override, as these systems have only a dummy fork() stub
7414 ac_cv_func_fork_works=no
7417 ac_cv_func_fork_works=yes
7420 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7421 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7423 ac_cv_func_vfork_works=$ac_cv_func_vfork
7424 if test "x
$ac_cv_func_vfork" = xyes; then
7425 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7426 $as_echo_n "checking
for working vfork...
" >&6; }
7427 if test "${ac_cv_func_vfork_works+set}" = set; then
7428 $as_echo_n "(cached
) " >&6
7430 if test "$cross_compiling" = yes; then
7431 ac_cv_func_vfork_works=cross
7433 cat >conftest.$ac_ext <<_ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 /* Thanks to Paul Eggert for this test. */
7440 $ac_includes_default
7441 #include <sys/wait.h>
7445 /* On some sparc systems, changes by the child to local and incoming
7446 argument registers are propagated back to the parent. The compiler
7447 is told about this with #include <vfork.h>, but some compilers
7448 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7449 static variable whose address is put into a register that is
7450 clobbered by the vfork. */
7453 sparc_address_test (int arg)
7455 sparc_address_test (arg) int arg;
7476 pid_t parent = getpid ();
7479 sparc_address_test (0);
7484 /* Here is another test for sparc vfork register problems. This
7485 test uses lots of local variables, at least as many local
7486 variables as main has allocated so far including compiler
7487 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7488 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7489 reuse the register of parent for one of the local variables,
7490 since it will think that parent can't possibly be used any more
7491 in this routine. Assigning to the local variable will thus
7492 munge parent in the parent process. */
7494 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7495 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7496 /* Convince the compiler that p..p7 are live; otherwise, it might
7497 use the same hardware register for all 8 local variables. */
7498 if (p != p1 || p != p2 || p != p3 || p != p4
7499 || p != p5 || p != p6 || p != p7)
7502 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7503 from child file descriptors. If the child closes a descriptor
7504 before it execs or exits, this munges the parent's descriptor
7505 as well. Test for this by closing stdout in the child. */
7506 _exit(close(fileno(stdout)) != 0);
7511 while (wait(&status) != child)
7514 /* Was there some problem with vforking? */
7517 /* Did the child fail? (This shouldn't happen.) */
7520 /* Did the vfork/compiler bug occur? */
7521 || parent != getpid()
7523 /* Did the file descriptor bug occur? */
7524 || fstat(fileno(stdout), &st) != 0
7529 rm -f conftest$ac_exeext
7530 if { (ac_try="$ac_link"
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7536 $as_echo "$ac_try_echo") >&5
7537 (eval "$ac_link") 2>&5
7539 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7541 { (case "(($ac_try" in
7542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7543 *) ac_try_echo=$ac_try;;
7545 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7546 $as_echo "$ac_try_echo") >&5
7547 (eval "$ac_try") 2>&5
7549 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7550 (exit $ac_status); }; }; then
7551 ac_cv_func_vfork_works=yes
7553 $as_echo "$as_me: program exited with status
$ac_status" >&5
7554 $as_echo "$as_me: failed program was
:" >&5
7555 sed 's/^/| /' conftest.$ac_ext >&5
7558 ac_cv_func_vfork_works=no
7560 rm -rf conftest.dSYM
7561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7566 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7567 $as_echo "$ac_cv_func_vfork_works" >&6; }
7570 if test "x
$ac_cv_func_fork_works" = xcross; then
7571 ac_cv_func_vfork_works=$ac_cv_func_vfork
7572 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7573 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7576 if test "x
$ac_cv_func_vfork_works" = xyes; then
7578 cat >>confdefs.h <<\_ACEOF
7579 #define HAVE_WORKING_VFORK 1
7584 cat >>confdefs.h <<\_ACEOF
7589 if test "x
$ac_cv_func_fork_works" = xyes; then
7591 cat >>confdefs.h <<\_ACEOF
7592 #define HAVE_WORKING_FORK 1
7597 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7598 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7599 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7600 $as_echo_n "(cached
) " >&6
7602 rm -f conftest.sym conftest.file
7604 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7605 if test "$cross_compiling" = yes; then
7606 ac_cv_func_lstat_dereferences_slashed_symlink=no
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 $ac_includes_default
7619 /* Linux will dereference the symlink and fail.
7620 That is better in the sense that it means we will not
7621 have to compile and use the lstat wrapper. */
7622 return lstat ("conftest.sym
/", &sbuf) == 0;
7627 rm -f conftest$ac_exeext
7628 if { (ac_try="$ac_link"
7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7634 $as_echo "$ac_try_echo") >&5
7635 (eval "$ac_link") 2>&5
7637 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7639 { (case "(($ac_try" in
7640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7643 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7644 $as_echo "$ac_try_echo") >&5
7645 (eval "$ac_try") 2>&5
7647 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7648 (exit $ac_status); }; }; then
7649 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7651 $as_echo "$as_me: program exited with status
$ac_status" >&5
7652 $as_echo "$as_me: failed program was
:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7656 ac_cv_func_lstat_dereferences_slashed_symlink=no
7658 rm -rf conftest.dSYM
7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7664 # If the `ln -s' command failed, then we probably don't even
7665 # have an lstat function.
7666 ac_cv_func_lstat_dereferences_slashed_symlink=no
7668 rm -f conftest.sym conftest.file
7671 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7672 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7674 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7676 cat >>confdefs.h <<_ACEOF
7677 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7681 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7682 case " $LIBOBJS " in
7683 *" lstat.
$ac_objext "* ) ;;
7684 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7690 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7691 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7692 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7693 $as_echo_n "(cached
) " >&6
7695 if test "$cross_compiling" = yes; then
7696 ac_cv_func_lstat_empty_string_bug=yes
7698 cat >conftest.$ac_ext <<_ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 $ac_includes_default
7709 return lstat ("", &sbuf) == 0;
7714 rm -f conftest$ac_exeext
7715 if { (ac_try="$ac_link"
7717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7718 *) ac_try_echo=$ac_try;;
7720 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7721 $as_echo "$ac_try_echo") >&5
7722 (eval "$ac_link") 2>&5
7724 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7726 { (case "(($ac_try" in
7727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7730 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7731 $as_echo "$ac_try_echo") >&5
7732 (eval "$ac_try") 2>&5
7734 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7735 (exit $ac_status); }; }; then
7736 ac_cv_func_lstat_empty_string_bug=no
7738 $as_echo "$as_me: program exited with status
$ac_status" >&5
7739 $as_echo "$as_me: failed program was
:" >&5
7740 sed 's/^/| /' conftest.$ac_ext >&5
7743 ac_cv_func_lstat_empty_string_bug=yes
7745 rm -rf conftest.dSYM
7746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7751 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7752 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7753 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7754 case " $LIBOBJS " in
7755 *" lstat.
$ac_objext "* ) ;;
7756 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7768 for ac_header in stdlib.h
7770 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7772 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7773 $as_echo_n "checking
for $ac_header...
" >&6; }
7774 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7775 $as_echo_n "(cached
) " >&6
7777 ac_res=`eval 'as_val=${'$as_ac_Header'}
7778 $as_echo "$as_val"'`
7779 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7780 $as_echo "$ac_res" >&6; }
7782 # Is the header compilable?
7783 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7784 $as_echo_n "checking
$ac_header usability...
" >&6; }
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7791 $ac_includes_default
7792 #include <$ac_header>
7794 rm -f conftest.$ac_objext
7795 if { (ac_try="$ac_compile"
7797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7798 *) ac_try_echo=$ac_try;;
7800 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7801 $as_echo "$ac_try_echo") >&5
7802 (eval "$ac_compile") 2>conftest.er1
7804 grep -v '^ *+' conftest.er1 >conftest.err
7806 cat conftest.err >&5
7807 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7808 (exit $ac_status); } && {
7809 test -z "$ac_c_werror_flag" ||
7810 test ! -s conftest.err
7811 } && test -s conftest.$ac_objext; then
7812 ac_header_compiler=yes
7814 $as_echo "$as_me: failed program was
:" >&5
7815 sed 's/^/| /' conftest.$ac_ext >&5
7817 ac_header_compiler=no
7820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7821 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7822 $as_echo "$ac_header_compiler" >&6; }
7824 # Is the header present?
7825 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7826 $as_echo_n "checking
$ac_header presence...
" >&6; }
7827 cat >conftest.$ac_ext <<_ACEOF
7830 cat confdefs.h >>conftest.$ac_ext
7831 cat >>conftest.$ac_ext <<_ACEOF
7832 /* end confdefs.h. */
7833 #include <$ac_header>
7835 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7838 *) ac_try_echo=$ac_try;;
7840 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7841 $as_echo "$ac_try_echo") >&5
7842 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7844 grep -v '^ *+' conftest.er1 >conftest.err
7846 cat conftest.err >&5
7847 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7848 (exit $ac_status); } >/dev/null && {
7849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7850 test ! -s conftest.err
7852 ac_header_preproc=yes
7854 $as_echo "$as_me: failed program was
:" >&5
7855 sed 's/^/| /' conftest.$ac_ext >&5
7857 ac_header_preproc=no
7860 rm -f conftest.err conftest.$ac_ext
7861 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7862 $as_echo "$ac_header_preproc" >&6; }
7864 # So? What about this header?
7865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7867 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7868 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7869 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7870 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7871 ac_header_preproc=yes
7874 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7875 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7877 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7878 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7879 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7880 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7881 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7882 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7883 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7884 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7885 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7889 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7890 $as_echo_n "checking
for $ac_header...
" >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7892 $as_echo_n "(cached
) " >&6
7894 eval "$as_ac_Header=\
$ac_header_preproc"
7896 ac_res=`eval 'as_val=${'$as_ac_Header'}
7897 $as_echo "$as_val"'`
7898 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7899 $as_echo "$ac_res" >&6; }
7902 as_val=`eval 'as_val=${'$as_ac_Header'}
7903 $as_echo "$as_val"'`
7904 if test "x
$as_val" = x""yes; then
7905 cat >>confdefs.h <<_ACEOF
7906 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7913 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7914 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7915 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7916 $as_echo_n "(cached
) " >&6
7918 if test "$cross_compiling" = yes; then
7919 ac_cv_func_malloc_0_nonnull=no
7921 cat >conftest.$ac_ext <<_ACEOF
7924 cat confdefs.h >>conftest.$ac_ext
7925 cat >>conftest.$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7927 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7928 # include <stdlib.h>
7936 return ! malloc (0);
7941 rm -f conftest$ac_exeext
7942 if { (ac_try="$ac_link"
7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7945 *) ac_try_echo=$ac_try;;
7947 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7948 $as_echo "$ac_try_echo") >&5
7949 (eval "$ac_link") 2>&5
7951 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7953 { (case "(($ac_try" in
7954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7955 *) ac_try_echo=$ac_try;;
7957 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7958 $as_echo "$ac_try_echo") >&5
7959 (eval "$ac_try") 2>&5
7961 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7962 (exit $ac_status); }; }; then
7963 ac_cv_func_malloc_0_nonnull=yes
7965 $as_echo "$as_me: program exited with status
$ac_status" >&5
7966 $as_echo "$as_me: failed program was
:" >&5
7967 sed 's/^/| /' conftest.$ac_ext >&5
7970 ac_cv_func_malloc_0_nonnull=no
7972 rm -rf conftest.dSYM
7973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7978 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7979 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7980 if test $ac_cv_func_malloc_0_nonnull = yes; then
7982 cat >>confdefs.h <<\_ACEOF
7983 #define HAVE_MALLOC 1
7987 cat >>confdefs.h <<\_ACEOF
7988 #define HAVE_MALLOC 0
7991 case " $LIBOBJS " in
7992 *" malloc.
$ac_objext "* ) ;;
7993 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
7998 cat >>confdefs.h <<\_ACEOF
7999 #define malloc rpl_malloc
8006 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8007 $as_echo_n "checking
for working memcmp...
" >&6; }
8008 if test "${ac_cv_func_memcmp_working+set}" = set; then
8009 $as_echo_n "(cached
) " >&6
8011 if test "$cross_compiling" = yes; then
8012 ac_cv_func_memcmp_working=no
8014 cat >conftest.$ac_ext <<_ACEOF
8017 cat confdefs.h >>conftest.$ac_ext
8018 cat >>conftest.$ac_ext <<_ACEOF
8019 /* end confdefs.h. */
8020 $ac_includes_default
8025 /* Some versions of memcmp are not 8-bit clean. */
8026 char c0 = '\100', c1 = '\200', c2 = '\201';
8027 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8030 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8031 or more and with at least one buffer not starting on a 4-byte boundary.
8032 William Lewis provided this test program. */
8037 for (i = 0; i < 4; i++)
8041 strcpy (a, "--------01111111");
8042 strcpy (b, "--------10000000");
8043 if (memcmp (a, b, 16) >= 0)
8053 rm -f conftest$ac_exeext
8054 if { (ac_try="$ac_link"
8056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8057 *) ac_try_echo=$ac_try;;
8059 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8060 $as_echo "$ac_try_echo") >&5
8061 (eval "$ac_link") 2>&5
8063 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8065 { (case "(($ac_try" in
8066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8067 *) ac_try_echo=$ac_try;;
8069 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8070 $as_echo "$ac_try_echo") >&5
8071 (eval "$ac_try") 2>&5
8073 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8074 (exit $ac_status); }; }; then
8075 ac_cv_func_memcmp_working=yes
8077 $as_echo "$as_me: program exited with status
$ac_status" >&5
8078 $as_echo "$as_me: failed program was
:" >&5
8079 sed 's/^/| /' conftest.$ac_ext >&5
8082 ac_cv_func_memcmp_working=no
8084 rm -rf conftest.dSYM
8085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8090 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8091 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8092 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8093 *" memcmp.
$ac_objext "* ) ;;
8094 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8101 for ac_header in stdlib.h unistd.h
8103 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8104 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8105 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8106 $as_echo_n "checking
for $ac_header...
" >&6; }
8107 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8108 $as_echo_n "(cached
) " >&6
8110 ac_res=`eval 'as_val=${'$as_ac_Header'}
8111 $as_echo "$as_val"'`
8112 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8113 $as_echo "$ac_res" >&6; }
8115 # Is the header compilable?
8116 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8117 $as_echo_n "checking
$ac_header usability...
" >&6; }
8118 cat >conftest.$ac_ext <<_ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8125 #include <$ac_header>
8127 rm -f conftest.$ac_objext
8128 if { (ac_try="$ac_compile"
8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8133 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8134 $as_echo "$ac_try_echo") >&5
8135 (eval "$ac_compile") 2>conftest.er1
8137 grep -v '^ *+' conftest.er1 >conftest.err
8139 cat conftest.err >&5
8140 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8141 (exit $ac_status); } && {
8142 test -z "$ac_c_werror_flag" ||
8143 test ! -s conftest.err
8144 } && test -s conftest.$ac_objext; then
8145 ac_header_compiler=yes
8147 $as_echo "$as_me: failed program was
:" >&5
8148 sed 's/^/| /' conftest.$ac_ext >&5
8150 ac_header_compiler=no
8153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8155 $as_echo "$ac_header_compiler" >&6; }
8157 # Is the header present?
8158 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8159 $as_echo_n "checking
$ac_header presence...
" >&6; }
8160 cat >conftest.$ac_ext <<_ACEOF
8163 cat confdefs.h >>conftest.$ac_ext
8164 cat >>conftest.$ac_ext <<_ACEOF
8165 /* end confdefs.h. */
8166 #include <$ac_header>
8168 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8171 *) ac_try_echo=$ac_try;;
8173 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8174 $as_echo "$ac_try_echo") >&5
8175 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8177 grep -v '^ *+' conftest.er1 >conftest.err
8179 cat conftest.err >&5
8180 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8181 (exit $ac_status); } >/dev/null && {
8182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8183 test ! -s conftest.err
8185 ac_header_preproc=yes
8187 $as_echo "$as_me: failed program was
:" >&5
8188 sed 's/^/| /' conftest.$ac_ext >&5
8190 ac_header_preproc=no
8193 rm -f conftest.err conftest.$ac_ext
8194 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8195 $as_echo "$ac_header_preproc" >&6; }
8197 # So? What about this header?
8198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8200 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8201 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8202 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8203 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8204 ac_header_preproc=yes
8207 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8208 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8210 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8211 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8212 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8213 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8214 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8215 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8216 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8217 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8218 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8222 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8223 $as_echo_n "checking
for $ac_header...
" >&6; }
8224 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8225 $as_echo_n "(cached
) " >&6
8227 eval "$as_ac_Header=\
$ac_header_preproc"
8229 ac_res=`eval 'as_val=${'$as_ac_Header'}
8230 $as_echo "$as_val"'`
8231 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8232 $as_echo "$ac_res" >&6; }
8235 as_val=`eval 'as_val=${'$as_ac_Header'}
8236 $as_echo "$as_val"'`
8237 if test "x
$as_val" = x""yes; then
8238 cat >>confdefs.h <<_ACEOF
8239 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8247 for ac_func in getpagesize
8249 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8250 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8251 $as_echo_n "checking
for $ac_func...
" >&6; }
8252 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8253 $as_echo_n "(cached
) " >&6
8255 cat >conftest.$ac_ext <<_ACEOF
8258 cat confdefs.h >>conftest.$ac_ext
8259 cat >>conftest.$ac_ext <<_ACEOF
8260 /* end confdefs.h. */
8261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8263 #define $ac_func innocuous_$ac_func
8265 /* System header to define __stub macros and hopefully few prototypes,
8266 which can conflict with char $ac_func (); below.
8267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8268 <limits.h> exists even on freestanding compilers. */
8271 # include <limits.h>
8273 # include <assert.h>
8278 /* Override any GCC internal prototype to avoid an error.
8279 Use char because int might match the return type of a GCC
8280 builtin and then its argument prototype would still apply. */
8285 /* The GNU C library defines this for functions which it implements
8286 to always fail with ENOSYS. Some functions are actually named
8287 something starting with __ and the normal name is an alias. */
8288 #if defined __stub_$ac_func || defined __stub___$ac_func
8300 rm -f conftest.$ac_objext conftest$ac_exeext
8301 if { (ac_try="$ac_link"
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8306 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8307 $as_echo "$ac_try_echo") >&5
8308 (eval "$ac_link") 2>conftest.er1
8310 grep -v '^ *+' conftest.er1 >conftest.err
8312 cat conftest.err >&5
8313 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest$ac_exeext && {
8318 test "$cross_compiling" = yes ||
8319 $as_test_x conftest$ac_exeext
8321 eval "$as_ac_var=yes"
8323 $as_echo "$as_me: failed program was
:" >&5
8324 sed 's/^/| /' conftest.$ac_ext >&5
8326 eval "$as_ac_var=no
"
8329 rm -rf conftest.dSYM
8330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8331 conftest$ac_exeext conftest.$ac_ext
8333 ac_res=`eval 'as_val=${'$as_ac_var'}
8334 $as_echo "$as_val"'`
8335 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8336 $as_echo "$ac_res" >&6; }
8337 as_val=`eval 'as_val=${'$as_ac_var'}
8338 $as_echo "$as_val"'`
8339 if test "x
$as_val" = x""yes; then
8340 cat >>confdefs.h <<_ACEOF
8341 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8347 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8348 $as_echo_n "checking
for working mmap...
" >&6; }
8349 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8350 $as_echo_n "(cached
) " >&6
8352 if test "$cross_compiling" = yes; then
8353 ac_cv_func_mmap_fixed_mapped=no
8355 cat >conftest.$ac_ext <<_ACEOF
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8361 $ac_includes_default
8362 /* malloc might have been renamed as rpl_malloc. */
8365 /* Thanks to Mike Haertel and Jim Avera for this test.
8366 Here is a matrix of mmap possibilities:
8367 mmap private not fixed
8368 mmap private fixed at somewhere currently unmapped
8369 mmap private fixed at somewhere already mapped
8370 mmap shared not fixed
8371 mmap shared fixed at somewhere currently unmapped
8372 mmap shared fixed at somewhere already mapped
8373 For private mappings, we should verify that changes cannot be read()
8374 back from the file, nor mmap's back from the file at a different
8375 address. (There have been systems where private was not correctly
8376 implemented like the infamous i386 svr4.0, and systems where the
8377 VM page cache was not coherent with the file system buffer cache
8378 like early versions of FreeBSD and possibly contemporary NetBSD.)
8379 For shared mappings, we should conversely verify that changes get
8380 propagated back to all the places they're supposed to be.
8382 Grep wants private fixed already mapped.
8383 The main things grep needs to know about mmap are:
8384 * does it exist and is it safe to write into the mmap'd area
8385 * how to use it (BSD variants) */
8388 #include <sys/mman.h>
8390 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8394 /* This mess was copied from the GNU getpagesize.h. */
8395 #ifndef HAVE_GETPAGESIZE
8396 /* Assume that all systems that can run configure have sys/param.h. */
8397 # ifndef HAVE_SYS_PARAM_H
8398 # define HAVE_SYS_PARAM_H 1
8401 # ifdef _SC_PAGESIZE
8402 # define getpagesize() sysconf(_SC_PAGESIZE)
8403 # else /* no _SC_PAGESIZE */
8404 # ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8406 # ifdef EXEC_PAGESIZE
8407 # define getpagesize() EXEC_PAGESIZE
8408 # else /* no EXEC_PAGESIZE */
8410 # define getpagesize() NBPG * CLSIZE
8413 # endif /* no CLSIZE */
8414 # else /* no NBPG */
8416 # define getpagesize() NBPC
8417 # else /* no NBPC */
8419 # define getpagesize() PAGESIZE
8420 # endif /* PAGESIZE */
8421 # endif /* no NBPC */
8422 # endif /* no NBPG */
8423 # endif /* no EXEC_PAGESIZE */
8424 # else /* no HAVE_SYS_PARAM_H */
8425 # define getpagesize() 8192 /* punt totally */
8426 # endif /* no HAVE_SYS_PARAM_H */
8427 # endif /* no _SC_PAGESIZE */
8429 #endif /* no HAVE_GETPAGESIZE */
8434 char *data, *data2, *data3;
8438 pagesize = getpagesize ();
8440 /* First, make a file with some known garbage in it. */
8441 data = (char *) malloc (pagesize);
8444 for (i = 0; i < pagesize; ++i)
8445 *(data + i) = rand ();
8447 fd = creat ("conftest.mmap
", 0600);
8450 if (write (fd, data, pagesize) != pagesize)
8454 /* Next, try to mmap the file at a fixed address which already has
8455 something else allocated at it. If we can, also make sure that
8456 we see the same garbage. */
8457 fd = open ("conftest.mmap
", O_RDWR);
8460 data2 = (char *) malloc (2 * pagesize);
8463 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8464 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8465 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8467 for (i = 0; i < pagesize; ++i)
8468 if (*(data + i) != *(data2 + i))
8471 /* Finally, make sure that changes to the mapped area do not
8472 percolate back to the file as seen by read(). (This is a bug on
8473 some variants of i386 svr4.0.) */
8474 for (i = 0; i < pagesize; ++i)
8475 *(data2 + i) = *(data2 + i) + 1;
8476 data3 = (char *) malloc (pagesize);
8479 if (read (fd, data3, pagesize) != pagesize)
8481 for (i = 0; i < pagesize; ++i)
8482 if (*(data + i) != *(data3 + i))
8488 rm -f conftest$ac_exeext
8489 if { (ac_try="$ac_link"
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8494 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8495 $as_echo "$ac_try_echo") >&5
8496 (eval "$ac_link") 2>&5
8498 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8500 { (case "(($ac_try" in
8501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8504 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8505 $as_echo "$ac_try_echo") >&5
8506 (eval "$ac_try") 2>&5
8508 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8509 (exit $ac_status); }; }; then
8510 ac_cv_func_mmap_fixed_mapped=yes
8512 $as_echo "$as_me: program exited with status
$ac_status" >&5
8513 $as_echo "$as_me: failed program was
:" >&5
8514 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_func_mmap_fixed_mapped=no
8519 rm -rf conftest.dSYM
8520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8525 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8526 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8527 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8529 cat >>confdefs.h <<\_ACEOF
8536 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8537 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8538 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8539 $as_echo_n "(cached
) " >&6
8541 if test "$cross_compiling" = yes; then
8542 ac_cv_func_stat_empty_string_bug=yes
8544 cat >conftest.$ac_ext <<_ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 $ac_includes_default
8555 return stat ("", &sbuf) == 0;
8560 rm -f conftest$ac_exeext
8561 if { (ac_try="$ac_link"
8563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 *) ac_try_echo=$ac_try;;
8566 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8567 $as_echo "$ac_try_echo") >&5
8568 (eval "$ac_link") 2>&5
8570 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8572 { (case "(($ac_try" in
8573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8574 *) ac_try_echo=$ac_try;;
8576 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8577 $as_echo "$ac_try_echo") >&5
8578 (eval "$ac_try") 2>&5
8580 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8581 (exit $ac_status); }; }; then
8582 ac_cv_func_stat_empty_string_bug=no
8584 $as_echo "$as_me: program exited with status
$ac_status" >&5
8585 $as_echo "$as_me: failed program was
:" >&5
8586 sed 's/^/| /' conftest.$ac_ext >&5
8589 ac_cv_func_stat_empty_string_bug=yes
8591 rm -rf conftest.dSYM
8592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8597 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8598 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8599 if test $ac_cv_func_stat_empty_string_bug = yes; then
8600 case " $LIBOBJS " in
8601 *" stat.
$ac_objext "* ) ;;
8602 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8607 cat >>confdefs.h <<_ACEOF
8608 #define HAVE_STAT_EMPTY_STRING_BUG 1
8613 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8614 $as_echo_n "checking
for working strtod...
" >&6; }
8615 if test "${ac_cv_func_strtod+set}" = set; then
8616 $as_echo_n "(cached
) " >&6
8618 if test "$cross_compiling" = yes; then
8619 ac_cv_func_strtod=no
8621 cat >conftest.$ac_ext <<_ACEOF
8624 cat confdefs.h >>conftest.$ac_ext
8625 cat >>conftest.$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8628 $ac_includes_default
8636 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8637 char *string = " +69";
8640 value = strtod (string, &term);
8641 if (value != 69 || term != (string + 4))
8646 /* Under Solaris 2.4, strtod returns the wrong value for the
8647 terminating character under some conditions. */
8648 char *string = "NaN
";
8650 strtod (string, &term);
8651 if (term != string && *(term - 1) == 0)
8658 rm -f conftest$ac_exeext
8659 if { (ac_try="$ac_link"
8661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8662 *) ac_try_echo=$ac_try;;
8664 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8665 $as_echo "$ac_try_echo") >&5
8666 (eval "$ac_link") 2>&5
8668 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8670 { (case "(($ac_try" in
8671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8672 *) ac_try_echo=$ac_try;;
8674 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8675 $as_echo "$ac_try_echo") >&5
8676 (eval "$ac_try") 2>&5
8678 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8679 (exit $ac_status); }; }; then
8680 ac_cv_func_strtod=yes
8682 $as_echo "$as_me: program exited with status
$ac_status" >&5
8683 $as_echo "$as_me: failed program was
:" >&5
8684 sed 's/^/| /' conftest.$ac_ext >&5
8687 ac_cv_func_strtod=no
8689 rm -rf conftest.dSYM
8690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8695 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8696 $as_echo "$ac_cv_func_strtod" >&6; }
8697 if test $ac_cv_func_strtod = no; then
8698 case " $LIBOBJS " in
8699 *" strtod.
$ac_objext "* ) ;;
8700 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8704 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8705 $as_echo_n "checking
for pow...
" >&6; }
8706 if test "${ac_cv_func_pow+set}" = set; then
8707 $as_echo_n "(cached
) " >&6
8709 cat >conftest.$ac_ext <<_ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8715 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8717 #define pow innocuous_pow
8719 /* System header to define __stub macros and hopefully few prototypes,
8720 which can conflict with char pow (); below.
8721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8722 <limits.h> exists even on freestanding compilers. */
8725 # include <limits.h>
8727 # include <assert.h>
8732 /* Override any GCC internal prototype to avoid an error.
8733 Use char because int might match the return type of a GCC
8734 builtin and then its argument prototype would still apply. */
8739 /* The GNU C library defines this for functions which it implements
8740 to always fail with ENOSYS. Some functions are actually named
8741 something starting with __ and the normal name is an alias. */
8742 #if defined __stub_pow || defined __stub___pow
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (ac_try="$ac_link"
8757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8758 *) ac_try_echo=$ac_try;;
8760 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8761 $as_echo "$ac_try_echo") >&5
8762 (eval "$ac_link") 2>conftest.er1
8764 grep -v '^ *+' conftest.er1 >conftest.err
8766 cat conftest.err >&5
8767 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8768 (exit $ac_status); } && {
8769 test -z "$ac_c_werror_flag" ||
8770 test ! -s conftest.err
8771 } && test -s conftest$ac_exeext && {
8772 test "$cross_compiling" = yes ||
8773 $as_test_x conftest$ac_exeext
8777 $as_echo "$as_me: failed program was
:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8783 rm -rf conftest.dSYM
8784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8785 conftest$ac_exeext conftest.$ac_ext
8787 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8788 $as_echo "$ac_cv_func_pow" >&6; }
8790 if test $ac_cv_func_pow = no; then
8791 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8792 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8793 if test "${ac_cv_lib_m_pow+set}" = set; then
8794 $as_echo_n "(cached
) " >&6
8796 ac_check_lib_save_LIBS=$LIBS
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8805 /* Override any GCC internal prototype to avoid an error.
8806 Use char because int might match the return type of a GCC
8807 builtin and then its argument prototype would still apply. */
8820 rm -f conftest.$ac_objext conftest$ac_exeext
8821 if { (ac_try="$ac_link"
8823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8824 *) ac_try_echo=$ac_try;;
8826 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8827 $as_echo "$ac_try_echo") >&5
8828 (eval "$ac_link") 2>conftest.er1
8830 grep -v '^ *+' conftest.er1 >conftest.err
8832 cat conftest.err >&5
8833 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_c_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest$ac_exeext && {
8838 test "$cross_compiling" = yes ||
8839 $as_test_x conftest$ac_exeext
8843 $as_echo "$as_me: failed program was
:" >&5
8844 sed 's/^/| /' conftest.$ac_ext >&5
8849 rm -rf conftest.dSYM
8850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8851 conftest$ac_exeext conftest.$ac_ext
8852 LIBS=$ac_check_lib_save_LIBS
8854 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8855 $as_echo "$ac_cv_lib_m_pow" >&6; }
8856 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8859 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8860 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8868 for ac_func in vprintf
8870 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8871 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8872 $as_echo_n "checking
for $ac_func...
" >&6; }
8873 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8874 $as_echo_n "(cached
) " >&6
8876 cat >conftest.$ac_ext <<_ACEOF
8879 cat confdefs.h >>conftest.$ac_ext
8880 cat >>conftest.$ac_ext <<_ACEOF
8881 /* end confdefs.h. */
8882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8884 #define $ac_func innocuous_$ac_func
8886 /* System header to define __stub macros and hopefully few prototypes,
8887 which can conflict with char $ac_func (); below.
8888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8889 <limits.h> exists even on freestanding compilers. */
8892 # include <limits.h>
8894 # include <assert.h>
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8906 /* The GNU C library defines this for functions which it implements
8907 to always fail with ENOSYS. Some functions are actually named
8908 something starting with __ and the normal name is an alias. */
8909 #if defined __stub_$ac_func || defined __stub___$ac_func
8921 rm -f conftest.$ac_objext conftest$ac_exeext
8922 if { (ac_try="$ac_link"
8924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925 *) ac_try_echo=$ac_try;;
8927 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8928 $as_echo "$ac_try_echo") >&5
8929 (eval "$ac_link") 2>conftest.er1
8931 grep -v '^ *+' conftest.er1 >conftest.err
8933 cat conftest.err >&5
8934 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8935 (exit $ac_status); } && {
8936 test -z "$ac_c_werror_flag" ||
8937 test ! -s conftest.err
8938 } && test -s conftest$ac_exeext && {
8939 test "$cross_compiling" = yes ||
8940 $as_test_x conftest$ac_exeext
8942 eval "$as_ac_var=yes"
8944 $as_echo "$as_me: failed program was
:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 eval "$as_ac_var=no
"
8950 rm -rf conftest.dSYM
8951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8952 conftest$ac_exeext conftest.$ac_ext
8954 ac_res=`eval 'as_val=${'$as_ac_var'}
8955 $as_echo "$as_val"'`
8956 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8957 $as_echo "$ac_res" >&6; }
8958 as_val=`eval 'as_val=${'$as_ac_var'}
8959 $as_echo "$as_val"'`
8960 if test "x
$as_val" = x""yes; then
8961 cat >>confdefs.h <<_ACEOF
8962 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8965 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8966 $as_echo_n "checking
for _doprnt...
" >&6; }
8967 if test "${ac_cv_func__doprnt+set}" = set; then
8968 $as_echo_n "(cached
) " >&6
8970 cat >conftest.$ac_ext <<_ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8976 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8978 #define _doprnt innocuous__doprnt
8980 /* System header to define __stub macros and hopefully few prototypes,
8981 which can conflict with char _doprnt (); below.
8982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8983 <limits.h> exists even on freestanding compilers. */
8986 # include <limits.h>
8988 # include <assert.h>
8993 /* Override any GCC internal prototype to avoid an error.
8994 Use char because int might match the return type of a GCC
8995 builtin and then its argument prototype would still apply. */
9000 /* The GNU C library defines this for functions which it implements
9001 to always fail with ENOSYS. Some functions are actually named
9002 something starting with __ and the normal name is an alias. */
9003 #if defined __stub__doprnt || defined __stub____doprnt
9015 rm -f conftest.$ac_objext conftest$ac_exeext
9016 if { (ac_try="$ac_link"
9018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9019 *) ac_try_echo=$ac_try;;
9021 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9022 $as_echo "$ac_try_echo") >&5
9023 (eval "$ac_link") 2>conftest.er1
9025 grep -v '^ *+' conftest.er1 >conftest.err
9027 cat conftest.err >&5
9028 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9029 (exit $ac_status); } && {
9030 test -z "$ac_c_werror_flag" ||
9031 test ! -s conftest.err
9032 } && test -s conftest$ac_exeext && {
9033 test "$cross_compiling" = yes ||
9034 $as_test_x conftest$ac_exeext
9036 ac_cv_func__doprnt=yes
9038 $as_echo "$as_me: failed program was
:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ac_cv_func__doprnt=no
9044 rm -rf conftest.dSYM
9045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9046 conftest$ac_exeext conftest.$ac_ext
9048 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9049 $as_echo "$ac_cv_func__doprnt" >&6; }
9050 if test "x
$ac_cv_func__doprnt" = x""yes; then
9052 cat >>confdefs.h <<\_ACEOF
9053 #define HAVE_DOPRNT 1
9063 ################################################################################
9064 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9065 $as_echo_n "checking whether to use static linking...
" >&6; }
9066 # Check whether --enable-static_link was given.
9067 if test "${enable_static_link+set}" = set; then
9068 enableval=$enable_static_link; STATIC_LINK=$enableval
9073 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9074 $as_echo "$STATIC_LINK" >&6; }
9076 ################################################################################
9079 ################################################################################
9080 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9081 $as_echo_n "checking
file owner...
" >&6; }
9085 # Check whether --with-user was given.
9086 if test "${with_user+set}" = set; then
9087 withval=$with_user; OWNER="$withval"
9090 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9091 $as_echo "$OWNER" >&6; }
9093 if test x$OWNER != x; then
9097 ################################################################################
9098 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9099 $as_echo_n "checking group owner...
" >&6; }
9102 # Check whether --with-group was given.
9103 if test "${with_group+set}" = set; then
9104 withval=$with_group; GROUP="$withval"
9107 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9108 $as_echo "$GROUP" >&6; }
9110 if test x$GROUP != x; then
9114 ################################################################################
9115 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9116 $as_echo_n "checking device node uid...
" >&6; }
9119 # Check whether --with-device-uid was given.
9120 if test "${with_device_uid+set}" = set; then
9121 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9126 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9127 $as_echo "$DM_DEVICE_UID" >&6; }
9129 ################################################################################
9130 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9131 $as_echo_n "checking device node gid...
" >&6; }
9134 # Check whether --with-device-gid was given.
9135 if test "${with_device_gid+set}" = set; then
9136 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9141 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9142 $as_echo "$DM_DEVICE_GID" >&6; }
9144 ################################################################################
9145 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9146 $as_echo_n "checking device node mode...
" >&6; }
9149 # Check whether --with-device-mode was given.
9150 if test "${with_device_mode+set}" = set; then
9151 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9153 DM_DEVICE_MODE="0600"
9156 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9157 $as_echo "$DM_DEVICE_MODE" >&6; }
9159 ################################################################################
9160 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9161 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9162 # Check whether --enable-lvm1_fallback was given.
9163 if test "${enable_lvm1_fallback+set}" = set; then
9164 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9169 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9170 $as_echo "$LVM1_FALLBACK" >&6; }
9172 if test x$LVM1_FALLBACK = xyes; then
9174 cat >>confdefs.h <<\_ACEOF
9175 #define LVM1_FALLBACK 1
9180 ################################################################################
9181 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9182 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9184 # Check whether --with-lvm1 was given.
9185 if test "${with_lvm1+set}" = set; then
9186 withval=$with_lvm1; LVM1="$withval"
9191 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9192 $as_echo "$LVM1" >&6; }
9194 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9195 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9197 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9199 { (exit 1); exit 1; }; }
9202 if test x$LVM1 = xinternal; then
9204 cat >>confdefs.h <<\_ACEOF
9205 #define LVM1_INTERNAL 1
9210 ################################################################################
9211 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9212 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9214 # Check whether --with-pool was given.
9215 if test "${with_pool+set}" = set; then
9216 withval=$with_pool; POOL="$withval"
9221 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9222 $as_echo "$POOL" >&6; }
9224 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9225 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9227 $as_echo "$as_me: error
: --with-pool parameter invalid
9229 { (exit 1); exit 1; }; }
9232 if test x$POOL = xinternal; then
9234 cat >>confdefs.h <<\_ACEOF
9235 #define POOL_INTERNAL 1
9240 ################################################################################
9241 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9242 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9244 # Check whether --with-cluster was given.
9245 if test "${with_cluster+set}" = set; then
9246 withval=$with_cluster; CLUSTER="$withval"
9249 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9250 $as_echo "$CLUSTER" >&6; }
9252 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9253 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9255 $as_echo "$as_me: error
: --with-cluster parameter invalid
9257 { (exit 1); exit 1; }; }
9260 if test x$CLUSTER = xinternal; then
9262 cat >>confdefs.h <<\_ACEOF
9263 #define CLUSTER_LOCKING_INTERNAL 1
9268 ################################################################################
9269 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9270 $as_echo_n "checking whether to include snapshots...
" >&6; }
9272 # Check whether --with-snapshots was given.
9273 if test "${with_snapshots+set}" = set; then
9274 withval=$with_snapshots; SNAPSHOTS="$withval"
9276 SNAPSHOTS="internal
"
9279 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9280 $as_echo "$SNAPSHOTS" >&6; }
9282 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9283 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9285 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9287 { (exit 1); exit 1; }; }
9290 if test x$SNAPSHOTS = xinternal; then
9292 cat >>confdefs.h <<\_ACEOF
9293 #define SNAPSHOT_INTERNAL 1
9298 ################################################################################
9299 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9300 $as_echo_n "checking whether to include mirrors...
" >&6; }
9302 # Check whether --with-mirrors was given.
9303 if test "${with_mirrors+set}" = set; then
9304 withval=$with_mirrors; MIRRORS="$withval"
9309 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9310 $as_echo "$MIRRORS" >&6; }
9312 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9313 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9315 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9317 { (exit 1); exit 1; }; }
9320 if test x$MIRRORS = xinternal; then
9322 cat >>confdefs.h <<\_ACEOF
9323 #define MIRRORED_INTERNAL 1
9328 ################################################################################
9329 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9330 $as_echo_n "checking whether to
enable readline...
" >&6; }
9331 # Check whether --enable-readline was given.
9332 if test "${enable_readline+set}" = set; then
9333 enableval=$enable_readline; READLINE=$enableval
9338 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9339 $as_echo "$READLINE" >&6; }
9341 ################################################################################
9342 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9343 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9344 # Check whether --enable-realtime was given.
9345 if test "${enable_realtime+set}" = set; then
9346 enableval=$enable_realtime; REALTIME=$enableval
9349 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9350 $as_echo "$REALTIME" >&6; }
9352 ################################################################################
9356 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9357 if test -n "$ac_tool_prefix"; then
9358 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9359 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9360 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9361 $as_echo_n "checking
for $ac_word...
" >&6; }
9362 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9363 $as_echo_n "(cached
) " >&6
9367 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9374 test -z "$as_dir" && as_dir=.
9375 for ac_exec_ext in '' $ac_executable_extensions; do
9376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9377 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9378 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9388 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9389 if test -n "$PKG_CONFIG"; then
9390 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9391 $as_echo "$PKG_CONFIG" >&6; }
9393 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9394 $as_echo "no
" >&6; }
9399 if test -z "$ac_cv_path_PKG_CONFIG"; then
9400 ac_pt_PKG_CONFIG=$PKG_CONFIG
9401 # Extract the first word of "pkg-config
", so it can be a program name with args.
9402 set dummy pkg-config; ac_word=$2
9403 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9404 $as_echo_n "checking
for $ac_word...
" >&6; }
9405 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9406 $as_echo_n "(cached
) " >&6
9408 case $ac_pt_PKG_CONFIG in
9410 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9417 test -z "$as_dir" && as_dir=.
9418 for ac_exec_ext in '' $ac_executable_extensions; do
9419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9420 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9421 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9431 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9432 if test -n "$ac_pt_PKG_CONFIG"; then
9433 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9434 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9436 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9437 $as_echo "no
" >&6; }
9440 if test "x
$ac_pt_PKG_CONFIG" = x; then
9443 case $cross_compiling:$ac_tool_warned in
9445 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9446 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9447 ac_tool_warned=yes ;;
9449 PKG_CONFIG=$ac_pt_PKG_CONFIG
9452 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9456 if test -n "$PKG_CONFIG"; then
9457 _pkg_min_version=0.9.0
9458 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9459 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9460 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9461 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9462 $as_echo "yes" >&6; }
9464 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9465 $as_echo "no
" >&6; }
9472 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9473 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9475 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9476 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9477 elif test -n "$PKG_CONFIG"; then
9478 if test -n "$PKG_CONFIG" && \
9479 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9480 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9482 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9483 (exit $ac_status); }; then
9484 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9491 if test -n "$PKGCONFIGINIT_LIBS"; then
9492 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9493 elif test -n "$PKG_CONFIG"; then
9494 if test -n "$PKG_CONFIG" && \
9495 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9496 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9498 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9499 (exit $ac_status); }; then
9500 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9510 if test $pkg_failed = yes; then
9512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9513 _pkg_short_errors_supported=yes
9515 _pkg_short_errors_supported=no
9517 if test $_pkg_short_errors_supported = yes; then
9518 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9520 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9522 # Put the nasty error message in config.log where it belongs
9523 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9525 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9526 $as_echo "no
" >&6; }
9527 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9528 $as_echo "pkg-config initialized
" >&6; }
9529 elif test $pkg_failed = untried; then
9530 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9531 $as_echo "pkg-config initialized
" >&6; }
9533 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9534 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9535 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9536 $as_echo "yes" >&6; }
9542 ################################################################################
9543 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9544 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9546 # Check whether --with-clvmd was given.
9547 if test "${with_clvmd+set}" = set; then
9548 withval=$with_clvmd; CLVMD="$withval"
9553 if test x$CLVMD = xyes; then
9556 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9557 $as_echo "$CLVMD" >&6; }
9559 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9563 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9568 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9571 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9574 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9577 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9581 if test x$BUILDGULM = xyes; then
9582 if test x$BUILDCOROSYNC = xyes || \
9583 test x$BUILDOPENAIS = xyes; then
9584 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9585 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9586 { (exit 1); exit 1; }; }
9595 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9596 $as_echo "$as_me: error
: bailing out
" >&2;}
9597 { (exit 1); exit 1; }; }
9600 if test x$CLVMD = xall; then
9601 bailout=soft_bailout
9607 bailout=hard_bailout
9610 check_lib_no_libs() {
9617 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9618 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9619 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9620 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9621 $as_echo_n "(cached
) " >&6
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9625 cat >conftest.$ac_ext <<_ACEOF
9628 cat confdefs.h >>conftest.$ac_ext
9629 cat >>conftest.$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9638 char $lib_no_libs_arg2 ();
9642 return $lib_no_libs_arg2 ();
9647 rm -f conftest.$ac_objext conftest$ac_exeext
9648 if { (ac_try="$ac_link"
9650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9651 *) ac_try_echo=$ac_try;;
9653 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9654 $as_echo "$ac_try_echo") >&5
9655 (eval "$ac_link") 2>conftest.er1
9657 grep -v '^ *+' conftest.er1 >conftest.err
9659 cat conftest.err >&5
9660 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9661 (exit $ac_status); } && {
9662 test -z "$ac_c_werror_flag" ||
9663 test ! -s conftest.err
9664 } && test -s conftest$ac_exeext && {
9665 test "$cross_compiling" = yes ||
9666 $as_test_x conftest$ac_exeext
9668 eval "$as_ac_Lib=yes"
9670 $as_echo "$as_me: failed program was
:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9673 eval "$as_ac_Lib=no
"
9676 rm -rf conftest.dSYM
9677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9682 $as_echo "$as_val"'`
9683 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9684 $as_echo "$ac_res" >&6; }
9685 as_val=`eval 'as_val=${'$as_ac_Lib'}
9686 $as_echo "$as_val"'`
9687 if test "x
$as_val" = x""yes; then
9688 cat >>confdefs.h <<_ACEOF
9689 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9692 LIBS="-l$lib_no_libs_arg1 $LIBS"
9698 LIBS=$ac_check_lib_save_LIBS
9701 if test x$BUILDGULM = xyes; then
9704 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9705 $as_echo_n "checking
for CCS...
" >&6; }
9707 if test -n "$CCS_CFLAGS"; then
9708 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9709 elif test -n "$PKG_CONFIG"; then
9710 if test -n "$PKG_CONFIG" && \
9711 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9712 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9714 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9715 (exit $ac_status); }; then
9716 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9723 if test -n "$CCS_LIBS"; then
9724 pkg_cv_CCS_LIBS="$CCS_LIBS"
9725 elif test -n "$PKG_CONFIG"; then
9726 if test -n "$PKG_CONFIG" && \
9727 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9728 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9730 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9731 (exit $ac_status); }; then
9732 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9742 if test $pkg_failed = yes; then
9744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9745 _pkg_short_errors_supported=yes
9747 _pkg_short_errors_supported=no
9749 if test $_pkg_short_errors_supported = yes; then
9750 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9752 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9754 # Put the nasty error message in config.log where it belongs
9755 echo "$CCS_PKG_ERRORS" >&5
9757 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9758 $as_echo "no
" >&6; }
9761 for ac_header in ccs.h
9763 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9764 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9765 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9766 $as_echo_n "checking
for $ac_header...
" >&6; }
9767 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9768 $as_echo_n "(cached
) " >&6
9770 ac_res=`eval 'as_val=${'$as_ac_Header'}
9771 $as_echo "$as_val"'`
9772 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9773 $as_echo "$ac_res" >&6; }
9775 # Is the header compilable?
9776 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9777 $as_echo_n "checking
$ac_header usability...
" >&6; }
9778 cat >conftest.$ac_ext <<_ACEOF
9781 cat confdefs.h >>conftest.$ac_ext
9782 cat >>conftest.$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9784 $ac_includes_default
9785 #include <$ac_header>
9787 rm -f conftest.$ac_objext
9788 if { (ac_try="$ac_compile"
9790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9791 *) ac_try_echo=$ac_try;;
9793 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9794 $as_echo "$ac_try_echo") >&5
9795 (eval "$ac_compile") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest.$ac_objext; then
9805 ac_header_compiler=yes
9807 $as_echo "$as_me: failed program was
:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9810 ac_header_compiler=no
9813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9814 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9815 $as_echo "$ac_header_compiler" >&6; }
9817 # Is the header present?
9818 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9819 $as_echo_n "checking
$ac_header presence...
" >&6; }
9820 cat >conftest.$ac_ext <<_ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 #include <$ac_header>
9828 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9831 *) ac_try_echo=$ac_try;;
9833 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9834 $as_echo "$ac_try_echo") >&5
9835 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1 >conftest.err
9839 cat conftest.err >&5
9840 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9841 (exit $ac_status); } >/dev/null && {
9842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9845 ac_header_preproc=yes
9847 $as_echo "$as_me: failed program was
:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 ac_header_preproc=no
9853 rm -f conftest.err conftest.$ac_ext
9854 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9855 $as_echo "$ac_header_preproc" >&6; }
9857 # So? What about this header?
9858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9860 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9861 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9862 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9863 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9864 ac_header_preproc=yes
9867 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9868 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9869 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9870 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9871 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9872 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9873 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9874 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9875 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9876 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9878 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9882 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9883 $as_echo_n "checking
for $ac_header...
" >&6; }
9884 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9885 $as_echo_n "(cached
) " >&6
9887 eval "$as_ac_Header=\
$ac_header_preproc"
9889 ac_res=`eval 'as_val=${'$as_ac_Header'}
9890 $as_echo "$as_val"'`
9891 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9892 $as_echo "$ac_res" >&6; }
9895 as_val=`eval 'as_val=${'$as_ac_Header'}
9896 $as_echo "$as_val"'`
9897 if test "x
$as_val" = x""yes; then
9898 cat >>confdefs.h <<_ACEOF
9899 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9908 check_lib_no_libs ccs ccs_connect
9909 if test $NOTFOUND = 0; then
9910 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9911 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9915 elif test $pkg_failed = untried; then
9918 for ac_header in ccs.h
9920 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9921 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9922 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9923 $as_echo_n "checking
for $ac_header...
" >&6; }
9924 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9925 $as_echo_n "(cached
) " >&6
9927 ac_res=`eval 'as_val=${'$as_ac_Header'}
9928 $as_echo "$as_val"'`
9929 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9930 $as_echo "$ac_res" >&6; }
9932 # Is the header compilable?
9933 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9934 $as_echo_n "checking
$ac_header usability...
" >&6; }
9935 cat >conftest.$ac_ext <<_ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9941 $ac_includes_default
9942 #include <$ac_header>
9944 rm -f conftest.$ac_objext
9945 if { (ac_try="$ac_compile"
9947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9948 *) ac_try_echo=$ac_try;;
9950 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9951 $as_echo "$ac_try_echo") >&5
9952 (eval "$ac_compile") 2>conftest.er1
9954 grep -v '^ *+' conftest.er1 >conftest.err
9956 cat conftest.err >&5
9957 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9958 (exit $ac_status); } && {
9959 test -z "$ac_c_werror_flag" ||
9960 test ! -s conftest.err
9961 } && test -s conftest.$ac_objext; then
9962 ac_header_compiler=yes
9964 $as_echo "$as_me: failed program was
:" >&5
9965 sed 's/^/| /' conftest.$ac_ext >&5
9967 ac_header_compiler=no
9970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9971 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9972 $as_echo "$ac_header_compiler" >&6; }
9974 # Is the header present?
9975 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9976 $as_echo_n "checking
$ac_header presence...
" >&6; }
9977 cat >conftest.$ac_ext <<_ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9983 #include <$ac_header>
9985 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9988 *) ac_try_echo=$ac_try;;
9990 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9991 $as_echo "$ac_try_echo") >&5
9992 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9994 grep -v '^ *+' conftest.er1 >conftest.err
9996 cat conftest.err >&5
9997 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9998 (exit $ac_status); } >/dev/null && {
9999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10000 test ! -s conftest.err
10002 ac_header_preproc=yes
10004 $as_echo "$as_me: failed program was
:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 ac_header_preproc=no
10010 rm -f conftest.err conftest.$ac_ext
10011 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10012 $as_echo "$ac_header_preproc" >&6; }
10014 # So? What about this header?
10015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10017 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10018 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10019 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10020 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10021 ac_header_preproc=yes
10024 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10025 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10026 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10027 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10028 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10029 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10030 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10031 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10032 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10033 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10034 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10035 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10039 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10040 $as_echo_n "checking
for $ac_header...
" >&6; }
10041 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10042 $as_echo_n "(cached
) " >&6
10044 eval "$as_ac_Header=\
$ac_header_preproc"
10046 ac_res=`eval 'as_val=${'$as_ac_Header'}
10047 $as_echo "$as_val"'`
10048 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10049 $as_echo "$ac_res" >&6; }
10052 as_val=`eval 'as_val=${'$as_ac_Header'}
10053 $as_echo "$as_val"'`
10054 if test "x
$as_val" = x""yes; then
10055 cat >>confdefs.h <<_ACEOF
10056 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10065 check_lib_no_libs ccs ccs_connect
10066 if test $NOTFOUND = 0; then
10067 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10068 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10073 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10074 CCS_LIBS=$pkg_cv_CCS_LIBS
10075 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10076 $as_echo "yes" >&6; }
10081 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10082 $as_echo_n "checking
for GULM...
" >&6; }
10084 if test -n "$GULM_CFLAGS"; then
10085 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10086 elif test -n "$PKG_CONFIG"; then
10087 if test -n "$PKG_CONFIG" && \
10088 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10089 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10091 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10092 (exit $ac_status); }; then
10093 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10100 if test -n "$GULM_LIBS"; then
10101 pkg_cv_GULM_LIBS="$GULM_LIBS"
10102 elif test -n "$PKG_CONFIG"; then
10103 if test -n "$PKG_CONFIG" && \
10104 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10105 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10107 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10108 (exit $ac_status); }; then
10109 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10119 if test $pkg_failed = yes; then
10121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10122 _pkg_short_errors_supported=yes
10124 _pkg_short_errors_supported=no
10126 if test $_pkg_short_errors_supported = yes; then
10127 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10129 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10131 # Put the nasty error message in config.log where it belongs
10132 echo "$GULM_PKG_ERRORS" >&5
10134 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10135 $as_echo "no
" >&6; }
10138 for ac_header in libgulm.h
10140 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10141 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10142 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10143 $as_echo_n "checking
for $ac_header...
" >&6; }
10144 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10145 $as_echo_n "(cached
) " >&6
10147 ac_res=`eval 'as_val=${'$as_ac_Header'}
10148 $as_echo "$as_val"'`
10149 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10150 $as_echo "$ac_res" >&6; }
10152 # Is the header compilable?
10153 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10154 $as_echo_n "checking
$ac_header usability...
" >&6; }
10155 cat >conftest.$ac_ext <<_ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 $ac_includes_default
10162 #include <$ac_header>
10164 rm -f conftest.$ac_objext
10165 if { (ac_try="$ac_compile"
10166 case "(($ac_try" in
10167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10168 *) ac_try_echo=$ac_try;;
10170 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10171 $as_echo "$ac_try_echo") >&5
10172 (eval "$ac_compile") 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10178 (exit $ac_status); } && {
10179 test -z "$ac_c_werror_flag" ||
10180 test ! -s conftest.err
10181 } && test -s conftest.$ac_objext; then
10182 ac_header_compiler=yes
10184 $as_echo "$as_me: failed program was
:" >&5
10185 sed 's/^/| /' conftest.$ac_ext >&5
10187 ac_header_compiler=no
10190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10191 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10192 $as_echo "$ac_header_compiler" >&6; }
10194 # Is the header present?
10195 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10196 $as_echo_n "checking
$ac_header presence...
" >&6; }
10197 cat >conftest.$ac_ext <<_ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10203 #include <$ac_header>
10205 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10206 case "(($ac_try" in
10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10208 *) ac_try_echo=$ac_try;;
10210 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10211 $as_echo "$ac_try_echo") >&5
10212 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10214 grep -v '^ *+' conftest.er1 >conftest.err
10216 cat conftest.err >&5
10217 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10218 (exit $ac_status); } >/dev/null && {
10219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10220 test ! -s conftest.err
10222 ac_header_preproc=yes
10224 $as_echo "$as_me: failed program was
:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_header_preproc=no
10230 rm -f conftest.err conftest.$ac_ext
10231 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10232 $as_echo "$ac_header_preproc" >&6; }
10234 # So? What about this header?
10235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10237 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10238 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10241 ac_header_preproc=yes
10244 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10245 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10246 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10247 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10248 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10249 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10250 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10251 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10252 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10253 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10254 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10255 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10259 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10260 $as_echo_n "checking
for $ac_header...
" >&6; }
10261 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10262 $as_echo_n "(cached
) " >&6
10264 eval "$as_ac_Header=\
$ac_header_preproc"
10266 ac_res=`eval 'as_val=${'$as_ac_Header'}
10267 $as_echo "$as_val"'`
10268 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10269 $as_echo "$ac_res" >&6; }
10272 as_val=`eval 'as_val=${'$as_ac_Header'}
10273 $as_echo "$as_val"'`
10274 if test "x
$as_val" = x""yes; then
10275 cat >>confdefs.h <<_ACEOF
10276 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10285 check_lib_no_libs gulm lg_core_login
10286 if test $NOTFOUND = 0; then
10287 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10288 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10292 elif test $pkg_failed = untried; then
10295 for ac_header in libgulm.h
10297 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10298 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10299 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10300 $as_echo_n "checking
for $ac_header...
" >&6; }
10301 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10302 $as_echo_n "(cached
) " >&6
10304 ac_res=`eval 'as_val=${'$as_ac_Header'}
10305 $as_echo "$as_val"'`
10306 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10307 $as_echo "$ac_res" >&6; }
10309 # Is the header compilable?
10310 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10311 $as_echo_n "checking
$ac_header usability...
" >&6; }
10312 cat >conftest.$ac_ext <<_ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 $ac_includes_default
10319 #include <$ac_header>
10321 rm -f conftest.$ac_objext
10322 if { (ac_try="$ac_compile"
10323 case "(($ac_try" in
10324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10325 *) ac_try_echo=$ac_try;;
10327 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10328 $as_echo "$ac_try_echo") >&5
10329 (eval "$ac_compile") 2>conftest.er1
10331 grep -v '^ *+' conftest.er1 >conftest.err
10333 cat conftest.err >&5
10334 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10335 (exit $ac_status); } && {
10336 test -z "$ac_c_werror_flag" ||
10337 test ! -s conftest.err
10338 } && test -s conftest.$ac_objext; then
10339 ac_header_compiler=yes
10341 $as_echo "$as_me: failed program was
:" >&5
10342 sed 's/^/| /' conftest.$ac_ext >&5
10344 ac_header_compiler=no
10347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10348 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10349 $as_echo "$ac_header_compiler" >&6; }
10351 # Is the header present?
10352 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10353 $as_echo_n "checking
$ac_header presence...
" >&6; }
10354 cat >conftest.$ac_ext <<_ACEOF
10357 cat confdefs.h >>conftest.$ac_ext
10358 cat >>conftest.$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10360 #include <$ac_header>
10362 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10363 case "(($ac_try" in
10364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10365 *) ac_try_echo=$ac_try;;
10367 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10368 $as_echo "$ac_try_echo") >&5
10369 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10371 grep -v '^ *+' conftest.er1 >conftest.err
10373 cat conftest.err >&5
10374 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10375 (exit $ac_status); } >/dev/null && {
10376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10377 test ! -s conftest.err
10379 ac_header_preproc=yes
10381 $as_echo "$as_me: failed program was
:" >&5
10382 sed 's/^/| /' conftest.$ac_ext >&5
10384 ac_header_preproc=no
10387 rm -f conftest.err conftest.$ac_ext
10388 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10389 $as_echo "$ac_header_preproc" >&6; }
10391 # So? What about this header?
10392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10394 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10395 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10396 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10397 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10398 ac_header_preproc=yes
10401 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10402 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10403 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10404 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10405 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10406 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10407 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10408 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10409 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10410 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10411 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10412 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10416 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10417 $as_echo_n "checking
for $ac_header...
" >&6; }
10418 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10419 $as_echo_n "(cached
) " >&6
10421 eval "$as_ac_Header=\
$ac_header_preproc"
10423 ac_res=`eval 'as_val=${'$as_ac_Header'}
10424 $as_echo "$as_val"'`
10425 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10426 $as_echo "$ac_res" >&6; }
10429 as_val=`eval 'as_val=${'$as_ac_Header'}
10430 $as_echo "$as_val"'`
10431 if test "x
$as_val" = x""yes; then
10432 cat >>confdefs.h <<_ACEOF
10433 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10442 check_lib_no_libs gulm lg_core_login
10443 if test $NOTFOUND = 0; then
10444 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10445 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10450 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10451 GULM_LIBS=$pkg_cv_GULM_LIBS
10452 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10453 $as_echo "yes" >&6; }
10458 if test x$BUILDCMAN = xyes; then
10461 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10462 $as_echo_n "checking
for CMAN...
" >&6; }
10464 if test -n "$CMAN_CFLAGS"; then
10465 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10466 elif test -n "$PKG_CONFIG"; then
10467 if test -n "$PKG_CONFIG" && \
10468 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10469 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10471 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10472 (exit $ac_status); }; then
10473 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10480 if test -n "$CMAN_LIBS"; then
10481 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10482 elif test -n "$PKG_CONFIG"; then
10483 if test -n "$PKG_CONFIG" && \
10484 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10485 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10487 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10488 (exit $ac_status); }; then
10489 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10499 if test $pkg_failed = yes; then
10501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10502 _pkg_short_errors_supported=yes
10504 _pkg_short_errors_supported=no
10506 if test $_pkg_short_errors_supported = yes; then
10507 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10509 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10511 # Put the nasty error message in config.log where it belongs
10512 echo "$CMAN_PKG_ERRORS" >&5
10514 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10515 $as_echo "no
" >&6; }
10518 for ac_header in libcman.h
10520 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10521 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10522 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10523 $as_echo_n "checking
for $ac_header...
" >&6; }
10524 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10525 $as_echo_n "(cached
) " >&6
10527 ac_res=`eval 'as_val=${'$as_ac_Header'}
10528 $as_echo "$as_val"'`
10529 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10530 $as_echo "$ac_res" >&6; }
10532 # Is the header compilable?
10533 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10534 $as_echo_n "checking
$ac_header usability...
" >&6; }
10535 cat >conftest.$ac_ext <<_ACEOF
10538 cat confdefs.h >>conftest.$ac_ext
10539 cat >>conftest.$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 $ac_includes_default
10542 #include <$ac_header>
10544 rm -f conftest.$ac_objext
10545 if { (ac_try="$ac_compile"
10546 case "(($ac_try" in
10547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548 *) ac_try_echo=$ac_try;;
10550 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10551 $as_echo "$ac_try_echo") >&5
10552 (eval "$ac_compile") 2>conftest.er1
10554 grep -v '^ *+' conftest.er1 >conftest.err
10556 cat conftest.err >&5
10557 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10558 (exit $ac_status); } && {
10559 test -z "$ac_c_werror_flag" ||
10560 test ! -s conftest.err
10561 } && test -s conftest.$ac_objext; then
10562 ac_header_compiler=yes
10564 $as_echo "$as_me: failed program was
:" >&5
10565 sed 's/^/| /' conftest.$ac_ext >&5
10567 ac_header_compiler=no
10570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10571 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10572 $as_echo "$ac_header_compiler" >&6; }
10574 # Is the header present?
10575 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10576 $as_echo_n "checking
$ac_header presence...
" >&6; }
10577 cat >conftest.$ac_ext <<_ACEOF
10580 cat confdefs.h >>conftest.$ac_ext
10581 cat >>conftest.$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10583 #include <$ac_header>
10585 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10586 case "(($ac_try" in
10587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10588 *) ac_try_echo=$ac_try;;
10590 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10591 $as_echo "$ac_try_echo") >&5
10592 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10598 (exit $ac_status); } >/dev/null && {
10599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10600 test ! -s conftest.err
10602 ac_header_preproc=yes
10604 $as_echo "$as_me: failed program was
:" >&5
10605 sed 's/^/| /' conftest.$ac_ext >&5
10607 ac_header_preproc=no
10610 rm -f conftest.err conftest.$ac_ext
10611 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10612 $as_echo "$ac_header_preproc" >&6; }
10614 # So? What about this header?
10615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10617 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10618 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10619 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10620 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10621 ac_header_preproc=yes
10624 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10625 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10626 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10627 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10628 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10629 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10630 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10631 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10632 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10633 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10634 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10635 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10639 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10640 $as_echo_n "checking
for $ac_header...
" >&6; }
10641 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10642 $as_echo_n "(cached
) " >&6
10644 eval "$as_ac_Header=\
$ac_header_preproc"
10646 ac_res=`eval 'as_val=${'$as_ac_Header'}
10647 $as_echo "$as_val"'`
10648 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10649 $as_echo "$ac_res" >&6; }
10652 as_val=`eval 'as_val=${'$as_ac_Header'}
10653 $as_echo "$as_val"'`
10654 if test "x
$as_val" = x""yes; then
10655 cat >>confdefs.h <<_ACEOF
10656 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10665 check_lib_no_libs cman cman_init
10666 if test $NOTFOUND = 0; then
10667 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10668 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10672 elif test $pkg_failed = untried; then
10675 for ac_header in libcman.h
10677 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10678 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10679 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10680 $as_echo_n "checking
for $ac_header...
" >&6; }
10681 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10682 $as_echo_n "(cached
) " >&6
10684 ac_res=`eval 'as_val=${'$as_ac_Header'}
10685 $as_echo "$as_val"'`
10686 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10687 $as_echo "$ac_res" >&6; }
10689 # Is the header compilable?
10690 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10691 $as_echo_n "checking
$ac_header usability...
" >&6; }
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 $ac_includes_default
10699 #include <$ac_header>
10701 rm -f conftest.$ac_objext
10702 if { (ac_try="$ac_compile"
10703 case "(($ac_try" in
10704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10705 *) ac_try_echo=$ac_try;;
10707 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10708 $as_echo "$ac_try_echo") >&5
10709 (eval "$ac_compile") 2>conftest.er1
10711 grep -v '^ *+' conftest.er1 >conftest.err
10713 cat conftest.err >&5
10714 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10715 (exit $ac_status); } && {
10716 test -z "$ac_c_werror_flag" ||
10717 test ! -s conftest.err
10718 } && test -s conftest.$ac_objext; then
10719 ac_header_compiler=yes
10721 $as_echo "$as_me: failed program was
:" >&5
10722 sed 's/^/| /' conftest.$ac_ext >&5
10724 ac_header_compiler=no
10727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10728 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10729 $as_echo "$ac_header_compiler" >&6; }
10731 # Is the header present?
10732 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10733 $as_echo_n "checking
$ac_header presence...
" >&6; }
10734 cat >conftest.$ac_ext <<_ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10740 #include <$ac_header>
10742 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10743 case "(($ac_try" in
10744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10745 *) ac_try_echo=$ac_try;;
10747 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10748 $as_echo "$ac_try_echo") >&5
10749 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10751 grep -v '^ *+' conftest.er1 >conftest.err
10753 cat conftest.err >&5
10754 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10755 (exit $ac_status); } >/dev/null && {
10756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10757 test ! -s conftest.err
10759 ac_header_preproc=yes
10761 $as_echo "$as_me: failed program was
:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10764 ac_header_preproc=no
10767 rm -f conftest.err conftest.$ac_ext
10768 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10769 $as_echo "$ac_header_preproc" >&6; }
10771 # So? What about this header?
10772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10774 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10775 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10776 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10777 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10778 ac_header_preproc=yes
10781 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10782 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10783 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10784 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10786 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10787 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10788 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10789 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10790 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10791 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10792 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10796 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10797 $as_echo_n "checking
for $ac_header...
" >&6; }
10798 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10799 $as_echo_n "(cached
) " >&6
10801 eval "$as_ac_Header=\
$ac_header_preproc"
10803 ac_res=`eval 'as_val=${'$as_ac_Header'}
10804 $as_echo "$as_val"'`
10805 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10806 $as_echo "$ac_res" >&6; }
10809 as_val=`eval 'as_val=${'$as_ac_Header'}
10810 $as_echo "$as_val"'`
10811 if test "x
$as_val" = x""yes; then
10812 cat >>confdefs.h <<_ACEOF
10813 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10822 check_lib_no_libs cman cman_init
10823 if test $NOTFOUND = 0; then
10824 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10825 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10830 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10831 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10832 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10833 $as_echo "yes" >&6; }
10840 if test x$BUILDCOROSYNC = xyes || \
10841 test x$BUILDOPENAIS = xyes; then
10844 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10845 $as_echo_n "checking
for COROSYNC...
" >&6; }
10847 if test -n "$COROSYNC_CFLAGS"; then
10848 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10849 elif test -n "$PKG_CONFIG"; then
10850 if test -n "$PKG_CONFIG" && \
10851 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10852 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10854 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10855 (exit $ac_status); }; then
10856 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10863 if test -n "$COROSYNC_LIBS"; then
10864 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10865 elif test -n "$PKG_CONFIG"; then
10866 if test -n "$PKG_CONFIG" && \
10867 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10868 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10870 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10871 (exit $ac_status); }; then
10872 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10882 if test $pkg_failed = yes; then
10884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10885 _pkg_short_errors_supported=yes
10887 _pkg_short_errors_supported=no
10889 if test $_pkg_short_errors_supported = yes; then
10890 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10892 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10894 # Put the nasty error message in config.log where it belongs
10895 echo "$COROSYNC_PKG_ERRORS" >&5
10897 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10898 $as_echo "no
" >&6; }
10900 elif test $pkg_failed = untried; then
10903 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10904 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10905 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10906 $as_echo "yes" >&6; }
10912 if test x$BUILDCOROSYNC = xyes; then
10915 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10916 $as_echo_n "checking
for QUORUM...
" >&6; }
10918 if test -n "$QUORUM_CFLAGS"; then
10919 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10920 elif test -n "$PKG_CONFIG"; then
10921 if test -n "$PKG_CONFIG" && \
10922 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10923 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10925 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10926 (exit $ac_status); }; then
10927 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10934 if test -n "$QUORUM_LIBS"; then
10935 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10936 elif test -n "$PKG_CONFIG"; then
10937 if test -n "$PKG_CONFIG" && \
10938 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10939 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10941 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10942 (exit $ac_status); }; then
10943 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10953 if test $pkg_failed = yes; then
10955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10956 _pkg_short_errors_supported=yes
10958 _pkg_short_errors_supported=no
10960 if test $_pkg_short_errors_supported = yes; then
10961 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10963 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10965 # Put the nasty error message in config.log where it belongs
10966 echo "$QUORUM_PKG_ERRORS" >&5
10968 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10969 $as_echo "no
" >&6; }
10971 elif test $pkg_failed = untried; then
10974 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10975 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10976 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10977 $as_echo "yes" >&6; }
10984 if test x$BUILDOPENAIS = xyes; then
10987 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
10988 $as_echo_n "checking
for SALCK...
" >&6; }
10990 if test -n "$SALCK_CFLAGS"; then
10991 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
10992 elif test -n "$PKG_CONFIG"; then
10993 if test -n "$PKG_CONFIG" && \
10994 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
10995 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
10997 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10998 (exit $ac_status); }; then
10999 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11006 if test -n "$SALCK_LIBS"; then
11007 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11008 elif test -n "$PKG_CONFIG"; then
11009 if test -n "$PKG_CONFIG" && \
11010 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11011 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11013 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11014 (exit $ac_status); }; then
11015 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11025 if test $pkg_failed = yes; then
11027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11028 _pkg_short_errors_supported=yes
11030 _pkg_short_errors_supported=no
11032 if test $_pkg_short_errors_supported = yes; then
11033 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11035 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11037 # Put the nasty error message in config.log where it belongs
11038 echo "$SALCK_PKG_ERRORS" >&5
11040 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11041 $as_echo "no
" >&6; }
11043 elif test $pkg_failed = untried; then
11046 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11047 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11048 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11049 $as_echo "yes" >&6; }
11057 if test x$CHECKCONFDB = xyes; then
11060 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11061 $as_echo_n "checking
for CONFDB...
" >&6; }
11063 if test -n "$CONFDB_CFLAGS"; then
11064 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11065 elif test -n "$PKG_CONFIG"; then
11066 if test -n "$PKG_CONFIG" && \
11067 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11068 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11070 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11071 (exit $ac_status); }; then
11072 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11079 if test -n "$CONFDB_LIBS"; then
11080 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11081 elif test -n "$PKG_CONFIG"; then
11082 if test -n "$PKG_CONFIG" && \
11083 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11084 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11086 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11087 (exit $ac_status); }; then
11088 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11098 if test $pkg_failed = yes; then
11100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11101 _pkg_short_errors_supported=yes
11103 _pkg_short_errors_supported=no
11105 if test $_pkg_short_errors_supported = yes; then
11106 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11108 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11110 # Put the nasty error message in config.log where it belongs
11111 echo "$CONFDB_PKG_ERRORS" >&5
11113 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11114 $as_echo "no
" >&6; }
11116 elif test $pkg_failed = untried; then
11119 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11120 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11121 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11122 $as_echo "yes" >&6; }
11127 for ac_header in corosync/confdb.h
11129 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11130 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11131 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11132 $as_echo_n "checking
for $ac_header...
" >&6; }
11133 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11134 $as_echo_n "(cached
) " >&6
11136 ac_res=`eval 'as_val=${'$as_ac_Header'}
11137 $as_echo "$as_val"'`
11138 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11139 $as_echo "$ac_res" >&6; }
11141 # Is the header compilable?
11142 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11143 $as_echo_n "checking
$ac_header usability...
" >&6; }
11144 cat >conftest.$ac_ext <<_ACEOF
11147 cat confdefs.h >>conftest.$ac_ext
11148 cat >>conftest.$ac_ext <<_ACEOF
11149 /* end confdefs.h. */
11150 $ac_includes_default
11151 #include <$ac_header>
11153 rm -f conftest.$ac_objext
11154 if { (ac_try="$ac_compile"
11155 case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11159 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11160 $as_echo "$ac_try_echo") >&5
11161 (eval "$ac_compile") 2>conftest.er1
11163 grep -v '^ *+' conftest.er1 >conftest.err
11165 cat conftest.err >&5
11166 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11167 (exit $ac_status); } && {
11168 test -z "$ac_c_werror_flag" ||
11169 test ! -s conftest.err
11170 } && test -s conftest.$ac_objext; then
11171 ac_header_compiler=yes
11173 $as_echo "$as_me: failed program was
:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11176 ac_header_compiler=no
11179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11180 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11181 $as_echo "$ac_header_compiler" >&6; }
11183 # Is the header present?
11184 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11185 $as_echo_n "checking
$ac_header presence...
" >&6; }
11186 cat >conftest.$ac_ext <<_ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 #include <$ac_header>
11194 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11195 case "(($ac_try" in
11196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11197 *) ac_try_echo=$ac_try;;
11199 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11200 $as_echo "$ac_try_echo") >&5
11201 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11203 grep -v '^ *+' conftest.er1 >conftest.err
11205 cat conftest.err >&5
11206 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11207 (exit $ac_status); } >/dev/null && {
11208 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11211 ac_header_preproc=yes
11213 $as_echo "$as_me: failed program was
:" >&5
11214 sed 's/^/| /' conftest.$ac_ext >&5
11216 ac_header_preproc=no
11219 rm -f conftest.err conftest.$ac_ext
11220 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11221 $as_echo "$ac_header_preproc" >&6; }
11223 # So? What about this header?
11224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11226 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11227 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11228 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11229 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11230 ac_header_preproc=yes
11233 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11234 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11235 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11236 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11237 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11238 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11240 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11242 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11244 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11248 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11249 $as_echo_n "checking
for $ac_header...
" >&6; }
11250 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11251 $as_echo_n "(cached
) " >&6
11253 eval "$as_ac_Header=\
$ac_header_preproc"
11255 ac_res=`eval 'as_val=${'$as_ac_Header'}
11256 $as_echo "$as_val"'`
11257 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11258 $as_echo "$ac_res" >&6; }
11261 as_val=`eval 'as_val=${'$as_ac_Header'}
11262 $as_echo "$as_val"'`
11263 if test "x
$as_val" = x""yes; then
11264 cat >>confdefs.h <<_ACEOF
11265 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11275 if test x$HAVE_CONFDB != xyes && \
11276 test x$HAVE_CONFDB_H = xyes; then
11277 check_lib_no_libs confdb confdb_initialize
11278 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11279 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11280 CONFDB_LIBS="-lconfdb"
11284 if test x$BUILDCOROSYNC = xyes && \
11285 test x$HAVE_CONFDB != xyes &&
11286 test x$CLVMD != xall; then
11287 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11288 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11289 { (exit 1); exit 1; }; }
11293 if test x$CHECKCPG = xyes; then
11296 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11297 $as_echo_n "checking
for CPG...
" >&6; }
11299 if test -n "$CPG_CFLAGS"; then
11300 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11301 elif test -n "$PKG_CONFIG"; then
11302 if test -n "$PKG_CONFIG" && \
11303 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11304 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11306 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11307 (exit $ac_status); }; then
11308 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11315 if test -n "$CPG_LIBS"; then
11316 pkg_cv_CPG_LIBS="$CPG_LIBS"
11317 elif test -n "$PKG_CONFIG"; then
11318 if test -n "$PKG_CONFIG" && \
11319 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11320 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11322 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11323 (exit $ac_status); }; then
11324 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11334 if test $pkg_failed = yes; then
11336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11337 _pkg_short_errors_supported=yes
11339 _pkg_short_errors_supported=no
11341 if test $_pkg_short_errors_supported = yes; then
11342 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11344 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11346 # Put the nasty error message in config.log where it belongs
11347 echo "$CPG_PKG_ERRORS" >&5
11349 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11350 $as_echo "no
" >&6; }
11352 elif test $pkg_failed = untried; then
11355 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11356 CPG_LIBS=$pkg_cv_CPG_LIBS
11357 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11358 $as_echo "yes" >&6; }
11363 if test x$CHECKDLM = xyes; then
11366 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11367 $as_echo_n "checking
for DLM...
" >&6; }
11369 if test -n "$DLM_CFLAGS"; then
11370 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11371 elif test -n "$PKG_CONFIG"; then
11372 if test -n "$PKG_CONFIG" && \
11373 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11374 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11376 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11377 (exit $ac_status); }; then
11378 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11385 if test -n "$DLM_LIBS"; then
11386 pkg_cv_DLM_LIBS="$DLM_LIBS"
11387 elif test -n "$PKG_CONFIG"; then
11388 if test -n "$PKG_CONFIG" && \
11389 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11390 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11392 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11393 (exit $ac_status); }; then
11394 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11404 if test $pkg_failed = yes; then
11406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11407 _pkg_short_errors_supported=yes
11409 _pkg_short_errors_supported=no
11411 if test $_pkg_short_errors_supported = yes; then
11412 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11414 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11416 # Put the nasty error message in config.log where it belongs
11417 echo "$DLM_PKG_ERRORS" >&5
11419 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11420 $as_echo "no
" >&6; }
11423 for ac_header in libdlm.h
11425 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11426 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11427 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11428 $as_echo_n "checking
for $ac_header...
" >&6; }
11429 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11430 $as_echo_n "(cached
) " >&6
11432 ac_res=`eval 'as_val=${'$as_ac_Header'}
11433 $as_echo "$as_val"'`
11434 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11435 $as_echo "$ac_res" >&6; }
11437 # Is the header compilable?
11438 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11439 $as_echo_n "checking
$ac_header usability...
" >&6; }
11440 cat >conftest.$ac_ext <<_ACEOF
11443 cat confdefs.h >>conftest.$ac_ext
11444 cat >>conftest.$ac_ext <<_ACEOF
11445 /* end confdefs.h. */
11446 $ac_includes_default
11447 #include <$ac_header>
11449 rm -f conftest.$ac_objext
11450 if { (ac_try="$ac_compile"
11451 case "(($ac_try" in
11452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11455 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11456 $as_echo "$ac_try_echo") >&5
11457 (eval "$ac_compile") 2>conftest.er1
11459 grep -v '^ *+' conftest.er1 >conftest.err
11461 cat conftest.err >&5
11462 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11463 (exit $ac_status); } && {
11464 test -z "$ac_c_werror_flag" ||
11465 test ! -s conftest.err
11466 } && test -s conftest.$ac_objext; then
11467 ac_header_compiler=yes
11469 $as_echo "$as_me: failed program was
:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 ac_header_compiler=no
11475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11476 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11477 $as_echo "$ac_header_compiler" >&6; }
11479 # Is the header present?
11480 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11481 $as_echo_n "checking
$ac_header presence...
" >&6; }
11482 cat >conftest.$ac_ext <<_ACEOF
11485 cat confdefs.h >>conftest.$ac_ext
11486 cat >>conftest.$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 #include <$ac_header>
11490 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11491 case "(($ac_try" in
11492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11493 *) ac_try_echo=$ac_try;;
11495 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11496 $as_echo "$ac_try_echo") >&5
11497 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11499 grep -v '^ *+' conftest.er1 >conftest.err
11501 cat conftest.err >&5
11502 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11503 (exit $ac_status); } >/dev/null && {
11504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11505 test ! -s conftest.err
11507 ac_header_preproc=yes
11509 $as_echo "$as_me: failed program was
:" >&5
11510 sed 's/^/| /' conftest.$ac_ext >&5
11512 ac_header_preproc=no
11515 rm -f conftest.err conftest.$ac_ext
11516 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11517 $as_echo "$ac_header_preproc" >&6; }
11519 # So? What about this header?
11520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11522 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11523 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11524 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11525 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11526 ac_header_preproc=yes
11529 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11530 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11531 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11532 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11533 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11534 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11535 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11536 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11537 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11539 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11540 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11544 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11545 $as_echo_n "checking
for $ac_header...
" >&6; }
11546 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11547 $as_echo_n "(cached
) " >&6
11549 eval "$as_ac_Header=\
$ac_header_preproc"
11551 ac_res=`eval 'as_val=${'$as_ac_Header'}
11552 $as_echo "$as_val"'`
11553 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11554 $as_echo "$ac_res" >&6; }
11557 as_val=`eval 'as_val=${'$as_ac_Header'}
11558 $as_echo "$as_val"'`
11559 if test "x
$as_val" = x""yes; then
11560 cat >>confdefs.h <<_ACEOF
11561 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11570 check_lib_no_libs dlm dlm_lock -lpthread
11571 if test $NOTFOUND = 0; then
11572 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11573 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11574 DLM_LIBS="-ldlm -lpthread"
11577 elif test $pkg_failed = untried; then
11580 for ac_header in libdlm.h
11582 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11583 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11584 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11585 $as_echo_n "checking
for $ac_header...
" >&6; }
11586 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11587 $as_echo_n "(cached
) " >&6
11589 ac_res=`eval 'as_val=${'$as_ac_Header'}
11590 $as_echo "$as_val"'`
11591 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11592 $as_echo "$ac_res" >&6; }
11594 # Is the header compilable?
11595 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11596 $as_echo_n "checking
$ac_header usability...
" >&6; }
11597 cat >conftest.$ac_ext <<_ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 $ac_includes_default
11604 #include <$ac_header>
11606 rm -f conftest.$ac_objext
11607 if { (ac_try="$ac_compile"
11608 case "(($ac_try" in
11609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11610 *) ac_try_echo=$ac_try;;
11612 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11613 $as_echo "$ac_try_echo") >&5
11614 (eval "$ac_compile") 2>conftest.er1
11616 grep -v '^ *+' conftest.er1 >conftest.err
11618 cat conftest.err >&5
11619 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11620 (exit $ac_status); } && {
11621 test -z "$ac_c_werror_flag" ||
11622 test ! -s conftest.err
11623 } && test -s conftest.$ac_objext; then
11624 ac_header_compiler=yes
11626 $as_echo "$as_me: failed program was
:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11629 ac_header_compiler=no
11632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11634 $as_echo "$ac_header_compiler" >&6; }
11636 # Is the header present?
11637 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11638 $as_echo_n "checking
$ac_header presence...
" >&6; }
11639 cat >conftest.$ac_ext <<_ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 #include <$ac_header>
11647 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11652 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11653 $as_echo "$ac_try_echo") >&5
11654 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11656 grep -v '^ *+' conftest.er1 >conftest.err
11658 cat conftest.err >&5
11659 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11660 (exit $ac_status); } >/dev/null && {
11661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11662 test ! -s conftest.err
11664 ac_header_preproc=yes
11666 $as_echo "$as_me: failed program was
:" >&5
11667 sed 's/^/| /' conftest.$ac_ext >&5
11669 ac_header_preproc=no
11672 rm -f conftest.err conftest.$ac_ext
11673 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11674 $as_echo "$ac_header_preproc" >&6; }
11676 # So? What about this header?
11677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11679 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11680 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11681 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11682 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11683 ac_header_preproc=yes
11686 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11687 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11688 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11689 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11690 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11691 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11692 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11693 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11694 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11695 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11696 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11697 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11701 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11702 $as_echo_n "checking
for $ac_header...
" >&6; }
11703 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11704 $as_echo_n "(cached
) " >&6
11706 eval "$as_ac_Header=\
$ac_header_preproc"
11708 ac_res=`eval 'as_val=${'$as_ac_Header'}
11709 $as_echo "$as_val"'`
11710 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11711 $as_echo "$ac_res" >&6; }
11714 as_val=`eval 'as_val=${'$as_ac_Header'}
11715 $as_echo "$as_val"'`
11716 if test "x
$as_val" = x""yes; then
11717 cat >>confdefs.h <<_ACEOF
11718 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11727 check_lib_no_libs dlm dlm_lock -lpthread
11728 if test $NOTFOUND = 0; then
11729 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11730 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11731 DLM_LIBS="-ldlm -lpthread"
11735 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11736 DLM_LIBS=$pkg_cv_DLM_LIBS
11737 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11738 $as_echo "yes" >&6; }
11743 if test x$CLVMD = xall; then
11745 if test x$HAVE_CCS = xyes && \
11746 test x$HAVE_GULM = xyes; then
11747 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11748 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11749 CLVMD="$CLVMD,gulm
"
11751 if test x$HAVE_CMAN = xyes && \
11752 test x$HAVE_DLM = xyes; then
11753 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11754 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11755 CLVMD="$CLVMD,cman
"
11757 if test x$HAVE_COROSYNC = xyes && \
11758 test x$HAVE_QUORUM = xyes && \
11759 test x$HAVE_CPG = xyes && \
11760 test x$HAVE_DLM = xyes && \
11761 test x$HAVE_CONFDB = xyes; then
11762 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11763 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11764 CLVMD="$CLVMD,corosync
"
11766 if test x$HAVE_COROSYNC = xyes && \
11767 test x$HAVE_CPG = xyes && \
11768 test x$HAVE_SALCK = xyes; then
11769 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11770 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11771 CLVMD="$CLVMD,openais
"
11773 if test x$CLVMD = xnone; then
11774 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11775 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11779 ################################################################################
11780 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11781 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11782 # Check whether --enable-cmirrord was given.
11783 if test "${enable_cmirrord+set}" = set; then
11784 enableval=$enable_cmirrord; CMIRRORD=$enableval
11789 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11790 $as_echo "$CMIRRORD" >&6; }
11792 BUILD_CMIRRORD=$CMIRRORD
11794 ################################################################################
11797 if test "x
$BUILD_CMIRRORD" = xyes; then
11799 # Check whether --with-cmirrord-pidfile was given.
11800 if test "${with_cmirrord_pidfile+set}" = set; then
11801 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11802 #define CMIRRORD_PIDFILE "$withval"
11806 cat >>confdefs.h <<_ACEOF
11807 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11814 ################################################################################
11815 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11816 if test x$PKGCONFIG_INIT != x1; then
11821 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11822 $as_echo_n "checking
for SACKPT...
" >&6; }
11824 if test -n "$SACKPT_CFLAGS"; then
11825 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11826 elif test -n "$PKG_CONFIG"; then
11827 if test -n "$PKG_CONFIG" && \
11828 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11829 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11831 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11832 (exit $ac_status); }; then
11833 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11840 if test -n "$SACKPT_LIBS"; then
11841 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11842 elif test -n "$PKG_CONFIG"; then
11843 if test -n "$PKG_CONFIG" && \
11844 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11845 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11847 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11848 (exit $ac_status); }; then
11849 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11859 if test $pkg_failed = yes; then
11861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11862 _pkg_short_errors_supported=yes
11864 _pkg_short_errors_supported=no
11866 if test $_pkg_short_errors_supported = yes; then
11867 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11869 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11871 # Put the nasty error message in config.log where it belongs
11872 echo "$SACKPT_PKG_ERRORS" >&5
11874 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11878 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11879 installed software
in a non-standard prefix.
11881 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11882 and SACKPT_LIBS to avoid the need to call pkg-config.
11883 See the pkg-config man page
for more details.
11885 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11889 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11890 installed software
in a non-standard prefix.
11892 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11893 and SACKPT_LIBS to avoid the need to call pkg-config.
11894 See the pkg-config man page
for more details.
11896 { (exit 1); exit 1; }; }
11897 elif test $pkg_failed = untried; then
11898 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11900 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11901 is in your PATH or set the PKG_CONFIG environment variable to the full
11902 path to pkg-config.
11904 Alternatively, you may set the environment variables SACKPT_CFLAGS
11905 and SACKPT_LIBS to avoid the need to call pkg-config.
11906 See the pkg-config man page for more details.
11908 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11909 See \`config.log' for more details.
" >&5
11910 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11911 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11912 path to pkg-config.
11914 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11915 and SACKPT_LIBS to avoid the need to call pkg-config.
11916 See the pkg-config man page
for more details.
11918 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11919 See \
`config.log' for more details." >&2;}
11920 { (exit 1); exit 1; }; }; }
11922 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11923 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11924 { $as_echo "$as_me:$LINENO: result: yes" >&5
11925 $as_echo "yes" >&6; }
11928 if test x$HAVE_CPG != xyes; then
11931 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11932 $as_echo_n "checking for CPG... " >&6; }
11934 if test -n "$CPG_CFLAGS"; then
11935 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11936 elif test -n "$PKG_CONFIG"; then
11937 if test -n "$PKG_CONFIG" && \
11938 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11939 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; then
11943 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11950 if test -n "$CPG_LIBS"; then
11951 pkg_cv_CPG_LIBS="$CPG_LIBS"
11952 elif test -n "$PKG_CONFIG"; then
11953 if test -n "$PKG_CONFIG" && \
11954 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11955 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; then
11959 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11969 if test $pkg_failed = yes; then
11971 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11972 _pkg_short_errors_supported=yes
11974 _pkg_short_errors_supported=no
11976 if test $_pkg_short_errors_supported = yes; then
11977 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11979 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11981 # Put the nasty error message in config.log where it belongs
11982 echo "$CPG_PKG_ERRORS" >&5
11984 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
11988 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11989 installed software in a non-standard prefix.
11991 Alternatively, you may set the environment variables CPG_CFLAGS
11992 and CPG_LIBS to avoid the need to call pkg-config.
11993 See the pkg-config man page for more details.
11995 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
11999 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12000 installed software in a non-standard prefix.
12002 Alternatively, you may set the environment variables CPG_CFLAGS
12003 and CPG_LIBS to avoid the need to call pkg-config.
12004 See the pkg-config man page for more details.
12006 { (exit 1); exit 1; }; }
12007 elif test $pkg_failed = untried; then
12008 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12010 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12011 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12012 path to pkg-config.
12014 Alternatively
, you may
set the environment variables CPG_CFLAGS
12015 and CPG_LIBS to avoid the need to call pkg-config.
12016 See the pkg-config man page
for more details.
12018 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12019 See \
`config.log' for more details." >&5
12020 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12021 is in your PATH or set the PKG_CONFIG environment variable to the full
12022 path to pkg-config.
12024 Alternatively, you may set the environment variables CPG_CFLAGS
12025 and CPG_LIBS to avoid the need to call pkg-config.
12026 See the pkg-config man page for more details.
12028 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12029 See \`config.log
' for more details." >&2;}
12030 { (exit 1); exit 1; }; }; }
12032 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12033 CPG_LIBS=$pkg_cv_CPG_LIBS
12034 { $as_echo "$as_me:$LINENO: result: yes" >&5
12035 $as_echo "yes" >&6; }
12041 ################################################################################
12042 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12043 $as_echo_n "checking whether to enable debugging... " >&6; }
12044 # Check whether --enable-debug was given.
12045 if test "${enable_debug+set}" = set; then
12046 enableval=$enable_debug; DEBUG=$enableval
12051 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12052 $as_echo "$DEBUG" >&6; }
12054 if test x$DEBUG = xyes; then
12060 ################################################################################
12061 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12062 $as_echo_n "checking for C optimisation flag... " >&6; }
12064 # Check whether --with-optimisation was given.
12065 if test "${with_optimisation+set}" = set; then
12066 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12069 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12070 $as_echo "$COPTIMISE_FLAG" >&6; }
12072 ################################################################################
12073 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12074 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12075 # Check whether --enable-profiling was given.
12076 if test "${enable_profiling+set}" = set; then
12077 enableval=$enable_profiling; PROFILING=$enableval
12082 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12083 $as_echo "$PROFILING" >&6; }
12085 if test "x$PROFILING" = xyes; then
12086 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12087 # Extract the first word of "lcov", so it can be a program name with args.
12088 set dummy lcov; ac_word=$2
12089 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12090 $as_echo_n "checking for $ac_word... " >&6; }
12091 if test "${ac_cv_path_LCOV+set}" = set; then
12092 $as_echo_n "(cached) " >&6
12096 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100 for as_dir in $PATH
12103 test -z "$as_dir" && as_dir=.
12104 for ac_exec_ext in '' $ac_executable_extensions; do
12105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12106 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12107 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12114 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
12118 LCOV=$ac_cv_path_LCOV
12119 if test -n "$LCOV"; then
12120 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12121 $as_echo "$LCOV" >&6; }
12123 { $as_echo "$as_me:$LINENO: result: no" >&5
12124 $as_echo "no" >&6; }
12128 # Extract the first word of "genhtml", so it can be a program name with args.
12129 set dummy genhtml; ac_word=$2
12130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12131 $as_echo_n "checking for $ac_word... " >&6; }
12132 if test "${ac_cv_path_GENHTML+set}" = set; then
12133 $as_echo_n "(cached) " >&6
12137 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12141 for as_dir in $PATH
12144 test -z "$as_dir" && as_dir=.
12145 for ac_exec_ext in '' $ac_executable_extensions; do
12146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12147 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12148 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12155 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
12159 GENHTML=$ac_cv_path_GENHTML
12160 if test -n "$GENHTML"; then
12161 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12162 $as_echo "$GENHTML" >&6; }
12164 { $as_echo "$as_me:$LINENO: result: no" >&5
12165 $as_echo "no" >&6; }
12169 if test "$LCOV" = no -o "$GENHTML" = no ; then
12170 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12171 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12172 { (exit 1); exit 1; }; }
12176 ################################################################################
12177 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12178 $as_echo_n "checking whether to use device-mapper... " >&6; }
12179 # Check whether --enable-devmapper was given.
12180 if test "${enable_devmapper+set}" = set; then
12181 enableval=$enable_devmapper; DEVMAPPER=$enableval
12184 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12185 $as_echo "$DEVMAPPER" >&6; }
12187 if test x$DEVMAPPER = xyes; then
12189 cat >>confdefs.h <<\_ACEOF
12190 #define DEVMAPPER_SUPPORT 1
12195 ################################################################################
12196 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12197 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12198 # Check whether --enable-udev_sync was given.
12199 if test "${enable_udev_sync+set}" = set; then
12200 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12205 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12206 $as_echo "$UDEV_SYNC" >&6; }
12208 if test x$UDEV_SYNC = xyes; then
12210 cat >>confdefs.h <<\_ACEOF
12211 #define UDEV_SYNC_SUPPORT 1
12216 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12217 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12218 # Check whether --enable-udev_rules was given.
12219 if test "${enable_udev_rules+set}" = set; then
12220 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12222 UDEV_RULES=$UDEV_SYNC
12225 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12226 $as_echo "$UDEV_RULES" >&6; }
12228 ################################################################################
12230 if test x$UDEV_SYNC = xyes; then
12231 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12232 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12233 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12234 $as_echo_n "(cached) " >&6
12236 ac_check_lib_save_LIBS=$LIBS
12237 LIBS="-ludev $LIBS"
12238 cat >conftest.$ac_ext <<_ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12251 char udev_queue_get_udev_is_active ();
12255 return udev_queue_get_udev_is_active ();
12260 rm -f conftest.$ac_objext conftest$ac_exeext
12261 if { (ac_try="$ac_link"
12262 case "(($ac_try" in
12263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12264 *) ac_try_echo=$ac_try;;
12266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12267 $as_echo "$ac_try_echo") >&5
12268 (eval "$ac_link") 2>conftest.er1
12270 grep -v '^
*+' conftest.er1 >conftest.err
12272 cat conftest.err >&5
12273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } && {
12275 test -z "$ac_c_werror_flag" ||
12276 test ! -s conftest.err
12277 } && test -s conftest$ac_exeext && {
12278 test "$cross_compiling" = yes ||
12279 $as_test_x conftest$ac_exeext
12281 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12283 $as_echo "$as_me: failed program was:" >&5
12284 sed 's
/^
/|
/' conftest.$ac_ext >&5
12286 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12289 rm -rf conftest.dSYM
12290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_lib_save_LIBS
12294 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12295 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12296 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12297 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=yes
12299 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=no
12303 if test x$HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE = xyes; then
12305 cat >>confdefs.h <<\_ACEOF
12306 #define HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE 1
12309 LIBS="-ludev $LIBS"
12311 { $as_echo "$as_me:$LINENO: WARNING: It won't be possible to get udev state. We will assume that udev is not running.
" >&5
12312 $as_echo "$as_me: WARNING
: It won
't be possible to get udev state. We will assume that udev is not running." >&2;}
12316 ################################################################################
12317 # Check whether --enable-compat was given.
12318 if test "${enable_compat+set}" = set; then
12319 enableval=$enable_compat; DM_COMPAT=$enableval
12325 ################################################################################
12326 # Check whether --enable-units-compat was given.
12327 if test "${enable_units_compat+set}" = set; then
12328 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12334 if test x$UNITS_COMPAT = xyes; then
12336 cat >>confdefs.h <<\_ACEOF
12337 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12342 ################################################################################
12343 # Check whether --enable-ioctl was given.
12344 if test "${enable_ioctl+set}" = set; then
12345 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12349 ################################################################################
12350 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12351 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12352 # Check whether --enable-o_direct was given.
12353 if test "${enable_o_direct+set}" = set; then
12354 enableval=$enable_o_direct; ODIRECT=$enableval
12357 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12358 $as_echo "$ODIRECT" >&6; }
12360 if test x$ODIRECT = xyes; then
12362 cat >>confdefs.h <<\_ACEOF
12363 #define O_DIRECT_SUPPORT 1
12368 ################################################################################
12369 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12370 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12371 # Check whether --enable-applib was given.
12372 if test "${enable_applib+set}" = set; then
12373 enableval=$enable_applib; APPLIB=$enableval
12378 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12379 $as_echo "$APPLIB" >&6; }
12381 test x$APPLIB = xyes \
12382 && LVM2APP_LIB=-llvm2app \
12385 ################################################################################
12386 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12387 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12388 # Check whether --enable-cmdlib was given.
12389 if test "${enable_cmdlib+set}" = set; then
12390 enableval=$enable_cmdlib; CMDLIB=$enableval
12395 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12396 $as_echo "$CMDLIB" >&6; }
12398 test x$CMDLIB = xyes \
12399 && LVM2CMD_LIB=-llvm2cmd \
12402 ################################################################################
12403 # Check whether --enable-pkgconfig was given.
12404 if test "${enable_pkgconfig+set}" = set; then
12405 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12411 ################################################################################
12412 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12413 $as_echo_n "checking whether to install fsadm... " >&6; }
12414 # Check whether --enable-fsadm was given.
12415 if test "${enable_fsadm+set}" = set; then
12416 enableval=$enable_fsadm; FSADM=$enableval
12419 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12420 $as_echo "$FSADM" >&6; }
12422 ################################################################################
12423 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12424 $as_echo_n "checking whether to use dmeventd... " >&6; }
12425 # Check whether --enable-dmeventd was given.
12426 if test "${enable_dmeventd+set}" = set; then
12427 enableval=$enable_dmeventd; DMEVENTD=$enableval
12430 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12431 $as_echo "$DMEVENTD" >&6; }
12433 BUILD_DMEVENTD=$DMEVENTD
12435 if test x$DMEVENTD = xyes; then
12436 if test x$MIRRORS != xinternal; then
12437 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12439 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12441 { (exit 1); exit 1; }; }
12443 if test x$CMDLIB = xno; then
12444 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12446 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12448 { (exit 1); exit 1; }; }
12452 if test x$DMEVENTD = xyes; then
12454 cat >>confdefs.h <<\_ACEOF
12460 ################################################################################
12462 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12463 $as_echo_n "checking for getline in -lc... " >&6; }
12464 if test "${ac_cv_lib_c_getline+set}" = set; then
12465 $as_echo_n "(cached) " >&6
12467 ac_check_lib_save_LIBS=$LIBS
12469 cat >conftest.$ac_ext <<_ACEOF
12472 cat confdefs.h >>conftest.$ac_ext
12473 cat >>conftest.$ac_ext <<_ACEOF
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12491 rm -f conftest.$ac_objext conftest$ac_exeext
12492 if { (ac_try="$ac_link"
12493 case "(($ac_try" in
12494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12495 *) ac_try_echo=$ac_try;;
12497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12498 $as_echo "$ac_try_echo") >&5
12499 (eval "$ac_link") 2>conftest.er1
12501 grep -v '^
*+' conftest.er1 >conftest.err
12503 cat conftest.err >&5
12504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } && {
12506 test -z "$ac_c_werror_flag" ||
12507 test ! -s conftest.err
12508 } && test -s conftest$ac_exeext && {
12509 test "$cross_compiling" = yes ||
12510 $as_test_x conftest$ac_exeext
12512 ac_cv_lib_c_getline=yes
12514 $as_echo "$as_me: failed program was:" >&5
12515 sed 's
/^
/|
/' conftest.$ac_ext >&5
12517 ac_cv_lib_c_getline=no
12520 rm -rf conftest.dSYM
12521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_lib_save_LIBS
12525 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12526 $as_echo "$ac_cv_lib_c_getline" >&6; }
12527 if test "x$ac_cv_lib_c_getline" = x""yes; then
12529 cat >>confdefs.h <<\_ACEOF
12530 #define HAVE_GETLINE 1
12536 ################################################################################
12538 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12539 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12540 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12541 $as_echo_n "(cached) " >&6
12543 ac_check_lib_save_LIBS=$LIBS
12545 cat >conftest.$ac_ext <<_ACEOF
12548 cat confdefs.h >>conftest.$ac_ext
12549 cat >>conftest.$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12558 char canonicalize_file_name ();
12562 return canonicalize_file_name ();
12567 rm -f conftest.$ac_objext conftest$ac_exeext
12568 if { (ac_try="$ac_link"
12569 case "(($ac_try" in
12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 *) ac_try_echo=$ac_try;;
12573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12574 $as_echo "$ac_try_echo") >&5
12575 (eval "$ac_link") 2>conftest.er1
12577 grep -v '^
*+' conftest.er1 >conftest.err
12579 cat conftest.err >&5
12580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && {
12582 test -z "$ac_c_werror_flag" ||
12583 test ! -s conftest.err
12584 } && test -s conftest$ac_exeext && {
12585 test "$cross_compiling" = yes ||
12586 $as_test_x conftest$ac_exeext
12588 ac_cv_lib_c_canonicalize_file_name=yes
12590 $as_echo "$as_me: failed program was:" >&5
12591 sed 's
/^
/|
/' conftest.$ac_ext >&5
12593 ac_cv_lib_c_canonicalize_file_name=no
12596 rm -rf conftest.dSYM
12597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12602 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12603 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12605 cat >>confdefs.h <<\_ACEOF
12606 #define HAVE_CANONICALIZE_FILE_NAME 1
12612 ################################################################################
12613 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12614 then exec_prefix="";
12617 ################################################################################
12618 if test x$READLINE != xno; then
12619 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12620 $as_echo_n "checking for library containing tgetent... " >&6; }
12621 if test "${ac_cv_search_tgetent+set}" = set; then
12622 $as_echo_n "(cached) " >&6
12624 ac_func_search_save_LIBS=$LIBS
12625 cat >conftest.$ac_ext <<_ACEOF
12628 cat confdefs.h >>conftest.$ac_ext
12629 cat >>conftest.$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12647 for ac_lib in '' tinfo ncurses curses termcap termlib; do
12648 if test -z "$ac_lib"; then
12649 ac_res="none required"
12652 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12654 rm -f conftest.$ac_objext conftest$ac_exeext
12655 if { (ac_try="$ac_link"
12656 case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12661 $as_echo "$ac_try_echo") >&5
12662 (eval "$ac_link") 2>conftest.er1
12664 grep -v '^
*+' conftest.er1 >conftest.err
12666 cat conftest.err >&5
12667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext && {
12672 test "$cross_compiling" = yes ||
12673 $as_test_x conftest$ac_exeext
12675 ac_cv_search_tgetent=$ac_res
12677 $as_echo "$as_me: failed program was:" >&5
12678 sed 's
/^
/|
/' conftest.$ac_ext >&5
12683 rm -rf conftest.dSYM
12684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12686 if test "${ac_cv_search_tgetent+set}" = set; then
12690 if test "${ac_cv_search_tgetent+set}" = set; then
12693 ac_cv_search_tgetent=no
12695 rm conftest.$ac_ext
12696 LIBS=$ac_func_search_save_LIBS
12698 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
12699 $as_echo "$ac_cv_search_tgetent" >&6; }
12700 ac_res=$ac_cv_search_tgetent
12701 if test "$ac_res" != no; then
12702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12708 test x$READLINE:$tg_found = xyes:no &&
12709 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
12710 --enable-readline option (which is enabled by default). Either disable readline
12711 support with --disable-readline or download and install termcap from:
12712 ftp.gnu.org/gnu/termcap
12713 Note: if you are using precompiled packages you will also need the development
12714 package as well (which may be called termcap-devel or something similar).
12715 Note: (n)curses also seems to work as a substitute for termcap. This was
12716 not found either - but you could try installing that as well.
12718 $as_echo "$as_me: error: termcap could not be found which is required for the
12719 --enable-readline option (which is enabled by default). Either disable readline
12720 support with --disable-readline or download and install termcap from:
12721 ftp.gnu.org/gnu/termcap
12722 Note: if you are using precompiled packages you will also need the development
12723 package as well (which may be called termcap-devel or something similar).
12724 Note: (n)curses also seems to work as a substitute for termcap. This was
12725 not found either - but you could try installing that as well.
12727 { (exit 1); exit 1; }; }
12730 ################################################################################
12731 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12732 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12733 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12734 $as_echo_n "(cached) " >&6
12736 ac_check_lib_save_LIBS=$LIBS
12738 cat >conftest.$ac_ext <<_ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12760 rm -f conftest.$ac_objext conftest$ac_exeext
12761 if { (ac_try="$ac_link"
12762 case "(($ac_try" in
12763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12764 *) ac_try_echo=$ac_try;;
12766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12767 $as_echo "$ac_try_echo") >&5
12768 (eval "$ac_link") 2>conftest.er1
12770 grep -v '^
*+' conftest.er1 >conftest.err
12772 cat conftest.err >&5
12773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } && {
12775 test -z "$ac_c_werror_flag" ||
12776 test ! -s conftest.err
12777 } && test -s conftest$ac_exeext && {
12778 test "$cross_compiling" = yes ||
12779 $as_test_x conftest$ac_exeext
12781 ac_cv_lib_dl_dlopen=yes
12783 $as_echo "$as_me: failed program was:" >&5
12784 sed 's
/^
/|
/' conftest.$ac_ext >&5
12786 ac_cv_lib_dl_dlopen=no
12789 rm -rf conftest.dSYM
12790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12791 conftest$ac_exeext conftest.$ac_ext
12792 LIBS=$ac_check_lib_save_LIBS
12794 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12795 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12796 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12803 if [ "x$HAVE_LIBDL" = xyes ]; then
12805 cat >>confdefs.h <<\_ACEOF
12806 #define HAVE_LIBDL 1
12814 ################################################################################
12815 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12816 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12817 \) -a "x$STATIC_LINK" = xyes ];
12818 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12820 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12822 { (exit 1); exit 1; }; }
12825 ################################################################################
12826 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12827 $as_echo_n "checking whether to enable selinux support... " >&6; }
12828 # Check whether --enable-selinux was given.
12829 if test "${enable_selinux+set}" = set; then
12830 enableval=$enable_selinux; SELINUX=$enableval
12833 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12834 $as_echo "$SELINUX" >&6; }
12836 ################################################################################
12837 if test x$SELINUX = xyes; then
12838 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12839 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12840 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12841 $as_echo_n "(cached) " >&6
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lsepol $LIBS"
12845 cat >conftest.$ac_ext <<_ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12858 char sepol_check_context ();
12862 return sepol_check_context ();
12867 rm -f conftest.$ac_objext conftest$ac_exeext
12868 if { (ac_try="$ac_link"
12869 case "(($ac_try" in
12870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12871 *) ac_try_echo=$ac_try;;
12873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12874 $as_echo "$ac_try_echo") >&5
12875 (eval "$ac_link") 2>conftest.er1
12877 grep -v '^
*+' conftest.er1 >conftest.err
12879 cat conftest.err >&5
12880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } && {
12882 test -z "$ac_c_werror_flag" ||
12883 test ! -s conftest.err
12884 } && test -s conftest$ac_exeext && {
12885 test "$cross_compiling" = yes ||
12886 $as_test_x conftest$ac_exeext
12888 ac_cv_lib_sepol_sepol_check_context=yes
12890 $as_echo "$as_me: failed program was:" >&5
12891 sed 's
/^
/|
/' conftest.$ac_ext >&5
12893 ac_cv_lib_sepol_sepol_check_context=no
12896 rm -rf conftest.dSYM
12897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12902 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12903 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12910 if test x$HAVE_SEPOL = xyes; then
12912 cat >>confdefs.h <<\_ACEOF
12913 #define HAVE_SEPOL 1
12916 SELINUX_LIBS="-lsepol $SELINUX_LIBS"
12919 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12920 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12921 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12922 $as_echo_n "(cached) " >&6
12924 ac_check_lib_save_LIBS=$LIBS
12925 LIBS="-lselinux $LIBS"
12926 cat >conftest.$ac_ext <<_ACEOF
12929 cat confdefs.h >>conftest.$ac_ext
12930 cat >>conftest.$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12939 char is_selinux_enabled ();
12943 return is_selinux_enabled ();
12948 rm -f conftest.$ac_objext conftest$ac_exeext
12949 if { (ac_try="$ac_link"
12950 case "(($ac_try" in
12951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12952 *) ac_try_echo=$ac_try;;
12954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12955 $as_echo "$ac_try_echo") >&5
12956 (eval "$ac_link") 2>conftest.er1
12958 grep -v '^
*+' conftest.er1 >conftest.err
12960 cat conftest.err >&5
12961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } && {
12963 test -z "$ac_c_werror_flag" ||
12964 test ! -s conftest.err
12965 } && test -s conftest$ac_exeext && {
12966 test "$cross_compiling" = yes ||
12967 $as_test_x conftest$ac_exeext
12969 ac_cv_lib_selinux_is_selinux_enabled=yes
12971 $as_echo "$as_me: failed program was:" >&5
12972 sed 's
/^
/|
/' conftest.$ac_ext >&5
12974 ac_cv_lib_selinux_is_selinux_enabled=no
12977 rm -rf conftest.dSYM
12978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_lib_save_LIBS
12982 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12983 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12984 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12991 if test x$HAVE_SELINUX = xyes; then
12993 cat >>confdefs.h <<\_ACEOF
12994 #define HAVE_SELINUX 1
12997 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
12999 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13000 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13002 LIBS="$SELINUX_LIBS $LIBS"
13004 # With --enable-static_link and selinux enabled, linking
13005 # fails on at least Debian unstable due to unsatisfied references
13006 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
13007 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
13008 lvm_saved_libs=$LIBS
13009 LIBS="$LIBS -static"
13010 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
13011 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
13012 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13013 $as_echo_n "(cached) " >&6
13015 ac_func_search_save_LIBS=$LIBS
13016 cat >conftest.$ac_ext <<_ACEOF
13019 cat confdefs.h >>conftest.$ac_ext
13020 cat >>conftest.$ac_ext <<_ACEOF
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13029 char pthread_mutex_lock ();
13033 return pthread_mutex_lock ();
13038 for ac_lib in '' pthread; do
13039 if test -z "$ac_lib"; then
13040 ac_res="none required"
13043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13045 rm -f conftest.$ac_objext conftest$ac_exeext
13046 if { (ac_try="$ac_link"
13047 case "(($ac_try" in
13048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13049 *) ac_try_echo=$ac_try;;
13051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13052 $as_echo "$ac_try_echo") >&5
13053 (eval "$ac_link") 2>conftest.er1
13055 grep -v '^
*+' conftest.er1 >conftest.err
13057 cat conftest.err >&5
13058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && {
13060 test -z "$ac_c_werror_flag" ||
13061 test ! -s conftest.err
13062 } && test -s conftest$ac_exeext && {
13063 test "$cross_compiling" = yes ||
13064 $as_test_x conftest$ac_exeext
13066 ac_cv_search_pthread_mutex_lock=$ac_res
13068 $as_echo "$as_me: failed program was:" >&5
13069 sed 's
/^
/|
/' conftest.$ac_ext >&5
13074 rm -rf conftest.dSYM
13075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13077 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13081 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13084 ac_cv_search_pthread_mutex_lock=no
13086 rm conftest.$ac_ext
13087 LIBS=$ac_func_search_save_LIBS
13089 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
13090 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
13091 ac_res=$ac_cv_search_pthread_mutex_lock
13092 if test "$ac_res" != no; then
13093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13094 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
13095 LIB_PTHREAD=-lpthread
13098 LIBS=$lvm_saved_libs
13102 ################################################################################
13103 if test x$REALTIME = xyes; then
13104 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13105 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13106 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13107 $as_echo_n "(cached) " >&6
13109 ac_check_lib_save_LIBS=$LIBS
13111 cat >conftest.$ac_ext <<_ACEOF
13114 cat confdefs.h >>conftest.$ac_ext
13115 cat >>conftest.$ac_ext <<_ACEOF
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13124 char clock_gettime ();
13128 return clock_gettime ();
13133 rm -f conftest.$ac_objext conftest$ac_exeext
13134 if { (ac_try="$ac_link"
13135 case "(($ac_try" in
13136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13137 *) ac_try_echo=$ac_try;;
13139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13140 $as_echo "$ac_try_echo") >&5
13141 (eval "$ac_link") 2>conftest.er1
13143 grep -v '^
*+' conftest.er1 >conftest.err
13145 cat conftest.err >&5
13146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } && {
13148 test -z "$ac_c_werror_flag" ||
13149 test ! -s conftest.err
13150 } && test -s conftest$ac_exeext && {
13151 test "$cross_compiling" = yes ||
13152 $as_test_x conftest$ac_exeext
13154 ac_cv_lib_rt_clock_gettime=yes
13156 $as_echo "$as_me: failed program was:" >&5
13157 sed 's
/^
/|
/' conftest.$ac_ext >&5
13159 ac_cv_lib_rt_clock_gettime=no
13162 rm -rf conftest.dSYM
13163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13164 conftest$ac_exeext conftest.$ac_ext
13165 LIBS=$ac_check_lib_save_LIBS
13167 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13168 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13169 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13176 if test x$HAVE_REALTIME = xyes; then
13178 cat >>confdefs.h <<\_ACEOF
13179 #define HAVE_REALTIME 1
13184 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13185 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13189 ################################################################################
13191 for ac_header in getopt.h
13193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13195 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13196 $as_echo_n "checking for $ac_header... " >&6; }
13197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13198 $as_echo_n "(cached) " >&6
13200 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13201 $as_echo "$as_val"'`
13202 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13203 $as_echo "$ac_res" >&6; }
13205 # Is the header compilable?
13206 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13207 $as_echo_n "checking $ac_header usability... " >&6; }
13208 cat >conftest.$ac_ext <<_ACEOF
13211 cat confdefs.h >>conftest.$ac_ext
13212 cat >>conftest.$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13214 $ac_includes_default
13215 #include <$ac_header>
13217 rm -f conftest.$ac_objext
13218 if { (ac_try="$ac_compile"
13219 case "(($ac_try" in
13220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13224 $as_echo "$ac_try_echo") >&5
13225 (eval "$ac_compile") 2>conftest.er1
13227 grep -v '^
*+' conftest.er1 >conftest.err
13229 cat conftest.err >&5
13230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); } && {
13232 test -z "$ac_c_werror_flag" ||
13233 test ! -s conftest.err
13234 } && test -s conftest.$ac_objext; then
13235 ac_header_compiler=yes
13237 $as_echo "$as_me: failed program was:" >&5
13238 sed 's
/^
/|
/' conftest.$ac_ext >&5
13240 ac_header_compiler=no
13243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13244 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13245 $as_echo "$ac_header_compiler" >&6; }
13247 # Is the header present?
13248 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13249 $as_echo_n "checking $ac_header presence... " >&6; }
13250 cat >conftest.$ac_ext <<_ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <$ac_header>
13258 if { (ac_try="$ac_cpp conftest.$ac_ext"
13259 case "(($ac_try" in
13260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13261 *) ac_try_echo=$ac_try;;
13263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13264 $as_echo "$ac_try_echo") >&5
13265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13267 grep -v '^
*+' conftest.er1 >conftest.err
13269 cat conftest.err >&5
13270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } >/dev/null && {
13272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13273 test ! -s conftest.err
13275 ac_header_preproc=yes
13277 $as_echo "$as_me: failed program was:" >&5
13278 sed 's
/^
/|
/' conftest.$ac_ext >&5
13280 ac_header_preproc=no
13283 rm -f conftest.err conftest.$ac_ext
13284 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13285 $as_echo "$ac_header_preproc" >&6; }
13287 # So? What about this header?
13288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13291 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13293 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13294 ac_header_preproc=yes
13297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13298 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13300 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13302 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13304 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13306 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13308 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13312 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13313 $as_echo_n "checking for $ac_header... " >&6; }
13314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13315 $as_echo_n "(cached) " >&6
13317 eval "$as_ac_Header=\$ac_header_preproc"
13319 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13320 $as_echo "$as_val"'`
13321 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13322 $as_echo "$ac_res" >&6; }
13325 as_val=`eval 'as_val
=${'$as_ac_Header'}
13326 $as_echo "$as_val"'`
13327 if test "x$as_val" = x""yes; then
13328 cat >>confdefs.h <<_ACEOF
13329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13332 cat >>confdefs.h <<\_ACEOF
13333 #define HAVE_GETOPTLONG 1
13341 ################################################################################
13342 if test x$READLINE != xno; then
13345 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13346 $as_echo_n "checking for readline in -lreadline... " >&6; }
13347 if test "${ac_cv_lib_readline_readline+set}" = set; then
13348 $as_echo_n "(cached) " >&6
13350 ac_check_lib_save_LIBS=$LIBS
13351 LIBS="-lreadline $LIBS"
13352 cat >conftest.$ac_ext <<_ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13369 return readline ();
13374 rm -f conftest.$ac_objext conftest$ac_exeext
13375 if { (ac_try="$ac_link"
13376 case "(($ac_try" in
13377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13378 *) ac_try_echo=$ac_try;;
13380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13381 $as_echo "$ac_try_echo") >&5
13382 (eval "$ac_link") 2>conftest.er1
13384 grep -v '^
*+' conftest.er1 >conftest.err
13386 cat conftest.err >&5
13387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } && {
13389 test -z "$ac_c_werror_flag" ||
13390 test ! -s conftest.err
13391 } && test -s conftest$ac_exeext && {
13392 test "$cross_compiling" = yes ||
13393 $as_test_x conftest$ac_exeext
13395 ac_cv_lib_readline_readline=yes
13397 $as_echo "$as_me: failed program was:" >&5
13398 sed 's
/^
/|
/' conftest.$ac_ext >&5
13400 ac_cv_lib_readline_readline=no
13403 rm -rf conftest.dSYM
13404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13405 conftest$ac_exeext conftest.$ac_ext
13406 LIBS=$ac_check_lib_save_LIBS
13408 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13409 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13410 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13411 cat >>confdefs.h <<_ACEOF
13412 #define HAVE_LIBREADLINE 1
13415 LIBS="-lreadline $LIBS"
13421 test x$READLINE:$rl_found = xyes:no &&
13422 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13423 --enable-readline option (which is enabled by default). Either disable readline
13424 support with --disable-readline or download and install readline from:
13425 ftp.gnu.org/gnu/readline
13426 Note: if you are using precompiled packages you will also need the development
13427 package as well (which may be called readline-devel or something similar).
13429 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13430 --enable-readline option (which is enabled by default). Either disable readline
13431 support with --disable-readline or download and install readline from:
13432 ftp.gnu.org/gnu/readline
13433 Note: if you are using precompiled packages you will also need the development
13434 package as well (which may be called readline-devel or something similar).
13436 { (exit 1); exit 1; }; }
13437 if test $rl_found = yes; then
13439 for ac_func in rl_completion_matches
13441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13442 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13443 $as_echo_n "checking for $ac_func... " >&6; }
13444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13445 $as_echo_n "(cached) " >&6
13447 cat >conftest.$ac_ext <<_ACEOF
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13455 #define $ac_func innocuous_$ac_func
13457 /* System header to define __stub macros and hopefully few prototypes,
13458 which can conflict with char $ac_func (); below.
13459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13460 <limits.h> exists even on freestanding compilers. */
13463 # include <limits.h>
13465 # include <assert.h>
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13477 /* The GNU C library defines this for functions which it implements
13478 to always fail with ENOSYS. Some functions are actually named
13479 something starting with __ and the normal name is an alias. */
13480 #if defined __stub_$ac_func || defined __stub___$ac_func
13487 return $ac_func ();
13492 rm -f conftest.$ac_objext conftest$ac_exeext
13493 if { (ac_try="$ac_link"
13494 case "(($ac_try" in
13495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13496 *) ac_try_echo=$ac_try;;
13498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13499 $as_echo "$ac_try_echo") >&5
13500 (eval "$ac_link") 2>conftest.er1
13502 grep -v '^
*+' conftest.er1 >conftest.err
13504 cat conftest.err >&5
13505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } && {
13507 test -z "$ac_c_werror_flag" ||
13508 test ! -s conftest.err
13509 } && test -s conftest$ac_exeext && {
13510 test "$cross_compiling" = yes ||
13511 $as_test_x conftest$ac_exeext
13513 eval "$as_ac_var=yes"
13515 $as_echo "$as_me: failed program was:" >&5
13516 sed 's
/^
/|
/' conftest.$ac_ext >&5
13518 eval "$as_ac_var=no"
13521 rm -rf conftest.dSYM
13522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13523 conftest$ac_exeext conftest.$ac_ext
13525 ac_res=`eval 'as_val
=${'$as_ac_var'}
13526 $as_echo "$as_val"'`
13527 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13528 $as_echo "$ac_res" >&6; }
13529 as_val=`eval 'as_val
=${'$as_ac_var'}
13530 $as_echo "$as_val"'`
13531 if test "x$as_val" = x""yes; then
13532 cat >>confdefs.h <<_ACEOF
13533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13540 cat >>confdefs.h <<\_ACEOF
13541 #define READLINE_SUPPORT 1
13547 ################################################################################
13548 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13549 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13550 # Check whether --enable-nls was given.
13551 if test "${enable_nls+set}" = set; then
13552 enableval=$enable_nls; INTL=$enableval
13557 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13558 $as_echo "$INTL" >&6; }
13560 if test x$INTL = xyes; then
13561 # FIXME - Move this - can be device-mapper too
13562 INTL_PACKAGE="lvm2"
13563 # Extract the first word of "msgfmt", so it can be a program name with args.
13564 set dummy msgfmt; ac_word=$2
13565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13566 $as_echo_n "checking for $ac_word... " >&6; }
13567 if test "${ac_cv_path_MSGFMT+set}" = set; then
13568 $as_echo_n "(cached) " >&6
13572 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13576 for as_dir in $PATH
13579 test -z "$as_dir" && as_dir=.
13580 for ac_exec_ext in '' $ac_executable_extensions; do
13581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13582 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13593 MSGFMT=$ac_cv_path_MSGFMT
13594 if test -n "$MSGFMT"; then
13595 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13596 $as_echo "$MSGFMT" >&6; }
13598 { $as_echo "$as_me:$LINENO: result: no" >&5
13599 $as_echo "no" >&6; }
13603 if [ "x$MSGFMT" == x ];
13604 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13606 $as_echo "$as_me: error: msgfmt not found in path $PATH
13608 { (exit 1); exit 1; }; }
13612 # Check whether --with-localedir was given.
13613 if test "${with_localedir+set}" = set; then
13614 withval=$with_localedir; LOCALEDIR="$withval"
13616 LOCALEDIR='${prefix}/share
/locale
'
13621 ################################################################################
13623 # Check whether --with-confdir was given.
13624 if test "${with_confdir+set}" = set; then
13625 withval=$with_confdir; CONFDIR="$withval"
13632 # Check whether --with-staticdir was given.
13633 if test "${with_staticdir+set}" = set; then
13634 withval=$with_staticdir; STATICDIR="$withval"
13636 STATICDIR='${exec_prefix}/sbin
'
13641 # Check whether --with-usrlibdir was given.
13642 if test "${with_usrlibdir+set}" = set; then
13643 withval=$with_usrlibdir; usrlibdir="$withval"
13645 usrlibdir='${prefix}/lib
'
13650 # Check whether --with-usrsbindir was given.
13651 if test "${with_usrsbindir+set}" = set; then
13652 withval=$with_usrsbindir; usrsbindir="$withval"
13654 usrsbindir='${prefix}/sbin
'
13658 ################################################################################
13660 # Check whether --with-udev_prefix was given.
13661 if test "${with_udev_prefix+set}" = set; then
13662 withval=$with_udev_prefix; udev_prefix="$withval"
13664 udev_prefix='${exec_prefix}'
13669 # Check whether --with-udevdir was given.
13670 if test "${with_udevdir+set}" = set; then
13671 withval=$with_udevdir; udevdir="$withval"
13673 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13677 ################################################################################
13678 if test x$READLINE = xyes; then
13681 for ac_header in readline/readline.h readline/history.h
13683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13685 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13686 $as_echo_n "checking for $ac_header... " >&6; }
13687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13688 $as_echo_n "(cached) " >&6
13690 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13691 $as_echo "$as_val"'`
13692 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13693 $as_echo "$ac_res" >&6; }
13695 # Is the header compilable?
13696 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13697 $as_echo_n "checking $ac_header usability... " >&6; }
13698 cat >conftest.$ac_ext <<_ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 $ac_includes_default
13705 #include <$ac_header>
13707 rm -f conftest.$ac_objext
13708 if { (ac_try="$ac_compile"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13714 $as_echo "$ac_try_echo") >&5
13715 (eval "$ac_compile") 2>conftest.er1
13717 grep -v '^
*+' conftest.er1 >conftest.err
13719 cat conftest.err >&5
13720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } && {
13722 test -z "$ac_c_werror_flag" ||
13723 test ! -s conftest.err
13724 } && test -s conftest.$ac_objext; then
13725 ac_header_compiler=yes
13727 $as_echo "$as_me: failed program was:" >&5
13728 sed 's
/^
/|
/' conftest.$ac_ext >&5
13730 ac_header_compiler=no
13733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13734 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13735 $as_echo "$ac_header_compiler" >&6; }
13737 # Is the header present?
13738 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13739 $as_echo_n "checking $ac_header presence... " >&6; }
13740 cat >conftest.$ac_ext <<_ACEOF
13743 cat confdefs.h >>conftest.$ac_ext
13744 cat >>conftest.$ac_ext <<_ACEOF
13745 /* end confdefs.h. */
13746 #include <$ac_header>
13748 if { (ac_try="$ac_cpp conftest.$ac_ext"
13749 case "(($ac_try" in
13750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13751 *) ac_try_echo=$ac_try;;
13753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13754 $as_echo "$ac_try_echo") >&5
13755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13757 grep -v '^
*+' conftest.er1 >conftest.err
13759 cat conftest.err >&5
13760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } >/dev/null && {
13762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13763 test ! -s conftest.err
13765 ac_header_preproc=yes
13767 $as_echo "$as_me: failed program was:" >&5
13768 sed 's
/^
/|
/' conftest.$ac_ext >&5
13770 ac_header_preproc=no
13773 rm -f conftest.err conftest.$ac_ext
13774 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13775 $as_echo "$ac_header_preproc" >&6; }
13777 # So? What about this header?
13778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13781 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13783 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13784 ac_header_preproc=yes
13787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13788 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13790 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13792 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13794 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13796 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13798 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13802 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13803 $as_echo_n "checking for $ac_header... " >&6; }
13804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13805 $as_echo_n "(cached) " >&6
13807 eval "$as_ac_Header=\$ac_header_preproc"
13809 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13810 $as_echo "$as_val"'`
13811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13812 $as_echo "$ac_res" >&6; }
13815 as_val=`eval 'as_val
=${'$as_ac_Header'}
13816 $as_echo "$as_val"'`
13817 if test "x$as_val" = x""yes; then
13818 cat >>confdefs.h <<_ACEOF
13819 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13823 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13824 $as_echo "$as_me: error: bailing out" >&2;}
13825 { (exit 1); exit 1; }; }
13832 if test x$CLVMD != xnone; then
13843 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
13845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13847 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13848 $as_echo_n "checking for $ac_header... " >&6; }
13849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13850 $as_echo_n "(cached) " >&6
13852 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13853 $as_echo "$as_val"'`
13854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13855 $as_echo "$ac_res" >&6; }
13857 # Is the header compilable?
13858 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13859 $as_echo_n "checking $ac_header usability... " >&6; }
13860 cat >conftest.$ac_ext <<_ACEOF
13863 cat confdefs.h >>conftest.$ac_ext
13864 cat >>conftest.$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 $ac_includes_default
13867 #include <$ac_header>
13869 rm -f conftest.$ac_objext
13870 if { (ac_try="$ac_compile"
13871 case "(($ac_try" in
13872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13873 *) ac_try_echo=$ac_try;;
13875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13876 $as_echo "$ac_try_echo") >&5
13877 (eval "$ac_compile") 2>conftest.er1
13879 grep -v '^
*+' conftest.er1 >conftest.err
13881 cat conftest.err >&5
13882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest.$ac_objext; then
13887 ac_header_compiler=yes
13889 $as_echo "$as_me: failed program was:" >&5
13890 sed 's
/^
/|
/' conftest.$ac_ext >&5
13892 ac_header_compiler=no
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13896 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13897 $as_echo "$ac_header_compiler" >&6; }
13899 # Is the header present?
13900 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13901 $as_echo_n "checking $ac_header presence... " >&6; }
13902 cat >conftest.$ac_ext <<_ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <$ac_header>
13910 if { (ac_try="$ac_cpp conftest.$ac_ext"
13911 case "(($ac_try" in
13912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13913 *) ac_try_echo=$ac_try;;
13915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13916 $as_echo "$ac_try_echo") >&5
13917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13919 grep -v '^
*+' conftest.er1 >conftest.err
13921 cat conftest.err >&5
13922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } >/dev/null && {
13924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13925 test ! -s conftest.err
13927 ac_header_preproc=yes
13929 $as_echo "$as_me: failed program was:" >&5
13930 sed 's
/^
/|
/' conftest.$ac_ext >&5
13932 ac_header_preproc=no
13935 rm -f conftest.err conftest.$ac_ext
13936 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13937 $as_echo "$ac_header_preproc" >&6; }
13939 # So? What about this header?
13940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13943 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13945 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13946 ac_header_preproc=yes
13949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13950 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13952 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13954 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13956 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13958 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13960 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13965 $as_echo_n "checking for $ac_header... " >&6; }
13966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13967 $as_echo_n "(cached) " >&6
13969 eval "$as_ac_Header=\$ac_header_preproc"
13971 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13972 $as_echo "$as_val"'`
13973 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13974 $as_echo "$ac_res" >&6; }
13977 as_val=`eval 'as_val
=${'$as_ac_Header'}
13978 $as_echo "$as_val"'`
13979 if test "x$as_val" = x""yes; then
13980 cat >>confdefs.h <<_ACEOF
13981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13985 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13986 $as_echo "$as_me: error: bailing out" >&2;}
13987 { (exit 1); exit 1; }; }
13997 for ac_func in dup2 getmntent memmove select socket
13999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14000 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14001 $as_echo_n "checking for $ac_func... " >&6; }
14002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14003 $as_echo_n "(cached) " >&6
14005 cat >conftest.$ac_ext <<_ACEOF
14008 cat confdefs.h >>conftest.$ac_ext
14009 cat >>conftest.$ac_ext <<_ACEOF
14010 /* end confdefs.h. */
14011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14013 #define $ac_func innocuous_$ac_func
14015 /* System header to define __stub macros and hopefully few prototypes,
14016 which can conflict with char $ac_func (); below.
14017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14018 <limits.h> exists even on freestanding compilers. */
14021 # include <limits.h>
14023 # include <assert.h>
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14035 /* The GNU C library defines this for functions which it implements
14036 to always fail with ENOSYS. Some functions are actually named
14037 something starting with __ and the normal name is an alias. */
14038 #if defined __stub_$ac_func || defined __stub___$ac_func
14045 return $ac_func ();
14050 rm -f conftest.$ac_objext conftest$ac_exeext
14051 if { (ac_try="$ac_link"
14052 case "(($ac_try" in
14053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14054 *) ac_try_echo=$ac_try;;
14056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14057 $as_echo "$ac_try_echo") >&5
14058 (eval "$ac_link") 2>conftest.er1
14060 grep -v '^
*+' conftest.er1 >conftest.err
14062 cat conftest.err >&5
14063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } && {
14065 test -z "$ac_c_werror_flag" ||
14066 test ! -s conftest.err
14067 } && test -s conftest$ac_exeext && {
14068 test "$cross_compiling" = yes ||
14069 $as_test_x conftest$ac_exeext
14071 eval "$as_ac_var=yes"
14073 $as_echo "$as_me: failed program was:" >&5
14074 sed 's
/^
/|
/' conftest.$ac_ext >&5
14076 eval "$as_ac_var=no"
14079 rm -rf conftest.dSYM
14080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14081 conftest$ac_exeext conftest.$ac_ext
14083 ac_res=`eval 'as_val
=${'$as_ac_var'}
14084 $as_echo "$as_val"'`
14085 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14086 $as_echo "$ac_res" >&6; }
14087 as_val=`eval 'as_val
=${'$as_ac_var'}
14088 $as_echo "$as_val"'`
14089 if test "x$as_val" = x""yes; then
14090 cat >>confdefs.h <<_ACEOF
14091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14095 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14096 $as_echo "$as_me: error: bailing out" >&2;}
14097 { (exit 1); exit 1; }; }
14101 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14102 # -lseq on Dynix/PTX, -lgen on Unixware.
14103 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14104 $as_echo_n "checking for library containing getmntent... " >&6; }
14105 if test "${ac_cv_search_getmntent+set}" = set; then
14106 $as_echo_n "(cached) " >&6
14108 ac_func_search_save_LIBS=$LIBS
14109 cat >conftest.$ac_ext <<_ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14126 return getmntent ();
14131 for ac_lib in '' sun seq gen; do
14132 if test -z "$ac_lib"; then
14133 ac_res="none required"
14136 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14138 rm -f conftest.$ac_objext conftest$ac_exeext
14139 if { (ac_try="$ac_link"
14140 case "(($ac_try" in
14141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14142 *) ac_try_echo=$ac_try;;
14144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14145 $as_echo "$ac_try_echo") >&5
14146 (eval "$ac_link") 2>conftest.er1
14148 grep -v '^
*+' conftest.er1 >conftest.err
14150 cat conftest.err >&5
14151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest$ac_exeext && {
14156 test "$cross_compiling" = yes ||
14157 $as_test_x conftest$ac_exeext
14159 ac_cv_search_getmntent=$ac_res
14161 $as_echo "$as_me: failed program was:" >&5
14162 sed 's
/^
/|
/' conftest.$ac_ext >&5
14167 rm -rf conftest.dSYM
14168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14170 if test "${ac_cv_search_getmntent+set}" = set; then
14174 if test "${ac_cv_search_getmntent+set}" = set; then
14177 ac_cv_search_getmntent=no
14179 rm conftest.$ac_ext
14180 LIBS=$ac_func_search_save_LIBS
14182 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14183 $as_echo "$ac_cv_search_getmntent" >&6; }
14184 ac_res=$ac_cv_search_getmntent
14185 if test "$ac_res" != no; then
14186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14187 ac_cv_func_getmntent=yes
14189 cat >>confdefs.h <<\_ACEOF
14190 #define HAVE_GETMNTENT 1
14194 ac_cv_func_getmntent=no
14201 for ac_header in sys/select.h sys/socket.h
14203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14205 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14206 $as_echo_n "checking for $ac_header... " >&6; }
14207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14208 $as_echo_n "(cached) " >&6
14210 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14211 $as_echo "$as_val"'`
14212 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14213 $as_echo "$ac_res" >&6; }
14215 # Is the header compilable?
14216 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14217 $as_echo_n "checking $ac_header usability... " >&6; }
14218 cat >conftest.$ac_ext <<_ACEOF
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14224 $ac_includes_default
14225 #include <$ac_header>
14227 rm -f conftest.$ac_objext
14228 if { (ac_try="$ac_compile"
14229 case "(($ac_try" in
14230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14231 *) ac_try_echo=$ac_try;;
14233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14234 $as_echo "$ac_try_echo") >&5
14235 (eval "$ac_compile") 2>conftest.er1
14237 grep -v '^
*+' conftest.er1 >conftest.err
14239 cat conftest.err >&5
14240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } && {
14242 test -z "$ac_c_werror_flag" ||
14243 test ! -s conftest.err
14244 } && test -s conftest.$ac_objext; then
14245 ac_header_compiler=yes
14247 $as_echo "$as_me: failed program was:" >&5
14248 sed 's
/^
/|
/' conftest.$ac_ext >&5
14250 ac_header_compiler=no
14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14255 $as_echo "$ac_header_compiler" >&6; }
14257 # Is the header present?
14258 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14259 $as_echo_n "checking $ac_header presence... " >&6; }
14260 cat >conftest.$ac_ext <<_ACEOF
14263 cat confdefs.h >>conftest.$ac_ext
14264 cat >>conftest.$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266 #include <$ac_header>
14268 if { (ac_try="$ac_cpp conftest.$ac_ext"
14269 case "(($ac_try" in
14270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14271 *) ac_try_echo=$ac_try;;
14273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14274 $as_echo "$ac_try_echo") >&5
14275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14277 grep -v '^
*+' conftest.er1 >conftest.err
14279 cat conftest.err >&5
14280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); } >/dev/null && {
14282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14283 test ! -s conftest.err
14285 ac_header_preproc=yes
14287 $as_echo "$as_me: failed program was:" >&5
14288 sed 's
/^
/|
/' conftest.$ac_ext >&5
14290 ac_header_preproc=no
14293 rm -f conftest.err conftest.$ac_ext
14294 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14295 $as_echo "$ac_header_preproc" >&6; }
14297 # So? What about this header?
14298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14301 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14303 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14304 ac_header_preproc=yes
14307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14308 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14310 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14312 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14314 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14316 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14318 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14322 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14323 $as_echo_n "checking for $ac_header... " >&6; }
14324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14325 $as_echo_n "(cached) " >&6
14327 eval "$as_ac_Header=\$ac_header_preproc"
14329 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14330 $as_echo "$as_val"'`
14331 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14332 $as_echo "$ac_res" >&6; }
14335 as_val=`eval 'as_val
=${'$as_ac_Header'}
14336 $as_echo "$as_val"'`
14337 if test "x$as_val" = x""yes; then
14338 cat >>confdefs.h <<_ACEOF
14339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14346 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14347 $as_echo_n "checking types of arguments for select... " >&6; }
14348 if test "${ac_cv_func_select_args+set}" = set; then
14349 $as_echo_n "(cached) " >&6
14351 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14352 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14353 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14354 cat >conftest.$ac_ext <<_ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 $ac_includes_default
14361 #ifdef HAVE_SYS_SELECT_H
14362 # include <sys/select.h>
14364 #ifdef HAVE_SYS_SOCKET_H
14365 # include <sys/socket.h>
14371 extern int select ($ac_arg1,
14372 $ac_arg234, $ac_arg234, $ac_arg234,
14378 rm -f conftest.$ac_objext
14379 if { (ac_try="$ac_compile"
14380 case "(($ac_try" in
14381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14382 *) ac_try_echo=$ac_try;;
14384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14385 $as_echo "$ac_try_echo") >&5
14386 (eval "$ac_compile") 2>conftest.er1
14388 grep -v '^
*+' conftest.er1 >conftest.err
14390 cat conftest.err >&5
14391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } && {
14393 test -z "$ac_c_werror_flag" ||
14394 test ! -s conftest.err
14395 } && test -s conftest.$ac_objext; then
14396 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14398 $as_echo "$as_me: failed program was:" >&5
14399 sed 's
/^
/|
/' conftest.$ac_ext >&5
14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14408 # Provide a safe default value.
14409 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14412 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14413 $as_echo "$ac_cv_func_select_args" >&6; }
14414 ac_save_IFS=$IFS; IFS=','
14415 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14419 cat >>confdefs.h <<_ACEOF
14420 #define SELECT_TYPE_ARG1 $1
14424 cat >>confdefs.h <<_ACEOF
14425 #define SELECT_TYPE_ARG234 ($2)
14429 cat >>confdefs.h <<_ACEOF
14430 #define SELECT_TYPE_ARG5 ($3)
14437 if test x$CLUSTER != xnone; then
14440 for ac_header in sys/socket.h sys/un.h
14442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14444 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14445 $as_echo_n "checking for $ac_header... " >&6; }
14446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14447 $as_echo_n "(cached) " >&6
14449 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14450 $as_echo "$as_val"'`
14451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14452 $as_echo "$ac_res" >&6; }
14454 # Is the header compilable?
14455 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14456 $as_echo_n "checking $ac_header usability... " >&6; }
14457 cat >conftest.$ac_ext <<_ACEOF
14460 cat confdefs.h >>conftest.$ac_ext
14461 cat >>conftest.$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14463 $ac_includes_default
14464 #include <$ac_header>
14466 rm -f conftest.$ac_objext
14467 if { (ac_try="$ac_compile"
14468 case "(($ac_try" in
14469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14470 *) ac_try_echo=$ac_try;;
14472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14473 $as_echo "$ac_try_echo") >&5
14474 (eval "$ac_compile") 2>conftest.er1
14476 grep -v '^
*+' conftest.er1 >conftest.err
14478 cat conftest.err >&5
14479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } && {
14481 test -z "$ac_c_werror_flag" ||
14482 test ! -s conftest.err
14483 } && test -s conftest.$ac_objext; then
14484 ac_header_compiler=yes
14486 $as_echo "$as_me: failed program was:" >&5
14487 sed 's
/^
/|
/' conftest.$ac_ext >&5
14489 ac_header_compiler=no
14492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14493 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14494 $as_echo "$ac_header_compiler" >&6; }
14496 # Is the header present?
14497 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14498 $as_echo_n "checking $ac_header presence... " >&6; }
14499 cat >conftest.$ac_ext <<_ACEOF
14502 cat confdefs.h >>conftest.$ac_ext
14503 cat >>conftest.$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 #include <$ac_header>
14507 if { (ac_try="$ac_cpp conftest.$ac_ext"
14508 case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14513 $as_echo "$ac_try_echo") >&5
14514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14516 grep -v '^
*+' conftest.er1 >conftest.err
14518 cat conftest.err >&5
14519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } >/dev/null && {
14521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14522 test ! -s conftest.err
14524 ac_header_preproc=yes
14526 $as_echo "$as_me: failed program was:" >&5
14527 sed 's
/^
/|
/' conftest.$ac_ext >&5
14529 ac_header_preproc=no
14532 rm -f conftest.err conftest.$ac_ext
14533 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14534 $as_echo "$ac_header_preproc" >&6; }
14536 # So? What about this header?
14537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14540 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14542 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14543 ac_header_preproc=yes
14546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14547 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14549 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14551 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14553 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14555 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14557 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14561 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14562 $as_echo_n "checking for $ac_header... " >&6; }
14563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14564 $as_echo_n "(cached) " >&6
14566 eval "$as_ac_Header=\$ac_header_preproc"
14568 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14569 $as_echo "$as_val"'`
14570 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14571 $as_echo "$ac_res" >&6; }
14574 as_val=`eval 'as_val
=${'$as_ac_Header'}
14575 $as_echo "$as_val"'`
14576 if test "x$as_val" = x""yes; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14582 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14583 $as_echo "$as_me: error: bailing out" >&2;}
14584 { (exit 1); exit 1; }; }
14590 for ac_func in socket
14592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14593 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14594 $as_echo_n "checking for $ac_func... " >&6; }
14595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14596 $as_echo_n "(cached) " >&6
14598 cat >conftest.$ac_ext <<_ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14606 #define $ac_func innocuous_$ac_func
14608 /* System header to define __stub macros and hopefully few prototypes,
14609 which can conflict with char $ac_func (); below.
14610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14611 <limits.h> exists even on freestanding compilers. */
14614 # include <limits.h>
14616 # include <assert.h>
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14628 /* The GNU C library defines this for functions which it implements
14629 to always fail with ENOSYS. Some functions are actually named
14630 something starting with __ and the normal name is an alias. */
14631 #if defined __stub_$ac_func || defined __stub___$ac_func
14638 return $ac_func ();
14643 rm -f conftest.$ac_objext conftest$ac_exeext
14644 if { (ac_try="$ac_link"
14645 case "(($ac_try" in
14646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14647 *) ac_try_echo=$ac_try;;
14649 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14650 $as_echo "$ac_try_echo") >&5
14651 (eval "$ac_link") 2>conftest.er1
14653 grep -v '^
*+' conftest.er1 >conftest.err
14655 cat conftest.err >&5
14656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && {
14658 test -z "$ac_c_werror_flag" ||
14659 test ! -s conftest.err
14660 } && test -s conftest$ac_exeext && {
14661 test "$cross_compiling" = yes ||
14662 $as_test_x conftest$ac_exeext
14664 eval "$as_ac_var=yes"
14666 $as_echo "$as_me: failed program was:" >&5
14667 sed 's
/^
/|
/' conftest.$ac_ext >&5
14669 eval "$as_ac_var=no"
14672 rm -rf conftest.dSYM
14673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14674 conftest$ac_exeext conftest.$ac_ext
14676 ac_res=`eval 'as_val
=${'$as_ac_var'}
14677 $as_echo "$as_val"'`
14678 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14679 $as_echo "$ac_res" >&6; }
14680 as_val=`eval 'as_val
=${'$as_ac_var'}
14681 $as_echo "$as_val"'`
14682 if test "x$as_val" = x""yes; then
14683 cat >>confdefs.h <<_ACEOF
14684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14688 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14689 $as_echo "$as_me: error: bailing out" >&2;}
14690 { (exit 1); exit 1; }; }
14696 if test x$HAVE_LIBDL = xyes; then
14698 for ac_header in dlfcn.h
14700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14702 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14703 $as_echo_n "checking for $ac_header... " >&6; }
14704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14705 $as_echo_n "(cached) " >&6
14707 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14708 $as_echo "$as_val"'`
14709 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14710 $as_echo "$ac_res" >&6; }
14712 # Is the header compilable?
14713 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14714 $as_echo_n "checking $ac_header usability... " >&6; }
14715 cat >conftest.$ac_ext <<_ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 $ac_includes_default
14722 #include <$ac_header>
14724 rm -f conftest.$ac_objext
14725 if { (ac_try="$ac_compile"
14726 case "(($ac_try" in
14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14728 *) ac_try_echo=$ac_try;;
14730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14731 $as_echo "$ac_try_echo") >&5
14732 (eval "$ac_compile") 2>conftest.er1
14734 grep -v '^
*+' conftest.er1 >conftest.err
14736 cat conftest.err >&5
14737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } && {
14739 test -z "$ac_c_werror_flag" ||
14740 test ! -s conftest.err
14741 } && test -s conftest.$ac_objext; then
14742 ac_header_compiler=yes
14744 $as_echo "$as_me: failed program was:" >&5
14745 sed 's
/^
/|
/' conftest.$ac_ext >&5
14747 ac_header_compiler=no
14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14751 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14752 $as_echo "$ac_header_compiler" >&6; }
14754 # Is the header present?
14755 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14756 $as_echo_n "checking $ac_header presence... " >&6; }
14757 cat >conftest.$ac_ext <<_ACEOF
14760 cat confdefs.h >>conftest.$ac_ext
14761 cat >>conftest.$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14763 #include <$ac_header>
14765 if { (ac_try="$ac_cpp conftest.$ac_ext"
14766 case "(($ac_try" in
14767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14768 *) ac_try_echo=$ac_try;;
14770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14771 $as_echo "$ac_try_echo") >&5
14772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14774 grep -v '^
*+' conftest.er1 >conftest.err
14776 cat conftest.err >&5
14777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } >/dev/null && {
14779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14780 test ! -s conftest.err
14782 ac_header_preproc=yes
14784 $as_echo "$as_me: failed program was:" >&5
14785 sed 's
/^
/|
/' conftest.$ac_ext >&5
14787 ac_header_preproc=no
14790 rm -f conftest.err conftest.$ac_ext
14791 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14792 $as_echo "$ac_header_preproc" >&6; }
14794 # So? What about this header?
14795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14798 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14800 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14801 ac_header_preproc=yes
14804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14805 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14807 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14809 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14811 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14813 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14815 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14819 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14820 $as_echo_n "checking for $ac_header... " >&6; }
14821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14822 $as_echo_n "(cached) " >&6
14824 eval "$as_ac_Header=\$ac_header_preproc"
14826 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14827 $as_echo "$as_val"'`
14828 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14829 $as_echo "$ac_res" >&6; }
14832 as_val=`eval 'as_val
=${'$as_ac_Header'}
14833 $as_echo "$as_val"'`
14834 if test "x$as_val" = x""yes; then
14835 cat >>confdefs.h <<_ACEOF
14836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14840 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14841 $as_echo "$as_me: error: bailing out" >&2;}
14842 { (exit 1); exit 1; }; }
14849 if test x$INTL = xyes; then
14851 for ac_header in libintl.h
14853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14855 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14856 $as_echo_n "checking for $ac_header... " >&6; }
14857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14858 $as_echo_n "(cached) " >&6
14860 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14861 $as_echo "$as_val"'`
14862 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14863 $as_echo "$ac_res" >&6; }
14865 # Is the header compilable?
14866 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14867 $as_echo_n "checking $ac_header usability... " >&6; }
14868 cat >conftest.$ac_ext <<_ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874 $ac_includes_default
14875 #include <$ac_header>
14877 rm -f conftest.$ac_objext
14878 if { (ac_try="$ac_compile"
14879 case "(($ac_try" in
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14884 $as_echo "$ac_try_echo") >&5
14885 (eval "$ac_compile") 2>conftest.er1
14887 grep -v '^
*+' conftest.er1 >conftest.err
14889 cat conftest.err >&5
14890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } && {
14892 test -z "$ac_c_werror_flag" ||
14893 test ! -s conftest.err
14894 } && test -s conftest.$ac_objext; then
14895 ac_header_compiler=yes
14897 $as_echo "$as_me: failed program was:" >&5
14898 sed 's
/^
/|
/' conftest.$ac_ext >&5
14900 ac_header_compiler=no
14903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14904 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14905 $as_echo "$ac_header_compiler" >&6; }
14907 # Is the header present?
14908 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14909 $as_echo_n "checking $ac_header presence... " >&6; }
14910 cat >conftest.$ac_ext <<_ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 #include <$ac_header>
14918 if { (ac_try="$ac_cpp conftest.$ac_ext"
14919 case "(($ac_try" in
14920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14921 *) ac_try_echo=$ac_try;;
14923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14924 $as_echo "$ac_try_echo") >&5
14925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14927 grep -v '^
*+' conftest.er1 >conftest.err
14929 cat conftest.err >&5
14930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } >/dev/null && {
14932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14933 test ! -s conftest.err
14935 ac_header_preproc=yes
14937 $as_echo "$as_me: failed program was:" >&5
14938 sed 's
/^
/|
/' conftest.$ac_ext >&5
14940 ac_header_preproc=no
14943 rm -f conftest.err conftest.$ac_ext
14944 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14945 $as_echo "$ac_header_preproc" >&6; }
14947 # So? What about this header?
14948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14951 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14952 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14953 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14954 ac_header_preproc=yes
14957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14958 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14960 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14962 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14964 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14966 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14968 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14972 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14973 $as_echo_n "checking for $ac_header... " >&6; }
14974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14975 $as_echo_n "(cached) " >&6
14977 eval "$as_ac_Header=\$ac_header_preproc"
14979 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14980 $as_echo "$as_val"'`
14981 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14982 $as_echo "$ac_res" >&6; }
14985 as_val=`eval 'as_val
=${'$as_ac_Header'}
14986 $as_echo "$as_val"'`
14987 if test "x$as_val" = x""yes; then
14988 cat >>confdefs.h <<_ACEOF
14989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14993 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14994 $as_echo "$as_me: error: bailing out" >&2;}
14995 { (exit 1); exit 1; }; }
15002 if test x$HAVE_SELINUX = xyes; then
15004 for ac_header in selinux/selinux.h
15006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15008 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15009 $as_echo_n "checking for $ac_header... " >&6; }
15010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15011 $as_echo_n "(cached) " >&6
15013 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15014 $as_echo "$as_val"'`
15015 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15016 $as_echo "$ac_res" >&6; }
15018 # Is the header compilable?
15019 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15020 $as_echo_n "checking $ac_header usability... " >&6; }
15021 cat >conftest.$ac_ext <<_ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 $ac_includes_default
15028 #include <$ac_header>
15030 rm -f conftest.$ac_objext
15031 if { (ac_try="$ac_compile"
15032 case "(($ac_try" in
15033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15034 *) ac_try_echo=$ac_try;;
15036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15037 $as_echo "$ac_try_echo") >&5
15038 (eval "$ac_compile") 2>conftest.er1
15040 grep -v '^
*+' conftest.er1 >conftest.err
15042 cat conftest.err >&5
15043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } && {
15045 test -z "$ac_c_werror_flag" ||
15046 test ! -s conftest.err
15047 } && test -s conftest.$ac_objext; then
15048 ac_header_compiler=yes
15050 $as_echo "$as_me: failed program was:" >&5
15051 sed 's
/^
/|
/' conftest.$ac_ext >&5
15053 ac_header_compiler=no
15056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15057 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15058 $as_echo "$ac_header_compiler" >&6; }
15060 # Is the header present?
15061 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15062 $as_echo_n "checking $ac_header presence... " >&6; }
15063 cat >conftest.$ac_ext <<_ACEOF
15066 cat confdefs.h >>conftest.$ac_ext
15067 cat >>conftest.$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15069 #include <$ac_header>
15071 if { (ac_try="$ac_cpp conftest.$ac_ext"
15072 case "(($ac_try" in
15073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15077 $as_echo "$ac_try_echo") >&5
15078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15080 grep -v '^
*+' conftest.er1 >conftest.err
15082 cat conftest.err >&5
15083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } >/dev/null && {
15085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15086 test ! -s conftest.err
15088 ac_header_preproc=yes
15090 $as_echo "$as_me: failed program was:" >&5
15091 sed 's
/^
/|
/' conftest.$ac_ext >&5
15093 ac_header_preproc=no
15096 rm -f conftest.err conftest.$ac_ext
15097 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15098 $as_echo "$ac_header_preproc" >&6; }
15100 # So? What about this header?
15101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15104 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15106 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15107 ac_header_preproc=yes
15110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15111 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15113 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15115 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15117 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15119 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15121 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15125 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15126 $as_echo_n "checking for $ac_header... " >&6; }
15127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15128 $as_echo_n "(cached) " >&6
15130 eval "$as_ac_Header=\$ac_header_preproc"
15132 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15133 $as_echo "$as_val"'`
15134 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15135 $as_echo "$ac_res" >&6; }
15138 as_val=`eval 'as_val
=${'$as_ac_Header'}
15139 $as_echo "$as_val"'`
15140 if test "x$as_val" = x""yes; then
15141 cat >>confdefs.h <<_ACEOF
15142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15146 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15147 $as_echo "$as_me: error: bailing out" >&2;}
15148 { (exit 1); exit 1; }; }
15155 if test x$UDEV_SYNC = xyes; then
15158 for ac_header in sys/ipc.h sys/sem.h
15160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15162 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15163 $as_echo_n "checking for $ac_header... " >&6; }
15164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15165 $as_echo_n "(cached) " >&6
15167 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15168 $as_echo "$as_val"'`
15169 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15170 $as_echo "$ac_res" >&6; }
15172 # Is the header compilable?
15173 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15174 $as_echo_n "checking $ac_header usability... " >&6; }
15175 cat >conftest.$ac_ext <<_ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 $ac_includes_default
15182 #include <$ac_header>
15184 rm -f conftest.$ac_objext
15185 if { (ac_try="$ac_compile"
15186 case "(($ac_try" in
15187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15188 *) ac_try_echo=$ac_try;;
15190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15191 $as_echo "$ac_try_echo") >&5
15192 (eval "$ac_compile") 2>conftest.er1
15194 grep -v '^
*+' conftest.er1 >conftest.err
15196 cat conftest.err >&5
15197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } && {
15199 test -z "$ac_c_werror_flag" ||
15200 test ! -s conftest.err
15201 } && test -s conftest.$ac_objext; then
15202 ac_header_compiler=yes
15204 $as_echo "$as_me: failed program was:" >&5
15205 sed 's
/^
/|
/' conftest.$ac_ext >&5
15207 ac_header_compiler=no
15210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15212 $as_echo "$ac_header_compiler" >&6; }
15214 # Is the header present?
15215 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15216 $as_echo_n "checking $ac_header presence... " >&6; }
15217 cat >conftest.$ac_ext <<_ACEOF
15220 cat confdefs.h >>conftest.$ac_ext
15221 cat >>conftest.$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 #include <$ac_header>
15225 if { (ac_try="$ac_cpp conftest.$ac_ext"
15226 case "(($ac_try" in
15227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15231 $as_echo "$ac_try_echo") >&5
15232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15234 grep -v '^
*+' conftest.er1 >conftest.err
15236 cat conftest.err >&5
15237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } >/dev/null && {
15239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15240 test ! -s conftest.err
15242 ac_header_preproc=yes
15244 $as_echo "$as_me: failed program was:" >&5
15245 sed 's
/^
/|
/' conftest.$ac_ext >&5
15247 ac_header_preproc=no
15250 rm -f conftest.err conftest.$ac_ext
15251 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15252 $as_echo "$ac_header_preproc" >&6; }
15254 # So? What about this header?
15255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15258 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15260 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15261 ac_header_preproc=yes
15264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15265 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15267 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15269 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15271 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15273 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15275 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15279 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15280 $as_echo_n "checking for $ac_header... " >&6; }
15281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15282 $as_echo_n "(cached) " >&6
15284 eval "$as_ac_Header=\$ac_header_preproc"
15286 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15287 $as_echo "$as_val"'`
15288 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15289 $as_echo "$ac_res" >&6; }
15292 as_val=`eval 'as_val
=${'$as_ac_Header'}
15293 $as_echo "$as_val"'`
15294 if test "x$as_val" = x""yes; then
15295 cat >>confdefs.h <<_ACEOF
15296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15300 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15301 $as_echo "$as_me: error: bailing out" >&2;}
15302 { (exit 1); exit 1; }; }
15309 ################################################################################
15310 # Extract the first word of "modprobe", so it can be a program name with args.
15311 set dummy modprobe; ac_word=$2
15312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15313 $as_echo_n "checking for $ac_word... " >&6; }
15314 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15315 $as_echo_n "(cached) " >&6
15317 case $MODPROBE_CMD in
15319 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15323 for as_dir in $PATH
15326 test -z "$as_dir" && as_dir=.
15327 for ac_exec_ext in '' $ac_executable_extensions; do
15328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15329 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15340 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15341 if test -n "$MODPROBE_CMD"; then
15342 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15343 $as_echo "$MODPROBE_CMD" >&6; }
15345 { $as_echo "$as_me:$LINENO: result: no" >&5
15346 $as_echo "no" >&6; }
15351 if test x$MODPROBE_CMD != x; then
15353 cat >>confdefs.h <<_ACEOF
15354 #define MODPROBE_CMD "$MODPROBE_CMD"
15359 ################################################################################
15362 if test "$BUILD_DMEVENTD" = yes; then
15364 # Check whether --with-dmeventd-pidfile was given.
15365 if test "${with_dmeventd_pidfile+set}" = set; then
15366 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15367 #define DMEVENTD_PIDFILE "$withval"
15371 cat >>confdefs.h <<_ACEOF
15372 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15381 if test "$BUILD_DMEVENTD" = yes; then
15382 dmeventd_prefix="$exec_prefix"
15383 if test "x$dmeventd_prefix" = "xNONE"; then
15384 dmeventd_prefix="$prefix"
15386 if test "x$dmeventd_prefix" = "xNONE"; then
15390 # Check whether --with-dmeventd-path was given.
15391 if test "${with_dmeventd_path+set}" = set; then
15392 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15393 #define DMEVENTD_PATH "$withval"
15397 cat >>confdefs.h <<_ACEOF
15398 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15405 ################################################################################
15406 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15407 $as_echo_n "checking for kernel interface choice... " >&6; }
15409 # Check whether --with-interface was given.
15410 if test "${with_interface+set}" = set; then
15411 withval=$with_interface; interface="$withval"
15416 if [ "x$interface" != xioctl ];
15418 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15419 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15420 { (exit 1); exit 1; }; }
15422 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15423 $as_echo "$interface" >&6; }
15425 ################################################################################
15426 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15428 cat >>confdefs.h <<_ACEOF
15429 #define DM_LIB_VERSION $DM_LIB_VERSION
15433 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15435 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15437 VER=`cat "$srcdir"/VERSION`
15438 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15439 VER=`echo "$VER" | $AWK '{print
$1}'`
15440 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15441 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15442 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15443 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15444 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15445 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15447 ################################################################################
15533 ################################################################################
15534 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/misc/lvm-version.h lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
15536 cat >confcache <<\_ACEOF
15537 # This file is a shell script that caches the results of configure
15538 # tests run on this system so they can be shared between configure
15539 # scripts and configure runs, see configure's option
--config-cache.
15540 # It is not useful on other systems. If it contains results you don't
15541 # want to keep, you may remove or edit it.
15543 # config.status only pays attention to the cache file if you give it
15544 # the --recheck option to rerun configure.
15546 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15547 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15548 # following values.
15552 # The following way of writing the cache mishandles newlines in values,
15553 # but we know of no workaround that is simple, portable, and efficient.
15554 # So, we kill variables containing newlines.
15555 # Ultrix sh set writes to stderr and can't be redirected directly,
15556 # and sets the high bit in the cache file unless we assign to the vars.
15558 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15559 eval ac_val
=\$
$ac_var
15563 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15564 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15567 _ | IFS | as_nl
) ;; #(
15568 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15569 *) $as_unset $ac_var ;;
15575 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15576 *${as_nl}ac_space
=\
*)
15577 # `set' does not quote correctly, so add quotes (double-quote
15578 # substitution turns \\\\ into \\, and sed turns \\ into \).
15581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15584 # `set' quotes correctly as required by POSIX, so do not add quotes.
15585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15594 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15596 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15598 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15599 if test -w "$cache_file"; then
15600 test "x$cache_file" != "x/dev/null" &&
15601 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15602 $as_echo "$as_me: updating cache $cache_file" >&6;}
15603 cat confcache
>$cache_file
15605 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15606 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15611 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15612 # Let make expand exec_prefix.
15613 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15615 DEFS
=-DHAVE_CONFIG_H
15619 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15620 # 1. Remove the extension, and $U if already installed.
15621 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15622 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15623 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15624 # will be set to the directory where LIBOBJS objects are built.
15625 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15626 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15628 LIBOBJS
=$ac_libobjs
15630 LTLIBOBJS
=$ac_ltlibobjs
15634 : ${CONFIG_STATUS=./config.status}
15636 ac_clean_files_save
=$ac_clean_files
15637 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15638 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15640 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15642 # Generated by $as_me.
15643 # Run this file to recreate the current configuration.
15644 # Compiler output produced by configure, useful for debugging
15645 # configure, is in config.log if it exists.
15648 ac_cs_recheck=false
15650 SHELL=\${CONFIG_SHELL-$SHELL}
15653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15654 ## --------------------- ##
15655 ## M4sh Initialization. ##
15656 ## --------------------- ##
15658 # Be more Bourne compatible
15659 DUALCASE
=1; export DUALCASE
# for MKS sh
15660 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15663 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15664 # is contrary to our usage. Disable this feature.
15665 alias -g '${1+"$@"}'='"$@"'
15666 setopt NO_GLOB_SUBST
15668 case `(set -o) 2>/dev/null` in
15669 *posix
*) set -o posix
;;
15678 # Avoid depending upon Character Ranges.
15679 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15680 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15681 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15682 as_cr_digits
='0123456789'
15683 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15688 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15689 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15692 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15693 as_echo='printf %s
\n'
15694 as_echo_n='printf %s
'
15696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15697 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15698 as_echo_n='/usr
/ucb
/echo -n'
15700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15701 as_echo_n_body='eval
15705 expr "X$arg" : "X\\(.*\\)$as_nl";
15706 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15708 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15710 export as_echo_n_body
15711 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15713 export as_echo_body
15714 as_echo='sh
-c $as_echo_body as_echo
'
15717 # The user is always right.
15718 if test "${PATH_SEPARATOR+set}" != set; then
15720 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15721 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15726 # Support unset when possible.
15727 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15735 # We need space, tab and new line, in precisely that order. Quoting is
15736 # there to prevent editors from complaining about space-tab.
15737 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15738 # splitting by setting IFS to empty value.)
15741 # Find who we are. Look in the path if we contain no directory separator.
15743 *[\\/]* ) as_myself=$0 ;;
15744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15745 for as_dir in $PATH
15748 test -z "$as_dir" && as_dir=.
15749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15755 # We did not find ourselves, most probably we were run as `sh COMMAND'
15756 # in which case we are not to be found in the path.
15757 if test "x$as_myself" = x
; then
15760 if test ! -f "$as_myself"; then
15761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15762 { (exit 1); exit 1; }
15765 # Work around bugs in pre-3.0 UWIN ksh.
15766 for as_var
in ENV MAIL MAILPATH
15767 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15779 # Required to use basename.
15780 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15781 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15787 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15788 as_basename
=basename
15794 # Name of the executable.
15795 as_me
=`$as_basename -- "$0" ||
15796 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15797 X"$0" : 'X\(//\)$' \| \
15798 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15800 sed '/^.*\/\([^/][^/]*\)\/*$/{
15819 as_lineno_1
=$LINENO
15820 as_lineno_2
=$LINENO
15821 test "x$as_lineno_1" != "x$as_lineno_2" &&
15822 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15824 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15825 # uniformly replaced by the line number. The first 'sed' inserts a
15826 # line-number line after each line using $LINENO; the second 'sed'
15827 # does the real work. The second script uses 'N' to pair each
15828 # line-number line with the line containing $LINENO, and appends
15829 # trailing '-' during substitution so that $LINENO is not a special
15830 # case at line end.
15831 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15832 # scripts with optimization help from Paolo Bonzini. Blame Lee
15833 # E. McMahon (1931-1989) for sed's syntax. :-)
15845 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15848 ' >$as_me.lineno
&&
15849 chmod +x
"$as_me.lineno" ||
15850 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15851 { (exit 1); exit 1; }; }
15853 # Don't try to exec as it changes $[0], causing all sort of problems
15854 # (the dirname of $[0] is not the place where we might find the
15855 # original and so on. Autoconf is especially sensitive to this).
15856 .
"./$as_me.lineno"
15857 # Exit status is that of the last command.
15862 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15868 ECHO_C
= ECHO_N
= ECHO_T
=
15869 case `echo -n x` in
15871 case `echo 'x\c'` in
15872 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15878 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15879 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15885 rm -f conf$$ conf$$.exe conf$$.
file
15886 if test -d conf$$.dir
; then
15887 rm -f conf$$.dir
/conf$$.
file
15890 mkdir conf$$.dir
2>/dev
/null
15892 if (echo >conf$$.
file) 2>/dev
/null
; then
15893 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15895 # ... but there are two gotchas:
15896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15898 # In both cases, we have to default to `cp -p'.
15899 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15901 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15909 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15910 rmdir conf$$.dir
2>/dev
/null
15912 if mkdir
-p .
2>/dev
/null
; then
15915 test -d .
/-p && rmdir .
/-p
15919 if test -x / >/dev
/null
2>&1; then
15920 as_test_x
='test -x'
15922 if ls -dL / >/dev
/null
2>&1; then
15929 if test -d "$1"; then
15935 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15936 ???[sx]*):;;*)false;;esac;fi
15940 as_executable_p
=$as_test_x
15942 # Sed expression to map a string onto a valid CPP name.
15943 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15945 # Sed expression to map a string onto a valid variable name.
15946 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15951 # Save the log message, to keep $[0] and so on meaningful, and to
15952 # report actual input values of CONFIG_FILES etc. instead of their
15953 # values after options handling.
15955 This file was extended by $as_me, which was
15956 generated by GNU Autoconf 2.63. Invocation command line was
15958 CONFIG_FILES = $CONFIG_FILES
15959 CONFIG_HEADERS = $CONFIG_HEADERS
15960 CONFIG_LINKS = $CONFIG_LINKS
15961 CONFIG_COMMANDS = $CONFIG_COMMANDS
15964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15969 case $ac_config_files in *"
15970 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15973 case $ac_config_headers in *"
15974 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15979 # Files that config.status was made for.
15980 config_files="$ac_config_files"
15981 config_headers="$ac_config_headers"
15985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15987 \`$as_me' instantiates files from templates according to the
15988 current configuration.
15990 Usage: $0 [OPTION]... [FILE]...
15992 -h, --help print this help, then exit
15993 -V, --version print version number and configuration settings, then exit
15994 -q, --quiet, --silent
15995 do not print progress messages
15996 -d, --debug don't remove temporary files
15997 --recheck update $as_me by reconfiguring in the same conditions
15998 --file=FILE[:TEMPLATE]
15999 instantiate the configuration file FILE
16000 --header=FILE[:TEMPLATE]
16001 instantiate the configuration header FILE
16003 Configuration files:
16006 Configuration headers:
16009 Report bugs to <bug-autoconf@gnu.org>."
16012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16015 configured by $0, generated by GNU Autoconf 2.63,
16016 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16018 Copyright (C) 2008 Free Software Foundation, Inc.
16019 This config.status script is free software; the Free Software Foundation
16020 gives unlimited permission to copy, distribute and modify it."
16027 test -n "\$AWK" || AWK=awk
16030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16031 # The default lists apply if the user does not specify any file.
16037 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16038 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16049 # Handling of the options.
16050 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16052 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16053 $as_echo "$ac_cs_version"; exit ;;
16054 --debug |
--debu |
--deb |
--de |
--d |
-d )
16056 --file |
--fil |
--fi |
--f )
16059 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16061 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16062 ac_need_defaults
=false
;;
16063 --header |
--heade |
--head |
--hea )
16066 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16068 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16069 ac_need_defaults
=false
;;
16071 # Conflict between --help and --header
16072 { $as_echo "$as_me: error: ambiguous option: $1
16073 Try \`$0 --help' for more information." >&2
16074 { (exit 1); exit 1; }; };;
16075 --help |
--hel |
-h )
16076 $as_echo "$ac_cs_usage"; exit ;;
16077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16078 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16081 # This is an error.
16082 -*) { $as_echo "$as_me: error: unrecognized option: $1
16083 Try \`$0 --help' for more information." >&2
16084 { (exit 1); exit 1; }; } ;;
16086 *) ac_config_targets
="$ac_config_targets $1"
16087 ac_need_defaults
=false
;;
16093 ac_configure_extra_args
=
16095 if $ac_cs_silent; then
16097 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102 if \$ac_cs_recheck; then
16103 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16105 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16106 CONFIG_SHELL='$SHELL'
16107 export CONFIG_SHELL
16112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16117 ## Running $as_me. ##
16123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16128 # Handling of arguments.
16129 for ac_config_target
in $ac_config_targets
16131 case $ac_config_target in
16132 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16133 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16134 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16135 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16136 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16137 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16138 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16139 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16140 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16141 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16142 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16143 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16144 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16145 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16146 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16147 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16148 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16149 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16150 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16151 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16152 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16153 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16154 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16155 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16156 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16157 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16158 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16159 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16160 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16161 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16162 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16163 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16164 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16165 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16166 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16168 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16169 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16170 { (exit 1); exit 1; }; };;
16175 # If the user did not use the arguments to specify the items to instantiate,
16176 # then the envvar interface is used. Set only those that are not.
16177 # We use the long form for the default assignment because of an extremely
16178 # bizarre bug on SunOS 4.1.3.
16179 if $ac_need_defaults; then
16180 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16181 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16184 # Have a temporary directory for convenience. Make it in the build tree
16185 # simply because there is no reason against having it here, and in addition,
16186 # creating and moving files from /tmp can sometimes cause problems.
16187 # Hook for its removal unless debugging.
16188 # Note that there is a small window in which the directory will not be cleaned:
16189 # after its creation but before its name has been assigned to `$tmp'.
16193 trap 'exit_status=$?
16194 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16196 trap '{ (exit 1); exit 1; }' 1 2 13 15
16198 # Create a (secure) tmp directory for tmp files.
16201 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16202 test -n "$tmp" && test -d "$tmp"
16205 tmp
=.
/conf$$
-$RANDOM
16206 (umask 077 && mkdir
"$tmp")
16209 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16210 { (exit 1); exit 1; }
16213 # Set up the scripts for CONFIG_FILES section.
16214 # No need to generate them if there are no CONFIG_FILES.
16215 # This happens for instance with `./config.status config.h'.
16216 if test -n "$CONFIG_FILES"; then
16220 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16221 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16224 ac_cs_awk_cr
=$ac_cr
16227 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16232 echo "cat >conf$$subs.awk <<_ACEOF" &&
16233 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16235 } >conf$$subs.sh ||
16236 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16237 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16238 { (exit 1); exit 1; }; }
16239 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16241 for ac_last_try in false false false false false :; do
16242 . ./conf$$subs.sh ||
16243 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16244 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16245 { (exit 1); exit 1; }; }
16247 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16248 if test $ac_delim_n = $ac_delim_num; then
16250 elif $ac_last_try; then
16251 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16252 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16253 { (exit 1); exit 1; }; }
16255 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16258 rm -f conf$$subs.sh
16260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16261 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16265 s/^/S["/; s
/!.
*/"]=/
16275 s/\(.\{148\}\).*/\1/
16277 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16282 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16289 s/\(.\{148\}\).*/\1/
16291 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16295 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16300 ' <conf$$subs.awk | sed '
16305 ' >>$CONFIG_STATUS || ac_write_fail=1
16306 rm -f conf$$subs.awk
16307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16309 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16310 for (key in S) S_is_set[key] = 1
16316 nfields = split(line, field, "@
")
16318 len = length(field[1])
16319 for (i = 2; i < nfields; i++) {
16321 keylen = length(key)
16322 if (S_is_set[key]) {
16324 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16325 len += length(value) + length(field[++i])
16336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16337 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16338 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16341 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16342 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16343 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16344 { (exit 1); exit 1; }; }
16347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16349 # trailing colons and then remove the whole line if VPATH becomes empty
16350 # (actually we leave an empty line to preserve line numbers).
16351 if test "x
$srcdir" = x.; then
16352 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16353 s/:*\$(srcdir):*/:/
16354 s/:*\${srcdir}:*/:/
16356 s/^\([^=]*=[ ]*\):*/\1/
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16363 fi # test -n "$CONFIG_FILES"
16365 # Set up the scripts for CONFIG_HEADERS section.
16366 # No need to generate them if there are no CONFIG_HEADERS.
16367 # This happens for instance with `./config.status Makefile'.
16368 if test -n "$CONFIG_HEADERS"; then
16369 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16373 # Transform confdefs.h into an awk script `defines.awk', embedded as
16374 # here-document in config.status, that substitutes the proper values into
16375 # config.h.in to produce config.h.
16377 # Create a delimiter string that does not exist in confdefs.h, to ease
16378 # handling of long lines.
16380 for ac_last_try in false false :; do
16381 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16382 if test -z "$ac_t"; then
16384 elif $ac_last_try; then
16385 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16386 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16387 { (exit 1); exit 1; }; }
16389 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16393 # For the awk script, D is an array of macro values keyed by name,
16394 # likewise P contains macro parameters if any. Preserve backslash
16395 # newline sequences.
16397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16399 s/.\{148\}/&'"$ac_delim"'/g
16402 s/^[ ]*#[ ]*define[ ][ ]*/ /
16409 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16411 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16416 D["\
1"]=" \
3\\\\\\n
"\\/p
16418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16423 s/.\{148\}/&'"$ac_delim"'/g
16428 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16431 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16433 ' <confdefs.h | sed '
16434 s/'"$ac_delim"'/"\\\
16435 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16438 for (key in D) D_is_set[key] = 1
16441 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16443 split(line, arg, " ")
16444 if (arg[1] == "#") {
16448 defundef
= substr
(arg
[1], 2)
16451 split(mac1
, mac2
, "(") #)
16453 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16454 if (D_is_set
[macro
]) {
16455 # Preserve the white space surrounding the "#".
16456 print prefix
"define", macro P
[macro
] D
[macro
]
16459 # Replace #undef with comments. This is necessary, for example,
16460 # in the case of _POSIX_SOURCE, which is predefined and required
16461 # on some systems where configure will not decide to define it.
16462 if (defundef
== "undef") {
16463 print
"/*", prefix defundef
, macro
, "*/"
16471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16472 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16473 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16474 { (exit 1); exit 1; }; }
16475 fi # test -n "$CONFIG_HEADERS"
16478 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16483 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16485 case $ac_mode$ac_tag in
16487 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16488 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16489 { (exit 1); exit 1; }; };;
16490 :[FH
]-) ac_tag
=-:-;;
16491 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16508 -) ac_f
="$tmp/stdin";;
16509 *) # Look for the file first in the build tree, then in the source tree
16510 # (if the path is not absolute). The absolute path cannot be DOS-style,
16511 # because $ac_f cannot contain `:'.
16515 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16517 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16518 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16519 { (exit 1); exit 1; }; };;
16521 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16522 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16525 # Let's still pretend it is `configure' which instantiates (i.e., don't
16526 # use $as_me), people would be surprised to read:
16527 # /* config.h. Generated by config.status. */
16528 configure_input
='Generated from '`
16529 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16531 if test x
"$ac_file" != x-
; then
16532 configure_input
="$ac_file. $configure_input"
16533 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16534 $as_echo "$as_me: creating $ac_file" >&6;}
16536 # Neutralize special characters interpreted by sed in replacement strings.
16537 case $configure_input in #(
16538 *\
&* |
*\|
* |
*\\* )
16539 ac_sed_conf_input
=`$as_echo "$configure_input" |
16540 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16541 *) ac_sed_conf_input
=$configure_input;;
16545 *:-:* |
*:-) cat >"$tmp/stdin" \
16546 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16547 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16548 { (exit 1); exit 1; }; } ;;
16553 ac_dir
=`$as_dirname -- "$ac_file" ||
16554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16555 X"$ac_file" : 'X\(//\)[^/]' \| \
16556 X"$ac_file" : 'X\(//\)$' \| \
16557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16558 $as_echo X"$ac_file" |
16559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16563 /^X\(\/\/\)[^/].*/{
16578 -*) as_dir
=.
/$as_dir;;
16580 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16584 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16585 *) as_qdir
=$as_dir;;
16587 as_dirs
="'$as_qdir' $as_dirs"
16588 as_dir
=`$as_dirname -- "$as_dir" ||
16589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16590 X"$as_dir" : 'X\(//\)[^/]' \| \
16591 X"$as_dir" : 'X\(//\)$' \| \
16592 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16593 $as_echo X"$as_dir" |
16594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16598 /^X\(\/\/\)[^/].*/{
16611 test -d "$as_dir" && break
16613 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16614 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16615 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16616 { (exit 1); exit 1; }; }; }
16620 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16622 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16623 # A ".." for each directory in $ac_dir_suffix.
16624 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16625 case $ac_top_builddir_sub in
16626 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16627 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16630 ac_abs_top_builddir
=$ac_pwd
16631 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16632 # for backward compatibility:
16633 ac_top_builddir
=$ac_top_build_prefix
16636 .
) # We are building in place.
16638 ac_top_srcdir
=$ac_top_builddir_sub
16639 ac_abs_top_srcdir
=$ac_pwd ;;
16640 [\\/]* | ?
:[\\/]* ) # Absolute name.
16641 ac_srcdir
=$srcdir$ac_dir_suffix;
16642 ac_top_srcdir
=$srcdir
16643 ac_abs_top_srcdir
=$srcdir ;;
16644 *) # Relative name.
16645 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16646 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16647 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16649 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16659 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16660 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16662 ac_MKDIR_P
=$MKDIR_P
16664 [\\/$
]* | ?
:[\\/]* ) ;;
16665 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16670 # If the template does not know about datarootdir, expand it.
16671 # FIXME: This hack should be removed a few years after 2.60.
16672 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16685 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16686 *datarootdir
*) ac_datarootdir_seen
=yes;;
16687 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16688 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16689 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16692 ac_datarootdir_hack='
16693 s&@datadir@&$datadir&g
16694 s&@docdir@&$docdir&g
16695 s&@infodir@&$infodir&g
16696 s&@localedir@&$localedir&g
16697 s&@mandir@&$mandir&g
16698 s&\\\${datarootdir}&$datarootdir&g' ;;
16702 # Neutralize VPATH when `$srcdir' = `.'.
16703 # Shell code in configure.ac might set extrasub.
16704 # FIXME: do we really want to maintain this feature?
16705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16706 ac_sed_extra="$ac_vpsub
16709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16711 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16712 s|@configure_input@|
$ac_sed_conf_input|
;t t
16713 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16714 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16715 s
&@srcdir@
&$ac_srcdir&;t t
16716 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16717 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16718 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16719 s
&@builddir@
&$ac_builddir&;t t
16720 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16721 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16722 s
&@INSTALL@
&$ac_INSTALL&;t t
16723 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16724 $ac_datarootdir_hack
16726 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16727 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16728 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16729 { (exit 1); exit 1; }; }
16731 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16732 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16733 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16734 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16735 which seems to be undefined. Please make sure it is defined." >&5
16736 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16737 which seems to be undefined. Please make sure it is defined." >&2;}
16741 -) cat "$tmp/out" && rm -f "$tmp/out";;
16742 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16744 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16745 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16746 { (exit 1); exit 1; }; }
16752 if test x"$ac_file" != x-; then
16754 $as_echo "/* $configure_input */" \
16755 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16756 } >"$tmp/config.h" \
16757 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16758 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16759 { (exit 1); exit 1; }; }
16760 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16761 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16762 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16765 mv "$tmp/config.h" "$ac_file" \
16766 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16767 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16768 { (exit 1); exit 1; }; }
16771 $as_echo "/* $configure_input */" \
16772 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16773 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16774 $as_echo "$as_me: error: could not create -" >&2;}
16775 { (exit 1); exit 1; }; }
16785 { (exit 0); exit 0; }
16787 chmod +x $CONFIG_STATUS
16788 ac_clean_files=$ac_clean_files_save
16790 test $ac_write_fail = 0 ||
16791 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16792 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16793 { (exit 1); exit 1; }; }
16796 # configure is writing to config.log, and then calls config.status.
16797 # config.status does its own redirection, appending to config.log.
16798 # Unfortunately, on DOS this fails, as config.log is still kept open
16799 # by configure, so config.status won't be able to
write to it
; its
16800 # output is simply discarded. So we exec the FD to /dev/null,
16801 # effectively closing config.log, so it can be properly (re)opened and
16802 # appended to by config.status. When coming back to configure, we
16803 # need to make the FD available again.
16804 if test "$no_create" != yes; then
16806 ac_config_status_args
=
16807 test "$silent" = yes &&
16808 ac_config_status_args
="$ac_config_status_args --quiet"
16810 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16813 # would make configure fail if this is the last instruction.
16814 $ac_cs_success ||
{ (exit 1); exit 1; }
16816 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16817 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16818 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16822 if test x
$ODIRECT != xyes
; then
16823 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16824 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}