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
795 program_transform_name
807 enable_option_checking
824 with_cmirrord_pidfile
849 with_dmeventd_pidfile
853 ac_precious_vars
='build_alias
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
959 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
962 -build |
--build |
--buil |
--bui |
--bu)
963 ac_prev
=build_alias
;;
964 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
965 build_alias
=$ac_optarg ;;
967 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
968 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
969 ac_prev
=cache_file
;;
970 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
971 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
972 cache_file
=$ac_optarg ;;
975 cache_file
=config.cache
;;
977 -datadir |
--datadir |
--datadi |
--datad)
979 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
980 datadir
=$ac_optarg ;;
982 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
983 |
--dataroo |
--dataro |
--datar)
984 ac_prev
=datarootdir
;;
985 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
986 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
987 datarootdir
=$ac_optarg ;;
989 -disable-* |
--disable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
994 { (exit 1); exit 1; }; }
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_useropt_orig
=$ac_useropt
1023 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_
$ac_useropt"
1028 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1029 ac_unrecognized_sep
=', ';;
1031 eval enable_
$ac_useropt=\
$ac_optarg ;;
1033 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1034 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1035 |
--exec |
--exe |
--ex)
1036 ac_prev
=exec_prefix
;;
1037 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1038 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1039 |
--exec=* |
--exe=* |
--ex=*)
1040 exec_prefix
=$ac_optarg ;;
1042 -gas |
--gas |
--ga |
--g)
1043 # Obsolete; use --with-gas.
1046 -help |
--help |
--hel |
--he |
-h)
1047 ac_init_help
=long
;;
1048 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1049 ac_init_help
=recursive
;;
1050 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1051 ac_init_help
=short
;;
1053 -host |
--host |
--hos |
--ho)
1054 ac_prev
=host_alias
;;
1055 -host=* |
--host=* |
--hos=* |
--ho=*)
1056 host_alias
=$ac_optarg ;;
1058 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1060 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1062 htmldir
=$ac_optarg ;;
1064 -includedir |
--includedir |
--includedi |
--included |
--include \
1065 |
--includ |
--inclu |
--incl |
--inc)
1066 ac_prev
=includedir
;;
1067 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1068 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1069 includedir
=$ac_optarg ;;
1071 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1073 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1074 infodir
=$ac_optarg ;;
1076 -libdir |
--libdir |
--libdi |
--libd)
1078 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1079 libdir
=$ac_optarg ;;
1081 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1082 |
--libexe |
--libex |
--libe)
1083 ac_prev
=libexecdir
;;
1084 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1085 |
--libexe=* |
--libex=* |
--libe=*)
1086 libexecdir
=$ac_optarg ;;
1088 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1089 ac_prev
=localedir
;;
1090 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1091 localedir
=$ac_optarg ;;
1093 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1094 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1095 ac_prev
=localstatedir
;;
1096 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1097 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1098 localstatedir
=$ac_optarg ;;
1100 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1102 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1103 mandir
=$ac_optarg ;;
1105 -nfp |
--nfp |
--nf)
1106 # Obsolete; use --without-fp.
1109 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1110 |
--no-cr |
--no-c |
-n)
1113 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1114 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1117 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1118 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1119 |
--oldin |
--oldi |
--old |
--ol |
--o)
1120 ac_prev
=oldincludedir
;;
1121 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1122 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1123 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1124 oldincludedir
=$ac_optarg ;;
1126 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1128 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1129 prefix
=$ac_optarg ;;
1131 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1132 |
--program-pre |
--program-pr |
--program-p)
1133 ac_prev
=program_prefix
;;
1134 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1135 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1136 program_prefix
=$ac_optarg ;;
1138 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1139 |
--program-suf |
--program-su |
--program-s)
1140 ac_prev
=program_suffix
;;
1141 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1142 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1143 program_suffix
=$ac_optarg ;;
1145 -program-transform-name |
--program-transform-name \
1146 |
--program-transform-nam |
--program-transform-na \
1147 |
--program-transform-n |
--program-transform- \
1148 |
--program-transform |
--program-transfor \
1149 |
--program-transfo |
--program-transf \
1150 |
--program-trans |
--program-tran \
1151 |
--progr-tra |
--program-tr |
--program-t)
1152 ac_prev
=program_transform_name
;;
1153 -program-transform-name=* |
--program-transform-name=* \
1154 |
--program-transform-nam=* |
--program-transform-na=* \
1155 |
--program-transform-n=* |
--program-transform-=* \
1156 |
--program-transform=* |
--program-transfor=* \
1157 |
--program-transfo=* |
--program-transf=* \
1158 |
--program-trans=* |
--program-tran=* \
1159 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1160 program_transform_name
=$ac_optarg ;;
1162 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1164 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1165 pdfdir
=$ac_optarg ;;
1167 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1169 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1172 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1173 |
-silent |
--silent |
--silen |
--sile |
--sil)
1176 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1178 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1180 sbindir
=$ac_optarg ;;
1182 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1183 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1184 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1186 ac_prev
=sharedstatedir
;;
1187 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1188 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1189 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1191 sharedstatedir
=$ac_optarg ;;
1193 -site |
--site |
--sit)
1195 -site=* |
--site=* |
--sit=*)
1198 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1200 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1201 srcdir
=$ac_optarg ;;
1203 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1204 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1205 ac_prev
=sysconfdir
;;
1206 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1207 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1208 sysconfdir
=$ac_optarg ;;
1210 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1211 ac_prev
=target_alias
;;
1212 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1213 target_alias
=$ac_optarg ;;
1215 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1218 -version |
--version |
--versio |
--versi |
--vers |
-V)
1219 ac_init_version
=: ;;
1222 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1225 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1243 { (exit 1); exit 1; }; }
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=no
;;
1256 # Obsolete; use --with-x.
1259 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1260 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1261 ac_prev
=x_includes
;;
1262 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1263 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1264 x_includes
=$ac_optarg ;;
1266 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1267 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1268 ac_prev
=x_libraries
;;
1269 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1270 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1271 x_libraries
=$ac_optarg ;;
1273 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1274 Try \`$0 --help' for more information." >&2
1275 { (exit 1); exit 1; }; }
1279 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1282 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1283 { (exit 1); exit 1; }; }
1284 eval $ac_envvar=\
$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1298 if test -n "$ac_prev"; then
1299 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1300 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1301 { (exit 1); exit 1; }; }
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1307 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1308 { (exit 1); exit 1; }; } ;;
1309 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 # Check all directory arguments for consistency.
1314 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val
=\$
$ac_var
1320 # Remove trailing slashes.
1323 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1324 eval $ac_var=\
$ac_val;;
1326 # Be sure to have absolute directory names.
1328 [\\/$
]* | ?
:[\\/]* ) continue;;
1329 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1331 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1332 { (exit 1); exit 1; }; }
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1340 target
=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x
; then
1344 if test "x$build_alias" = x
; then
1345 cross_compiling
=maybe
1346 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347 If a cross compiler is detected then cross compile mode will be used." >&2
1348 elif test "x$build_alias" != "x$host_alias"; then
1354 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1356 test "$silent" = yes && exec 6>/dev
/null
1359 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di
=`ls -di .` &&
1361 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1362 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1363 { (exit 1); exit 1; }; }
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1366 { (exit 1); exit 1; }; }
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted
=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir
=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted
=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1405 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1406 { (exit 1); exit 1; }; }
1408 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1411 { (exit 1); exit 1; }; }
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var
in $ac_precious_vars; do
1424 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1426 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures this package to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --build=BUILD configure
for building on BUILD
[guessed
]
1496 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1501 if test -n "$ac_init_help"; then
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --enable-static_link Use this to link the tools to their libraries
1510 statically. Default is dynamic linking
1511 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1512 device-mapper is missing from the kernel
1513 --disable-readline Disable readline support
1514 --enable-realtime Enable realtime
clock support
1515 --enable-cmirrord Enable the cluster mirror log daemon
1516 --enable-debug Enable debugging
1517 --enable-profiling Gather gcov profiling data
1518 --disable-devmapper Disable LVM2 device-mapper interaction
1519 --enable-udev_sync Enable synchronisation with udev processing
1520 --enable-udev_rules Install rule files needed
for udev synchronisation
1521 --enable-compat Enable support
for old device-mapper versions
1522 --enable-units-compat Enable output compatibility with old versions that
1523 that don
't use KiB-style unit suffixes
1524 --disable-driver Disable calls to device-mapper in the kernel
1525 --disable-o_direct Disable O_DIRECT
1526 --enable-applib Build application library
1527 --enable-cmdlib Build shared command library
1528 --enable-pkgconfig Install pkgconfig support
1529 --disable-fsadm Disable fsadm
1530 --enable-dmeventd Enable the device-mapper event daemon
1531 --disable-selinux Disable selinux support
1532 --enable-nls Enable Native Language Support
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --with-user=USER Set the owner of installed files [USER=]
1538 --with-group=GROUP Set the group owner of installed files [GROUP=]
1539 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1540 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1541 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1542 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1544 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1546 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1548 --with-snapshots=TYPE Snapshot support: internal/shared/none
1550 --with-mirrors=TYPE Mirror support: internal/shared/none
1552 --with-clvmd=TYPE Build cluster LVM Daemon.
1553 The following cluster manager combinations are valid:
1554 * cman,gulm (RHEL4 or equivalent)
1555 * cman (RHEL5 or equivalent)
1556 * cman,corosync,openais (or selection of them)
1558 * none (disable build)
1560 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1561 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1562 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1563 --with-confdir=DIR Configuration files in DIR [/etc]
1564 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1565 --with-usrlibdir=DIR
1566 --with-usrsbindir=DIR
1567 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1568 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1569 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1570 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1571 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1573 Some influential environment variables:
1574 CC C compiler command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1577 nonstandard directory <lib dir>
1578 LIBS libraries to pass to the linker, e.g. -l<library>
1579 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1580 you have headers in a nonstandard directory <include dir>
1582 PKG_CONFIG path to pkg-config utility
1583 PKGCONFIGINIT_CFLAGS
1584 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1586 linker flags for PKGCONFIGINIT, overriding pkg-config
1587 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1588 CCS_LIBS linker flags for CCS, overriding pkg-config
1589 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1590 GULM_LIBS linker flags for GULM, overriding pkg-config
1591 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1592 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1594 C compiler flags for COROSYNC, overriding pkg-config
1596 linker flags for COROSYNC, overriding pkg-config
1598 C compiler flags for QUORUM, overriding pkg-config
1599 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1601 C compiler flags for SALCK, overriding pkg-config
1602 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1604 C compiler flags for CONFDB, overriding pkg-config
1605 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1606 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1607 CPG_LIBS linker flags for CPG, overriding pkg-config
1608 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1609 DLM_LIBS linker flags for DLM, overriding pkg-config
1611 C compiler flags for SACKPT, overriding pkg-config
1612 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1614 Use these variables to override the choices made by `configure' or to
help
1615 it to
find libraries and programs with nonstandard names
/locations.
1621 if test "$ac_init_help" = "recursive"; then
1622 # If there are subdirs, report their specific --help.
1623 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1624 test -d "$ac_dir" ||
1625 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1630 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1632 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1633 # A ".." for each directory in $ac_dir_suffix.
1634 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1635 case $ac_top_builddir_sub in
1636 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1637 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1640 ac_abs_top_builddir
=$ac_pwd
1641 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1642 # for backward compatibility:
1643 ac_top_builddir
=$ac_top_build_prefix
1646 .
) # We are building in place.
1648 ac_top_srcdir
=$ac_top_builddir_sub
1649 ac_abs_top_srcdir
=$ac_pwd ;;
1650 [\\/]* | ?
:[\\/]* ) # Absolute name.
1651 ac_srcdir
=$srcdir$ac_dir_suffix;
1652 ac_top_srcdir
=$srcdir
1653 ac_abs_top_srcdir
=$srcdir ;;
1655 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1656 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1657 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1659 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1661 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1662 # Check for guested configure.
1663 if test -f "$ac_srcdir/configure.gnu"; then
1665 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1666 elif test -f "$ac_srcdir/configure"; then
1668 $SHELL "$ac_srcdir/configure" --help=recursive
1670 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1676 test -n "$ac_init_help" && exit $ac_status
1677 if $ac_init_version; then
1680 generated by GNU Autoconf
2.63
1682 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1683 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1684 This configure
script is free software
; the Free Software Foundation
1685 gives unlimited permission to copy
, distribute and modify it.
1689 cat >config.log
<<_ACEOF
1690 This file contains any messages produced by compilers while
1691 running configure, to aid debugging if configure makes a mistake.
1693 It was created by $as_me, which was
1694 generated by GNU Autoconf 2.63. Invocation command line was
1706 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1707 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1708 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1709 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1710 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1712 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1713 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1715 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1716 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1717 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1718 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1719 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1720 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1721 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1729 test -z "$as_dir" && as_dir
=.
1730 $as_echo "PATH: $as_dir"
1746 # Keep a trace of the command line.
1747 # Strip out --no-create and --no-recursion so they do not pile up.
1748 # Strip out --silent because we don't want to record it for future runs.
1749 # Also quote any args containing shell meta-characters.
1750 # Make two passes to allow for proper duplicate-argument suppression.
1754 ac_must_keep_next
=false
1760 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1761 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1762 |
-silent |
--silent |
--silen |
--sile |
--sil)
1765 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1768 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1770 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1771 if test $ac_must_keep_next = true
; then
1772 ac_must_keep_next
=false
# Got value, back to normal.
1775 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1776 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1777 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1778 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1779 case "$ac_configure_args0 " in
1780 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1783 -* ) ac_must_keep_next
=true
;;
1786 ac_configure_args
="$ac_configure_args '$ac_arg'"
1791 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1792 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1794 # When interrupted or exit'd, cleanup temporary files, and complete
1795 # config.log. We remove comments because anyway the quotes in there
1796 # would cause problems or look ugly.
1797 # WARNING: Use '\'' to represent an apostrophe within the trap.
1798 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1799 trap 'exit_status=$?
1800 # Save into config.log some information that might help in debugging.
1805 ## ---------------- ##
1806 ## Cache variables. ##
1807 ## ---------------- ##
1810 # The following way of writing the cache mishandles newlines in values,
1812 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1813 eval ac_val=\$$ac_var
1817 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1818 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1821 _ | IFS | as_nl) ;; #(
1822 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1823 *) $as_unset $ac_var ;;
1828 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1829 *${as_nl}ac_space=\ *)
1831 "s/'\''/'\''\\\\'\'''\''/g;
1832 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1835 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1843 ## ----------------- ##
1844 ## Output variables. ##
1845 ## ----------------- ##
1848 for ac_var in $ac_subst_vars
1850 eval ac_val=\$$ac_var
1852 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1854 $as_echo "$ac_var='\''$ac_val'\''"
1858 if test -n "$ac_subst_files"; then
1860 ## ------------------- ##
1861 ## File substitutions. ##
1862 ## ------------------- ##
1865 for ac_var
in $ac_subst_files
1867 eval ac_val
=\$
$ac_var
1869 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1871 $as_echo "$ac_var='\''$ac_val'\''"
1876 if test -s confdefs.h; then
1886 test "$ac_signal" != 0 &&
1887 $as_echo "$as_me: caught signal $ac_signal"
1888 $as_echo "$as_me: exit $exit_status"
1890 rm -f core *.core core.conftest.* &&
1891 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1894 for ac_signal
in 1 2 13 15; do
1895 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1899 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1900 rm -f -r conftest
* confdefs.h
1902 # Predefined preprocessor variables.
1904 cat >>confdefs.h
<<_ACEOF
1905 #define PACKAGE_NAME "$PACKAGE_NAME"
1909 cat >>confdefs.h
<<_ACEOF
1910 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1914 cat >>confdefs.h
<<_ACEOF
1915 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1919 cat >>confdefs.h
<<_ACEOF
1920 #define PACKAGE_STRING "$PACKAGE_STRING"
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1929 # Let the site file select an alternate cache file if it wants to.
1930 # Prefer an explicitly selected file to automatically selected ones.
1933 if test -n "$CONFIG_SITE"; then
1934 ac_site_file1
=$CONFIG_SITE
1935 elif test "x$prefix" != xNONE
; then
1936 ac_site_file1
=$prefix/share
/config.site
1937 ac_site_file2
=$prefix/etc
/config.site
1939 ac_site_file1
=$ac_default_prefix/share
/config.site
1940 ac_site_file2
=$ac_default_prefix/etc
/config.site
1942 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1944 test "x$ac_site_file" = xNONE
&& continue
1945 if test -r "$ac_site_file"; then
1946 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1947 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1948 sed 's/^/| /' "$ac_site_file" >&5
1953 if test -r "$cache_file"; then
1954 # Some versions of bash will fail to source /dev/null (special
1955 # files actually), so we avoid doing that.
1956 if test -f "$cache_file"; then
1957 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1958 $as_echo "$as_me: loading cache $cache_file" >&6;}
1960 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1961 *) .
"./$cache_file";;
1965 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1966 $as_echo "$as_me: creating cache $cache_file" >&6;}
1970 # Check that the precious variables saved in the cache have kept the same
1972 ac_cache_corrupted
=false
1973 for ac_var
in $ac_precious_vars; do
1974 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1975 eval ac_new_set
=\
$ac_env_${ac_var}_set
1976 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1977 eval ac_new_val
=\
$ac_env_${ac_var}_value
1978 case $ac_old_set,$ac_new_set in
1980 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1981 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1982 ac_cache_corrupted
=: ;;
1984 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1985 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1986 ac_cache_corrupted
=: ;;
1989 if test "x$ac_old_val" != "x$ac_new_val"; then
1990 # differences in whitespace do not lead to failure.
1991 ac_old_val_w
=`echo x $ac_old_val`
1992 ac_new_val_w
=`echo x $ac_new_val`
1993 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1994 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1995 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1996 ac_cache_corrupted
=:
1998 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1999 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2000 eval $ac_var=\
$ac_old_val
2002 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2003 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2004 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2005 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2008 # Pass precious variables to config.status.
2009 if test "$ac_new_set" = set; then
2011 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2012 *) ac_arg
=$ac_var=$ac_new_val ;;
2014 case " $ac_configure_args " in
2015 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2016 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2020 if $ac_cache_corrupted; then
2021 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2023 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2024 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2025 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2026 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2027 { (exit 1); exit 1; }; }
2047 ac_cpp
='$CPP $CPPFLAGS'
2048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2054 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2057 ################################################################################
2059 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2060 if test -f "$ac_dir/install-sh"; then
2062 ac_install_sh
="$ac_aux_dir/install-sh -c"
2064 elif test -f "$ac_dir/install.sh"; then
2066 ac_install_sh
="$ac_aux_dir/install.sh -c"
2068 elif test -f "$ac_dir/shtool"; then
2070 ac_install_sh
="$ac_aux_dir/shtool install -c"
2074 if test -z "$ac_aux_dir"; then
2075 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2076 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2077 { (exit 1); exit 1; }; }
2080 # These three variables are undocumented and unsupported,
2081 # and are intended to be withdrawn in a future Autoconf release.
2082 # They can cause serious problems if a builder's source tree is in a directory
2083 # whose full name contains unusual characters.
2084 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2085 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2086 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2090 ################################################################################
2091 # Make sure we can run config.sub.
2092 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2093 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2094 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2095 { (exit 1); exit 1; }; }
2097 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2098 $as_echo_n "checking build system type... " >&6; }
2099 if test "${ac_cv_build+set}" = set; then
2100 $as_echo_n "(cached) " >&6
2102 ac_build_alias
=$build_alias
2103 test "x$ac_build_alias" = x
&&
2104 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2105 test "x$ac_build_alias" = x
&&
2106 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2107 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2108 { (exit 1); exit 1; }; }
2109 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2110 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2111 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2112 { (exit 1); exit 1; }; }
2115 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2116 $as_echo "$ac_cv_build" >&6; }
2117 case $ac_cv_build in
2119 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2120 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2121 { (exit 1); exit 1; }; };;
2124 ac_save_IFS
=$IFS; IFS
='-'
2130 # Remember, the first character of IFS is used to create $*,
2131 # except with old shells:
2134 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2137 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2138 $as_echo_n "checking host system type... " >&6; }
2139 if test "${ac_cv_host+set}" = set; then
2140 $as_echo_n "(cached) " >&6
2142 if test "x$host_alias" = x
; then
2143 ac_cv_host
=$ac_cv_build
2145 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2146 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2147 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2148 { (exit 1); exit 1; }; }
2152 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2153 $as_echo "$ac_cv_host" >&6; }
2156 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2157 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2158 { (exit 1); exit 1; }; };;
2161 ac_save_IFS
=$IFS; IFS
='-'
2167 # Remember, the first character of IFS is used to create $*,
2168 # except with old shells:
2171 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2174 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2175 $as_echo_n "checking target system type... " >&6; }
2176 if test "${ac_cv_target+set}" = set; then
2177 $as_echo_n "(cached) " >&6
2179 if test "x$target_alias" = x
; then
2180 ac_cv_target
=$ac_cv_host
2182 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2183 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2184 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2185 { (exit 1); exit 1; }; }
2189 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2190 $as_echo "$ac_cv_target" >&6; }
2191 case $ac_cv_target in
2193 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2194 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2195 { (exit 1); exit 1; }; };;
2197 target
=$ac_cv_target
2198 ac_save_IFS
=$IFS; IFS
='-'
2204 # Remember, the first character of IFS is used to create $*,
2205 # except with old shells:
2208 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2211 # The aliases save the names the user supplied, while $host etc.
2212 # will get canonicalized.
2213 test -n "$target_alias" &&
2214 test "$program_prefix$program_suffix$program_transform_name" = \
2216 program_prefix
=${target_alias}-
2221 COPTIMISE_FLAG
="-O2"
2222 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2223 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2224 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2225 LDDEPS
="$LDDEPS .export.sym"
2226 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2236 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2237 COPTIMISE_FLAG
="-O2"
2238 CLDFLAGS
="$CLDFLAGS"
2239 CLDWHOLEARCHIVE
="-all_load"
2251 ################################################################################
2252 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2253 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2254 if test "${ac_cv_path_SED+set}" = set; then
2255 $as_echo_n "(cached) " >&6
2257 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2258 for ac_i
in 1 2 3 4 5 6 7; do
2259 ac_script
="$ac_script$as_nl$ac_script"
2261 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2262 $as_unset ac_script || ac_script
=
2263 if test -z "$SED"; then
2264 ac_path_SED_found
=false
2265 # Loop through the user's path and test for each of PROGNAME-LIST
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_prog
in sed gsed
; do
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2274 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2275 # Check for GNU ac_path_SED and select it if it is found.
2276 # Check for GNU $ac_path_SED
2277 case `"$ac_path_SED" --version 2>&1` in
2279 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2282 $as_echo_n 0123456789 >"conftest.in"
2285 cat "conftest.in" "conftest.in" >"conftest.tmp"
2286 mv "conftest.tmp" "conftest.in"
2287 cp "conftest.in" "conftest.nl"
2288 $as_echo '' >> "conftest.nl"
2289 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2290 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2291 ac_count
=`expr $ac_count + 1`
2292 if test $ac_count -gt ${ac_path_SED_max-0}; then
2293 # Best one so far, save it but keep looking for a better one
2294 ac_cv_path_SED
="$ac_path_SED"
2295 ac_path_SED_max
=$ac_count
2297 # 10*(2^10) chars as input seems more than enough
2298 test $ac_count -gt 10 && break
2300 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2303 $ac_path_SED_found && break 3
2308 if test -z "$ac_cv_path_SED"; then
2309 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2310 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2311 { (exit 1); exit 1; }; }
2318 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2319 $as_echo "$ac_cv_path_SED" >&6; }
2320 SED
="$ac_cv_path_SED"
2323 for ac_prog
in gawk mawk nawk
awk
2325 # Extract the first word of "$ac_prog", so it can be a program name with args.
2326 set dummy
$ac_prog; ac_word
=$2
2327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 $as_echo_n "checking for $ac_word... " >&6; }
2329 if test "${ac_cv_prog_AWK+set}" = set; then
2330 $as_echo_n "(cached) " >&6
2332 if test -n "$AWK"; then
2333 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir
=.
2340 for ac_exec_ext
in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_AWK
="$ac_prog"
2343 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 if test -n "$AWK"; then
2354 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2355 $as_echo "$AWK" >&6; }
2357 { $as_echo "$as_me:$LINENO: result: no" >&5
2358 $as_echo "no" >&6; }
2362 test -n "$AWK" && break
2366 ac_cpp
='$CPP $CPPFLAGS'
2367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2370 if test -n "$ac_tool_prefix"; then
2371 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2372 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376 $as_echo_n "(cached) " >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC
="$CC" # Let the user override the test.
2381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir
=.
2386 for ac_exec_ext
in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 if test -n "$CC"; then
2400 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2401 $as_echo "$CC" >&6; }
2403 { $as_echo "$as_me:$LINENO: result: no" >&5
2404 $as_echo "no" >&6; }
2409 if test -z "$ac_cv_prog_CC"; then
2411 # Extract the first word of "gcc", so it can be a program name with args.
2412 set dummy gcc
; ac_word
=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$ac_ct_CC"; then
2419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir
=.
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_ac_ct_CC
="gcc"
2429 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2439 if test -n "$ac_ct_CC"; then
2440 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2441 $as_echo "$ac_ct_CC" >&6; }
2443 { $as_echo "$as_me:$LINENO: result: no" >&5
2444 $as_echo "no" >&6; }
2447 if test "x$ac_ct_CC" = x
; then
2450 case $cross_compiling:$ac_tool_warned in
2452 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2454 ac_tool_warned
=yes ;;
2462 if test -z "$CC"; then
2463 if test -n "$ac_tool_prefix"; then
2464 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2465 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2466 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if test "${ac_cv_prog_CC+set}" = set; then
2469 $as_echo_n "(cached) " >&6
2471 if test -n "$CC"; then
2472 ac_cv_prog_CC
="$CC" # Let the user override the test.
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2481 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2482 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 if test -n "$CC"; then
2493 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2494 $as_echo "$CC" >&6; }
2496 { $as_echo "$as_me:$LINENO: result: no" >&5
2497 $as_echo "no" >&6; }
2503 if test -z "$CC"; then
2504 # Extract the first word of "cc", so it can be a program name with args.
2505 set dummy cc
; ac_word
=$2
2506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2507 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_CC+set}" = set; then
2509 $as_echo_n "(cached) " >&6
2511 if test -n "$CC"; then
2512 ac_cv_prog_CC
="$CC" # Let the user override the test.
2515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2519 test -z "$as_dir" && as_dir
=.
2520 for ac_exec_ext
in '' $ac_executable_extensions; do
2521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2522 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2523 ac_prog_rejected
=yes
2527 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test $ac_prog_rejected = yes; then
2535 # We found a bogon in the path, so make sure we never use it.
2536 set dummy
$ac_cv_prog_CC
2538 if test $# != 0; then
2539 # We chose a different compiler from the bogus one.
2540 # However, it has the same basename, so the bogon will be chosen
2541 # first if we set CC to just the basename; use the full file name.
2543 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2549 if test -n "$CC"; then
2550 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2551 $as_echo "$CC" >&6; }
2553 { $as_echo "$as_me:$LINENO: result: no" >&5
2554 $as_echo "no" >&6; }
2559 if test -z "$CC"; then
2560 if test -n "$ac_tool_prefix"; then
2561 for ac_prog
in cl.exe
2563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2564 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_CC+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$CC"; then
2571 ac_cv_prog_CC
="$CC" # Let the user override the test.
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_exec_ext
in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 if test -n "$CC"; then
2592 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2593 $as_echo "$CC" >&6; }
2595 { $as_echo "$as_me:$LINENO: result: no" >&5
2596 $as_echo "no" >&6; }
2600 test -n "$CC" && break
2603 if test -z "$CC"; then
2605 for ac_prog
in cl.exe
2607 # Extract the first word of "$ac_prog", so it can be a program name with args.
2608 set dummy
$ac_prog; ac_word
=$2
2609 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$ac_ct_CC"; then
2615 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_ac_ct_CC
="$ac_prog"
2625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2635 if test -n "$ac_ct_CC"; then
2636 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2637 $as_echo "$ac_ct_CC" >&6; }
2639 { $as_echo "$as_me:$LINENO: result: no" >&5
2640 $as_echo "no" >&6; }
2644 test -n "$ac_ct_CC" && break
2647 if test "x$ac_ct_CC" = x
; then
2650 case $cross_compiling:$ac_tool_warned in
2652 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2654 ac_tool_warned
=yes ;;
2663 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2666 See \`config.log' for more details." >&5
2667 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2668 See \`config.log' for more details." >&2;}
2669 { (exit 1); exit 1; }; }; }
2671 # Provide some information about the compiler.
2672 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2675 { (ac_try
="$ac_compiler --version >&5"
2677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2681 $as_echo "$ac_try_echo") >&5
2682 (eval "$ac_compiler --version >&5") 2>&5
2684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }
2686 { (ac_try="$ac_compiler -v >&5"
2688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2689 *) ac_try_echo
=$ac_try;;
2691 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2692 $as_echo "$ac_try_echo") >&5
2693 (eval "$ac_compiler -v >&5") 2>&5
2695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }
2697 { (ac_try
="$ac_compiler -V >&5"
2699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2703 $as_echo "$ac_try_echo") >&5
2704 (eval "$ac_compiler -V >&5") 2>&5
2706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); }
2709 cat >conftest.$ac_ext <<_ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2724 ac_clean_files_save=$ac_clean_files
2725 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2726 # Try to create an executable without -o first, disregard a.out.
2727 # It will help us diagnose broken compilers, and finding out an intuition
2729 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2730 $as_echo_n "checking for C compiler default output file name... " >&6; }
2731 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2733 # The possible output files:
2734 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2737 for ac_file in $ac_files
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2741 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2746 if { (ac_try="$ac_link_default"
2748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2752 $as_echo "$ac_try_echo") >&5
2753 (eval "$ac_link_default") 2>&5
2755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; then
2757 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2758 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2759 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2760 # so that the user can short-circuit this test for compilers unknown to
2762 for ac_file
in $ac_files ''
2764 test -f "$ac_file" ||
continue
2766 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2769 # We found the default executable, but exeext='' is most
2773 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2775 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2777 # We set ac_cv_exeext here because the later test for it is not
2778 # safe: cross compilers may not add the suffix if given an `-o'
2779 # argument, so we may need to know it at that point already.
2780 # Even if this section looks crufty: it has the advantage of
2787 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2793 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2794 $as_echo "$ac_file" >&6; }
2795 if test -z "$ac_file"; then
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.
$ac_ext >&5
2799 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2802 See \`config.log' for more details." >&5
2803 $as_echo "$as_me: error: C compiler cannot create executables
2804 See \`config.log' for more details." >&2;}
2805 { (exit 77); exit 77; }; }; }
2808 ac_exeext
=$ac_cv_exeext
2810 # Check that the compiler produces executables we can run. If not, either
2811 # the compiler is broken, or we cross compile.
2812 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2813 $as_echo_n "checking whether the C compiler works... " >&6; }
2814 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2815 # If not cross compiling, check that we can run a simple program.
2816 if test "$cross_compiling" != yes; then
2817 if { ac_try
='./$ac_file'
2818 { (case "(($ac_try" in
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2823 $as_echo "$ac_try_echo") >&5
2824 (eval "$ac_try") 2>&5
2826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; }; then
2830 if test "$cross_compiling" = maybe; then
2833 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2835 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2836 If you meant to cross compile
, use \
`--host'.
2837 See \`config.log
' for more details." >&5
2838 $as_echo "$as_me: error: cannot run C compiled programs.
2839 If you meant to cross compile, use \`--host'.
2840 See \
`config.log' for more details." >&2;}
2841 { (exit 1); exit 1; }; }; }
2845 { $as_echo "$as_me:$LINENO: result: yes" >&5
2846 $as_echo "yes" >&6; }
2848 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2849 ac_clean_files=$ac_clean_files_save
2850 # Check that the compiler produces executables we can run. If not, either
2851 # the compiler is broken, or we cross compile.
2852 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2853 $as_echo_n "checking whether we are cross compiling... " >&6; }
2854 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2855 $as_echo "$cross_compiling" >&6; }
2857 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2858 $as_echo_n "checking for suffix of executables... " >&6; }
2859 if { (ac_try="$ac_link"
2861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2862 *) ac_try_echo
=$ac_try;;
2864 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2865 $as_echo "$ac_try_echo") >&5
2866 (eval "$ac_link") 2>&5
2868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; then
2870 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2871 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2872 # work properly (i.e., refer to `conftest.exe'), while it won't with
2874 for ac_file
in conftest.exe conftest conftest.
*; do
2875 test -f "$ac_file" ||
continue
2877 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2878 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2884 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2887 See \`config.log' for more details." >&5
2888 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2889 See \`config.log' for more details." >&2;}
2890 { (exit 1); exit 1; }; }; }
2893 rm -f conftest
$ac_cv_exeext
2894 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2895 $as_echo "$ac_cv_exeext" >&6; }
2897 rm -f conftest.
$ac_ext
2898 EXEEXT
=$ac_cv_exeext
2900 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2901 $as_echo_n "checking for suffix of object files... " >&6; }
2902 if test "${ac_cv_objext+set}" = set; then
2903 $as_echo_n "(cached) " >&6
2905 cat >conftest.
$ac_ext <<_ACEOF
2908 cat confdefs.h
>>conftest.
$ac_ext
2909 cat >>conftest.
$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2920 rm -f conftest.o conftest.obj
2921 if { (ac_try
="$ac_compile"
2923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2927 $as_echo "$ac_try_echo") >&5
2928 (eval "$ac_compile") 2>&5
2930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; then
2932 for ac_file in conftest.o conftest.obj conftest.*; do
2933 test -f "$ac_file" || continue;
2935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2936 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2946 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2947 See \
`config.log' for more details." >&5
2948 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log
' for more details." >&2;}
2950 { (exit 1); exit 1; }; }; }
2953 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2955 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2956 $as_echo "$ac_cv_objext" >&6; }
2957 OBJEXT=$ac_cv_objext
2959 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2960 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2962 $as_echo_n "(cached) " >&6
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2989 $as_echo "$ac_try_echo") >&5
2990 (eval "$ac_compile") 2>conftest.er1
2992 grep -v '^
*+' conftest.er1 >conftest.err
2994 cat conftest.err >&5
2995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } && {
2997 test -z "$ac_c_werror_flag" ||
2998 test ! -s conftest.err
2999 } && test -s conftest.$ac_objext; then
3002 $as_echo "$as_me: failed program was:" >&5
3003 sed 's
/^
/|
/' conftest.$ac_ext >&5
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3012 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3013 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3014 if test $ac_compiler_gnu = yes; then
3019 ac_test_CFLAGS=${CFLAGS+set}
3020 ac_save_CFLAGS=$CFLAGS
3021 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3022 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3023 if test "${ac_cv_prog_cc_g+set}" = set; then
3024 $as_echo_n "(cached) " >&6
3026 ac_save_c_werror_flag=$ac_c_werror_flag
3027 ac_c_werror_flag=yes
3030 cat >conftest.$ac_ext <<_ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3045 rm -f conftest.$ac_objext
3046 if { (ac_try="$ac_compile"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3052 $as_echo "$ac_try_echo") >&5
3053 (eval "$ac_compile") 2>conftest.er1
3055 grep -v '^
*+' conftest.er1 >conftest.err
3057 cat conftest.err >&5
3058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } && {
3060 test -z "$ac_c_werror_flag" ||
3061 test ! -s conftest.err
3062 } && test -s conftest.$ac_objext; then
3065 $as_echo "$as_me: failed program was:" >&5
3066 sed 's
/^
/|
/' conftest.$ac_ext >&5
3069 cat >conftest.$ac_ext <<_ACEOF
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3084 rm -f conftest.$ac_objext
3085 if { (ac_try="$ac_compile"
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3091 $as_echo "$ac_try_echo") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^
*+' conftest.er1 >conftest.err
3096 cat conftest.err >&5
3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's
/^
/|
/' conftest.$ac_ext >&5
3107 ac_c_werror_flag=$ac_save_c_werror_flag
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3131 $as_echo "$ac_try_echo") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^
*+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's
/^
/|
/' conftest.$ac_ext >&5
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 ac_c_werror_flag=$ac_save_c_werror_flag
3159 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3160 $as_echo "$ac_cv_prog_cc_g" >&6; }
3161 if test "$ac_test_CFLAGS" = set; then
3162 CFLAGS=$ac_save_CFLAGS
3163 elif test $ac_cv_prog_cc_g = yes; then
3164 if test "$GCC" = yes; then
3170 if test "$GCC" = yes; then
3176 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3177 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3178 if test "${ac_cv_prog_cc_c89+set}" = set; then
3179 $as_echo_n "(cached) " >&6
3181 ac_cv_prog_cc_c89=no
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3191 #include <sys/types.h>
3192 #include <sys/stat.h>
3193 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3194 struct buf
{ int x
; };
3195 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3196 static char
*e
(p
, i
)
3202 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3207 s
= g
(p
, va_arg
(v
,int
));
3212 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3213 function prototypes and stuff
, but not
'\xHH' hex character constants.
3214 These don
't provoke an error unfortunately, instead are silently treated
3215 as 'x
'. The following induces an error, until -std is added to get
3216 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3217 array size at least. It's necessary to
write '\x00'==0 to get something
3218 that
's true only with -std. */
3219 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3221 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3222 inside strings and character constants. */
3224 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3226 int test (int i, double x);
3227 struct s1 {int (*f) (int a);};
3228 struct s2 {int (*f) (double a);};
3229 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3235 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3240 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3241 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3243 CC="$ac_save_CC $ac_arg"
3244 rm -f conftest.$ac_objext
3245 if { (ac_try="$ac_compile"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3251 $as_echo "$ac_try_echo") >&5
3252 (eval "$ac_compile") 2>conftest.er1
3254 grep -v '^
*+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } && {
3259 test -z "$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then
3262 ac_cv_prog_cc_c89=$ac_arg
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's
/^
/|
/' conftest.$ac_ext >&5
3270 rm -f core conftest.err conftest.$ac_objext
3271 test "x$ac_cv_prog_cc_c89" != "xno" && break
3273 rm -f conftest.$ac_ext
3278 case "x$ac_cv_prog_cc_c89" in
3280 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3281 $as_echo "none needed" >&6; } ;;
3283 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3284 $as_echo "unsupported" >&6; } ;;
3286 CC="$CC $ac_cv_prog_cc_c89"
3287 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3288 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3293 ac_cpp='$CPP $CPPFLAGS'
3294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3295 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3305 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3306 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3307 # On Suns, sometimes $CPP names a directory.
3308 if test -n "$CPP" && test -d "$CPP"; then
3311 if test -z "$CPP"; then
3312 if test "${ac_cv_prog_CPP+set}" = set; then
3313 $as_echo_n "(cached) " >&6
3315 # Double quotes because CPP needs to be expanded
3316 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3319 for ac_c_preproc_warn_flag in '' yes
3321 # Use a header file that comes with gcc, so configuring glibc
3322 # with a fresh cross-compiler works.
3323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3324 # <limits.h> exists even on freestanding compilers.
3325 # On the NeXT, cc -E runs the code through the compiler's parser
,
3326 # not just through cpp. "Syntax error" is here to catch this case.
3327 cat >conftest.
$ac_ext <<_ACEOF
3330 cat confdefs.h
>>conftest.
$ac_ext
3331 cat >>conftest.
$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3334 # include <limits.h>
3336 # include <assert.h>
3340 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3346 $as_echo "$ac_try_echo") >&5
3347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3349 grep -v '^ *+' conftest.er1 >conftest.err
3351 cat conftest.err >&5
3352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } >/dev/null && {
3354 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3355 test ! -s conftest.err
3359 $as_echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3362 # Broken: fails on valid input.
3366 rm -f conftest.err conftest.$ac_ext
3368 # OK, works on sane cases. Now check whether nonexistent headers
3369 # can be detected and how.
3370 cat >conftest.$ac_ext <<_ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3376 #include <ac_nonexistent.h>
3378 if { (ac_try="$ac_cpp conftest.$ac_ext"
3380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3381 *) ac_try_echo
=$ac_try;;
3383 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3384 $as_echo "$ac_try_echo") >&5
3385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3387 grep -v '^ *+' conftest.er1
>conftest.err
3389 cat conftest.err
>&5
3390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } >/dev
/null
&& {
3392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3393 test ! -s conftest.err
3395 # Broken: success on invalid input.
3398 $as_echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.
$ac_ext >&5
3401 # Passes both tests.
3406 rm -f conftest.err conftest.
$ac_ext
3409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3410 rm -f conftest.err conftest.
$ac_ext
3411 if $ac_preproc_ok; then
3423 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3424 $as_echo "$CPP" >&6; }
3426 for ac_c_preproc_warn_flag
in '' yes
3428 # Use a header file that comes with gcc, so configuring glibc
3429 # with a fresh cross-compiler works.
3430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3431 # <limits.h> exists even on freestanding compilers.
3432 # On the NeXT, cc -E runs the code through the compiler's parser,
3433 # not just through cpp. "Syntax error" is here to catch this case.
3434 cat >conftest.
$ac_ext <<_ACEOF
3437 cat confdefs.h
>>conftest.
$ac_ext
3438 cat >>conftest.
$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3441 # include <limits.h>
3443 # include <assert.h>
3447 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3453 $as_echo "$ac_try_echo") >&5
3454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3456 grep -v '^ *+' conftest.er1 >conftest.err
3458 cat conftest.err >&5
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); } >/dev/null && {
3461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3462 test ! -s conftest.err
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 # Broken: fails on valid input.
3473 rm -f conftest.err conftest.$ac_ext
3475 # OK, works on sane cases. Now check whether nonexistent headers
3476 # can be detected and how.
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #include <ac_nonexistent.h>
3485 if { (ac_try="$ac_cpp conftest.$ac_ext"
3487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3488 *) ac_try_echo
=$ac_try;;
3490 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3491 $as_echo "$ac_try_echo") >&5
3492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } >/dev
/null
&& {
3499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3500 test ! -s conftest.err
3502 # Broken: success on invalid input.
3505 $as_echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.
$ac_ext >&5
3508 # Passes both tests.
3513 rm -f conftest.err conftest.
$ac_ext
3516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3517 rm -f conftest.err conftest.
$ac_ext
3518 if $ac_preproc_ok; then
3521 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3524 See \`config.log' for more details." >&5
3525 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3526 See \`config.log' for more details." >&2;}
3527 { (exit 1); exit 1; }; }; }
3531 ac_cpp
='$CPP $CPPFLAGS'
3532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3537 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3539 if test "${ac_cv_path_GREP+set}" = set; then
3540 $as_echo_n "(cached) " >&6
3542 if test -z "$GREP"; then
3543 ac_path_GREP_found
=false
3544 # Loop through the user's path and test for each of PROGNAME-LIST
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_prog
in grep ggrep
; do
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3553 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3554 # Check for GNU ac_path_GREP and select it if it is found.
3555 # Check for GNU $ac_path_GREP
3556 case `"$ac_path_GREP" --version 2>&1` in
3558 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3561 $as_echo_n 0123456789 >"conftest.in"
3564 cat "conftest.in" "conftest.in" >"conftest.tmp"
3565 mv "conftest.tmp" "conftest.in"
3566 cp "conftest.in" "conftest.nl"
3567 $as_echo 'GREP' >> "conftest.nl"
3568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3570 ac_count
=`expr $ac_count + 1`
3571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3572 # Best one so far, save it but keep looking for a better one
3573 ac_cv_path_GREP
="$ac_path_GREP"
3574 ac_path_GREP_max
=$ac_count
3576 # 10*(2^10) chars as input seems more than enough
3577 test $ac_count -gt 10 && break
3579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3582 $ac_path_GREP_found && break 3
3587 if test -z "$ac_cv_path_GREP"; then
3588 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3589 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3590 { (exit 1); exit 1; }; }
3593 ac_cv_path_GREP
=$GREP
3597 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3598 $as_echo "$ac_cv_path_GREP" >&6; }
3599 GREP
="$ac_cv_path_GREP"
3602 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3603 $as_echo_n "checking for egrep... " >&6; }
3604 if test "${ac_cv_path_EGREP+set}" = set; then
3605 $as_echo_n "(cached) " >&6
3607 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3608 then ac_cv_path_EGREP
="$GREP -E"
3610 if test -z "$EGREP"; then
3611 ac_path_EGREP_found
=false
3612 # Loop through the user's path and test for each of PROGNAME-LIST
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3614 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_prog
in egrep; do
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3621 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3622 # Check for GNU ac_path_EGREP and select it if it is found.
3623 # Check for GNU $ac_path_EGREP
3624 case `"$ac_path_EGREP" --version 2>&1` in
3626 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3629 $as_echo_n 0123456789 >"conftest.in"
3632 cat "conftest.in" "conftest.in" >"conftest.tmp"
3633 mv "conftest.tmp" "conftest.in"
3634 cp "conftest.in" "conftest.nl"
3635 $as_echo 'EGREP' >> "conftest.nl"
3636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3637 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3638 ac_count
=`expr $ac_count + 1`
3639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3640 # Best one so far, save it but keep looking for a better one
3641 ac_cv_path_EGREP
="$ac_path_EGREP"
3642 ac_path_EGREP_max
=$ac_count
3644 # 10*(2^10) chars as input seems more than enough
3645 test $ac_count -gt 10 && break
3647 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3650 $ac_path_EGREP_found && break 3
3655 if test -z "$ac_cv_path_EGREP"; then
3656 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3657 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3658 { (exit 1); exit 1; }; }
3661 ac_cv_path_EGREP
=$EGREP
3666 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3667 $as_echo "$ac_cv_path_EGREP" >&6; }
3668 EGREP
="$ac_cv_path_EGREP"
3671 if test $ac_cv_c_compiler_gnu = yes; then
3672 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3673 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3674 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3675 $as_echo_n "(cached) " >&6
3677 ac_pattern
="Autoconf.*'x'"
3678 cat >conftest.
$ac_ext <<_ACEOF
3681 cat confdefs.h
>>conftest.
$ac_ext
3682 cat >>conftest.
$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3688 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3689 ac_cv_prog_gcc_traditional
=yes
3691 ac_cv_prog_gcc_traditional
=no
3696 if test $ac_cv_prog_gcc_traditional = no
; then
3697 cat >conftest.
$ac_ext <<_ACEOF
3700 cat confdefs.h
>>conftest.
$ac_ext
3701 cat >>conftest.
$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3707 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3708 ac_cv_prog_gcc_traditional
=yes
3714 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3715 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3716 if test $ac_cv_prog_gcc_traditional = yes; then
3717 CC
="$CC -traditional"
3721 # Find a good install program. We prefer a C program (faster),
3722 # so one script is as good as another. But avoid the broken or
3723 # incompatible versions:
3724 # SysV /etc/install, /usr/sbin/install
3725 # SunOS /usr/etc/install
3726 # IRIX /sbin/install
3728 # AmigaOS /C/install, which installs bootblocks on floppy discs
3729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3732 # OS/2's system install, which has a completely different semantic
3733 # ./install, which can be erroneously created by make from ./install.sh.
3734 # Reject install programs that cannot install multiple files.
3735 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3736 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3737 if test -z "$INSTALL"; then
3738 if test "${ac_cv_path_install+set}" = set; then
3739 $as_echo_n "(cached) " >&6
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 # Account for people who put trailing slashes in PATH elements.
3748 .
/ | .
// |
/cC
/* | \
3749 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3750 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3753 # OSF1 and SCO ODT 3.0 have their own names for install.
3754 # Don't use installbsd from OSF since it installs stuff as root
3756 for ac_prog
in ginstall scoinst
install; do
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3759 if test $ac_prog = install &&
3760 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3761 # AIX install. It has an incompatible calling convention.
3763 elif test $ac_prog = install &&
3764 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3765 # program-specific install script used by HP pwplus--don't use.
3768 rm -rf conftest.one conftest.two conftest.dir
3769 echo one
> conftest.one
3770 echo two
> conftest.two
3772 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3773 test -s conftest.one
&& test -s conftest.two
&&
3774 test -s conftest.dir
/conftest.one
&&
3775 test -s conftest.dir
/conftest.two
3777 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3790 rm -rf conftest.one conftest.two conftest.dir
3793 if test "${ac_cv_path_install+set}" = set; then
3794 INSTALL
=$ac_cv_path_install
3796 # As a last resort, use the slow shell script. Don't cache a
3797 # value for INSTALL within a source directory, because that will
3798 # break other packages using the cache if that directory is
3799 # removed, or if the value is a relative name.
3800 INSTALL
=$ac_install_sh
3803 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3804 $as_echo "$INSTALL" >&6; }
3806 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3807 # It thinks the first close brace ends the variable substitution.
3808 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3810 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3812 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3814 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3815 $as_echo_n "checking whether ln -s works... " >&6; }
3817 if test "$LN_S" = "ln -s"; then
3818 { $as_echo "$as_me:$LINENO: result: yes" >&5
3819 $as_echo "yes" >&6; }
3821 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3822 $as_echo "no, using $LN_S" >&6; }
3825 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3826 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3828 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3829 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3830 $as_echo_n "(cached) " >&6
3832 cat >conftest.
make <<\_ACEOF
3835 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3838 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3840 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3842 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3846 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3847 { $as_echo "$as_me:$LINENO: result: yes" >&5
3848 $as_echo "yes" >&6; }
3851 { $as_echo "$as_me:$LINENO: result: no" >&5
3852 $as_echo "no" >&6; }
3853 SET_MAKE
="MAKE=${MAKE-make}"
3856 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3857 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3858 if test -z "$MKDIR_P"; then
3859 if test "${ac_cv_path_mkdir+set}" = set; then
3860 $as_echo_n "(cached) " >&6
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_prog
in mkdir gmkdir
; do
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3870 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3871 'mkdir (GNU coreutils) '* | \
3872 'mkdir (coreutils) '* | \
3873 'mkdir (fileutils) '4.1*)
3874 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3884 if test "${ac_cv_path_mkdir+set}" = set; then
3885 MKDIR_P
="$ac_cv_path_mkdir -p"
3887 # As a last resort, use the slow shell script. Don't cache a
3888 # value for MKDIR_P within a source directory, because that will
3889 # break other packages using the cache if that directory is
3890 # removed, or if the value is a relative name.
3891 test -d .
/--version && rmdir .
/--version
3892 MKDIR_P
="$ac_install_sh -d"
3895 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3896 $as_echo "$MKDIR_P" >&6; }
3898 if test -n "$ac_tool_prefix"; then
3899 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3900 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3901 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if test "${ac_cv_prog_RANLIB+set}" = set; then
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$RANLIB"; then
3907 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 RANLIB
=$ac_cv_prog_RANLIB
3927 if test -n "$RANLIB"; then
3928 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3929 $as_echo "$RANLIB" >&6; }
3931 { $as_echo "$as_me:$LINENO: result: no" >&5
3932 $as_echo "no" >&6; }
3937 if test -z "$ac_cv_prog_RANLIB"; then
3938 ac_ct_RANLIB
=$RANLIB
3939 # Extract the first word of "ranlib", so it can be a program name with args.
3940 set dummy ranlib
; ac_word
=$2
3941 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3944 $as_echo_n "(cached) " >&6
3946 if test -n "$ac_ct_RANLIB"; then
3947 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_exec_ext
in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3957 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3967 if test -n "$ac_ct_RANLIB"; then
3968 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3969 $as_echo "$ac_ct_RANLIB" >&6; }
3971 { $as_echo "$as_me:$LINENO: result: no" >&5
3972 $as_echo "no" >&6; }
3975 if test "x$ac_ct_RANLIB" = x
; then
3978 case $cross_compiling:$ac_tool_warned in
3980 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3982 ac_tool_warned
=yes ;;
3984 RANLIB
=$ac_ct_RANLIB
3987 RANLIB
="$ac_cv_prog_RANLIB"
3990 # Extract the first word of "cflow", so it can be a program name with args.
3991 set dummy cflow
; ac_word
=$2
3992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3995 $as_echo_n "(cached) " >&6
3999 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4010 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4021 if test -n "$CFLOW_CMD"; then
4022 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4023 $as_echo "$CFLOW_CMD" >&6; }
4025 { $as_echo "$as_me:$LINENO: result: no" >&5
4026 $as_echo "no" >&6; }
4030 # Extract the first word of "cscope", so it can be a program name with args.
4031 set dummy cscope
; ac_word
=$2
4032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4035 $as_echo_n "(cached) " >&6
4039 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir
=.
4047 for ac_exec_ext
in '' $ac_executable_extensions; do
4048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4049 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4061 if test -n "$CSCOPE_CMD"; then
4062 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4063 $as_echo "$CSCOPE_CMD" >&6; }
4065 { $as_echo "$as_me:$LINENO: result: no" >&5
4066 $as_echo "no" >&6; }
4071 ################################################################################
4078 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4079 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4080 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4081 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4083 $as_echo_n "(cached) " >&6
4085 cat >conftest.
$ac_ext <<_ACEOF
4088 cat confdefs.h
>>conftest.
$ac_ext
4089 cat >>conftest.
$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4091 #include <sys/types.h>
4103 rm -f conftest.
$ac_objext
4104 if { (ac_try
="$ac_compile"
4106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4110 $as_echo "$ac_try_echo") >&5
4111 (eval "$ac_compile") 2>conftest.er1
4113 grep -v '^ *+' conftest.er1 >conftest.err
4115 cat conftest.err >&5
4116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } && {
4118 test -z "$ac_c_werror_flag" ||
4119 test ! -s conftest.err
4120 } && test -s conftest.$ac_objext; then
4121 eval "$as_ac_Header=yes"
4123 $as_echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.$ac_ext >&5
4126 eval "$as_ac_Header=no"
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 ac_res=`eval 'as_val=${'$as_ac_Header'}
4132 $as_echo "$as_val"'`
4133 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4134 $as_echo "$ac_res" >&6; }
4135 as_val=`eval 'as_val=${'$as_ac_Header'}
4136 $as_echo "$as_val"'`
4137 if test "x$as_val" = x""yes; then
4138 cat >>confdefs.h <<_ACEOF
4139 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4142 ac_header_dirent=$ac_hdr; break
4146 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4147 if test $ac_header_dirent = dirent.h; then
4148 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4149 $as_echo_n "checking for library containing opendir... " >&6; }
4150 if test "${ac_cv_search_opendir+set}" = set; then
4151 $as_echo_n "(cached) " >&6
4153 ac_func_search_save_LIBS=$LIBS
4154 cat >conftest.$ac_ext <<_ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4161 /* Override any GCC internal prototype to avoid an error.
4162 Use char because int might match the return type of a GCC
4163 builtin and then its argument prototype would still apply. */
4176 for ac_lib in '' dir; do
4177 if test -z "$ac_lib"; then
4178 ac_res="none required"
4181 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4187 *) ac_try_echo
=$ac_try;;
4189 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4190 $as_echo "$ac_try_echo") >&5
4191 (eval "$ac_link") 2>conftest.er1
4193 grep -v '^ *+' conftest.er1
>conftest.err
4195 cat conftest.err
>&5
4196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } && {
4198 test -z "$ac_c_werror_flag" ||
4199 test ! -s conftest.err
4200 } && test -s conftest
$ac_exeext && {
4201 test "$cross_compiling" = yes ||
4202 $as_test_x conftest
$ac_exeext
4204 ac_cv_search_opendir
=$ac_res
4206 $as_echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.
$ac_ext >&5
4212 rm -rf conftest.dSYM
4213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4215 if test "${ac_cv_search_opendir+set}" = set; then
4219 if test "${ac_cv_search_opendir+set}" = set; then
4222 ac_cv_search_opendir
=no
4225 LIBS
=$ac_func_search_save_LIBS
4227 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4228 $as_echo "$ac_cv_search_opendir" >&6; }
4229 ac_res
=$ac_cv_search_opendir
4230 if test "$ac_res" != no
; then
4231 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4236 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4237 $as_echo_n "checking for library containing opendir... " >&6; }
4238 if test "${ac_cv_search_opendir+set}" = set; then
4239 $as_echo_n "(cached) " >&6
4241 ac_func_search_save_LIBS
=$LIBS
4242 cat >conftest.
$ac_ext <<_ACEOF
4245 cat confdefs.h
>>conftest.
$ac_ext
4246 cat >>conftest.
$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4249 /* Override any GCC internal prototype to avoid an error.
4250 Use char because int might match the return type of a GCC
4251 builtin and then its argument prototype would still apply. */
4264 for ac_lib
in '' x
; do
4265 if test -z "$ac_lib"; then
4266 ac_res
="none required"
4269 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4271 rm -f conftest.
$ac_objext conftest
$ac_exeext
4272 if { (ac_try
="$ac_link"
4274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4275 *) ac_try_echo=$ac_try;;
4277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4278 $as_echo "$ac_try_echo") >&5
4279 (eval "$ac_link") 2>conftest.er1
4281 grep -v '^ *+' conftest.er1 >conftest.err
4283 cat conftest.err >&5
4284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } && {
4286 test -z "$ac_c_werror_flag" ||
4287 test ! -s conftest.err
4288 } && test -s conftest$ac_exeext && {
4289 test "$cross_compiling" = yes ||
4290 $as_test_x conftest$ac_exeext
4292 ac_cv_search_opendir=$ac_res
4294 $as_echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4300 rm -rf conftest.dSYM
4301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4303 if test "${ac_cv_search_opendir+set}" = set; then
4307 if test "${ac_cv_search_opendir+set}" = set; then
4310 ac_cv_search_opendir=no
4313 LIBS=$ac_func_search_save_LIBS
4315 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4316 $as_echo "$ac_cv_search_opendir" >&6; }
4317 ac_res=$ac_cv_search_opendir
4318 if test "$ac_res" != no; then
4319 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4325 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4326 $as_echo_n "checking for ANSI C header files... " >&6; }
4327 if test "${ac_cv_header_stdc+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4349 rm -f conftest.$ac_objext
4350 if { (ac_try="$ac_compile"
4352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4353 *) ac_try_echo
=$ac_try;;
4355 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4356 $as_echo "$ac_try_echo") >&5
4357 (eval "$ac_compile") 2>conftest.er1
4359 grep -v '^ *+' conftest.er1
>conftest.err
4361 cat conftest.err
>&5
4362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest.
$ac_objext; then
4367 ac_cv_header_stdc
=yes
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4372 ac_cv_header_stdc
=no
4375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4377 if test $ac_cv_header_stdc = yes; then
4378 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4379 cat >conftest.
$ac_ext <<_ACEOF
4382 cat confdefs.h
>>conftest.
$ac_ext
4383 cat >>conftest.
$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4389 $EGREP "memchr" >/dev
/null
2>&1; then
4392 ac_cv_header_stdc
=no
4398 if test $ac_cv_header_stdc = yes; then
4399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4410 $EGREP "free" >/dev
/null
2>&1; then
4413 ac_cv_header_stdc
=no
4419 if test $ac_cv_header_stdc = yes; then
4420 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4421 if test "$cross_compiling" = yes; then
4424 cat >conftest.
$ac_ext <<_ACEOF
4427 cat confdefs.h
>>conftest.
$ac_ext
4428 cat >>conftest.
$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4432 #if ((' ' & 0x0FF) == 0x020)
4433 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4434 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4436 # define ISLOWER(c) \
4437 (('a' <= (c) && (c) <= 'i') \
4438 || ('j' <= (c) && (c) <= 'r') \
4439 || ('s' <= (c) && (c) <= 'z'))
4440 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4443 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4448 for (i = 0; i < 256; i++)
4449 if (XOR (islower (i), ISLOWER (i))
4450 || toupper (i) != TOUPPER (i))
4455 rm -f conftest
$ac_exeext
4456 if { (ac_try
="$ac_link"
4458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4462 $as_echo "$ac_try_echo") >&5
4463 (eval "$ac_link") 2>&5
4465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4469 *) ac_try_echo
=$ac_try;;
4471 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4472 $as_echo "$ac_try_echo") >&5
4473 (eval "$ac_try") 2>&5
4475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4479 $as_echo "$as_me: program exited with status $ac_status" >&5
4480 $as_echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.
$ac_ext >&5
4484 ac_cv_header_stdc
=no
4486 rm -rf conftest.dSYM
4487 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4493 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4494 $as_echo "$ac_cv_header_stdc" >&6; }
4495 if test $ac_cv_header_stdc = yes; then
4497 cat >>confdefs.h
<<\_ACEOF
4498 #define STDC_HEADERS 1
4503 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4504 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4505 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4506 $as_echo_n "(cached) " >&6
4508 cat >conftest.
$ac_ext <<_ACEOF
4511 cat confdefs.h
>>conftest.
$ac_ext
4512 cat >>conftest.
$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <sys/types.h>
4515 #include <sys/wait.h>
4517 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4520 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4528 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4533 rm -f conftest.
$ac_objext
4534 if { (ac_try
="$ac_compile"
4536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4540 $as_echo "$ac_try_echo") >&5
4541 (eval "$ac_compile") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest.$ac_objext; then
4551 ac_cv_header_sys_wait_h=yes
4553 $as_echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_header_sys_wait_h=no
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4562 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4563 if test $ac_cv_header_sys_wait_h = yes; then
4565 cat >>confdefs.h <<\_ACEOF
4566 #define HAVE_SYS_WAIT_H 1
4571 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4572 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4573 if test "${ac_cv_header_time+set}" = set; then
4574 $as_echo_n "(cached) " >&6
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 #include <sys/types.h>
4583 #include <sys/time.h>
4589 if ((struct tm *) 0)
4595 rm -f conftest.$ac_objext
4596 if { (ac_try="$ac_compile"
4598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4599 *) ac_try_echo
=$ac_try;;
4601 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4602 $as_echo "$ac_try_echo") >&5
4603 (eval "$ac_compile") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1
>conftest.err
4607 cat conftest.err
>&5
4608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest.
$ac_objext; then
4613 ac_cv_header_time
=yes
4615 $as_echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.
$ac_ext >&5
4618 ac_cv_header_time
=no
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4624 $as_echo "$ac_cv_header_time" >&6; }
4625 if test $ac_cv_header_time = yes; then
4627 cat >>confdefs.h
<<\_ACEOF
4628 #define TIME_WITH_SYS_TIME 1
4634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4644 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4645 inttypes.h stdint.h unistd.h
4647 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4648 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4649 $as_echo_n "checking for $ac_header... " >&6; }
4650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4651 $as_echo_n "(cached) " >&6
4653 cat >conftest.
$ac_ext <<_ACEOF
4656 cat confdefs.h
>>conftest.
$ac_ext
4657 cat >>conftest.
$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4659 $ac_includes_default
4661 #include <$ac_header>
4663 rm -f conftest.
$ac_objext
4664 if { (ac_try
="$ac_compile"
4666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4670 $as_echo "$ac_try_echo") >&5
4671 (eval "$ac_compile") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest.$ac_objext; then
4681 eval "$as_ac_Header=yes"
4683 $as_echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 eval "$as_ac_Header=no"
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 ac_res=`eval 'as_val=${'$as_ac_Header'}
4692 $as_echo "$as_val"'`
4693 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4694 $as_echo "$ac_res" >&6; }
4695 as_val=`eval 'as_val=${'$as_ac_Header'}
4696 $as_echo "$as_val"'`
4697 if test "x$as_val" = x""yes; then
4698 cat >>confdefs.h <<_ACEOF
4699 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4720 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4721 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4725 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4726 $as_echo_n "checking for $ac_header... " >&6; }
4727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4728 $as_echo_n "(cached) " >&6
4730 ac_res=`eval 'as_val=${'$as_ac_Header'}
4731 $as_echo "$as_val"'`
4732 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4733 $as_echo "$ac_res" >&6; }
4735 # Is the header compilable?
4736 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4737 $as_echo_n "checking $ac_header usability... " >&6; }
4738 cat >conftest.$ac_ext <<_ACEOF
4741 cat confdefs.h >>conftest.$ac_ext
4742 cat >>conftest.$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 $ac_includes_default
4745 #include <$ac_header>
4747 rm -f conftest.$ac_objext
4748 if { (ac_try="$ac_compile"
4750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4751 *) ac_try_echo
=$ac_try;;
4753 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4754 $as_echo "$ac_try_echo") >&5
4755 (eval "$ac_compile") 2>conftest.er1
4757 grep -v '^ *+' conftest.er1
>conftest.err
4759 cat conftest.err
>&5
4760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } && {
4762 test -z "$ac_c_werror_flag" ||
4763 test ! -s conftest.err
4764 } && test -s conftest.
$ac_objext; then
4765 ac_header_compiler
=yes
4767 $as_echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.
$ac_ext >&5
4770 ac_header_compiler
=no
4773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4774 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4775 $as_echo "$ac_header_compiler" >&6; }
4777 # Is the header present?
4778 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4779 $as_echo_n "checking $ac_header presence... " >&6; }
4780 cat >conftest.
$ac_ext <<_ACEOF
4783 cat confdefs.h
>>conftest.
$ac_ext
4784 cat >>conftest.
$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4786 #include <$ac_header>
4788 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4794 $as_echo "$ac_try_echo") >&5
4795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4797 grep -v '^ *+' conftest.er1 >conftest.err
4799 cat conftest.err >&5
4800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } >/dev/null && {
4802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4803 test ! -s conftest.err
4805 ac_header_preproc=yes
4807 $as_echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4810 ac_header_preproc=no
4813 rm -f conftest.err conftest.$ac_ext
4814 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4815 $as_echo "$ac_header_preproc" >&6; }
4817 # So? What about this header?
4818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4821 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4823 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4824 ac_header_preproc=yes
4827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4828 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4830 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4832 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4834 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4836 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4837 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4838 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4842 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4843 $as_echo_n "checking for $ac_header... " >&6; }
4844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4845 $as_echo_n "(cached) " >&6
4847 eval "$as_ac_Header=\$ac_header_preproc"
4849 ac_res=`eval 'as_val=${'$as_ac_Header'}
4850 $as_echo "$as_val"'`
4851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4852 $as_echo "$ac_res" >&6; }
4855 as_val=`eval 'as_val=${'$as_ac_Header'}
4856 $as_echo "$as_val"'`
4857 if test "x$as_val" = x""yes; then
4858 cat >>confdefs.h <<_ACEOF
4859 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4863 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4864 $as_echo "$as_me: error: bailing out" >&2;}
4865 { (exit 1); exit 1; }; }
4876 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4881 $as_echo_n "checking for $ac_header... " >&6; }
4882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4883 $as_echo_n "(cached) " >&6
4885 ac_res=`eval 'as_val=${'$as_ac_Header'}
4886 $as_echo "$as_val"'`
4887 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4888 $as_echo "$ac_res" >&6; }
4890 # Is the header compilable?
4891 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4892 $as_echo_n "checking $ac_header usability... " >&6; }
4893 cat >conftest.$ac_ext <<_ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 $ac_includes_default
4900 #include <$ac_header>
4902 rm -f conftest.$ac_objext
4903 if { (ac_try="$ac_compile"
4905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4906 *) ac_try_echo
=$ac_try;;
4908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4909 $as_echo "$ac_try_echo") >&5
4910 (eval "$ac_compile") 2>conftest.er1
4912 grep -v '^ *+' conftest.er1
>conftest.err
4914 cat conftest.err
>&5
4915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } && {
4917 test -z "$ac_c_werror_flag" ||
4918 test ! -s conftest.err
4919 } && test -s conftest.
$ac_objext; then
4920 ac_header_compiler
=yes
4922 $as_echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.
$ac_ext >&5
4925 ac_header_compiler
=no
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4929 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4930 $as_echo "$ac_header_compiler" >&6; }
4932 # Is the header present?
4933 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4934 $as_echo_n "checking $ac_header presence... " >&6; }
4935 cat >conftest.
$ac_ext <<_ACEOF
4938 cat confdefs.h
>>conftest.
$ac_ext
4939 cat >>conftest.
$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4941 #include <$ac_header>
4943 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4946 *) ac_try_echo=$ac_try;;
4948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4949 $as_echo "$ac_try_echo") >&5
4950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4952 grep -v '^ *+' conftest.er1 >conftest.err
4954 cat conftest.err >&5
4955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } >/dev/null && {
4957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4958 test ! -s conftest.err
4960 ac_header_preproc=yes
4962 $as_echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.$ac_ext >&5
4965 ac_header_preproc=no
4968 rm -f conftest.err conftest.$ac_ext
4969 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4970 $as_echo "$ac_header_preproc" >&6; }
4972 # So? What about this header?
4973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4976 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4978 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4979 ac_header_preproc=yes
4982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4983 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4985 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4987 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4989 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4991 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4993 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4997 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4998 $as_echo_n "checking for $ac_header... " >&6; }
4999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5000 $as_echo_n "(cached) " >&6
5002 eval "$as_ac_Header=\$ac_header_preproc"
5004 ac_res=`eval 'as_val=${'$as_ac_Header'}
5005 $as_echo "$as_val"'`
5006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5007 $as_echo "$ac_res" >&6; }
5010 as_val=`eval 'as_val=${'$as_ac_Header'}
5011 $as_echo "$as_val"'`
5012 if test "x$as_val" = x""yes; then
5013 cat >>confdefs.h <<_ACEOF
5014 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5018 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5019 $as_echo "$as_me: error: bailing out" >&2;}
5020 { (exit 1); exit 1; }; }
5028 for ac_header in machine/endian.h sys/disk.h
5030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5033 $as_echo_n "checking for $ac_header... " >&6; }
5034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5035 $as_echo_n "(cached) " >&6
5037 ac_res=`eval 'as_val=${'$as_ac_Header'}
5038 $as_echo "$as_val"'`
5039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5040 $as_echo "$ac_res" >&6; }
5042 # Is the header compilable?
5043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5044 $as_echo_n "checking $ac_header usability... " >&6; }
5045 cat >conftest.$ac_ext <<_ACEOF
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 $ac_includes_default
5052 #include <$ac_header>
5054 rm -f conftest.$ac_objext
5055 if { (ac_try="$ac_compile"
5057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5058 *) ac_try_echo
=$ac_try;;
5060 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5061 $as_echo "$ac_try_echo") >&5
5062 (eval "$ac_compile") 2>conftest.er1
5064 grep -v '^ *+' conftest.er1
>conftest.err
5066 cat conftest.err
>&5
5067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest.
$ac_objext; then
5072 ac_header_compiler
=yes
5074 $as_echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.
$ac_ext >&5
5077 ac_header_compiler
=no
5080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5082 $as_echo "$ac_header_compiler" >&6; }
5084 # Is the header present?
5085 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5086 $as_echo_n "checking $ac_header presence... " >&6; }
5087 cat >conftest.
$ac_ext <<_ACEOF
5090 cat confdefs.h
>>conftest.
$ac_ext
5091 cat >>conftest.
$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <$ac_header>
5095 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5101 $as_echo "$ac_try_echo") >&5
5102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5104 grep -v '^ *+' conftest.er1 >conftest.err
5106 cat conftest.err >&5
5107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } >/dev/null && {
5109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5110 test ! -s conftest.err
5112 ac_header_preproc=yes
5114 $as_echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5117 ac_header_preproc=no
5120 rm -f conftest.err conftest.$ac_ext
5121 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5122 $as_echo "$ac_header_preproc" >&6; }
5124 # So? What about this header?
5125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5128 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5130 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5131 ac_header_preproc=yes
5134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5135 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5137 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5139 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5141 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5143 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5145 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5150 $as_echo_n "checking for $ac_header... " >&6; }
5151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5152 $as_echo_n "(cached) " >&6
5154 eval "$as_ac_Header=\$ac_header_preproc"
5156 ac_res=`eval 'as_val=${'$as_ac_Header'}
5157 $as_echo "$as_val"'`
5158 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5159 $as_echo "$ac_res" >&6; }
5162 as_val=`eval 'as_val=${'$as_ac_Header'}
5163 $as_echo "$as_val"'`
5164 if test "x$as_val" = x""yes; then
5165 cat >>confdefs.h <<_ACEOF
5166 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5170 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5171 $as_echo "$as_me: error: bailing out" >&2;}
5172 { (exit 1); exit 1; }; }
5195 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5196 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5197 sys/types.h unistd.h
5199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5201 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5202 $as_echo_n "checking for $ac_header... " >&6; }
5203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5204 $as_echo_n "(cached) " >&6
5206 ac_res=`eval 'as_val=${'$as_ac_Header'}
5207 $as_echo "$as_val"'`
5208 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5209 $as_echo "$ac_res" >&6; }
5211 # Is the header compilable?
5212 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5213 $as_echo_n "checking $ac_header usability... " >&6; }
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5220 $ac_includes_default
5221 #include <$ac_header>
5223 rm -f conftest.$ac_objext
5224 if { (ac_try="$ac_compile"
5226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5227 *) ac_try_echo
=$ac_try;;
5229 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5230 $as_echo "$ac_try_echo") >&5
5231 (eval "$ac_compile") 2>conftest.er1
5233 grep -v '^ *+' conftest.er1
>conftest.err
5235 cat conftest.err
>&5
5236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } && {
5238 test -z "$ac_c_werror_flag" ||
5239 test ! -s conftest.err
5240 } && test -s conftest.
$ac_objext; then
5241 ac_header_compiler
=yes
5243 $as_echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5246 ac_header_compiler
=no
5249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5250 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5251 $as_echo "$ac_header_compiler" >&6; }
5253 # Is the header present?
5254 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5255 $as_echo_n "checking $ac_header presence... " >&6; }
5256 cat >conftest.
$ac_ext <<_ACEOF
5259 cat confdefs.h
>>conftest.
$ac_ext
5260 cat >>conftest.
$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <$ac_header>
5264 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5270 $as_echo "$ac_try_echo") >&5
5271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5273 grep -v '^ *+' conftest.er1 >conftest.err
5275 cat conftest.err >&5
5276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } >/dev/null && {
5278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5279 test ! -s conftest.err
5281 ac_header_preproc=yes
5283 $as_echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.$ac_ext >&5
5286 ac_header_preproc=no
5289 rm -f conftest.err conftest.$ac_ext
5290 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5291 $as_echo "$ac_header_preproc" >&6; }
5293 # So? What about this header?
5294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5297 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5299 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5300 ac_header_preproc=yes
5303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5304 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5306 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5308 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5310 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5312 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5314 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5318 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5319 $as_echo_n "checking for $ac_header... " >&6; }
5320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5321 $as_echo_n "(cached) " >&6
5323 eval "$as_ac_Header=\$ac_header_preproc"
5325 ac_res=`eval 'as_val=${'$as_ac_Header'}
5326 $as_echo "$as_val"'`
5327 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5328 $as_echo "$ac_res" >&6; }
5331 as_val=`eval 'as_val=${'$as_ac_Header'}
5332 $as_echo "$as_val"'`
5333 if test "x$as_val" = x""yes; then
5334 cat >>confdefs.h <<_ACEOF
5335 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5339 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5340 $as_echo "$as_me: error: bailing out" >&2;}
5341 { (exit 1); exit 1; }; }
5348 for ac_header in termios.h sys/statvfs.h
5350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5352 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5353 $as_echo_n "checking for $ac_header... " >&6; }
5354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5355 $as_echo_n "(cached) " >&6
5357 ac_res=`eval 'as_val=${'$as_ac_Header'}
5358 $as_echo "$as_val"'`
5359 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5360 $as_echo "$ac_res" >&6; }
5362 # Is the header compilable?
5363 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5364 $as_echo_n "checking $ac_header usability... " >&6; }
5365 cat >conftest.$ac_ext <<_ACEOF
5368 cat confdefs.h >>conftest.$ac_ext
5369 cat >>conftest.$ac_ext <<_ACEOF
5370 /* end confdefs.h. */
5371 $ac_includes_default
5372 #include <$ac_header>
5374 rm -f conftest.$ac_objext
5375 if { (ac_try="$ac_compile"
5377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5378 *) ac_try_echo
=$ac_try;;
5380 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5381 $as_echo "$ac_try_echo") >&5
5382 (eval "$ac_compile") 2>conftest.er1
5384 grep -v '^ *+' conftest.er1
>conftest.err
5386 cat conftest.err
>&5
5387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } && {
5389 test -z "$ac_c_werror_flag" ||
5390 test ! -s conftest.err
5391 } && test -s conftest.
$ac_objext; then
5392 ac_header_compiler
=yes
5394 $as_echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.
$ac_ext >&5
5397 ac_header_compiler
=no
5400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5401 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5402 $as_echo "$ac_header_compiler" >&6; }
5404 # Is the header present?
5405 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5406 $as_echo_n "checking $ac_header presence... " >&6; }
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5413 #include <$ac_header>
5415 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5418 *) ac_try_echo=$ac_try;;
5420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5421 $as_echo "$ac_try_echo") >&5
5422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5424 grep -v '^ *+' conftest.er1 >conftest.err
5426 cat conftest.err >&5
5427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } >/dev/null && {
5429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5430 test ! -s conftest.err
5432 ac_header_preproc=yes
5434 $as_echo "$as_me: failed program was:" >&5
5435 sed 's/^/| /' conftest.$ac_ext >&5
5437 ac_header_preproc=no
5440 rm -f conftest.err conftest.$ac_ext
5441 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5442 $as_echo "$ac_header_preproc" >&6; }
5444 # So? What about this header?
5445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5448 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5450 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5451 ac_header_preproc=yes
5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5455 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5457 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5459 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5461 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5463 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5465 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5469 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5470 $as_echo_n "checking for $ac_header... " >&6; }
5471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5472 $as_echo_n "(cached) " >&6
5474 eval "$as_ac_Header=\$ac_header_preproc"
5476 ac_res=`eval 'as_val=${'$as_ac_Header'}
5477 $as_echo "$as_val"'`
5478 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5479 $as_echo "$ac_res" >&6; }
5482 as_val=`eval 'as_val=${'$as_ac_Header'}
5483 $as_echo "$as_val"'`
5484 if test "x$as_val" = x""yes; then
5485 cat >>confdefs.h <<_ACEOF
5486 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5494 ################################################################################
5495 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5496 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5497 if test "${ac_cv_c_const+set}" = set; then
5498 $as_echo_n "(cached) " >&6
5500 cat >conftest.$ac_ext <<_ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5510 /* FIXME: Include the comments suggested by Paul. */
5512 /* Ultrix mips cc rejects this. */
5513 typedef int charset[2];
5515 /* SunOS 4.1.1 cc rejects this. */
5516 char const *const *pcpcc;
5518 /* NEC SVR4.0.2 mips cc rejects this. */
5519 struct point {int x, y;};
5520 static struct point const zero = {0,0};
5521 /* AIX XL C 1.02.0.0 rejects this.
5522 It does not let you subtract one const X* pointer from another in
5523 an arm of an if-expression whose if-part is not a constant
5525 const char *g = "string";
5526 pcpcc = &g + (g ? g-g : 0);
5527 /* HPUX 7.0 cc rejects these. */
5529 ppc = (char**) pcpcc;
5530 pcpcc = (char const *const *) ppc;
5531 { /* SCO 3.2v4 cc rejects this. */
5533 char const *s = 0 ? (char *) 0 : (char const *) 0;
5538 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5540 const int *foo = &x[0];
5543 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5544 typedef const int *iptr;
5548 { /* AIX XL C 1.02.0.0 rejects this saying
5549 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5550 struct s { int j; const int *ap[3]; };
5551 struct s *b; b->j = 5;
5553 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5557 return !cs[0] && !zero.x;
5564 rm -f conftest.$ac_objext
5565 if { (ac_try="$ac_compile"
5567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5568 *) ac_try_echo
=$ac_try;;
5570 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5571 $as_echo "$ac_try_echo") >&5
5572 (eval "$ac_compile") 2>conftest.er1
5574 grep -v '^ *+' conftest.er1
>conftest.err
5576 cat conftest.err
>&5
5577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); } && {
5579 test -z "$ac_c_werror_flag" ||
5580 test ! -s conftest.err
5581 } && test -s conftest.
$ac_objext; then
5584 $as_echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.
$ac_ext >&5
5590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5592 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5593 $as_echo "$ac_cv_c_const" >&6; }
5594 if test $ac_cv_c_const = no
; then
5596 cat >>confdefs.h
<<\_ACEOF
5602 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5603 $as_echo_n "checking for inline... " >&6; }
5604 if test "${ac_cv_c_inline+set}" = set; then
5605 $as_echo_n "(cached) " >&6
5608 for ac_kw
in inline __inline__ __inline
; do
5609 cat >conftest.
$ac_ext <<_ACEOF
5612 cat confdefs.h
>>conftest.
$ac_ext
5613 cat >>conftest.
$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5617 static $ac_kw foo_t static_foo () {return 0; }
5618 $ac_kw foo_t foo () {return 0; }
5622 rm -f conftest.
$ac_objext
5623 if { (ac_try
="$ac_compile"
5625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5626 *) ac_try_echo=$ac_try;;
5628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5629 $as_echo "$ac_try_echo") >&5
5630 (eval "$ac_compile") 2>conftest.er1
5632 grep -v '^ *+' conftest.er1 >conftest.err
5634 cat conftest.err >&5
5635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && {
5637 test -z "$ac_c_werror_flag" ||
5638 test ! -s conftest.err
5639 } && test -s conftest.$ac_objext; then
5640 ac_cv_c_inline=$ac_kw
5642 $as_echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.$ac_ext >&5
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5649 test "$ac_cv_c_inline" != no && break
5653 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5654 $as_echo "$ac_cv_c_inline" >&6; }
5657 case $ac_cv_c_inline in
5660 case $ac_cv_c_inline in
5662 *) ac_val=$ac_cv_c_inline;;
5664 cat >>confdefs.h <<_ACEOF
5666 #define inline $ac_val
5672 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5673 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5674 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5675 $as_echo_n "(cached) " >&6
5677 cat >conftest.$ac_ext <<_ACEOF
5680 cat confdefs.h >>conftest.$ac_ext
5681 cat >>conftest.$ac_ext <<_ACEOF
5682 /* end confdefs.h. */
5683 $ac_includes_default
5687 static struct stat ac_aggr;
5688 if (ac_aggr.st_rdev)
5694 rm -f conftest.$ac_objext
5695 if { (ac_try="$ac_compile"
5697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5698 *) ac_try_echo
=$ac_try;;
5700 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5701 $as_echo "$ac_try_echo") >&5
5702 (eval "$ac_compile") 2>conftest.er1
5704 grep -v '^ *+' conftest.er1
>conftest.err
5706 cat conftest.err
>&5
5707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); } && {
5709 test -z "$ac_c_werror_flag" ||
5710 test ! -s conftest.err
5711 } && test -s conftest.
$ac_objext; then
5712 ac_cv_member_struct_stat_st_rdev
=yes
5714 $as_echo "$as_me: failed program was:" >&5
5715 sed 's/^/| /' conftest.
$ac_ext >&5
5717 cat >conftest.
$ac_ext <<_ACEOF
5720 cat confdefs.h
>>conftest.
$ac_ext
5721 cat >>conftest.
$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5723 $ac_includes_default
5727 static struct stat ac_aggr;
5728 if (sizeof ac_aggr.st_rdev)
5734 rm -f conftest.
$ac_objext
5735 if { (ac_try
="$ac_compile"
5737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5741 $as_echo "$ac_try_echo") >&5
5742 (eval "$ac_compile") 2>conftest.er1
5744 grep -v '^ *+' conftest.er1 >conftest.err
5746 cat conftest.err >&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && {
5749 test -z "$ac_c_werror_flag" ||
5750 test ! -s conftest.err
5751 } && test -s conftest.$ac_objext; then
5752 ac_cv_member_struct_stat_st_rdev=yes
5754 $as_echo "$as_me: failed program was:" >&5
5755 sed 's/^/| /' conftest.$ac_ext >&5
5757 ac_cv_member_struct_stat_st_rdev=no
5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5765 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5766 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5767 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5769 cat >>confdefs.h <<_ACEOF
5770 #define HAVE_STRUCT_STAT_ST_RDEV 1
5776 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5777 $as_echo_n "checking for off_t... " >&6; }
5778 if test "${ac_cv_type_off_t+set}" = set; then
5779 $as_echo_n "(cached) " >&6
5782 cat >conftest.$ac_ext <<_ACEOF
5785 cat confdefs.h >>conftest.$ac_ext
5786 cat >>conftest.$ac_ext <<_ACEOF
5787 /* end confdefs.h. */
5788 $ac_includes_default
5798 rm -f conftest.$ac_objext
5799 if { (ac_try="$ac_compile"
5801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5802 *) ac_try_echo
=$ac_try;;
5804 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5805 $as_echo "$ac_try_echo") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest.
$ac_objext; then
5816 cat >conftest.
$ac_ext <<_ACEOF
5819 cat confdefs.h
>>conftest.
$ac_ext
5820 cat >>conftest.
$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5822 $ac_includes_default
5826 if (sizeof ((off_t)))
5832 rm -f conftest.
$ac_objext
5833 if { (ac_try
="$ac_compile"
5835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5839 $as_echo "$ac_try_echo") >&5
5840 (eval "$ac_compile") 2>conftest.er1
5842 grep -v '^ *+' conftest.er1 >conftest.err
5844 cat conftest.err >&5
5845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } && {
5847 test -z "$ac_c_werror_flag" ||
5848 test ! -s conftest.err
5849 } && test -s conftest.$ac_objext; then
5852 $as_echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.$ac_ext >&5
5855 ac_cv_type_off_t=yes
5858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860 $as_echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.$ac_ext >&5
5866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5869 $as_echo "$ac_cv_type_off_t" >&6; }
5870 if test "x$ac_cv_type_off_t" = x""yes; then
5874 cat >>confdefs.h <<_ACEOF
5875 #define off_t long int
5880 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5881 $as_echo_n "checking for pid_t... " >&6; }
5882 if test "${ac_cv_type_pid_t+set}" = set; then
5883 $as_echo_n "(cached) " >&6
5886 cat >conftest.$ac_ext <<_ACEOF
5889 cat confdefs.h >>conftest.$ac_ext
5890 cat >>conftest.$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 $ac_includes_default
5902 rm -f conftest.$ac_objext
5903 if { (ac_try="$ac_compile"
5905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5906 *) ac_try_echo
=$ac_try;;
5908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5909 $as_echo "$ac_try_echo") >&5
5910 (eval "$ac_compile") 2>conftest.er1
5912 grep -v '^ *+' conftest.er1
>conftest.err
5914 cat conftest.err
>&5
5915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); } && {
5917 test -z "$ac_c_werror_flag" ||
5918 test ! -s conftest.err
5919 } && test -s conftest.
$ac_objext; then
5920 cat >conftest.
$ac_ext <<_ACEOF
5923 cat confdefs.h
>>conftest.
$ac_ext
5924 cat >>conftest.
$ac_ext <<_ACEOF
5925 /* end confdefs.h. */
5926 $ac_includes_default
5930 if (sizeof ((pid_t)))
5936 rm -f conftest.
$ac_objext
5937 if { (ac_try
="$ac_compile"
5939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5940 *) ac_try_echo=$ac_try;;
5942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5943 $as_echo "$ac_try_echo") >&5
5944 (eval "$ac_compile") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } && {
5951 test -z "$ac_c_werror_flag" ||
5952 test ! -s conftest.err
5953 } && test -s conftest.$ac_objext; then
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 ac_cv_type_pid_t=yes
5962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964 $as_echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5972 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5973 $as_echo "$ac_cv_type_pid_t" >&6; }
5974 if test "x$ac_cv_type_pid_t" = x""yes; then
5978 cat >>confdefs.h <<_ACEOF
5984 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5985 $as_echo_n "checking return type of signal handlers... " >&6; }
5986 if test "${ac_cv_type_signal+set}" = set; then
5987 $as_echo_n "(cached) " >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <sys/types.h>
6001 return *(signal (0, 0)) (0) == 1;
6006 rm -f conftest.$ac_objext
6007 if { (ac_try="$ac_compile"
6009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6010 *) ac_try_echo
=$ac_try;;
6012 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6013 $as_echo "$ac_try_echo") >&5
6014 (eval "$ac_compile") 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } && {
6021 test -z "$ac_c_werror_flag" ||
6022 test ! -s conftest.err
6023 } && test -s conftest.
$ac_objext; then
6024 ac_cv_type_signal
=int
6026 $as_echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6029 ac_cv_type_signal
=void
6032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6034 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6035 $as_echo "$ac_cv_type_signal" >&6; }
6037 cat >>confdefs.h
<<_ACEOF
6038 #define RETSIGTYPE $ac_cv_type_signal
6042 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6043 $as_echo_n "checking for size_t... " >&6; }
6044 if test "${ac_cv_type_size_t+set}" = set; then
6045 $as_echo_n "(cached) " >&6
6047 ac_cv_type_size_t
=no
6048 cat >conftest.
$ac_ext <<_ACEOF
6051 cat confdefs.h
>>conftest.
$ac_ext
6052 cat >>conftest.
$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6054 $ac_includes_default
6058 if (sizeof (size_t))
6064 rm -f conftest.
$ac_objext
6065 if { (ac_try
="$ac_compile"
6067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6068 *) ac_try_echo=$ac_try;;
6070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6071 $as_echo "$ac_try_echo") >&5
6072 (eval "$ac_compile") 2>conftest.er1
6074 grep -v '^ *+' conftest.er1 >conftest.err
6076 cat conftest.err >&5
6077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } && {
6079 test -z "$ac_c_werror_flag" ||
6080 test ! -s conftest.err
6081 } && test -s conftest.$ac_objext; then
6082 cat >conftest.$ac_ext <<_ACEOF
6085 cat confdefs.h >>conftest.$ac_ext
6086 cat >>conftest.$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6088 $ac_includes_default
6092 if (sizeof ((size_t)))
6098 rm -f conftest.$ac_objext
6099 if { (ac_try="$ac_compile"
6101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6102 *) ac_try_echo
=$ac_try;;
6104 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6105 $as_echo "$ac_try_echo") >&5
6106 (eval "$ac_compile") 2>conftest.er1
6108 grep -v '^ *+' conftest.er1
>conftest.err
6110 cat conftest.err
>&5
6111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && {
6113 test -z "$ac_c_werror_flag" ||
6114 test ! -s conftest.err
6115 } && test -s conftest.
$ac_objext; then
6118 $as_echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_cv_type_size_t
=yes
6124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6126 $as_echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.
$ac_ext >&5
6132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6134 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6135 $as_echo "$ac_cv_type_size_t" >&6; }
6136 if test "x$ac_cv_type_size_t" = x
""yes; then
6140 cat >>confdefs.h
<<_ACEOF
6141 #define size_t unsigned int
6146 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6147 $as_echo_n "checking for mode_t... " >&6; }
6148 if test "${ac_cv_type_mode_t+set}" = set; then
6149 $as_echo_n "(cached) " >&6
6151 ac_cv_type_mode_t
=no
6152 cat >conftest.
$ac_ext <<_ACEOF
6155 cat confdefs.h
>>conftest.
$ac_ext
6156 cat >>conftest.
$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6158 $ac_includes_default
6162 if (sizeof (mode_t))
6168 rm -f conftest.
$ac_objext
6169 if { (ac_try
="$ac_compile"
6171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6175 $as_echo "$ac_try_echo") >&5
6176 (eval "$ac_compile") 2>conftest.er1
6178 grep -v '^ *+' conftest.er1 >conftest.err
6180 cat conftest.err >&5
6181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } && {
6183 test -z "$ac_c_werror_flag" ||
6184 test ! -s conftest.err
6185 } && test -s conftest.$ac_objext; then
6186 cat >conftest.$ac_ext <<_ACEOF
6189 cat confdefs.h >>conftest.$ac_ext
6190 cat >>conftest.$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6192 $ac_includes_default
6196 if (sizeof ((mode_t)))
6202 rm -f conftest.$ac_objext
6203 if { (ac_try="$ac_compile"
6205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6206 *) ac_try_echo
=$ac_try;;
6208 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6209 $as_echo "$ac_try_echo") >&5
6210 (eval "$ac_compile") 2>conftest.er1
6212 grep -v '^ *+' conftest.er1
>conftest.err
6214 cat conftest.err
>&5
6215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } && {
6217 test -z "$ac_c_werror_flag" ||
6218 test ! -s conftest.err
6219 } && test -s conftest.
$ac_objext; then
6222 $as_echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.
$ac_ext >&5
6225 ac_cv_type_mode_t
=yes
6228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 $as_echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.
$ac_ext >&5
6236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6238 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6239 $as_echo "$ac_cv_type_mode_t" >&6; }
6240 if test "x$ac_cv_type_mode_t" = x
""yes; then
6244 cat >>confdefs.h
<<_ACEOF
6250 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6251 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6252 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6253 $as_echo_n "(cached) " >&6
6255 cat >conftest.
$ac_ext <<_ACEOF
6258 cat confdefs.h
>>conftest.
$ac_ext
6259 cat >>conftest.
$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6261 $ac_includes_default
6265 static struct stat ac_aggr;
6266 if (ac_aggr.st_rdev)
6272 rm -f conftest.
$ac_objext
6273 if { (ac_try
="$ac_compile"
6275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6276 *) ac_try_echo=$ac_try;;
6278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6279 $as_echo "$ac_try_echo") >&5
6280 (eval "$ac_compile") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } && {
6287 test -z "$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6289 } && test -s conftest.$ac_objext; then
6290 ac_cv_member_struct_stat_st_rdev=yes
6292 $as_echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 cat >conftest.$ac_ext <<_ACEOF
6298 cat confdefs.h >>conftest.$ac_ext
6299 cat >>conftest.$ac_ext <<_ACEOF
6300 /* end confdefs.h. */
6301 $ac_includes_default
6305 static struct stat ac_aggr;
6306 if (sizeof ac_aggr.st_rdev)
6312 rm -f conftest.$ac_objext
6313 if { (ac_try="$ac_compile"
6315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6316 *) ac_try_echo
=$ac_try;;
6318 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6319 $as_echo "$ac_try_echo") >&5
6320 (eval "$ac_compile") 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } && {
6327 test -z "$ac_c_werror_flag" ||
6328 test ! -s conftest.err
6329 } && test -s conftest.
$ac_objext; then
6330 ac_cv_member_struct_stat_st_rdev
=yes
6332 $as_echo "$as_me: failed program was:" >&5
6333 sed 's/^/| /' conftest.
$ac_ext >&5
6335 ac_cv_member_struct_stat_st_rdev
=no
6338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6343 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6344 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6345 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6347 cat >>confdefs.h
<<_ACEOF
6348 #define HAVE_STRUCT_STAT_ST_RDEV 1
6354 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6355 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6356 if test "${ac_cv_struct_tm+set}" = set; then
6357 $as_echo_n "(cached) " >&6
6359 cat >conftest.
$ac_ext <<_ACEOF
6362 cat confdefs.h
>>conftest.
$ac_ext
6363 cat >>conftest.
$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6365 #include <sys/types.h>
6372 int *p = &tm.tm_sec;
6378 rm -f conftest.
$ac_objext
6379 if { (ac_try
="$ac_compile"
6381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6382 *) ac_try_echo=$ac_try;;
6384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6385 $as_echo "$ac_try_echo") >&5
6386 (eval "$ac_compile") 2>conftest.er1
6388 grep -v '^ *+' conftest.er1 >conftest.err
6390 cat conftest.err >&5
6391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && {
6393 test -z "$ac_c_werror_flag" ||
6394 test ! -s conftest.err
6395 } && test -s conftest.$ac_objext; then
6396 ac_cv_struct_tm=time.h
6398 $as_echo "$as_me: failed program was:" >&5
6399 sed 's/^/| /' conftest.$ac_ext >&5
6401 ac_cv_struct_tm=sys/time.h
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6407 $as_echo "$ac_cv_struct_tm" >&6; }
6408 if test $ac_cv_struct_tm = sys/time.h; then
6410 cat >>confdefs.h <<\_ACEOF
6411 #define TM_IN_SYS_TIME 1
6417 ################################################################################
6435 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6436 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6440 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6441 $as_echo_n "checking for $ac_func... " >&6; }
6442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6443 $as_echo_n "(cached) " >&6
6445 cat >conftest.$ac_ext <<_ACEOF
6448 cat confdefs.h >>conftest.$ac_ext
6449 cat >>conftest.$ac_ext <<_ACEOF
6450 /* end confdefs.h. */
6451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6453 #define $ac_func innocuous_$ac_func
6455 /* System header to define __stub macros and hopefully few prototypes,
6456 which can conflict with char $ac_func (); below.
6457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6458 <limits.h> exists even on freestanding compilers. */
6461 # include <limits.h>
6463 # include <assert.h>
6468 /* Override any GCC internal prototype to avoid an error.
6469 Use char because int might match the return type of a GCC
6470 builtin and then its argument prototype would still apply. */
6475 /* The GNU C library defines this for functions which it implements
6476 to always fail with ENOSYS. Some functions are actually named
6477 something starting with __ and the normal name is an alias. */
6478 #if defined __stub_$ac_func || defined __stub___$ac_func
6490 rm -f conftest.$ac_objext conftest$ac_exeext
6491 if { (ac_try="$ac_link"
6493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6494 *) ac_try_echo
=$ac_try;;
6496 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6497 $as_echo "$ac_try_echo") >&5
6498 (eval "$ac_link") 2>conftest.er1
6500 grep -v '^ *+' conftest.er1
>conftest.err
6502 cat conftest.err
>&5
6503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); } && {
6505 test -z "$ac_c_werror_flag" ||
6506 test ! -s conftest.err
6507 } && test -s conftest
$ac_exeext && {
6508 test "$cross_compiling" = yes ||
6509 $as_test_x conftest
$ac_exeext
6511 eval "$as_ac_var=yes"
6513 $as_echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 eval "$as_ac_var=no"
6519 rm -rf conftest.dSYM
6520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6521 conftest
$ac_exeext conftest.
$ac_ext
6523 ac_res
=`eval 'as_val=${'$as_ac_var'}
6524 $as_echo "$as_val"'`
6525 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6526 $as_echo "$ac_res" >&6; }
6527 as_val
=`eval 'as_val=${'$as_ac_var'}
6528 $as_echo "$as_val"'`
6529 if test "x$as_val" = x
""yes; then
6530 cat >>confdefs.h
<<_ACEOF
6531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6535 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6536 $as_echo "$as_me: error: bailing out" >&2;}
6537 { (exit 1); exit 1; }; }
6542 for ac_func
in siginterrupt
6544 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6545 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6546 $as_echo_n "checking for $ac_func... " >&6; }
6547 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6548 $as_echo_n "(cached) " >&6
6550 cat >conftest.
$ac_ext <<_ACEOF
6553 cat confdefs.h
>>conftest.
$ac_ext
6554 cat >>conftest.
$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6558 #define $ac_func innocuous_$ac_func
6560 /* System header to define __stub macros and hopefully few prototypes,
6561 which can conflict with char $ac_func (); below.
6562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6563 <limits.h> exists even on freestanding compilers. */
6566 # include <limits.h>
6568 # include <assert.h>
6573 /* Override any GCC internal prototype to avoid an error.
6574 Use char because int might match the return type of a GCC
6575 builtin and then its argument prototype would still apply. */
6580 /* The GNU C library defines this for functions which it implements
6581 to always fail with ENOSYS. Some functions are actually named
6582 something starting with __ and the normal name is an alias. */
6583 #if defined __stub_$ac_func || defined __stub___$ac_func
6595 rm -f conftest.
$ac_objext conftest
$ac_exeext
6596 if { (ac_try
="$ac_link"
6598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6599 *) ac_try_echo=$ac_try;;
6601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6602 $as_echo "$ac_try_echo") >&5
6603 (eval "$ac_link") 2>conftest.er1
6605 grep -v '^ *+' conftest.er1 >conftest.err
6607 cat conftest.err >&5
6608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && {
6610 test -z "$ac_c_werror_flag" ||
6611 test ! -s conftest.err
6612 } && test -s conftest$ac_exeext && {
6613 test "$cross_compiling" = yes ||
6614 $as_test_x conftest$ac_exeext
6616 eval "$as_ac_var=yes"
6618 $as_echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6621 eval "$as_ac_var=no"
6624 rm -rf conftest.dSYM
6625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6626 conftest$ac_exeext conftest.$ac_ext
6628 ac_res=`eval 'as_val=${'$as_ac_var'}
6629 $as_echo "$as_val"'`
6630 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6631 $as_echo "$ac_res" >&6; }
6632 as_val=`eval 'as_val=${'$as_ac_var'}
6633 $as_echo "$as_val"'`
6634 if test "x$as_val" = x""yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6642 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6643 # for constant arguments. Useless!
6644 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6645 $as_echo_n "checking for working alloca.h... " >&6; }
6646 if test "${ac_cv_working_alloca_h+set}" = set; then
6647 $as_echo_n "(cached) " >&6
6649 cat >conftest.$ac_ext <<_ACEOF
6652 cat confdefs.h >>conftest.$ac_ext
6653 cat >>conftest.$ac_ext <<_ACEOF
6654 /* end confdefs.h. */
6659 char *p = (char *) alloca (2 * sizeof (int));
6665 rm -f conftest.$ac_objext conftest$ac_exeext
6666 if { (ac_try="$ac_link"
6668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6669 *) ac_try_echo
=$ac_try;;
6671 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6672 $as_echo "$ac_try_echo") >&5
6673 (eval "$ac_link") 2>conftest.er1
6675 grep -v '^ *+' conftest.er1
>conftest.err
6677 cat conftest.err
>&5
6678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest
$ac_exeext && {
6683 test "$cross_compiling" = yes ||
6684 $as_test_x conftest
$ac_exeext
6686 ac_cv_working_alloca_h
=yes
6688 $as_echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6691 ac_cv_working_alloca_h
=no
6694 rm -rf conftest.dSYM
6695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6696 conftest
$ac_exeext conftest.
$ac_ext
6698 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6699 $as_echo "$ac_cv_working_alloca_h" >&6; }
6700 if test $ac_cv_working_alloca_h = yes; then
6702 cat >>confdefs.h
<<\_ACEOF
6703 #define HAVE_ALLOCA_H 1
6708 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6709 $as_echo_n "checking for alloca... " >&6; }
6710 if test "${ac_cv_func_alloca_works+set}" = set; then
6711 $as_echo_n "(cached) " >&6
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6720 # define alloca __builtin_alloca
6723 # include <malloc.h>
6724 # define alloca _alloca
6726 # ifdef HAVE_ALLOCA_H
6727 # include <alloca.h>
6732 # ifndef alloca /* predefined by HP cc +Olibcalls */
6743 char *p = (char *) alloca (1);
6749 rm -f conftest.
$ac_objext conftest
$ac_exeext
6750 if { (ac_try
="$ac_link"
6752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6753 *) ac_try_echo=$ac_try;;
6755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6756 $as_echo "$ac_try_echo") >&5
6757 (eval "$ac_link") 2>conftest.er1
6759 grep -v '^ *+' conftest.er1 >conftest.err
6761 cat conftest.err >&5
6762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } && {
6764 test -z "$ac_c_werror_flag" ||
6765 test ! -s conftest.err
6766 } && test -s conftest$ac_exeext && {
6767 test "$cross_compiling" = yes ||
6768 $as_test_x conftest$ac_exeext
6770 ac_cv_func_alloca_works=yes
6772 $as_echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6775 ac_cv_func_alloca_works=no
6778 rm -rf conftest.dSYM
6779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6780 conftest$ac_exeext conftest.$ac_ext
6782 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6783 $as_echo "$ac_cv_func_alloca_works" >&6; }
6785 if test $ac_cv_func_alloca_works = yes; then
6787 cat >>confdefs.h <<\_ACEOF
6788 #define HAVE_ALLOCA 1
6792 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6793 # that cause trouble. Some versions do not even contain alloca or
6794 # contain a buggy version. If you still want to use their alloca,
6795 # use ar to extract alloca.o from them instead of compiling alloca.c.
6797 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6799 cat >>confdefs.h <<\_ACEOF
6804 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6805 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6806 if test "${ac_cv_os_cray+set}" = set; then
6807 $as_echo_n "(cached
) " >&6
6809 cat >conftest.$ac_ext <<_ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 #if defined CRAY && ! defined CRAY2
6822 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6823 $EGREP "webecray
" >/dev/null 2>&1; then
6831 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6832 $as_echo "$ac_cv_os_cray" >&6; }
6833 if test $ac_cv_os_cray = yes; then
6834 for ac_func in _getb67 GETB67 getb67; do
6835 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6836 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6837 $as_echo_n "checking
for $ac_func...
" >&6; }
6838 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6839 $as_echo_n "(cached
) " >&6
6841 cat >conftest.$ac_ext <<_ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6849 #define $ac_func innocuous_$ac_func
6851 /* System header to define __stub macros and hopefully few prototypes,
6852 which can conflict with char $ac_func (); below.
6853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6854 <limits.h> exists even on freestanding compilers. */
6857 # include <limits.h>
6859 # include <assert.h>
6864 /* Override any GCC internal prototype to avoid an error.
6865 Use char because int might match the return type of a GCC
6866 builtin and then its argument prototype would still apply. */
6871 /* The GNU C library defines this for functions which it implements
6872 to always fail with ENOSYS. Some functions are actually named
6873 something starting with __ and the normal name is an alias. */
6874 #if defined __stub_$ac_func || defined __stub___$ac_func
6886 rm -f conftest.$ac_objext conftest$ac_exeext
6887 if { (ac_try="$ac_link"
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6892 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6893 $as_echo "$ac_try_echo") >&5
6894 (eval "$ac_link") 2>conftest.er1
6896 grep -v '^ *+' conftest.er1 >conftest.err
6898 cat conftest.err >&5
6899 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6900 (exit $ac_status); } && {
6901 test -z "$ac_c_werror_flag" ||
6902 test ! -s conftest.err
6903 } && test -s conftest$ac_exeext && {
6904 test "$cross_compiling" = yes ||
6905 $as_test_x conftest$ac_exeext
6907 eval "$as_ac_var=yes"
6909 $as_echo "$as_me: failed program was
:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 eval "$as_ac_var=no
"
6915 rm -rf conftest.dSYM
6916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6917 conftest$ac_exeext conftest.$ac_ext
6919 ac_res=`eval 'as_val=${'$as_ac_var'}
6920 $as_echo "$as_val"'`
6921 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6922 $as_echo "$ac_res" >&6; }
6923 as_val=`eval 'as_val=${'$as_ac_var'}
6924 $as_echo "$as_val"'`
6925 if test "x
$as_val" = x""yes; then
6927 cat >>confdefs.h <<_ACEOF
6928 #define CRAY_STACKSEG_END $ac_func
6937 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6938 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6939 if test "${ac_cv_c_stack_direction+set}" = set; then
6940 $as_echo_n "(cached
) " >&6
6942 if test "$cross_compiling" = yes; then
6943 ac_cv_c_stack_direction=0
6945 cat >conftest.$ac_ext <<_ACEOF
6948 cat confdefs.h >>conftest.$ac_ext
6949 cat >>conftest.$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6951 $ac_includes_default
6953 find_stack_direction ()
6955 static char *addr = 0;
6960 return find_stack_direction ();
6963 return (&dummy > addr) ? 1 : -1;
6969 return find_stack_direction () < 0;
6972 rm -f conftest$ac_exeext
6973 if { (ac_try="$ac_link"
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6978 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6979 $as_echo "$ac_try_echo") >&5
6980 (eval "$ac_link") 2>&5
6982 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6984 { (case "(($ac_try" in
6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6988 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6989 $as_echo "$ac_try_echo") >&5
6990 (eval "$ac_try") 2>&5
6992 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6993 (exit $ac_status); }; }; then
6994 ac_cv_c_stack_direction=1
6996 $as_echo "$as_me: program exited with status
$ac_status" >&5
6997 $as_echo "$as_me: failed program was
:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_cv_c_stack_direction=-1
7003 rm -rf conftest.dSYM
7004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7009 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7010 $as_echo "$ac_cv_c_stack_direction" >&6; }
7012 cat >>confdefs.h <<_ACEOF
7013 #define STACK_DIRECTION $ac_cv_c_stack_direction
7019 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7020 $as_echo_n "checking whether closedir returns void...
" >&6; }
7021 if test "${ac_cv_func_closedir_void+set}" = set; then
7022 $as_echo_n "(cached
) " >&6
7024 if test "$cross_compiling" = yes; then
7025 ac_cv_func_closedir_void=yes
7027 cat >conftest.$ac_ext <<_ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7033 $ac_includes_default
7034 #include <$ac_header_dirent>
7042 return closedir (opendir (".
")) != 0;
7047 rm -f conftest$ac_exeext
7048 if { (ac_try="$ac_link"
7050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7051 *) ac_try_echo=$ac_try;;
7053 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7054 $as_echo "$ac_try_echo") >&5
7055 (eval "$ac_link") 2>&5
7057 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7059 { (case "(($ac_try" in
7060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7061 *) ac_try_echo=$ac_try;;
7063 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7064 $as_echo "$ac_try_echo") >&5
7065 (eval "$ac_try") 2>&5
7067 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7068 (exit $ac_status); }; }; then
7069 ac_cv_func_closedir_void=no
7071 $as_echo "$as_me: program exited with status
$ac_status" >&5
7072 $as_echo "$as_me: failed program was
:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7076 ac_cv_func_closedir_void=yes
7078 rm -rf conftest.dSYM
7079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7084 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7085 $as_echo "$ac_cv_func_closedir_void" >&6; }
7086 if test $ac_cv_func_closedir_void = yes; then
7088 cat >>confdefs.h <<\_ACEOF
7089 #define CLOSEDIR_VOID 1
7095 for ac_header in vfork.h
7097 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7098 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7099 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7100 $as_echo_n "checking
for $ac_header...
" >&6; }
7101 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7102 $as_echo_n "(cached
) " >&6
7104 ac_res=`eval 'as_val=${'$as_ac_Header'}
7105 $as_echo "$as_val"'`
7106 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7107 $as_echo "$ac_res" >&6; }
7109 # Is the header compilable?
7110 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7111 $as_echo_n "checking
$ac_header usability...
" >&6; }
7112 cat >conftest.$ac_ext <<_ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 $ac_includes_default
7119 #include <$ac_header>
7121 rm -f conftest.$ac_objext
7122 if { (ac_try="$ac_compile"
7124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7125 *) ac_try_echo=$ac_try;;
7127 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7128 $as_echo "$ac_try_echo") >&5
7129 (eval "$ac_compile") 2>conftest.er1
7131 grep -v '^ *+' conftest.er1 >conftest.err
7133 cat conftest.err >&5
7134 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7135 (exit $ac_status); } && {
7136 test -z "$ac_c_werror_flag" ||
7137 test ! -s conftest.err
7138 } && test -s conftest.$ac_objext; then
7139 ac_header_compiler=yes
7141 $as_echo "$as_me: failed program was
:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7144 ac_header_compiler=no
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7149 $as_echo "$ac_header_compiler" >&6; }
7151 # Is the header present?
7152 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7153 $as_echo_n "checking
$ac_header presence...
" >&6; }
7154 cat >conftest.$ac_ext <<_ACEOF
7157 cat confdefs.h >>conftest.$ac_ext
7158 cat >>conftest.$ac_ext <<_ACEOF
7159 /* end confdefs.h. */
7160 #include <$ac_header>
7162 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7167 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7168 $as_echo "$ac_try_echo") >&5
7169 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7171 grep -v '^ *+' conftest.er1 >conftest.err
7173 cat conftest.err >&5
7174 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7175 (exit $ac_status); } >/dev/null && {
7176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7177 test ! -s conftest.err
7179 ac_header_preproc=yes
7181 $as_echo "$as_me: failed program was
:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7184 ac_header_preproc=no
7187 rm -f conftest.err conftest.$ac_ext
7188 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7189 $as_echo "$ac_header_preproc" >&6; }
7191 # So? What about this header?
7192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7194 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7195 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7196 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7197 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7198 ac_header_preproc=yes
7201 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7202 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7203 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7204 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7205 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7206 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7207 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7208 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7211 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7212 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7216 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7217 $as_echo_n "checking
for $ac_header...
" >&6; }
7218 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7219 $as_echo_n "(cached
) " >&6
7221 eval "$as_ac_Header=\
$ac_header_preproc"
7223 ac_res=`eval 'as_val=${'$as_ac_Header'}
7224 $as_echo "$as_val"'`
7225 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7226 $as_echo "$ac_res" >&6; }
7229 as_val=`eval 'as_val=${'$as_ac_Header'}
7230 $as_echo "$as_val"'`
7231 if test "x
$as_val" = x""yes; then
7232 cat >>confdefs.h <<_ACEOF
7233 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7242 for ac_func in fork vfork
7244 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7245 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7246 $as_echo_n "checking
for $ac_func...
" >&6; }
7247 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7248 $as_echo_n "(cached
) " >&6
7250 cat >conftest.$ac_ext <<_ACEOF
7253 cat confdefs.h >>conftest.$ac_ext
7254 cat >>conftest.$ac_ext <<_ACEOF
7255 /* end confdefs.h. */
7256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7258 #define $ac_func innocuous_$ac_func
7260 /* System header to define __stub macros and hopefully few prototypes,
7261 which can conflict with char $ac_func (); below.
7262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7263 <limits.h> exists even on freestanding compilers. */
7266 # include <limits.h>
7268 # include <assert.h>
7273 /* Override any GCC internal prototype to avoid an error.
7274 Use char because int might match the return type of a GCC
7275 builtin and then its argument prototype would still apply. */
7280 /* The GNU C library defines this for functions which it implements
7281 to always fail with ENOSYS. Some functions are actually named
7282 something starting with __ and the normal name is an alias. */
7283 #if defined __stub_$ac_func || defined __stub___$ac_func
7295 rm -f conftest.$ac_objext conftest$ac_exeext
7296 if { (ac_try="$ac_link"
7298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7299 *) ac_try_echo=$ac_try;;
7301 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7302 $as_echo "$ac_try_echo") >&5
7303 (eval "$ac_link") 2>conftest.er1
7305 grep -v '^ *+' conftest.er1 >conftest.err
7307 cat conftest.err >&5
7308 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7309 (exit $ac_status); } && {
7310 test -z "$ac_c_werror_flag" ||
7311 test ! -s conftest.err
7312 } && test -s conftest$ac_exeext && {
7313 test "$cross_compiling" = yes ||
7314 $as_test_x conftest$ac_exeext
7316 eval "$as_ac_var=yes"
7318 $as_echo "$as_me: failed program was
:" >&5
7319 sed 's/^/| /' conftest.$ac_ext >&5
7321 eval "$as_ac_var=no
"
7324 rm -rf conftest.dSYM
7325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7326 conftest$ac_exeext conftest.$ac_ext
7328 ac_res=`eval 'as_val=${'$as_ac_var'}
7329 $as_echo "$as_val"'`
7330 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7331 $as_echo "$ac_res" >&6; }
7332 as_val=`eval 'as_val=${'$as_ac_var'}
7333 $as_echo "$as_val"'`
7334 if test "x
$as_val" = x""yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7342 if test "x
$ac_cv_func_fork" = xyes; then
7343 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7344 $as_echo_n "checking
for working fork...
" >&6; }
7345 if test "${ac_cv_func_fork_works+set}" = set; then
7346 $as_echo_n "(cached
) " >&6
7348 if test "$cross_compiling" = yes; then
7349 ac_cv_func_fork_works=cross
7351 cat >conftest.$ac_ext <<_ACEOF
7354 cat confdefs.h >>conftest.$ac_ext
7355 cat >>conftest.$ac_ext <<_ACEOF
7356 /* end confdefs.h. */
7357 $ac_includes_default
7362 /* By Ruediger Kuhlmann. */
7369 rm -f conftest$ac_exeext
7370 if { (ac_try="$ac_link"
7372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7373 *) ac_try_echo=$ac_try;;
7375 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7376 $as_echo "$ac_try_echo") >&5
7377 (eval "$ac_link") 2>&5
7379 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7381 { (case "(($ac_try" in
7382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7383 *) ac_try_echo=$ac_try;;
7385 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7386 $as_echo "$ac_try_echo") >&5
7387 (eval "$ac_try") 2>&5
7389 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7390 (exit $ac_status); }; }; then
7391 ac_cv_func_fork_works=yes
7393 $as_echo "$as_me: program exited with status
$ac_status" >&5
7394 $as_echo "$as_me: failed program was
:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7398 ac_cv_func_fork_works=no
7400 rm -rf conftest.dSYM
7401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7406 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7407 $as_echo "$ac_cv_func_fork_works" >&6; }
7410 ac_cv_func_fork_works=$ac_cv_func_fork
7412 if test "x
$ac_cv_func_fork_works" = xcross; then
7414 *-*-amigaos* | *-*-msdosdjgpp*)
7415 # Override, as these systems have only a dummy fork() stub
7416 ac_cv_func_fork_works=no
7419 ac_cv_func_fork_works=yes
7422 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7423 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7425 ac_cv_func_vfork_works=$ac_cv_func_vfork
7426 if test "x
$ac_cv_func_vfork" = xyes; then
7427 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7428 $as_echo_n "checking
for working vfork...
" >&6; }
7429 if test "${ac_cv_func_vfork_works+set}" = set; then
7430 $as_echo_n "(cached
) " >&6
7432 if test "$cross_compiling" = yes; then
7433 ac_cv_func_vfork_works=cross
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7441 /* Thanks to Paul Eggert for this test. */
7442 $ac_includes_default
7443 #include <sys/wait.h>
7447 /* On some sparc systems, changes by the child to local and incoming
7448 argument registers are propagated back to the parent. The compiler
7449 is told about this with #include <vfork.h>, but some compilers
7450 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7451 static variable whose address is put into a register that is
7452 clobbered by the vfork. */
7455 sparc_address_test (int arg)
7457 sparc_address_test (arg) int arg;
7478 pid_t parent = getpid ();
7481 sparc_address_test (0);
7486 /* Here is another test for sparc vfork register problems. This
7487 test uses lots of local variables, at least as many local
7488 variables as main has allocated so far including compiler
7489 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7490 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7491 reuse the register of parent for one of the local variables,
7492 since it will think that parent can't possibly be used any more
7493 in this routine. Assigning to the local variable will thus
7494 munge parent in the parent process. */
7496 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7497 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7498 /* Convince the compiler that p..p7 are live; otherwise, it might
7499 use the same hardware register for all 8 local variables. */
7500 if (p != p1 || p != p2 || p != p3 || p != p4
7501 || p != p5 || p != p6 || p != p7)
7504 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7505 from child file descriptors. If the child closes a descriptor
7506 before it execs or exits, this munges the parent's descriptor
7507 as well. Test for this by closing stdout in the child. */
7508 _exit(close(fileno(stdout)) != 0);
7513 while (wait(&status) != child)
7516 /* Was there some problem with vforking? */
7519 /* Did the child fail? (This shouldn't happen.) */
7522 /* Did the vfork/compiler bug occur? */
7523 || parent != getpid()
7525 /* Did the file descriptor bug occur? */
7526 || fstat(fileno(stdout), &st) != 0
7531 rm -f conftest$ac_exeext
7532 if { (ac_try="$ac_link"
7534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7535 *) ac_try_echo=$ac_try;;
7537 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7538 $as_echo "$ac_try_echo") >&5
7539 (eval "$ac_link") 2>&5
7541 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7543 { (case "(($ac_try" in
7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 *) ac_try_echo=$ac_try;;
7547 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7548 $as_echo "$ac_try_echo") >&5
7549 (eval "$ac_try") 2>&5
7551 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7552 (exit $ac_status); }; }; then
7553 ac_cv_func_vfork_works=yes
7555 $as_echo "$as_me: program exited with status
$ac_status" >&5
7556 $as_echo "$as_me: failed program was
:" >&5
7557 sed 's/^/| /' conftest.$ac_ext >&5
7560 ac_cv_func_vfork_works=no
7562 rm -rf conftest.dSYM
7563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7568 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7569 $as_echo "$ac_cv_func_vfork_works" >&6; }
7572 if test "x
$ac_cv_func_fork_works" = xcross; then
7573 ac_cv_func_vfork_works=$ac_cv_func_vfork
7574 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7575 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7578 if test "x
$ac_cv_func_vfork_works" = xyes; then
7580 cat >>confdefs.h <<\_ACEOF
7581 #define HAVE_WORKING_VFORK 1
7586 cat >>confdefs.h <<\_ACEOF
7591 if test "x
$ac_cv_func_fork_works" = xyes; then
7593 cat >>confdefs.h <<\_ACEOF
7594 #define HAVE_WORKING_FORK 1
7599 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7600 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7601 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7602 $as_echo_n "(cached
) " >&6
7604 rm -f conftest.sym conftest.file
7606 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7607 if test "$cross_compiling" = yes; then
7608 ac_cv_func_lstat_dereferences_slashed_symlink=no
7610 cat >conftest.$ac_ext <<_ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 $ac_includes_default
7621 /* Linux will dereference the symlink and fail.
7622 That is better in the sense that it means we will not
7623 have to compile and use the lstat wrapper. */
7624 return lstat ("conftest.sym
/", &sbuf) == 0;
7629 rm -f conftest$ac_exeext
7630 if { (ac_try="$ac_link"
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7635 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7636 $as_echo "$ac_try_echo") >&5
7637 (eval "$ac_link") 2>&5
7639 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7641 { (case "(($ac_try" in
7642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7643 *) ac_try_echo=$ac_try;;
7645 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7646 $as_echo "$ac_try_echo") >&5
7647 (eval "$ac_try") 2>&5
7649 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7650 (exit $ac_status); }; }; then
7651 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7653 $as_echo "$as_me: program exited with status
$ac_status" >&5
7654 $as_echo "$as_me: failed program was
:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7658 ac_cv_func_lstat_dereferences_slashed_symlink=no
7660 rm -rf conftest.dSYM
7661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7666 # If the `ln -s' command failed, then we probably don't even
7667 # have an lstat function.
7668 ac_cv_func_lstat_dereferences_slashed_symlink=no
7670 rm -f conftest.sym conftest.file
7673 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7674 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7676 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7678 cat >>confdefs.h <<_ACEOF
7679 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7683 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7684 case " $LIBOBJS " in
7685 *" lstat.
$ac_objext "* ) ;;
7686 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7692 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7693 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7694 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7695 $as_echo_n "(cached
) " >&6
7697 if test "$cross_compiling" = yes; then
7698 ac_cv_func_lstat_empty_string_bug=yes
7700 cat >conftest.$ac_ext <<_ACEOF
7703 cat confdefs.h >>conftest.$ac_ext
7704 cat >>conftest.$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7706 $ac_includes_default
7711 return lstat ("", &sbuf) == 0;
7716 rm -f conftest$ac_exeext
7717 if { (ac_try="$ac_link"
7719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7720 *) ac_try_echo=$ac_try;;
7722 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7723 $as_echo "$ac_try_echo") >&5
7724 (eval "$ac_link") 2>&5
7726 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7728 { (case "(($ac_try" in
7729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7730 *) ac_try_echo=$ac_try;;
7732 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7733 $as_echo "$ac_try_echo") >&5
7734 (eval "$ac_try") 2>&5
7736 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7737 (exit $ac_status); }; }; then
7738 ac_cv_func_lstat_empty_string_bug=no
7740 $as_echo "$as_me: program exited with status
$ac_status" >&5
7741 $as_echo "$as_me: failed program was
:" >&5
7742 sed 's/^/| /' conftest.$ac_ext >&5
7745 ac_cv_func_lstat_empty_string_bug=yes
7747 rm -rf conftest.dSYM
7748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7753 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7754 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7755 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7756 case " $LIBOBJS " in
7757 *" lstat.
$ac_objext "* ) ;;
7758 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7770 for ac_header in stdlib.h
7772 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7773 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7774 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7775 $as_echo_n "checking
for $ac_header...
" >&6; }
7776 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7777 $as_echo_n "(cached
) " >&6
7779 ac_res=`eval 'as_val=${'$as_ac_Header'}
7780 $as_echo "$as_val"'`
7781 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7782 $as_echo "$ac_res" >&6; }
7784 # Is the header compilable?
7785 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7786 $as_echo_n "checking
$ac_header usability...
" >&6; }
7787 cat >conftest.$ac_ext <<_ACEOF
7790 cat confdefs.h >>conftest.$ac_ext
7791 cat >>conftest.$ac_ext <<_ACEOF
7792 /* end confdefs.h. */
7793 $ac_includes_default
7794 #include <$ac_header>
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800 *) ac_try_echo=$ac_try;;
7802 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7803 $as_echo "$ac_try_echo") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7806 grep -v '^ *+' conftest.er1 >conftest.err
7808 cat conftest.err >&5
7809 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7810 (exit $ac_status); } && {
7811 test -z "$ac_c_werror_flag" ||
7812 test ! -s conftest.err
7813 } && test -s conftest.$ac_objext; then
7814 ac_header_compiler=yes
7816 $as_echo "$as_me: failed program was
:" >&5
7817 sed 's/^/| /' conftest.$ac_ext >&5
7819 ac_header_compiler=no
7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7823 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7824 $as_echo "$ac_header_compiler" >&6; }
7826 # Is the header present?
7827 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7828 $as_echo_n "checking
$ac_header presence...
" >&6; }
7829 cat >conftest.$ac_ext <<_ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7835 #include <$ac_header>
7837 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7840 *) ac_try_echo=$ac_try;;
7842 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7843 $as_echo "$ac_try_echo") >&5
7844 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7846 grep -v '^ *+' conftest.er1 >conftest.err
7848 cat conftest.err >&5
7849 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7850 (exit $ac_status); } >/dev/null && {
7851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7852 test ! -s conftest.err
7854 ac_header_preproc=yes
7856 $as_echo "$as_me: failed program was
:" >&5
7857 sed 's/^/| /' conftest.$ac_ext >&5
7859 ac_header_preproc=no
7862 rm -f conftest.err conftest.$ac_ext
7863 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7864 $as_echo "$ac_header_preproc" >&6; }
7866 # So? What about this header?
7867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7869 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7870 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7871 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7872 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7873 ac_header_preproc=yes
7876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7877 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7878 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7879 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7880 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7881 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7882 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7883 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7884 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7885 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7886 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7887 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7891 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7892 $as_echo_n "checking
for $ac_header...
" >&6; }
7893 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7894 $as_echo_n "(cached
) " >&6
7896 eval "$as_ac_Header=\
$ac_header_preproc"
7898 ac_res=`eval 'as_val=${'$as_ac_Header'}
7899 $as_echo "$as_val"'`
7900 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7901 $as_echo "$ac_res" >&6; }
7904 as_val=`eval 'as_val=${'$as_ac_Header'}
7905 $as_echo "$as_val"'`
7906 if test "x
$as_val" = x""yes; then
7907 cat >>confdefs.h <<_ACEOF
7908 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7915 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7916 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7917 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7918 $as_echo_n "(cached
) " >&6
7920 if test "$cross_compiling" = yes; then
7921 ac_cv_func_malloc_0_nonnull=no
7923 cat >conftest.$ac_ext <<_ACEOF
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7929 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7930 # include <stdlib.h>
7938 return ! malloc (0);
7943 rm -f conftest$ac_exeext
7944 if { (ac_try="$ac_link"
7946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7947 *) ac_try_echo=$ac_try;;
7949 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7950 $as_echo "$ac_try_echo") >&5
7951 (eval "$ac_link") 2>&5
7953 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7955 { (case "(($ac_try" in
7956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7957 *) ac_try_echo=$ac_try;;
7959 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7960 $as_echo "$ac_try_echo") >&5
7961 (eval "$ac_try") 2>&5
7963 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7964 (exit $ac_status); }; }; then
7965 ac_cv_func_malloc_0_nonnull=yes
7967 $as_echo "$as_me: program exited with status
$ac_status" >&5
7968 $as_echo "$as_me: failed program was
:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7972 ac_cv_func_malloc_0_nonnull=no
7974 rm -rf conftest.dSYM
7975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7980 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7981 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7982 if test $ac_cv_func_malloc_0_nonnull = yes; then
7984 cat >>confdefs.h <<\_ACEOF
7985 #define HAVE_MALLOC 1
7989 cat >>confdefs.h <<\_ACEOF
7990 #define HAVE_MALLOC 0
7993 case " $LIBOBJS " in
7994 *" malloc.
$ac_objext "* ) ;;
7995 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
8000 cat >>confdefs.h <<\_ACEOF
8001 #define malloc rpl_malloc
8008 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8009 $as_echo_n "checking
for working memcmp...
" >&6; }
8010 if test "${ac_cv_func_memcmp_working+set}" = set; then
8011 $as_echo_n "(cached
) " >&6
8013 if test "$cross_compiling" = yes; then
8014 ac_cv_func_memcmp_working=no
8016 cat >conftest.$ac_ext <<_ACEOF
8019 cat confdefs.h >>conftest.$ac_ext
8020 cat >>conftest.$ac_ext <<_ACEOF
8021 /* end confdefs.h. */
8022 $ac_includes_default
8027 /* Some versions of memcmp are not 8-bit clean. */
8028 char c0 = '\100', c1 = '\200', c2 = '\201';
8029 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8032 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8033 or more and with at least one buffer not starting on a 4-byte boundary.
8034 William Lewis provided this test program. */
8039 for (i = 0; i < 4; i++)
8043 strcpy (a, "--------01111111");
8044 strcpy (b, "--------10000000");
8045 if (memcmp (a, b, 16) >= 0)
8055 rm -f conftest$ac_exeext
8056 if { (ac_try="$ac_link"
8058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8059 *) ac_try_echo=$ac_try;;
8061 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8062 $as_echo "$ac_try_echo") >&5
8063 (eval "$ac_link") 2>&5
8065 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8067 { (case "(($ac_try" in
8068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8071 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8072 $as_echo "$ac_try_echo") >&5
8073 (eval "$ac_try") 2>&5
8075 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 ac_cv_func_memcmp_working=yes
8079 $as_echo "$as_me: program exited with status
$ac_status" >&5
8080 $as_echo "$as_me: failed program was
:" >&5
8081 sed 's/^/| /' conftest.$ac_ext >&5
8084 ac_cv_func_memcmp_working=no
8086 rm -rf conftest.dSYM
8087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8092 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8093 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8094 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8095 *" memcmp.
$ac_objext "* ) ;;
8096 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8103 for ac_header in stdlib.h unistd.h
8105 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8106 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8107 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8108 $as_echo_n "checking
for $ac_header...
" >&6; }
8109 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8110 $as_echo_n "(cached
) " >&6
8112 ac_res=`eval 'as_val=${'$as_ac_Header'}
8113 $as_echo "$as_val"'`
8114 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8115 $as_echo "$ac_res" >&6; }
8117 # Is the header compilable?
8118 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8119 $as_echo_n "checking
$ac_header usability...
" >&6; }
8120 cat >conftest.$ac_ext <<_ACEOF
8123 cat confdefs.h >>conftest.$ac_ext
8124 cat >>conftest.$ac_ext <<_ACEOF
8125 /* end confdefs.h. */
8126 $ac_includes_default
8127 #include <$ac_header>
8129 rm -f conftest.$ac_objext
8130 if { (ac_try="$ac_compile"
8132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133 *) ac_try_echo=$ac_try;;
8135 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8136 $as_echo "$ac_try_echo") >&5
8137 (eval "$ac_compile") 2>conftest.er1
8139 grep -v '^ *+' conftest.er1 >conftest.err
8141 cat conftest.err >&5
8142 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8143 (exit $ac_status); } && {
8144 test -z "$ac_c_werror_flag" ||
8145 test ! -s conftest.err
8146 } && test -s conftest.$ac_objext; then
8147 ac_header_compiler=yes
8149 $as_echo "$as_me: failed program was
:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 ac_header_compiler=no
8155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8156 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8157 $as_echo "$ac_header_compiler" >&6; }
8159 # Is the header present?
8160 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8161 $as_echo_n "checking
$ac_header presence...
" >&6; }
8162 cat >conftest.$ac_ext <<_ACEOF
8165 cat confdefs.h >>conftest.$ac_ext
8166 cat >>conftest.$ac_ext <<_ACEOF
8167 /* end confdefs.h. */
8168 #include <$ac_header>
8170 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8173 *) ac_try_echo=$ac_try;;
8175 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8176 $as_echo "$ac_try_echo") >&5
8177 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8179 grep -v '^ *+' conftest.er1 >conftest.err
8181 cat conftest.err >&5
8182 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8183 (exit $ac_status); } >/dev/null && {
8184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8185 test ! -s conftest.err
8187 ac_header_preproc=yes
8189 $as_echo "$as_me: failed program was
:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8192 ac_header_preproc=no
8195 rm -f conftest.err conftest.$ac_ext
8196 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8197 $as_echo "$ac_header_preproc" >&6; }
8199 # So? What about this header?
8200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8202 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8203 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8204 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8205 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8206 ac_header_preproc=yes
8209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8210 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8211 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8212 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8213 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8214 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8215 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8216 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8217 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8218 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8219 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8220 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8224 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8225 $as_echo_n "checking
for $ac_header...
" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8227 $as_echo_n "(cached
) " >&6
8229 eval "$as_ac_Header=\
$ac_header_preproc"
8231 ac_res=`eval 'as_val=${'$as_ac_Header'}
8232 $as_echo "$as_val"'`
8233 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8234 $as_echo "$ac_res" >&6; }
8237 as_val=`eval 'as_val=${'$as_ac_Header'}
8238 $as_echo "$as_val"'`
8239 if test "x
$as_val" = x""yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8249 for ac_func in getpagesize
8251 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8252 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8253 $as_echo_n "checking
for $ac_func...
" >&6; }
8254 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8255 $as_echo_n "(cached
) " >&6
8257 cat >conftest.$ac_ext <<_ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8265 #define $ac_func innocuous_$ac_func
8267 /* System header to define __stub macros and hopefully few prototypes,
8268 which can conflict with char $ac_func (); below.
8269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8270 <limits.h> exists even on freestanding compilers. */
8273 # include <limits.h>
8275 # include <assert.h>
8280 /* Override any GCC internal prototype to avoid an error.
8281 Use char because int might match the return type of a GCC
8282 builtin and then its argument prototype would still apply. */
8287 /* The GNU C library defines this for functions which it implements
8288 to always fail with ENOSYS. Some functions are actually named
8289 something starting with __ and the normal name is an alias. */
8290 #if defined __stub_$ac_func || defined __stub___$ac_func
8302 rm -f conftest.$ac_objext conftest$ac_exeext
8303 if { (ac_try="$ac_link"
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8309 $as_echo "$ac_try_echo") >&5
8310 (eval "$ac_link") 2>conftest.er1
8312 grep -v '^ *+' conftest.er1 >conftest.err
8314 cat conftest.err >&5
8315 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8316 (exit $ac_status); } && {
8317 test -z "$ac_c_werror_flag" ||
8318 test ! -s conftest.err
8319 } && test -s conftest$ac_exeext && {
8320 test "$cross_compiling" = yes ||
8321 $as_test_x conftest$ac_exeext
8323 eval "$as_ac_var=yes"
8325 $as_echo "$as_me: failed program was
:" >&5
8326 sed 's/^/| /' conftest.$ac_ext >&5
8328 eval "$as_ac_var=no
"
8331 rm -rf conftest.dSYM
8332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8333 conftest$ac_exeext conftest.$ac_ext
8335 ac_res=`eval 'as_val=${'$as_ac_var'}
8336 $as_echo "$as_val"'`
8337 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8338 $as_echo "$ac_res" >&6; }
8339 as_val=`eval 'as_val=${'$as_ac_var'}
8340 $as_echo "$as_val"'`
8341 if test "x
$as_val" = x""yes; then
8342 cat >>confdefs.h <<_ACEOF
8343 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8349 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8350 $as_echo_n "checking
for working mmap...
" >&6; }
8351 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8352 $as_echo_n "(cached
) " >&6
8354 if test "$cross_compiling" = yes; then
8355 ac_cv_func_mmap_fixed_mapped=no
8357 cat >conftest.$ac_ext <<_ACEOF
8360 cat confdefs.h >>conftest.$ac_ext
8361 cat >>conftest.$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8363 $ac_includes_default
8364 /* malloc might have been renamed as rpl_malloc. */
8367 /* Thanks to Mike Haertel and Jim Avera for this test.
8368 Here is a matrix of mmap possibilities:
8369 mmap private not fixed
8370 mmap private fixed at somewhere currently unmapped
8371 mmap private fixed at somewhere already mapped
8372 mmap shared not fixed
8373 mmap shared fixed at somewhere currently unmapped
8374 mmap shared fixed at somewhere already mapped
8375 For private mappings, we should verify that changes cannot be read()
8376 back from the file, nor mmap's back from the file at a different
8377 address. (There have been systems where private was not correctly
8378 implemented like the infamous i386 svr4.0, and systems where the
8379 VM page cache was not coherent with the file system buffer cache
8380 like early versions of FreeBSD and possibly contemporary NetBSD.)
8381 For shared mappings, we should conversely verify that changes get
8382 propagated back to all the places they're supposed to be.
8384 Grep wants private fixed already mapped.
8385 The main things grep needs to know about mmap are:
8386 * does it exist and is it safe to write into the mmap'd area
8387 * how to use it (BSD variants) */
8390 #include <sys/mman.h>
8392 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8396 /* This mess was copied from the GNU getpagesize.h. */
8397 #ifndef HAVE_GETPAGESIZE
8398 /* Assume that all systems that can run configure have sys/param.h. */
8399 # ifndef HAVE_SYS_PARAM_H
8400 # define HAVE_SYS_PARAM_H 1
8403 # ifdef _SC_PAGESIZE
8404 # define getpagesize() sysconf(_SC_PAGESIZE)
8405 # else /* no _SC_PAGESIZE */
8406 # ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 # ifdef EXEC_PAGESIZE
8409 # define getpagesize() EXEC_PAGESIZE
8410 # else /* no EXEC_PAGESIZE */
8412 # define getpagesize() NBPG * CLSIZE
8415 # endif /* no CLSIZE */
8416 # else /* no NBPG */
8418 # define getpagesize() NBPC
8419 # else /* no NBPC */
8421 # define getpagesize() PAGESIZE
8422 # endif /* PAGESIZE */
8423 # endif /* no NBPC */
8424 # endif /* no NBPG */
8425 # endif /* no EXEC_PAGESIZE */
8426 # else /* no HAVE_SYS_PARAM_H */
8427 # define getpagesize() 8192 /* punt totally */
8428 # endif /* no HAVE_SYS_PARAM_H */
8429 # endif /* no _SC_PAGESIZE */
8431 #endif /* no HAVE_GETPAGESIZE */
8436 char *data, *data2, *data3;
8440 pagesize = getpagesize ();
8442 /* First, make a file with some known garbage in it. */
8443 data = (char *) malloc (pagesize);
8446 for (i = 0; i < pagesize; ++i)
8447 *(data + i) = rand ();
8449 fd = creat ("conftest.mmap
", 0600);
8452 if (write (fd, data, pagesize) != pagesize)
8456 /* Next, try to mmap the file at a fixed address which already has
8457 something else allocated at it. If we can, also make sure that
8458 we see the same garbage. */
8459 fd = open ("conftest.mmap
", O_RDWR);
8462 data2 = (char *) malloc (2 * pagesize);
8465 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8466 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8467 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8469 for (i = 0; i < pagesize; ++i)
8470 if (*(data + i) != *(data2 + i))
8473 /* Finally, make sure that changes to the mapped area do not
8474 percolate back to the file as seen by read(). (This is a bug on
8475 some variants of i386 svr4.0.) */
8476 for (i = 0; i < pagesize; ++i)
8477 *(data2 + i) = *(data2 + i) + 1;
8478 data3 = (char *) malloc (pagesize);
8481 if (read (fd, data3, pagesize) != pagesize)
8483 for (i = 0; i < pagesize; ++i)
8484 if (*(data + i) != *(data3 + i))
8490 rm -f conftest$ac_exeext
8491 if { (ac_try="$ac_link"
8493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8496 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8497 $as_echo "$ac_try_echo") >&5
8498 (eval "$ac_link") 2>&5
8500 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8502 { (case "(($ac_try" in
8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8504 *) ac_try_echo=$ac_try;;
8506 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8507 $as_echo "$ac_try_echo") >&5
8508 (eval "$ac_try") 2>&5
8510 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 ac_cv_func_mmap_fixed_mapped=yes
8514 $as_echo "$as_me: program exited with status
$ac_status" >&5
8515 $as_echo "$as_me: failed program was
:" >&5
8516 sed 's/^/| /' conftest.$ac_ext >&5
8519 ac_cv_func_mmap_fixed_mapped=no
8521 rm -rf conftest.dSYM
8522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8527 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8528 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8529 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8531 cat >>confdefs.h <<\_ACEOF
8538 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8539 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8540 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8541 $as_echo_n "(cached
) " >&6
8543 if test "$cross_compiling" = yes; then
8544 ac_cv_func_stat_empty_string_bug=yes
8546 cat >conftest.$ac_ext <<_ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552 $ac_includes_default
8557 return stat ("", &sbuf) == 0;
8562 rm -f conftest$ac_exeext
8563 if { (ac_try="$ac_link"
8565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8566 *) ac_try_echo=$ac_try;;
8568 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8569 $as_echo "$ac_try_echo") >&5
8570 (eval "$ac_link") 2>&5
8572 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8574 { (case "(($ac_try" in
8575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8576 *) ac_try_echo=$ac_try;;
8578 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8579 $as_echo "$ac_try_echo") >&5
8580 (eval "$ac_try") 2>&5
8582 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8583 (exit $ac_status); }; }; then
8584 ac_cv_func_stat_empty_string_bug=no
8586 $as_echo "$as_me: program exited with status
$ac_status" >&5
8587 $as_echo "$as_me: failed program was
:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8591 ac_cv_func_stat_empty_string_bug=yes
8593 rm -rf conftest.dSYM
8594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8599 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8600 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8601 if test $ac_cv_func_stat_empty_string_bug = yes; then
8602 case " $LIBOBJS " in
8603 *" stat.
$ac_objext "* ) ;;
8604 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8609 cat >>confdefs.h <<_ACEOF
8610 #define HAVE_STAT_EMPTY_STRING_BUG 1
8615 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8616 $as_echo_n "checking
for working strtod...
" >&6; }
8617 if test "${ac_cv_func_strtod+set}" = set; then
8618 $as_echo_n "(cached
) " >&6
8620 if test "$cross_compiling" = yes; then
8621 ac_cv_func_strtod=no
8623 cat >conftest.$ac_ext <<_ACEOF
8626 cat confdefs.h >>conftest.$ac_ext
8627 cat >>conftest.$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8630 $ac_includes_default
8638 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8639 char *string = " +69";
8642 value = strtod (string, &term);
8643 if (value != 69 || term != (string + 4))
8648 /* Under Solaris 2.4, strtod returns the wrong value for the
8649 terminating character under some conditions. */
8650 char *string = "NaN
";
8652 strtod (string, &term);
8653 if (term != string && *(term - 1) == 0)
8660 rm -f conftest$ac_exeext
8661 if { (ac_try="$ac_link"
8663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8664 *) ac_try_echo=$ac_try;;
8666 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8667 $as_echo "$ac_try_echo") >&5
8668 (eval "$ac_link") 2>&5
8670 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8672 { (case "(($ac_try" in
8673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8674 *) ac_try_echo=$ac_try;;
8676 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8677 $as_echo "$ac_try_echo") >&5
8678 (eval "$ac_try") 2>&5
8680 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8681 (exit $ac_status); }; }; then
8682 ac_cv_func_strtod=yes
8684 $as_echo "$as_me: program exited with status
$ac_status" >&5
8685 $as_echo "$as_me: failed program was
:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_cv_func_strtod=no
8691 rm -rf conftest.dSYM
8692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8697 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8698 $as_echo "$ac_cv_func_strtod" >&6; }
8699 if test $ac_cv_func_strtod = no; then
8700 case " $LIBOBJS " in
8701 *" strtod.
$ac_objext "* ) ;;
8702 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8706 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8707 $as_echo_n "checking
for pow...
" >&6; }
8708 if test "${ac_cv_func_pow+set}" = set; then
8709 $as_echo_n "(cached
) " >&6
8711 cat >conftest.$ac_ext <<_ACEOF
8714 cat confdefs.h >>conftest.$ac_ext
8715 cat >>conftest.$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8717 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8719 #define pow innocuous_pow
8721 /* System header to define __stub macros and hopefully few prototypes,
8722 which can conflict with char pow (); below.
8723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8724 <limits.h> exists even on freestanding compilers. */
8727 # include <limits.h>
8729 # include <assert.h>
8734 /* Override any GCC internal prototype to avoid an error.
8735 Use char because int might match the return type of a GCC
8736 builtin and then its argument prototype would still apply. */
8741 /* The GNU C library defines this for functions which it implements
8742 to always fail with ENOSYS. Some functions are actually named
8743 something starting with __ and the normal name is an alias. */
8744 #if defined __stub_pow || defined __stub___pow
8756 rm -f conftest.$ac_objext conftest$ac_exeext
8757 if { (ac_try="$ac_link"
8759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8760 *) ac_try_echo=$ac_try;;
8762 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8763 $as_echo "$ac_try_echo") >&5
8764 (eval "$ac_link") 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8770 (exit $ac_status); } && {
8771 test -z "$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8773 } && test -s conftest$ac_exeext && {
8774 test "$cross_compiling" = yes ||
8775 $as_test_x conftest$ac_exeext
8779 $as_echo "$as_me: failed program was
:" >&5
8780 sed 's/^/| /' conftest.$ac_ext >&5
8785 rm -rf conftest.dSYM
8786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8787 conftest$ac_exeext conftest.$ac_ext
8789 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8790 $as_echo "$ac_cv_func_pow" >&6; }
8792 if test $ac_cv_func_pow = no; then
8793 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8794 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8795 if test "${ac_cv_lib_m_pow+set}" = set; then
8796 $as_echo_n "(cached
) " >&6
8798 ac_check_lib_save_LIBS=$LIBS
8800 cat >conftest.$ac_ext <<_ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8807 /* Override any GCC internal prototype to avoid an error.
8808 Use char because int might match the return type of a GCC
8809 builtin and then its argument prototype would still apply. */
8822 rm -f conftest.$ac_objext conftest$ac_exeext
8823 if { (ac_try="$ac_link"
8825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8826 *) ac_try_echo=$ac_try;;
8828 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8829 $as_echo "$ac_try_echo") >&5
8830 (eval "$ac_link") 2>conftest.er1
8832 grep -v '^ *+' conftest.er1 >conftest.err
8834 cat conftest.err >&5
8835 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8836 (exit $ac_status); } && {
8837 test -z "$ac_c_werror_flag" ||
8838 test ! -s conftest.err
8839 } && test -s conftest$ac_exeext && {
8840 test "$cross_compiling" = yes ||
8841 $as_test_x conftest$ac_exeext
8845 $as_echo "$as_me: failed program was
:" >&5
8846 sed 's/^/| /' conftest.$ac_ext >&5
8851 rm -rf conftest.dSYM
8852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8853 conftest$ac_exeext conftest.$ac_ext
8854 LIBS=$ac_check_lib_save_LIBS
8856 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8857 $as_echo "$ac_cv_lib_m_pow" >&6; }
8858 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8861 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8862 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8870 for ac_func in vprintf
8872 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8873 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8874 $as_echo_n "checking
for $ac_func...
" >&6; }
8875 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8876 $as_echo_n "(cached
) " >&6
8878 cat >conftest.$ac_ext <<_ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8886 #define $ac_func innocuous_$ac_func
8888 /* System header to define __stub macros and hopefully few prototypes,
8889 which can conflict with char $ac_func (); below.
8890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8891 <limits.h> exists even on freestanding compilers. */
8894 # include <limits.h>
8896 # include <assert.h>
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8908 /* The GNU C library defines this for functions which it implements
8909 to always fail with ENOSYS. Some functions are actually named
8910 something starting with __ and the normal name is an alias. */
8911 #if defined __stub_$ac_func || defined __stub___$ac_func
8923 rm -f conftest.$ac_objext conftest$ac_exeext
8924 if { (ac_try="$ac_link"
8926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8927 *) ac_try_echo=$ac_try;;
8929 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8930 $as_echo "$ac_try_echo") >&5
8931 (eval "$ac_link") 2>conftest.er1
8933 grep -v '^ *+' conftest.er1 >conftest.err
8935 cat conftest.err >&5
8936 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8937 (exit $ac_status); } && {
8938 test -z "$ac_c_werror_flag" ||
8939 test ! -s conftest.err
8940 } && test -s conftest$ac_exeext && {
8941 test "$cross_compiling" = yes ||
8942 $as_test_x conftest$ac_exeext
8944 eval "$as_ac_var=yes"
8946 $as_echo "$as_me: failed program was
:" >&5
8947 sed 's/^/| /' conftest.$ac_ext >&5
8949 eval "$as_ac_var=no
"
8952 rm -rf conftest.dSYM
8953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8954 conftest$ac_exeext conftest.$ac_ext
8956 ac_res=`eval 'as_val=${'$as_ac_var'}
8957 $as_echo "$as_val"'`
8958 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8959 $as_echo "$ac_res" >&6; }
8960 as_val=`eval 'as_val=${'$as_ac_var'}
8961 $as_echo "$as_val"'`
8962 if test "x
$as_val" = x""yes; then
8963 cat >>confdefs.h <<_ACEOF
8964 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8967 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8968 $as_echo_n "checking
for _doprnt...
" >&6; }
8969 if test "${ac_cv_func__doprnt+set}" = set; then
8970 $as_echo_n "(cached
) " >&6
8972 cat >conftest.$ac_ext <<_ACEOF
8975 cat confdefs.h >>conftest.$ac_ext
8976 cat >>conftest.$ac_ext <<_ACEOF
8977 /* end confdefs.h. */
8978 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8980 #define _doprnt innocuous__doprnt
8982 /* System header to define __stub macros and hopefully few prototypes,
8983 which can conflict with char _doprnt (); below.
8984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8985 <limits.h> exists even on freestanding compilers. */
8988 # include <limits.h>
8990 # include <assert.h>
8995 /* Override any GCC internal prototype to avoid an error.
8996 Use char because int might match the return type of a GCC
8997 builtin and then its argument prototype would still apply. */
9002 /* The GNU C library defines this for functions which it implements
9003 to always fail with ENOSYS. Some functions are actually named
9004 something starting with __ and the normal name is an alias. */
9005 #if defined __stub__doprnt || defined __stub____doprnt
9017 rm -f conftest.$ac_objext conftest$ac_exeext
9018 if { (ac_try="$ac_link"
9020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9021 *) ac_try_echo=$ac_try;;
9023 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9024 $as_echo "$ac_try_echo") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext && {
9035 test "$cross_compiling" = yes ||
9036 $as_test_x conftest$ac_exeext
9038 ac_cv_func__doprnt=yes
9040 $as_echo "$as_me: failed program was
:" >&5
9041 sed 's/^/| /' conftest.$ac_ext >&5
9043 ac_cv_func__doprnt=no
9046 rm -rf conftest.dSYM
9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9050 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9051 $as_echo "$ac_cv_func__doprnt" >&6; }
9052 if test "x
$ac_cv_func__doprnt" = x""yes; then
9054 cat >>confdefs.h <<\_ACEOF
9055 #define HAVE_DOPRNT 1
9065 ################################################################################
9066 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9067 $as_echo_n "checking whether to use static linking...
" >&6; }
9068 # Check whether --enable-static_link was given.
9069 if test "${enable_static_link+set}" = set; then
9070 enableval=$enable_static_link; STATIC_LINK=$enableval
9075 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9076 $as_echo "$STATIC_LINK" >&6; }
9078 ################################################################################
9081 ################################################################################
9082 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9083 $as_echo_n "checking
file owner...
" >&6; }
9087 # Check whether --with-user was given.
9088 if test "${with_user+set}" = set; then
9089 withval=$with_user; OWNER="$withval"
9092 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9093 $as_echo "$OWNER" >&6; }
9095 if test x$OWNER != x; then
9099 ################################################################################
9100 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9101 $as_echo_n "checking group owner...
" >&6; }
9104 # Check whether --with-group was given.
9105 if test "${with_group+set}" = set; then
9106 withval=$with_group; GROUP="$withval"
9109 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9110 $as_echo "$GROUP" >&6; }
9112 if test x$GROUP != x; then
9116 ################################################################################
9117 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9118 $as_echo_n "checking device node uid...
" >&6; }
9121 # Check whether --with-device-uid was given.
9122 if test "${with_device_uid+set}" = set; then
9123 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9128 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9129 $as_echo "$DM_DEVICE_UID" >&6; }
9131 ################################################################################
9132 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9133 $as_echo_n "checking device node gid...
" >&6; }
9136 # Check whether --with-device-gid was given.
9137 if test "${with_device_gid+set}" = set; then
9138 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9143 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9144 $as_echo "$DM_DEVICE_GID" >&6; }
9146 ################################################################################
9147 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9148 $as_echo_n "checking device node mode...
" >&6; }
9151 # Check whether --with-device-mode was given.
9152 if test "${with_device_mode+set}" = set; then
9153 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9155 DM_DEVICE_MODE="0600"
9158 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9159 $as_echo "$DM_DEVICE_MODE" >&6; }
9161 ################################################################################
9162 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9163 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9164 # Check whether --enable-lvm1_fallback was given.
9165 if test "${enable_lvm1_fallback+set}" = set; then
9166 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9171 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9172 $as_echo "$LVM1_FALLBACK" >&6; }
9174 if test x$LVM1_FALLBACK = xyes; then
9176 cat >>confdefs.h <<\_ACEOF
9177 #define LVM1_FALLBACK 1
9182 ################################################################################
9183 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9184 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9186 # Check whether --with-lvm1 was given.
9187 if test "${with_lvm1+set}" = set; then
9188 withval=$with_lvm1; LVM1="$withval"
9193 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9194 $as_echo "$LVM1" >&6; }
9196 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9197 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9199 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9201 { (exit 1); exit 1; }; }
9204 if test x$LVM1 = xinternal; then
9206 cat >>confdefs.h <<\_ACEOF
9207 #define LVM1_INTERNAL 1
9212 ################################################################################
9213 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9214 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9216 # Check whether --with-pool was given.
9217 if test "${with_pool+set}" = set; then
9218 withval=$with_pool; POOL="$withval"
9223 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9224 $as_echo "$POOL" >&6; }
9226 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9227 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9229 $as_echo "$as_me: error
: --with-pool parameter invalid
9231 { (exit 1); exit 1; }; }
9234 if test x$POOL = xinternal; then
9236 cat >>confdefs.h <<\_ACEOF
9237 #define POOL_INTERNAL 1
9242 ################################################################################
9243 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9244 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9246 # Check whether --with-cluster was given.
9247 if test "${with_cluster+set}" = set; then
9248 withval=$with_cluster; CLUSTER="$withval"
9251 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9252 $as_echo "$CLUSTER" >&6; }
9254 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9255 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9257 $as_echo "$as_me: error
: --with-cluster parameter invalid
9259 { (exit 1); exit 1; }; }
9262 if test x$CLUSTER = xinternal; then
9264 cat >>confdefs.h <<\_ACEOF
9265 #define CLUSTER_LOCKING_INTERNAL 1
9270 ################################################################################
9271 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9272 $as_echo_n "checking whether to include snapshots...
" >&6; }
9274 # Check whether --with-snapshots was given.
9275 if test "${with_snapshots+set}" = set; then
9276 withval=$with_snapshots; SNAPSHOTS="$withval"
9278 SNAPSHOTS="internal
"
9281 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9282 $as_echo "$SNAPSHOTS" >&6; }
9284 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9285 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9287 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9289 { (exit 1); exit 1; }; }
9292 if test x$SNAPSHOTS = xinternal; then
9294 cat >>confdefs.h <<\_ACEOF
9295 #define SNAPSHOT_INTERNAL 1
9300 ################################################################################
9301 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9302 $as_echo_n "checking whether to include mirrors...
" >&6; }
9304 # Check whether --with-mirrors was given.
9305 if test "${with_mirrors+set}" = set; then
9306 withval=$with_mirrors; MIRRORS="$withval"
9311 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9312 $as_echo "$MIRRORS" >&6; }
9314 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9315 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9317 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9319 { (exit 1); exit 1; }; }
9322 if test x$MIRRORS = xinternal; then
9324 cat >>confdefs.h <<\_ACEOF
9325 #define MIRRORED_INTERNAL 1
9330 ################################################################################
9331 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9332 $as_echo_n "checking whether to
enable readline...
" >&6; }
9333 # Check whether --enable-readline was given.
9334 if test "${enable_readline+set}" = set; then
9335 enableval=$enable_readline; READLINE=$enableval
9340 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9341 $as_echo "$READLINE" >&6; }
9343 ################################################################################
9344 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9345 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9346 # Check whether --enable-realtime was given.
9347 if test "${enable_realtime+set}" = set; then
9348 enableval=$enable_realtime; REALTIME=$enableval
9351 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9352 $as_echo "$REALTIME" >&6; }
9354 ################################################################################
9358 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9359 if test -n "$ac_tool_prefix"; then
9360 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9361 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9362 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9363 $as_echo_n "checking
for $ac_word...
" >&6; }
9364 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9365 $as_echo_n "(cached
) " >&6
9369 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9376 test -z "$as_dir" && as_dir=.
9377 for ac_exec_ext in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9380 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9390 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9391 if test -n "$PKG_CONFIG"; then
9392 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9393 $as_echo "$PKG_CONFIG" >&6; }
9395 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9396 $as_echo "no
" >&6; }
9401 if test -z "$ac_cv_path_PKG_CONFIG"; then
9402 ac_pt_PKG_CONFIG=$PKG_CONFIG
9403 # Extract the first word of "pkg-config
", so it can be a program name with args.
9404 set dummy pkg-config; ac_word=$2
9405 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9406 $as_echo_n "checking
for $ac_word...
" >&6; }
9407 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9408 $as_echo_n "(cached
) " >&6
9410 case $ac_pt_PKG_CONFIG in
9412 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 test -z "$as_dir" && as_dir=.
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9422 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9423 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9433 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9434 if test -n "$ac_pt_PKG_CONFIG"; then
9435 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9436 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9438 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9439 $as_echo "no
" >&6; }
9442 if test "x
$ac_pt_PKG_CONFIG" = x; then
9445 case $cross_compiling:$ac_tool_warned in
9447 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9448 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9449 ac_tool_warned=yes ;;
9451 PKG_CONFIG=$ac_pt_PKG_CONFIG
9454 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9458 if test -n "$PKG_CONFIG"; then
9459 _pkg_min_version=0.9.0
9460 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9461 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9462 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9463 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9464 $as_echo "yes" >&6; }
9466 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9467 $as_echo "no
" >&6; }
9474 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9475 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9477 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9478 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9479 elif test -n "$PKG_CONFIG"; then
9480 if test -n "$PKG_CONFIG" && \
9481 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9482 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9484 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9485 (exit $ac_status); }; then
9486 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9493 if test -n "$PKGCONFIGINIT_LIBS"; then
9494 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9495 elif test -n "$PKG_CONFIG"; then
9496 if test -n "$PKG_CONFIG" && \
9497 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9498 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9500 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9501 (exit $ac_status); }; then
9502 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9512 if test $pkg_failed = yes; then
9514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9515 _pkg_short_errors_supported=yes
9517 _pkg_short_errors_supported=no
9519 if test $_pkg_short_errors_supported = yes; then
9520 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9522 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9524 # Put the nasty error message in config.log where it belongs
9525 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9527 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9528 $as_echo "no
" >&6; }
9529 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9530 $as_echo "pkg-config initialized
" >&6; }
9531 elif test $pkg_failed = untried; then
9532 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9533 $as_echo "pkg-config initialized
" >&6; }
9535 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9536 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9537 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9538 $as_echo "yes" >&6; }
9544 ################################################################################
9545 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9546 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9548 # Check whether --with-clvmd was given.
9549 if test "${with_clvmd+set}" = set; then
9550 withval=$with_clvmd; CLVMD="$withval"
9555 if test x$CLVMD = xyes; then
9558 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9559 $as_echo "$CLVMD" >&6; }
9561 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9565 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9570 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9573 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9576 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9579 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9583 if test x$BUILDGULM = xyes; then
9584 if test x$BUILDCOROSYNC = xyes || \
9585 test x$BUILDOPENAIS = xyes; then
9586 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9587 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9588 { (exit 1); exit 1; }; }
9597 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9598 $as_echo "$as_me: error
: bailing out
" >&2;}
9599 { (exit 1); exit 1; }; }
9602 if test x$CLVMD = xall; then
9603 bailout=soft_bailout
9609 bailout=hard_bailout
9612 check_lib_no_libs() {
9619 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9620 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9621 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9622 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9623 $as_echo_n "(cached
) " >&6
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9640 char $lib_no_libs_arg2 ();
9644 return $lib_no_libs_arg2 ();
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9655 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9656 $as_echo "$ac_try_echo") >&5
9657 (eval "$ac_link") 2>conftest.er1
9659 grep -v '^ *+' conftest.er1 >conftest.err
9661 cat conftest.err >&5
9662 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9663 (exit $ac_status); } && {
9664 test -z "$ac_c_werror_flag" ||
9665 test ! -s conftest.err
9666 } && test -s conftest$ac_exeext && {
9667 test "$cross_compiling" = yes ||
9668 $as_test_x conftest$ac_exeext
9670 eval "$as_ac_Lib=yes"
9672 $as_echo "$as_me: failed program was
:" >&5
9673 sed 's/^/| /' conftest.$ac_ext >&5
9675 eval "$as_ac_Lib=no
"
9678 rm -rf conftest.dSYM
9679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_lib_save_LIBS
9683 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9684 $as_echo "$as_val"'`
9685 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9686 $as_echo "$ac_res" >&6; }
9687 as_val=`eval 'as_val=${'$as_ac_Lib'}
9688 $as_echo "$as_val"'`
9689 if test "x
$as_val" = x""yes; then
9690 cat >>confdefs.h <<_ACEOF
9691 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9694 LIBS="-l$lib_no_libs_arg1 $LIBS"
9700 LIBS=$ac_check_lib_save_LIBS
9703 if test x$BUILDGULM = xyes; then
9706 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9707 $as_echo_n "checking
for CCS...
" >&6; }
9709 if test -n "$CCS_CFLAGS"; then
9710 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9711 elif test -n "$PKG_CONFIG"; then
9712 if test -n "$PKG_CONFIG" && \
9713 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9714 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9716 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9717 (exit $ac_status); }; then
9718 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9725 if test -n "$CCS_LIBS"; then
9726 pkg_cv_CCS_LIBS="$CCS_LIBS"
9727 elif test -n "$PKG_CONFIG"; then
9728 if test -n "$PKG_CONFIG" && \
9729 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9730 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9732 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9733 (exit $ac_status); }; then
9734 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9744 if test $pkg_failed = yes; then
9746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9747 _pkg_short_errors_supported=yes
9749 _pkg_short_errors_supported=no
9751 if test $_pkg_short_errors_supported = yes; then
9752 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9754 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9756 # Put the nasty error message in config.log where it belongs
9757 echo "$CCS_PKG_ERRORS" >&5
9759 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9760 $as_echo "no
" >&6; }
9763 for ac_header in ccs.h
9765 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9766 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9767 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9768 $as_echo_n "checking
for $ac_header...
" >&6; }
9769 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9770 $as_echo_n "(cached
) " >&6
9772 ac_res=`eval 'as_val=${'$as_ac_Header'}
9773 $as_echo "$as_val"'`
9774 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9775 $as_echo "$ac_res" >&6; }
9777 # Is the header compilable?
9778 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9779 $as_echo_n "checking
$ac_header usability...
" >&6; }
9780 cat >conftest.$ac_ext <<_ACEOF
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9786 $ac_includes_default
9787 #include <$ac_header>
9789 rm -f conftest.$ac_objext
9790 if { (ac_try="$ac_compile"
9792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9793 *) ac_try_echo=$ac_try;;
9795 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9796 $as_echo "$ac_try_echo") >&5
9797 (eval "$ac_compile") 2>conftest.er1
9799 grep -v '^ *+' conftest.er1 >conftest.err
9801 cat conftest.err >&5
9802 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9803 (exit $ac_status); } && {
9804 test -z "$ac_c_werror_flag" ||
9805 test ! -s conftest.err
9806 } && test -s conftest.$ac_objext; then
9807 ac_header_compiler=yes
9809 $as_echo "$as_me: failed program was
:" >&5
9810 sed 's/^/| /' conftest.$ac_ext >&5
9812 ac_header_compiler=no
9815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9816 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9817 $as_echo "$ac_header_compiler" >&6; }
9819 # Is the header present?
9820 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9821 $as_echo_n "checking
$ac_header presence...
" >&6; }
9822 cat >conftest.$ac_ext <<_ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 #include <$ac_header>
9830 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9833 *) ac_try_echo=$ac_try;;
9835 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9836 $as_echo "$ac_try_echo") >&5
9837 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9839 grep -v '^ *+' conftest.er1 >conftest.err
9841 cat conftest.err >&5
9842 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9843 (exit $ac_status); } >/dev/null && {
9844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9845 test ! -s conftest.err
9847 ac_header_preproc=yes
9849 $as_echo "$as_me: failed program was
:" >&5
9850 sed 's/^/| /' conftest.$ac_ext >&5
9852 ac_header_preproc=no
9855 rm -f conftest.err conftest.$ac_ext
9856 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9857 $as_echo "$ac_header_preproc" >&6; }
9859 # So? What about this header?
9860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9862 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9863 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9864 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9865 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9866 ac_header_preproc=yes
9869 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9870 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9871 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9872 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9873 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9874 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9875 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9876 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9878 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9879 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9880 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9884 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9885 $as_echo_n "checking
for $ac_header...
" >&6; }
9886 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9887 $as_echo_n "(cached
) " >&6
9889 eval "$as_ac_Header=\
$ac_header_preproc"
9891 ac_res=`eval 'as_val=${'$as_ac_Header'}
9892 $as_echo "$as_val"'`
9893 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9894 $as_echo "$ac_res" >&6; }
9897 as_val=`eval 'as_val=${'$as_ac_Header'}
9898 $as_echo "$as_val"'`
9899 if test "x
$as_val" = x""yes; then
9900 cat >>confdefs.h <<_ACEOF
9901 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9910 check_lib_no_libs ccs ccs_connect
9911 if test $NOTFOUND = 0; then
9912 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9913 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9917 elif test $pkg_failed = untried; then
9920 for ac_header in ccs.h
9922 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9923 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9924 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9925 $as_echo_n "checking
for $ac_header...
" >&6; }
9926 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9927 $as_echo_n "(cached
) " >&6
9929 ac_res=`eval 'as_val=${'$as_ac_Header'}
9930 $as_echo "$as_val"'`
9931 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9932 $as_echo "$ac_res" >&6; }
9934 # Is the header compilable?
9935 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9936 $as_echo_n "checking
$ac_header usability...
" >&6; }
9937 cat >conftest.$ac_ext <<_ACEOF
9940 cat confdefs.h >>conftest.$ac_ext
9941 cat >>conftest.$ac_ext <<_ACEOF
9942 /* end confdefs.h. */
9943 $ac_includes_default
9944 #include <$ac_header>
9946 rm -f conftest.$ac_objext
9947 if { (ac_try="$ac_compile"
9949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9950 *) ac_try_echo=$ac_try;;
9952 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9953 $as_echo "$ac_try_echo") >&5
9954 (eval "$ac_compile") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest.$ac_objext; then
9964 ac_header_compiler=yes
9966 $as_echo "$as_me: failed program was
:" >&5
9967 sed 's/^/| /' conftest.$ac_ext >&5
9969 ac_header_compiler=no
9972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9973 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9974 $as_echo "$ac_header_compiler" >&6; }
9976 # Is the header present?
9977 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9978 $as_echo_n "checking
$ac_header presence...
" >&6; }
9979 cat >conftest.$ac_ext <<_ACEOF
9982 cat confdefs.h >>conftest.$ac_ext
9983 cat >>conftest.$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9985 #include <$ac_header>
9987 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9990 *) ac_try_echo=$ac_try;;
9992 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9993 $as_echo "$ac_try_echo") >&5
9994 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9996 grep -v '^ *+' conftest.er1 >conftest.err
9998 cat conftest.err >&5
9999 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10000 (exit $ac_status); } >/dev/null && {
10001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10002 test ! -s conftest.err
10004 ac_header_preproc=yes
10006 $as_echo "$as_me: failed program was
:" >&5
10007 sed 's/^/| /' conftest.$ac_ext >&5
10009 ac_header_preproc=no
10012 rm -f conftest.err conftest.$ac_ext
10013 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10014 $as_echo "$ac_header_preproc" >&6; }
10016 # So? What about this header?
10017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10019 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10020 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10021 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10023 ac_header_preproc=yes
10026 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10027 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10028 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10029 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10030 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10031 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10032 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10033 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10034 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10035 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10036 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10037 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10041 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10042 $as_echo_n "checking
for $ac_header...
" >&6; }
10043 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10044 $as_echo_n "(cached
) " >&6
10046 eval "$as_ac_Header=\
$ac_header_preproc"
10048 ac_res=`eval 'as_val=${'$as_ac_Header'}
10049 $as_echo "$as_val"'`
10050 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10051 $as_echo "$ac_res" >&6; }
10054 as_val=`eval 'as_val=${'$as_ac_Header'}
10055 $as_echo "$as_val"'`
10056 if test "x
$as_val" = x""yes; then
10057 cat >>confdefs.h <<_ACEOF
10058 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10067 check_lib_no_libs ccs ccs_connect
10068 if test $NOTFOUND = 0; then
10069 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10070 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10075 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10076 CCS_LIBS=$pkg_cv_CCS_LIBS
10077 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10078 $as_echo "yes" >&6; }
10083 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10084 $as_echo_n "checking
for GULM...
" >&6; }
10086 if test -n "$GULM_CFLAGS"; then
10087 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10088 elif test -n "$PKG_CONFIG"; then
10089 if test -n "$PKG_CONFIG" && \
10090 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10091 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10093 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10094 (exit $ac_status); }; then
10095 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10102 if test -n "$GULM_LIBS"; then
10103 pkg_cv_GULM_LIBS="$GULM_LIBS"
10104 elif test -n "$PKG_CONFIG"; then
10105 if test -n "$PKG_CONFIG" && \
10106 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10107 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10109 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10110 (exit $ac_status); }; then
10111 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10121 if test $pkg_failed = yes; then
10123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10124 _pkg_short_errors_supported=yes
10126 _pkg_short_errors_supported=no
10128 if test $_pkg_short_errors_supported = yes; then
10129 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10131 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10133 # Put the nasty error message in config.log where it belongs
10134 echo "$GULM_PKG_ERRORS" >&5
10136 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10137 $as_echo "no
" >&6; }
10140 for ac_header in libgulm.h
10142 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10143 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10144 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10145 $as_echo_n "checking
for $ac_header...
" >&6; }
10146 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10147 $as_echo_n "(cached
) " >&6
10149 ac_res=`eval 'as_val=${'$as_ac_Header'}
10150 $as_echo "$as_val"'`
10151 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10152 $as_echo "$ac_res" >&6; }
10154 # Is the header compilable?
10155 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10156 $as_echo_n "checking
$ac_header usability...
" >&6; }
10157 cat >conftest.$ac_ext <<_ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10163 $ac_includes_default
10164 #include <$ac_header>
10166 rm -f conftest.$ac_objext
10167 if { (ac_try="$ac_compile"
10168 case "(($ac_try" in
10169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10170 *) ac_try_echo=$ac_try;;
10172 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10173 $as_echo "$ac_try_echo") >&5
10174 (eval "$ac_compile") 2>conftest.er1
10176 grep -v '^ *+' conftest.er1 >conftest.err
10178 cat conftest.err >&5
10179 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10180 (exit $ac_status); } && {
10181 test -z "$ac_c_werror_flag" ||
10182 test ! -s conftest.err
10183 } && test -s conftest.$ac_objext; then
10184 ac_header_compiler=yes
10186 $as_echo "$as_me: failed program was
:" >&5
10187 sed 's/^/| /' conftest.$ac_ext >&5
10189 ac_header_compiler=no
10192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10193 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10194 $as_echo "$ac_header_compiler" >&6; }
10196 # Is the header present?
10197 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10198 $as_echo_n "checking
$ac_header presence...
" >&6; }
10199 cat >conftest.$ac_ext <<_ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10205 #include <$ac_header>
10207 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10208 case "(($ac_try" in
10209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10210 *) ac_try_echo=$ac_try;;
10212 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10213 $as_echo "$ac_try_echo") >&5
10214 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10216 grep -v '^ *+' conftest.er1 >conftest.err
10218 cat conftest.err >&5
10219 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10220 (exit $ac_status); } >/dev/null && {
10221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10222 test ! -s conftest.err
10224 ac_header_preproc=yes
10226 $as_echo "$as_me: failed program was
:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10229 ac_header_preproc=no
10232 rm -f conftest.err conftest.$ac_ext
10233 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10234 $as_echo "$ac_header_preproc" >&6; }
10236 # So? What about this header?
10237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10240 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10242 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10243 ac_header_preproc=yes
10246 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10247 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10248 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10249 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10250 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10251 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10252 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10253 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10254 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10255 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10256 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10257 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10261 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10262 $as_echo_n "checking
for $ac_header...
" >&6; }
10263 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10264 $as_echo_n "(cached
) " >&6
10266 eval "$as_ac_Header=\
$ac_header_preproc"
10268 ac_res=`eval 'as_val=${'$as_ac_Header'}
10269 $as_echo "$as_val"'`
10270 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10271 $as_echo "$ac_res" >&6; }
10274 as_val=`eval 'as_val=${'$as_ac_Header'}
10275 $as_echo "$as_val"'`
10276 if test "x
$as_val" = x""yes; then
10277 cat >>confdefs.h <<_ACEOF
10278 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10287 check_lib_no_libs gulm lg_core_login
10288 if test $NOTFOUND = 0; then
10289 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10290 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10294 elif test $pkg_failed = untried; then
10297 for ac_header in libgulm.h
10299 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10300 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10301 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10302 $as_echo_n "checking
for $ac_header...
" >&6; }
10303 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10304 $as_echo_n "(cached
) " >&6
10306 ac_res=`eval 'as_val=${'$as_ac_Header'}
10307 $as_echo "$as_val"'`
10308 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10309 $as_echo "$ac_res" >&6; }
10311 # Is the header compilable?
10312 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10313 $as_echo_n "checking
$ac_header usability...
" >&6; }
10314 cat >conftest.$ac_ext <<_ACEOF
10317 cat confdefs.h >>conftest.$ac_ext
10318 cat >>conftest.$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10320 $ac_includes_default
10321 #include <$ac_header>
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10329 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10330 $as_echo "$ac_try_echo") >&5
10331 (eval "$ac_compile") 2>conftest.er1
10333 grep -v '^ *+' conftest.er1 >conftest.err
10335 cat conftest.err >&5
10336 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10337 (exit $ac_status); } && {
10338 test -z "$ac_c_werror_flag" ||
10339 test ! -s conftest.err
10340 } && test -s conftest.$ac_objext; then
10341 ac_header_compiler=yes
10343 $as_echo "$as_me: failed program was
:" >&5
10344 sed 's/^/| /' conftest.$ac_ext >&5
10346 ac_header_compiler=no
10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10351 $as_echo "$ac_header_compiler" >&6; }
10353 # Is the header present?
10354 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10355 $as_echo_n "checking
$ac_header presence...
" >&6; }
10356 cat >conftest.$ac_ext <<_ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362 #include <$ac_header>
10364 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10365 case "(($ac_try" in
10366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10370 $as_echo "$ac_try_echo") >&5
10371 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10373 grep -v '^ *+' conftest.er1 >conftest.err
10375 cat conftest.err >&5
10376 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10377 (exit $ac_status); } >/dev/null && {
10378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10381 ac_header_preproc=yes
10383 $as_echo "$as_me: failed program was
:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10386 ac_header_preproc=no
10389 rm -f conftest.err conftest.$ac_ext
10390 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10391 $as_echo "$ac_header_preproc" >&6; }
10393 # So? What about this header?
10394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10396 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10397 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10398 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10399 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10400 ac_header_preproc=yes
10403 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10404 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10405 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10406 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10407 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10408 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10409 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10410 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10411 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10412 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10413 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10414 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10418 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10419 $as_echo_n "checking
for $ac_header...
" >&6; }
10420 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10421 $as_echo_n "(cached
) " >&6
10423 eval "$as_ac_Header=\
$ac_header_preproc"
10425 ac_res=`eval 'as_val=${'$as_ac_Header'}
10426 $as_echo "$as_val"'`
10427 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10428 $as_echo "$ac_res" >&6; }
10431 as_val=`eval 'as_val=${'$as_ac_Header'}
10432 $as_echo "$as_val"'`
10433 if test "x
$as_val" = x""yes; then
10434 cat >>confdefs.h <<_ACEOF
10435 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10444 check_lib_no_libs gulm lg_core_login
10445 if test $NOTFOUND = 0; then
10446 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10447 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10452 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10453 GULM_LIBS=$pkg_cv_GULM_LIBS
10454 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10455 $as_echo "yes" >&6; }
10460 if test x$BUILDCMAN = xyes; then
10463 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10464 $as_echo_n "checking
for CMAN...
" >&6; }
10466 if test -n "$CMAN_CFLAGS"; then
10467 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10468 elif test -n "$PKG_CONFIG"; then
10469 if test -n "$PKG_CONFIG" && \
10470 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10471 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10473 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10474 (exit $ac_status); }; then
10475 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10482 if test -n "$CMAN_LIBS"; then
10483 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10484 elif test -n "$PKG_CONFIG"; then
10485 if test -n "$PKG_CONFIG" && \
10486 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10487 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10489 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10490 (exit $ac_status); }; then
10491 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10501 if test $pkg_failed = yes; then
10503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10504 _pkg_short_errors_supported=yes
10506 _pkg_short_errors_supported=no
10508 if test $_pkg_short_errors_supported = yes; then
10509 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10511 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10513 # Put the nasty error message in config.log where it belongs
10514 echo "$CMAN_PKG_ERRORS" >&5
10516 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10517 $as_echo "no
" >&6; }
10520 for ac_header in libcman.h
10522 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10523 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10524 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10525 $as_echo_n "checking
for $ac_header...
" >&6; }
10526 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10527 $as_echo_n "(cached
) " >&6
10529 ac_res=`eval 'as_val=${'$as_ac_Header'}
10530 $as_echo "$as_val"'`
10531 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10532 $as_echo "$ac_res" >&6; }
10534 # Is the header compilable?
10535 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10536 $as_echo_n "checking
$ac_header usability...
" >&6; }
10537 cat >conftest.$ac_ext <<_ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10543 $ac_includes_default
10544 #include <$ac_header>
10546 rm -f conftest.$ac_objext
10547 if { (ac_try="$ac_compile"
10548 case "(($ac_try" in
10549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10550 *) ac_try_echo=$ac_try;;
10552 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10553 $as_echo "$ac_try_echo") >&5
10554 (eval "$ac_compile") 2>conftest.er1
10556 grep -v '^ *+' conftest.er1 >conftest.err
10558 cat conftest.err >&5
10559 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10560 (exit $ac_status); } && {
10561 test -z "$ac_c_werror_flag" ||
10562 test ! -s conftest.err
10563 } && test -s conftest.$ac_objext; then
10564 ac_header_compiler=yes
10566 $as_echo "$as_me: failed program was
:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_header_compiler=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10573 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10574 $as_echo "$ac_header_compiler" >&6; }
10576 # Is the header present?
10577 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10578 $as_echo_n "checking
$ac_header presence...
" >&6; }
10579 cat >conftest.$ac_ext <<_ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10585 #include <$ac_header>
10587 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10588 case "(($ac_try" in
10589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10590 *) ac_try_echo=$ac_try;;
10592 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10593 $as_echo "$ac_try_echo") >&5
10594 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10596 grep -v '^ *+' conftest.er1 >conftest.err
10598 cat conftest.err >&5
10599 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10600 (exit $ac_status); } >/dev/null && {
10601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10602 test ! -s conftest.err
10604 ac_header_preproc=yes
10606 $as_echo "$as_me: failed program was
:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10609 ac_header_preproc=no
10612 rm -f conftest.err conftest.$ac_ext
10613 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10614 $as_echo "$ac_header_preproc" >&6; }
10616 # So? What about this header?
10617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10619 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10620 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10621 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10622 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10623 ac_header_preproc=yes
10626 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10627 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10628 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10629 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10630 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10631 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10632 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10633 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10634 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10635 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10636 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10637 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10641 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10642 $as_echo_n "checking
for $ac_header...
" >&6; }
10643 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10644 $as_echo_n "(cached
) " >&6
10646 eval "$as_ac_Header=\
$ac_header_preproc"
10648 ac_res=`eval 'as_val=${'$as_ac_Header'}
10649 $as_echo "$as_val"'`
10650 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10651 $as_echo "$ac_res" >&6; }
10654 as_val=`eval 'as_val=${'$as_ac_Header'}
10655 $as_echo "$as_val"'`
10656 if test "x
$as_val" = x""yes; then
10657 cat >>confdefs.h <<_ACEOF
10658 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10667 check_lib_no_libs cman cman_init
10668 if test $NOTFOUND = 0; then
10669 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10670 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10674 elif test $pkg_failed = untried; then
10677 for ac_header in libcman.h
10679 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10680 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10681 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10682 $as_echo_n "checking
for $ac_header...
" >&6; }
10683 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10684 $as_echo_n "(cached
) " >&6
10686 ac_res=`eval 'as_val=${'$as_ac_Header'}
10687 $as_echo "$as_val"'`
10688 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10689 $as_echo "$ac_res" >&6; }
10691 # Is the header compilable?
10692 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10693 $as_echo_n "checking
$ac_header usability...
" >&6; }
10694 cat >conftest.$ac_ext <<_ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 $ac_includes_default
10701 #include <$ac_header>
10703 rm -f conftest.$ac_objext
10704 if { (ac_try="$ac_compile"
10705 case "(($ac_try" in
10706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10707 *) ac_try_echo=$ac_try;;
10709 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10710 $as_echo "$ac_try_echo") >&5
10711 (eval "$ac_compile") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1 >conftest.err
10715 cat conftest.err >&5
10716 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10717 (exit $ac_status); } && {
10718 test -z "$ac_c_werror_flag" ||
10719 test ! -s conftest.err
10720 } && test -s conftest.$ac_objext; then
10721 ac_header_compiler=yes
10723 $as_echo "$as_me: failed program was
:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 ac_header_compiler=no
10729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10730 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10731 $as_echo "$ac_header_compiler" >&6; }
10733 # Is the header present?
10734 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10735 $as_echo_n "checking
$ac_header presence...
" >&6; }
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 #include <$ac_header>
10744 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10745 case "(($ac_try" in
10746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10747 *) ac_try_echo=$ac_try;;
10749 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10750 $as_echo "$ac_try_echo") >&5
10751 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10753 grep -v '^ *+' conftest.er1 >conftest.err
10755 cat conftest.err >&5
10756 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10757 (exit $ac_status); } >/dev/null && {
10758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10761 ac_header_preproc=yes
10763 $as_echo "$as_me: failed program was
:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10766 ac_header_preproc=no
10769 rm -f conftest.err conftest.$ac_ext
10770 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10771 $as_echo "$ac_header_preproc" >&6; }
10773 # So? What about this header?
10774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10776 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10777 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10778 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10780 ac_header_preproc=yes
10783 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10784 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10786 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10787 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10788 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10789 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10790 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10791 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10793 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10794 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10798 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10799 $as_echo_n "checking
for $ac_header...
" >&6; }
10800 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10801 $as_echo_n "(cached
) " >&6
10803 eval "$as_ac_Header=\
$ac_header_preproc"
10805 ac_res=`eval 'as_val=${'$as_ac_Header'}
10806 $as_echo "$as_val"'`
10807 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10808 $as_echo "$ac_res" >&6; }
10811 as_val=`eval 'as_val=${'$as_ac_Header'}
10812 $as_echo "$as_val"'`
10813 if test "x
$as_val" = x""yes; then
10814 cat >>confdefs.h <<_ACEOF
10815 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10824 check_lib_no_libs cman cman_init
10825 if test $NOTFOUND = 0; then
10826 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10827 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10832 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10833 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10834 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10835 $as_echo "yes" >&6; }
10842 if test x$BUILDCOROSYNC = xyes || \
10843 test x$BUILDOPENAIS = xyes; then
10846 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10847 $as_echo_n "checking
for COROSYNC...
" >&6; }
10849 if test -n "$COROSYNC_CFLAGS"; then
10850 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10851 elif test -n "$PKG_CONFIG"; then
10852 if test -n "$PKG_CONFIG" && \
10853 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10854 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10856 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10857 (exit $ac_status); }; then
10858 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10865 if test -n "$COROSYNC_LIBS"; then
10866 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10867 elif test -n "$PKG_CONFIG"; then
10868 if test -n "$PKG_CONFIG" && \
10869 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10870 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10872 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10873 (exit $ac_status); }; then
10874 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10884 if test $pkg_failed = yes; then
10886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10887 _pkg_short_errors_supported=yes
10889 _pkg_short_errors_supported=no
10891 if test $_pkg_short_errors_supported = yes; then
10892 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10894 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10896 # Put the nasty error message in config.log where it belongs
10897 echo "$COROSYNC_PKG_ERRORS" >&5
10899 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10900 $as_echo "no
" >&6; }
10902 elif test $pkg_failed = untried; then
10905 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10906 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10907 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10908 $as_echo "yes" >&6; }
10914 if test x$BUILDCOROSYNC = xyes; then
10917 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10918 $as_echo_n "checking
for QUORUM...
" >&6; }
10920 if test -n "$QUORUM_CFLAGS"; then
10921 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10922 elif test -n "$PKG_CONFIG"; then
10923 if test -n "$PKG_CONFIG" && \
10924 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10925 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10927 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10928 (exit $ac_status); }; then
10929 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10936 if test -n "$QUORUM_LIBS"; then
10937 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10938 elif test -n "$PKG_CONFIG"; then
10939 if test -n "$PKG_CONFIG" && \
10940 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10941 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10943 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10944 (exit $ac_status); }; then
10945 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10955 if test $pkg_failed = yes; then
10957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10958 _pkg_short_errors_supported=yes
10960 _pkg_short_errors_supported=no
10962 if test $_pkg_short_errors_supported = yes; then
10963 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10965 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10967 # Put the nasty error message in config.log where it belongs
10968 echo "$QUORUM_PKG_ERRORS" >&5
10970 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10971 $as_echo "no
" >&6; }
10973 elif test $pkg_failed = untried; then
10976 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10977 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10978 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10979 $as_echo "yes" >&6; }
10986 if test x$BUILDOPENAIS = xyes; then
10989 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
10990 $as_echo_n "checking
for SALCK...
" >&6; }
10992 if test -n "$SALCK_CFLAGS"; then
10993 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
10994 elif test -n "$PKG_CONFIG"; then
10995 if test -n "$PKG_CONFIG" && \
10996 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
10997 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
10999 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11000 (exit $ac_status); }; then
11001 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11008 if test -n "$SALCK_LIBS"; then
11009 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11010 elif test -n "$PKG_CONFIG"; then
11011 if test -n "$PKG_CONFIG" && \
11012 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11013 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11015 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11016 (exit $ac_status); }; then
11017 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11027 if test $pkg_failed = yes; then
11029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11030 _pkg_short_errors_supported=yes
11032 _pkg_short_errors_supported=no
11034 if test $_pkg_short_errors_supported = yes; then
11035 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11037 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11039 # Put the nasty error message in config.log where it belongs
11040 echo "$SALCK_PKG_ERRORS" >&5
11042 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11043 $as_echo "no
" >&6; }
11045 elif test $pkg_failed = untried; then
11048 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11049 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11050 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11051 $as_echo "yes" >&6; }
11059 if test x$CHECKCONFDB = xyes; then
11062 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11063 $as_echo_n "checking
for CONFDB...
" >&6; }
11065 if test -n "$CONFDB_CFLAGS"; then
11066 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11067 elif test -n "$PKG_CONFIG"; then
11068 if test -n "$PKG_CONFIG" && \
11069 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11070 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11072 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11073 (exit $ac_status); }; then
11074 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11081 if test -n "$CONFDB_LIBS"; then
11082 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11083 elif test -n "$PKG_CONFIG"; then
11084 if test -n "$PKG_CONFIG" && \
11085 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11086 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11088 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11089 (exit $ac_status); }; then
11090 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11100 if test $pkg_failed = yes; then
11102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11103 _pkg_short_errors_supported=yes
11105 _pkg_short_errors_supported=no
11107 if test $_pkg_short_errors_supported = yes; then
11108 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11110 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11112 # Put the nasty error message in config.log where it belongs
11113 echo "$CONFDB_PKG_ERRORS" >&5
11115 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11116 $as_echo "no
" >&6; }
11118 elif test $pkg_failed = untried; then
11121 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11122 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11123 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11124 $as_echo "yes" >&6; }
11129 for ac_header in corosync/confdb.h
11131 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11132 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11133 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11134 $as_echo_n "checking
for $ac_header...
" >&6; }
11135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11136 $as_echo_n "(cached
) " >&6
11138 ac_res=`eval 'as_val=${'$as_ac_Header'}
11139 $as_echo "$as_val"'`
11140 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11141 $as_echo "$ac_res" >&6; }
11143 # Is the header compilable?
11144 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11145 $as_echo_n "checking
$ac_header usability...
" >&6; }
11146 cat >conftest.$ac_ext <<_ACEOF
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11152 $ac_includes_default
11153 #include <$ac_header>
11155 rm -f conftest.$ac_objext
11156 if { (ac_try="$ac_compile"
11157 case "(($ac_try" in
11158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11159 *) ac_try_echo=$ac_try;;
11161 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11162 $as_echo "$ac_try_echo") >&5
11163 (eval "$ac_compile") 2>conftest.er1
11165 grep -v '^ *+' conftest.er1 >conftest.err
11167 cat conftest.err >&5
11168 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11169 (exit $ac_status); } && {
11170 test -z "$ac_c_werror_flag" ||
11171 test ! -s conftest.err
11172 } && test -s conftest.$ac_objext; then
11173 ac_header_compiler=yes
11175 $as_echo "$as_me: failed program was
:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11178 ac_header_compiler=no
11181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11182 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11183 $as_echo "$ac_header_compiler" >&6; }
11185 # Is the header present?
11186 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11187 $as_echo_n "checking
$ac_header presence...
" >&6; }
11188 cat >conftest.$ac_ext <<_ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 #include <$ac_header>
11196 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11197 case "(($ac_try" in
11198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11199 *) ac_try_echo=$ac_try;;
11201 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11202 $as_echo "$ac_try_echo") >&5
11203 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11205 grep -v '^ *+' conftest.er1 >conftest.err
11207 cat conftest.err >&5
11208 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11209 (exit $ac_status); } >/dev/null && {
11210 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11211 test ! -s conftest.err
11213 ac_header_preproc=yes
11215 $as_echo "$as_me: failed program was
:" >&5
11216 sed 's/^/| /' conftest.$ac_ext >&5
11218 ac_header_preproc=no
11221 rm -f conftest.err conftest.$ac_ext
11222 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11223 $as_echo "$ac_header_preproc" >&6; }
11225 # So? What about this header?
11226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11228 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11229 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11230 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11231 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11232 ac_header_preproc=yes
11235 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11236 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11237 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11238 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11240 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11242 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11244 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11246 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11250 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11251 $as_echo_n "checking
for $ac_header...
" >&6; }
11252 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11253 $as_echo_n "(cached
) " >&6
11255 eval "$as_ac_Header=\
$ac_header_preproc"
11257 ac_res=`eval 'as_val=${'$as_ac_Header'}
11258 $as_echo "$as_val"'`
11259 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11260 $as_echo "$ac_res" >&6; }
11263 as_val=`eval 'as_val=${'$as_ac_Header'}
11264 $as_echo "$as_val"'`
11265 if test "x
$as_val" = x""yes; then
11266 cat >>confdefs.h <<_ACEOF
11267 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11277 if test x$HAVE_CONFDB != xyes && \
11278 test x$HAVE_CONFDB_H = xyes; then
11279 check_lib_no_libs confdb confdb_initialize
11280 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11281 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11282 CONFDB_LIBS="-lconfdb"
11286 if test x$BUILDCOROSYNC = xyes && \
11287 test x$HAVE_CONFDB != xyes &&
11288 test x$CLVMD != xall; then
11289 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11290 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11291 { (exit 1); exit 1; }; }
11295 if test x$CHECKCPG = xyes; then
11298 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11299 $as_echo_n "checking
for CPG...
" >&6; }
11301 if test -n "$CPG_CFLAGS"; then
11302 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11303 elif test -n "$PKG_CONFIG"; then
11304 if test -n "$PKG_CONFIG" && \
11305 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11306 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11308 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11309 (exit $ac_status); }; then
11310 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11317 if test -n "$CPG_LIBS"; then
11318 pkg_cv_CPG_LIBS="$CPG_LIBS"
11319 elif test -n "$PKG_CONFIG"; then
11320 if test -n "$PKG_CONFIG" && \
11321 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11322 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11324 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11325 (exit $ac_status); }; then
11326 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11336 if test $pkg_failed = yes; then
11338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11339 _pkg_short_errors_supported=yes
11341 _pkg_short_errors_supported=no
11343 if test $_pkg_short_errors_supported = yes; then
11344 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11346 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11348 # Put the nasty error message in config.log where it belongs
11349 echo "$CPG_PKG_ERRORS" >&5
11351 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11352 $as_echo "no
" >&6; }
11354 elif test $pkg_failed = untried; then
11357 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11358 CPG_LIBS=$pkg_cv_CPG_LIBS
11359 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11360 $as_echo "yes" >&6; }
11365 if test x$CHECKDLM = xyes; then
11368 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11369 $as_echo_n "checking
for DLM...
" >&6; }
11371 if test -n "$DLM_CFLAGS"; then
11372 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11373 elif test -n "$PKG_CONFIG"; then
11374 if test -n "$PKG_CONFIG" && \
11375 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11376 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11378 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11379 (exit $ac_status); }; then
11380 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11387 if test -n "$DLM_LIBS"; then
11388 pkg_cv_DLM_LIBS="$DLM_LIBS"
11389 elif test -n "$PKG_CONFIG"; then
11390 if test -n "$PKG_CONFIG" && \
11391 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11392 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11394 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11395 (exit $ac_status); }; then
11396 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11406 if test $pkg_failed = yes; then
11408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11409 _pkg_short_errors_supported=yes
11411 _pkg_short_errors_supported=no
11413 if test $_pkg_short_errors_supported = yes; then
11414 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11416 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11418 # Put the nasty error message in config.log where it belongs
11419 echo "$DLM_PKG_ERRORS" >&5
11421 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11422 $as_echo "no
" >&6; }
11425 for ac_header in libdlm.h
11427 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11428 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11429 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11430 $as_echo_n "checking
for $ac_header...
" >&6; }
11431 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11432 $as_echo_n "(cached
) " >&6
11434 ac_res=`eval 'as_val=${'$as_ac_Header'}
11435 $as_echo "$as_val"'`
11436 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11437 $as_echo "$ac_res" >&6; }
11439 # Is the header compilable?
11440 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11441 $as_echo_n "checking
$ac_header usability...
" >&6; }
11442 cat >conftest.$ac_ext <<_ACEOF
11445 cat confdefs.h >>conftest.$ac_ext
11446 cat >>conftest.$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11448 $ac_includes_default
11449 #include <$ac_header>
11451 rm -f conftest.$ac_objext
11452 if { (ac_try="$ac_compile"
11453 case "(($ac_try" in
11454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11455 *) ac_try_echo=$ac_try;;
11457 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11458 $as_echo "$ac_try_echo") >&5
11459 (eval "$ac_compile") 2>conftest.er1
11461 grep -v '^ *+' conftest.er1 >conftest.err
11463 cat conftest.err >&5
11464 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11465 (exit $ac_status); } && {
11466 test -z "$ac_c_werror_flag" ||
11467 test ! -s conftest.err
11468 } && test -s conftest.$ac_objext; then
11469 ac_header_compiler=yes
11471 $as_echo "$as_me: failed program was
:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_header_compiler=no
11477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11478 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11479 $as_echo "$ac_header_compiler" >&6; }
11481 # Is the header present?
11482 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11483 $as_echo_n "checking
$ac_header presence...
" >&6; }
11484 cat >conftest.$ac_ext <<_ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 #include <$ac_header>
11492 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11493 case "(($ac_try" in
11494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11495 *) ac_try_echo=$ac_try;;
11497 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11498 $as_echo "$ac_try_echo") >&5
11499 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11501 grep -v '^ *+' conftest.er1 >conftest.err
11503 cat conftest.err >&5
11504 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11505 (exit $ac_status); } >/dev/null && {
11506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11507 test ! -s conftest.err
11509 ac_header_preproc=yes
11511 $as_echo "$as_me: failed program was
:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11514 ac_header_preproc=no
11517 rm -f conftest.err conftest.$ac_ext
11518 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11519 $as_echo "$ac_header_preproc" >&6; }
11521 # So? What about this header?
11522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11524 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11525 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11526 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11527 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11528 ac_header_preproc=yes
11531 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11532 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11533 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11534 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11535 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11536 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11537 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11538 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11539 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11540 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11541 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11542 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11546 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11547 $as_echo_n "checking
for $ac_header...
" >&6; }
11548 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11549 $as_echo_n "(cached
) " >&6
11551 eval "$as_ac_Header=\
$ac_header_preproc"
11553 ac_res=`eval 'as_val=${'$as_ac_Header'}
11554 $as_echo "$as_val"'`
11555 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11556 $as_echo "$ac_res" >&6; }
11559 as_val=`eval 'as_val=${'$as_ac_Header'}
11560 $as_echo "$as_val"'`
11561 if test "x
$as_val" = x""yes; then
11562 cat >>confdefs.h <<_ACEOF
11563 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11572 check_lib_no_libs dlm dlm_lock -lpthread
11573 if test $NOTFOUND = 0; then
11574 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11575 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11576 DLM_LIBS="-ldlm -lpthread"
11579 elif test $pkg_failed = untried; then
11582 for ac_header in libdlm.h
11584 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11585 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11586 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11587 $as_echo_n "checking
for $ac_header...
" >&6; }
11588 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11589 $as_echo_n "(cached
) " >&6
11591 ac_res=`eval 'as_val=${'$as_ac_Header'}
11592 $as_echo "$as_val"'`
11593 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11594 $as_echo "$ac_res" >&6; }
11596 # Is the header compilable?
11597 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11598 $as_echo_n "checking
$ac_header usability...
" >&6; }
11599 cat >conftest.$ac_ext <<_ACEOF
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11605 $ac_includes_default
11606 #include <$ac_header>
11608 rm -f conftest.$ac_objext
11609 if { (ac_try="$ac_compile"
11610 case "(($ac_try" in
11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11612 *) ac_try_echo=$ac_try;;
11614 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11615 $as_echo "$ac_try_echo") >&5
11616 (eval "$ac_compile") 2>conftest.er1
11618 grep -v '^ *+' conftest.er1 >conftest.err
11620 cat conftest.err >&5
11621 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11622 (exit $ac_status); } && {
11623 test -z "$ac_c_werror_flag" ||
11624 test ! -s conftest.err
11625 } && test -s conftest.$ac_objext; then
11626 ac_header_compiler=yes
11628 $as_echo "$as_me: failed program was
:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 ac_header_compiler=no
11634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11635 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11636 $as_echo "$ac_header_compiler" >&6; }
11638 # Is the header present?
11639 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11640 $as_echo_n "checking
$ac_header presence...
" >&6; }
11641 cat >conftest.$ac_ext <<_ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11647 #include <$ac_header>
11649 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11650 case "(($ac_try" in
11651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11652 *) ac_try_echo=$ac_try;;
11654 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11655 $as_echo "$ac_try_echo") >&5
11656 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11658 grep -v '^ *+' conftest.er1 >conftest.err
11660 cat conftest.err >&5
11661 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11662 (exit $ac_status); } >/dev/null && {
11663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11664 test ! -s conftest.err
11666 ac_header_preproc=yes
11668 $as_echo "$as_me: failed program was
:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11671 ac_header_preproc=no
11674 rm -f conftest.err conftest.$ac_ext
11675 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11676 $as_echo "$ac_header_preproc" >&6; }
11678 # So? What about this header?
11679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11681 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11682 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11683 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11684 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11685 ac_header_preproc=yes
11688 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11689 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11690 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11691 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11692 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11693 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11694 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11695 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11696 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11697 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11698 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11699 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11703 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11704 $as_echo_n "checking
for $ac_header...
" >&6; }
11705 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11706 $as_echo_n "(cached
) " >&6
11708 eval "$as_ac_Header=\
$ac_header_preproc"
11710 ac_res=`eval 'as_val=${'$as_ac_Header'}
11711 $as_echo "$as_val"'`
11712 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11713 $as_echo "$ac_res" >&6; }
11716 as_val=`eval 'as_val=${'$as_ac_Header'}
11717 $as_echo "$as_val"'`
11718 if test "x
$as_val" = x""yes; then
11719 cat >>confdefs.h <<_ACEOF
11720 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11729 check_lib_no_libs dlm dlm_lock -lpthread
11730 if test $NOTFOUND = 0; then
11731 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11732 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11733 DLM_LIBS="-ldlm -lpthread"
11737 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11738 DLM_LIBS=$pkg_cv_DLM_LIBS
11739 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11740 $as_echo "yes" >&6; }
11745 if test x$CLVMD = xall; then
11747 if test x$HAVE_CCS = xyes && \
11748 test x$HAVE_GULM = xyes; then
11749 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11750 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11751 CLVMD="$CLVMD,gulm
"
11753 if test x$HAVE_CMAN = xyes && \
11754 test x$HAVE_DLM = xyes; then
11755 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11756 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11757 CLVMD="$CLVMD,cman
"
11759 if test x$HAVE_COROSYNC = xyes && \
11760 test x$HAVE_QUORUM = xyes && \
11761 test x$HAVE_CPG = xyes && \
11762 test x$HAVE_DLM = xyes && \
11763 test x$HAVE_CONFDB = xyes; then
11764 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11765 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11766 CLVMD="$CLVMD,corosync
"
11768 if test x$HAVE_COROSYNC = xyes && \
11769 test x$HAVE_CPG = xyes && \
11770 test x$HAVE_SALCK = xyes; then
11771 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11772 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11773 CLVMD="$CLVMD,openais
"
11775 if test x$CLVMD = xnone; then
11776 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11777 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11781 ################################################################################
11782 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11783 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11784 # Check whether --enable-cmirrord was given.
11785 if test "${enable_cmirrord+set}" = set; then
11786 enableval=$enable_cmirrord; CMIRRORD=$enableval
11791 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11792 $as_echo "$CMIRRORD" >&6; }
11794 BUILD_CMIRRORD=$CMIRRORD
11796 ################################################################################
11799 if test "x
$BUILD_CMIRRORD" = xyes; then
11801 # Check whether --with-cmirrord-pidfile was given.
11802 if test "${with_cmirrord_pidfile+set}" = set; then
11803 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11804 #define CMIRRORD_PIDFILE "$withval"
11808 cat >>confdefs.h <<_ACEOF
11809 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11816 ################################################################################
11817 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11818 if test x$PKGCONFIG_INIT != x1; then
11823 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11824 $as_echo_n "checking
for SACKPT...
" >&6; }
11826 if test -n "$SACKPT_CFLAGS"; then
11827 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11828 elif test -n "$PKG_CONFIG"; then
11829 if test -n "$PKG_CONFIG" && \
11830 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11831 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11833 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11834 (exit $ac_status); }; then
11835 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11842 if test -n "$SACKPT_LIBS"; then
11843 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11844 elif test -n "$PKG_CONFIG"; then
11845 if test -n "$PKG_CONFIG" && \
11846 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11847 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11849 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11850 (exit $ac_status); }; then
11851 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11861 if test $pkg_failed = yes; then
11863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11864 _pkg_short_errors_supported=yes
11866 _pkg_short_errors_supported=no
11868 if test $_pkg_short_errors_supported = yes; then
11869 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11871 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11873 # Put the nasty error message in config.log where it belongs
11874 echo "$SACKPT_PKG_ERRORS" >&5
11876 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11880 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11881 installed software
in a non-standard prefix.
11883 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11884 and SACKPT_LIBS to avoid the need to call pkg-config.
11885 See the pkg-config man page
for more details.
11887 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11891 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11892 installed software
in a non-standard prefix.
11894 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11895 and SACKPT_LIBS to avoid the need to call pkg-config.
11896 See the pkg-config man page
for more details.
11898 { (exit 1); exit 1; }; }
11899 elif test $pkg_failed = untried; then
11900 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11902 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11903 is in your PATH or set the PKG_CONFIG environment variable to the full
11904 path to pkg-config.
11906 Alternatively, you may set the environment variables SACKPT_CFLAGS
11907 and SACKPT_LIBS to avoid the need to call pkg-config.
11908 See the pkg-config man page for more details.
11910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11911 See \`config.log' for more details.
" >&5
11912 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11913 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11914 path to pkg-config.
11916 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11917 and SACKPT_LIBS to avoid the need to call pkg-config.
11918 See the pkg-config man page
for more details.
11920 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11921 See \
`config.log' for more details." >&2;}
11922 { (exit 1); exit 1; }; }; }
11924 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11925 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11926 { $as_echo "$as_me:$LINENO: result: yes" >&5
11927 $as_echo "yes" >&6; }
11930 if test x$HAVE_CPG != xyes; then
11933 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11934 $as_echo_n "checking for CPG... " >&6; }
11936 if test -n "$CPG_CFLAGS"; then
11937 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11938 elif test -n "$PKG_CONFIG"; then
11939 if test -n "$PKG_CONFIG" && \
11940 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11941 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; then
11945 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11952 if test -n "$CPG_LIBS"; then
11953 pkg_cv_CPG_LIBS="$CPG_LIBS"
11954 elif test -n "$PKG_CONFIG"; then
11955 if test -n "$PKG_CONFIG" && \
11956 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11957 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; then
11961 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11971 if test $pkg_failed = yes; then
11973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11974 _pkg_short_errors_supported=yes
11976 _pkg_short_errors_supported=no
11978 if test $_pkg_short_errors_supported = yes; then
11979 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11981 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11983 # Put the nasty error message in config.log where it belongs
11984 echo "$CPG_PKG_ERRORS" >&5
11986 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
11990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11991 installed software in a non-standard prefix.
11993 Alternatively, you may set the environment variables CPG_CFLAGS
11994 and CPG_LIBS to avoid the need to call pkg-config.
11995 See the pkg-config man page for more details.
11997 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
12001 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12002 installed software in a non-standard prefix.
12004 Alternatively, you may set the environment variables CPG_CFLAGS
12005 and CPG_LIBS to avoid the need to call pkg-config.
12006 See the pkg-config man page for more details.
12008 { (exit 1); exit 1; }; }
12009 elif test $pkg_failed = untried; then
12010 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12012 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12013 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12014 path to pkg-config.
12016 Alternatively
, you may
set the environment variables CPG_CFLAGS
12017 and CPG_LIBS to avoid the need to call pkg-config.
12018 See the pkg-config man page
for more details.
12020 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12021 See \
`config.log' for more details." >&5
12022 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12023 is in your PATH or set the PKG_CONFIG environment variable to the full
12024 path to pkg-config.
12026 Alternatively, you may set the environment variables CPG_CFLAGS
12027 and CPG_LIBS to avoid the need to call pkg-config.
12028 See the pkg-config man page for more details.
12030 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12031 See \`config.log
' for more details." >&2;}
12032 { (exit 1); exit 1; }; }; }
12034 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12035 CPG_LIBS=$pkg_cv_CPG_LIBS
12036 { $as_echo "$as_me:$LINENO: result: yes" >&5
12037 $as_echo "yes" >&6; }
12043 ################################################################################
12044 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12045 $as_echo_n "checking whether to enable debugging... " >&6; }
12046 # Check whether --enable-debug was given.
12047 if test "${enable_debug+set}" = set; then
12048 enableval=$enable_debug; DEBUG=$enableval
12053 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12054 $as_echo "$DEBUG" >&6; }
12056 if test x$DEBUG = xyes; then
12062 ################################################################################
12063 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12064 $as_echo_n "checking for C optimisation flag... " >&6; }
12066 # Check whether --with-optimisation was given.
12067 if test "${with_optimisation+set}" = set; then
12068 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12071 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12072 $as_echo "$COPTIMISE_FLAG" >&6; }
12074 ################################################################################
12075 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12076 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12077 # Check whether --enable-profiling was given.
12078 if test "${enable_profiling+set}" = set; then
12079 enableval=$enable_profiling; PROFILING=$enableval
12084 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12085 $as_echo "$PROFILING" >&6; }
12087 if test "x$PROFILING" = xyes; then
12088 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12089 # Extract the first word of "lcov", so it can be a program name with args.
12090 set dummy lcov; ac_word=$2
12091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12092 $as_echo_n "checking for $ac_word... " >&6; }
12093 if test "${ac_cv_path_LCOV+set}" = set; then
12094 $as_echo_n "(cached) " >&6
12098 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12108 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12116 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
12120 LCOV=$ac_cv_path_LCOV
12121 if test -n "$LCOV"; then
12122 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12123 $as_echo "$LCOV" >&6; }
12125 { $as_echo "$as_me:$LINENO: result: no" >&5
12126 $as_echo "no" >&6; }
12130 # Extract the first word of "genhtml", so it can be a program name with args.
12131 set dummy genhtml; ac_word=$2
12132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12133 $as_echo_n "checking for $ac_word... " >&6; }
12134 if test "${ac_cv_path_GENHTML+set}" = set; then
12135 $as_echo_n "(cached) " >&6
12139 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143 for as_dir in $PATH
12146 test -z "$as_dir" && as_dir=.
12147 for ac_exec_ext in '' $ac_executable_extensions; do
12148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
12161 GENHTML=$ac_cv_path_GENHTML
12162 if test -n "$GENHTML"; then
12163 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12164 $as_echo "$GENHTML" >&6; }
12166 { $as_echo "$as_me:$LINENO: result: no" >&5
12167 $as_echo "no" >&6; }
12171 if test "$LCOV" = no -o "$GENHTML" = no ; then
12172 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12173 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12174 { (exit 1); exit 1; }; }
12178 ################################################################################
12179 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12180 $as_echo_n "checking whether to use device-mapper... " >&6; }
12181 # Check whether --enable-devmapper was given.
12182 if test "${enable_devmapper+set}" = set; then
12183 enableval=$enable_devmapper; DEVMAPPER=$enableval
12186 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12187 $as_echo "$DEVMAPPER" >&6; }
12189 if test x$DEVMAPPER = xyes; then
12191 cat >>confdefs.h <<\_ACEOF
12192 #define DEVMAPPER_SUPPORT 1
12197 ################################################################################
12198 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12199 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12200 # Check whether --enable-udev_sync was given.
12201 if test "${enable_udev_sync+set}" = set; then
12202 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12207 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12208 $as_echo "$UDEV_SYNC" >&6; }
12210 if test x$UDEV_SYNC = xyes; then
12212 cat >>confdefs.h <<\_ACEOF
12213 #define UDEV_SYNC_SUPPORT 1
12218 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12219 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12220 # Check whether --enable-udev_rules was given.
12221 if test "${enable_udev_rules+set}" = set; then
12222 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12224 UDEV_RULES=$UDEV_SYNC
12227 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12228 $as_echo "$UDEV_RULES" >&6; }
12230 ################################################################################
12232 if test x$UDEV_SYNC = xyes; then
12233 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12234 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12235 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12236 $as_echo_n "(cached) " >&6
12238 ac_check_lib_save_LIBS=$LIBS
12239 LIBS="-ludev $LIBS"
12240 cat >conftest.$ac_ext <<_ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12253 char udev_queue_get_udev_is_active ();
12257 return udev_queue_get_udev_is_active ();
12262 rm -f conftest.$ac_objext conftest$ac_exeext
12263 if { (ac_try="$ac_link"
12264 case "(($ac_try" in
12265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12266 *) ac_try_echo=$ac_try;;
12268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12269 $as_echo "$ac_try_echo") >&5
12270 (eval "$ac_link") 2>conftest.er1
12272 grep -v '^
*+' conftest.er1 >conftest.err
12274 cat conftest.err >&5
12275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } && {
12277 test -z "$ac_c_werror_flag" ||
12278 test ! -s conftest.err
12279 } && test -s conftest$ac_exeext && {
12280 test "$cross_compiling" = yes ||
12281 $as_test_x conftest$ac_exeext
12283 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12285 $as_echo "$as_me: failed program was:" >&5
12286 sed 's
/^
/|
/' conftest.$ac_ext >&5
12288 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12291 rm -rf conftest.dSYM
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12297 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12298 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12299 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=yes
12301 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=no
12305 if test x$HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE = xyes; then
12307 cat >>confdefs.h <<\_ACEOF
12308 #define HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE 1
12314 { $as_echo "$as_me:$LINENO: WARNING: It won't be possible to get udev state. We will assume that udev is not running.
" >&5
12315 $as_echo "$as_me: WARNING
: It won
't be possible to get udev state. We will assume that udev is not running." >&2;}
12319 ################################################################################
12320 # Check whether --enable-compat was given.
12321 if test "${enable_compat+set}" = set; then
12322 enableval=$enable_compat; DM_COMPAT=$enableval
12328 ################################################################################
12329 # Check whether --enable-units-compat was given.
12330 if test "${enable_units_compat+set}" = set; then
12331 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12337 if test x$UNITS_COMPAT = xyes; then
12339 cat >>confdefs.h <<\_ACEOF
12340 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12345 ################################################################################
12346 # Check whether --enable-ioctl was given.
12347 if test "${enable_ioctl+set}" = set; then
12348 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12352 ################################################################################
12353 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12354 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12355 # Check whether --enable-o_direct was given.
12356 if test "${enable_o_direct+set}" = set; then
12357 enableval=$enable_o_direct; ODIRECT=$enableval
12360 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12361 $as_echo "$ODIRECT" >&6; }
12363 if test x$ODIRECT = xyes; then
12365 cat >>confdefs.h <<\_ACEOF
12366 #define O_DIRECT_SUPPORT 1
12371 ################################################################################
12372 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12373 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12374 # Check whether --enable-applib was given.
12375 if test "${enable_applib+set}" = set; then
12376 enableval=$enable_applib; APPLIB=$enableval
12381 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12382 $as_echo "$APPLIB" >&6; }
12384 test x$APPLIB = xyes \
12385 && LVM2APP_LIB=-llvm2app \
12388 ################################################################################
12389 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12390 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12391 # Check whether --enable-cmdlib was given.
12392 if test "${enable_cmdlib+set}" = set; then
12393 enableval=$enable_cmdlib; CMDLIB=$enableval
12398 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12399 $as_echo "$CMDLIB" >&6; }
12401 test x$CMDLIB = xyes \
12402 && LVM2CMD_LIB=-llvm2cmd \
12405 ################################################################################
12406 # Check whether --enable-pkgconfig was given.
12407 if test "${enable_pkgconfig+set}" = set; then
12408 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12414 ################################################################################
12415 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12416 $as_echo_n "checking whether to install fsadm... " >&6; }
12417 # Check whether --enable-fsadm was given.
12418 if test "${enable_fsadm+set}" = set; then
12419 enableval=$enable_fsadm; FSADM=$enableval
12422 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12423 $as_echo "$FSADM" >&6; }
12425 ################################################################################
12426 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12427 $as_echo_n "checking whether to use dmeventd... " >&6; }
12428 # Check whether --enable-dmeventd was given.
12429 if test "${enable_dmeventd+set}" = set; then
12430 enableval=$enable_dmeventd; DMEVENTD=$enableval
12433 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12434 $as_echo "$DMEVENTD" >&6; }
12436 BUILD_DMEVENTD=$DMEVENTD
12438 if test x$DMEVENTD = xyes; then
12439 if test x$MIRRORS != xinternal; then
12440 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12442 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12444 { (exit 1); exit 1; }; }
12446 if test x$CMDLIB = xno; then
12447 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12449 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12451 { (exit 1); exit 1; }; }
12455 if test x$DMEVENTD = xyes; then
12457 cat >>confdefs.h <<\_ACEOF
12463 ################################################################################
12465 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12466 $as_echo_n "checking for getline in -lc... " >&6; }
12467 if test "${ac_cv_lib_c_getline+set}" = set; then
12468 $as_echo_n "(cached) " >&6
12470 ac_check_lib_save_LIBS=$LIBS
12472 cat >conftest.$ac_ext <<_ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12494 rm -f conftest.$ac_objext conftest$ac_exeext
12495 if { (ac_try="$ac_link"
12496 case "(($ac_try" in
12497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12498 *) ac_try_echo=$ac_try;;
12500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12501 $as_echo "$ac_try_echo") >&5
12502 (eval "$ac_link") 2>conftest.er1
12504 grep -v '^
*+' conftest.er1 >conftest.err
12506 cat conftest.err >&5
12507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && {
12509 test -z "$ac_c_werror_flag" ||
12510 test ! -s conftest.err
12511 } && test -s conftest$ac_exeext && {
12512 test "$cross_compiling" = yes ||
12513 $as_test_x conftest$ac_exeext
12515 ac_cv_lib_c_getline=yes
12517 $as_echo "$as_me: failed program was:" >&5
12518 sed 's
/^
/|
/' conftest.$ac_ext >&5
12520 ac_cv_lib_c_getline=no
12523 rm -rf conftest.dSYM
12524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12528 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12529 $as_echo "$ac_cv_lib_c_getline" >&6; }
12530 if test "x$ac_cv_lib_c_getline" = x""yes; then
12532 cat >>confdefs.h <<\_ACEOF
12533 #define HAVE_GETLINE 1
12539 ################################################################################
12541 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12542 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12543 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12544 $as_echo_n "(cached) " >&6
12546 ac_check_lib_save_LIBS=$LIBS
12548 cat >conftest.$ac_ext <<_ACEOF
12551 cat confdefs.h >>conftest.$ac_ext
12552 cat >>conftest.$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12561 char canonicalize_file_name ();
12565 return canonicalize_file_name ();
12570 rm -f conftest.$ac_objext conftest$ac_exeext
12571 if { (ac_try="$ac_link"
12572 case "(($ac_try" in
12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12577 $as_echo "$ac_try_echo") >&5
12578 (eval "$ac_link") 2>conftest.er1
12580 grep -v '^
*+' conftest.er1 >conftest.err
12582 cat conftest.err >&5
12583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } && {
12585 test -z "$ac_c_werror_flag" ||
12586 test ! -s conftest.err
12587 } && test -s conftest$ac_exeext && {
12588 test "$cross_compiling" = yes ||
12589 $as_test_x conftest$ac_exeext
12591 ac_cv_lib_c_canonicalize_file_name=yes
12593 $as_echo "$as_me: failed program was:" >&5
12594 sed 's
/^
/|
/' conftest.$ac_ext >&5
12596 ac_cv_lib_c_canonicalize_file_name=no
12599 rm -rf conftest.dSYM
12600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_lib_save_LIBS
12604 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12605 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12606 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12608 cat >>confdefs.h <<\_ACEOF
12609 #define HAVE_CANONICALIZE_FILE_NAME 1
12615 ################################################################################
12616 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12617 then exec_prefix="";
12620 ################################################################################
12621 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12622 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12623 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12624 $as_echo_n "(cached) " >&6
12626 ac_check_lib_save_LIBS=$LIBS
12628 cat >conftest.$ac_ext <<_ACEOF
12631 cat confdefs.h >>conftest.$ac_ext
12632 cat >>conftest.$ac_ext <<_ACEOF
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (ac_try="$ac_link"
12652 case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12657 $as_echo "$ac_try_echo") >&5
12658 (eval "$ac_link") 2>conftest.er1
12660 grep -v '^
*+' conftest.er1 >conftest.err
12662 cat conftest.err >&5
12663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && {
12665 test -z "$ac_c_werror_flag" ||
12666 test ! -s conftest.err
12667 } && test -s conftest$ac_exeext && {
12668 test "$cross_compiling" = yes ||
12669 $as_test_x conftest$ac_exeext
12671 ac_cv_lib_dl_dlopen=yes
12673 $as_echo "$as_me: failed program was:" >&5
12674 sed 's
/^
/|
/' conftest.$ac_ext >&5
12676 ac_cv_lib_dl_dlopen=no
12679 rm -rf conftest.dSYM
12680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_lib_save_LIBS
12684 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12685 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12686 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12689 cat >>confdefs.h <<\_ACEOF
12690 #define HAVE_LIBDL 1
12702 ################################################################################
12703 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12704 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12705 \) -a "x$STATIC_LINK" = xyes ];
12706 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12708 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12710 { (exit 1); exit 1; }; }
12713 ################################################################################
12714 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12715 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12716 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12717 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12718 $as_echo_n "(cached) " >&6
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lpthread $LIBS"
12722 cat >conftest.$ac_ext <<_ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12735 char pthread_mutex_lock ();
12739 return pthread_mutex_lock ();
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (ac_try="$ac_link"
12746 case "(($ac_try" in
12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12751 $as_echo "$ac_try_echo") >&5
12752 (eval "$ac_link") 2>conftest.er1
12754 grep -v '^
*+' conftest.er1 >conftest.err
12756 cat conftest.err >&5
12757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } && {
12759 test -z "$ac_c_werror_flag" ||
12760 test ! -s conftest.err
12761 } && test -s conftest$ac_exeext && {
12762 test "$cross_compiling" = yes ||
12763 $as_test_x conftest$ac_exeext
12765 ac_cv_lib_pthread_pthread_mutex_lock=yes
12767 $as_echo "$as_me: failed program was:" >&5
12768 sed 's
/^
/|
/' conftest.$ac_ext >&5
12770 ac_cv_lib_pthread_pthread_mutex_lock=no
12773 rm -rf conftest.dSYM
12774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12779 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12780 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12781 PTHREAD_LIBS="-lpthread"
12788 ################################################################################
12789 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12790 $as_echo_n "checking whether to enable selinux support... " >&6; }
12791 # Check whether --enable-selinux was given.
12792 if test "${enable_selinux+set}" = set; then
12793 enableval=$enable_selinux; SELINUX=$enableval
12796 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12797 $as_echo "$SELINUX" >&6; }
12799 ################################################################################
12800 if test x$SELINUX = xyes; then
12801 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12802 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12803 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12804 $as_echo_n "(cached) " >&6
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lsepol $LIBS"
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12821 char sepol_check_context ();
12825 return sepol_check_context ();
12830 rm -f conftest.$ac_objext conftest$ac_exeext
12831 if { (ac_try="$ac_link"
12832 case "(($ac_try" in
12833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12834 *) ac_try_echo=$ac_try;;
12836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12837 $as_echo "$ac_try_echo") >&5
12838 (eval "$ac_link") 2>conftest.er1
12840 grep -v '^
*+' conftest.er1 >conftest.err
12842 cat conftest.err >&5
12843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } && {
12845 test -z "$ac_c_werror_flag" ||
12846 test ! -s conftest.err
12847 } && test -s conftest$ac_exeext && {
12848 test "$cross_compiling" = yes ||
12849 $as_test_x conftest$ac_exeext
12851 ac_cv_lib_sepol_sepol_check_context=yes
12853 $as_echo "$as_me: failed program was:" >&5
12854 sed 's
/^
/|
/' conftest.$ac_ext >&5
12856 ac_cv_lib_sepol_sepol_check_context=no
12859 rm -rf conftest.dSYM
12860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12865 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12866 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12869 cat >>confdefs.h <<\_ACEOF
12870 #define HAVE_SEPOL 1
12873 SELINUX_LIBS="-lsepol"
12877 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12878 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12879 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12880 $as_echo_n "(cached) " >&6
12882 ac_check_lib_save_LIBS=$LIBS
12883 LIBS="-lselinux $LIBS"
12884 cat >conftest.$ac_ext <<_ACEOF
12887 cat confdefs.h >>conftest.$ac_ext
12888 cat >>conftest.$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12897 char is_selinux_enabled ();
12901 return is_selinux_enabled ();
12906 rm -f conftest.$ac_objext conftest$ac_exeext
12907 if { (ac_try="$ac_link"
12908 case "(($ac_try" in
12909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910 *) ac_try_echo=$ac_try;;
12912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12913 $as_echo "$ac_try_echo") >&5
12914 (eval "$ac_link") 2>conftest.er1
12916 grep -v '^
*+' conftest.er1 >conftest.err
12918 cat conftest.err >&5
12919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } && {
12921 test -z "$ac_c_werror_flag" ||
12922 test ! -s conftest.err
12923 } && test -s conftest$ac_exeext && {
12924 test "$cross_compiling" = yes ||
12925 $as_test_x conftest$ac_exeext
12927 ac_cv_lib_selinux_is_selinux_enabled=yes
12929 $as_echo "$as_me: failed program was:" >&5
12930 sed 's
/^
/|
/' conftest.$ac_ext >&5
12932 ac_cv_lib_selinux_is_selinux_enabled=no
12935 rm -rf conftest.dSYM
12936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12937 conftest$ac_exeext conftest.$ac_ext
12938 LIBS=$ac_check_lib_save_LIBS
12940 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12941 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12942 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12945 for ac_header in selinux/selinux.h
12947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12949 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12950 $as_echo_n "checking for $ac_header... " >&6; }
12951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12952 $as_echo_n "(cached) " >&6
12954 ac_res=`eval 'as_val
=${'$as_ac_Header'}
12955 $as_echo "$as_val"'`
12956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12957 $as_echo "$ac_res" >&6; }
12959 # Is the header compilable?
12960 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12961 $as_echo_n "checking $ac_header usability... " >&6; }
12962 cat >conftest.$ac_ext <<_ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968 $ac_includes_default
12969 #include <$ac_header>
12971 rm -f conftest.$ac_objext
12972 if { (ac_try="$ac_compile"
12973 case "(($ac_try" in
12974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12975 *) ac_try_echo=$ac_try;;
12977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12978 $as_echo "$ac_try_echo") >&5
12979 (eval "$ac_compile") 2>conftest.er1
12981 grep -v '^
*+' conftest.er1 >conftest.err
12983 cat conftest.err >&5
12984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } && {
12986 test -z "$ac_c_werror_flag" ||
12987 test ! -s conftest.err
12988 } && test -s conftest.$ac_objext; then
12989 ac_header_compiler=yes
12991 $as_echo "$as_me: failed program was:" >&5
12992 sed 's
/^
/|
/' conftest.$ac_ext >&5
12994 ac_header_compiler=no
12997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12998 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12999 $as_echo "$ac_header_compiler" >&6; }
13001 # Is the header present?
13002 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13003 $as_echo_n "checking $ac_header presence... " >&6; }
13004 cat >conftest.$ac_ext <<_ACEOF
13007 cat confdefs.h >>conftest.$ac_ext
13008 cat >>conftest.$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13010 #include <$ac_header>
13012 if { (ac_try="$ac_cpp conftest.$ac_ext"
13013 case "(($ac_try" in
13014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13015 *) ac_try_echo=$ac_try;;
13017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13018 $as_echo "$ac_try_echo") >&5
13019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13021 grep -v '^
*+' conftest.er1 >conftest.err
13023 cat conftest.err >&5
13024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); } >/dev/null && {
13026 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13027 test ! -s conftest.err
13029 ac_header_preproc=yes
13031 $as_echo "$as_me: failed program was:" >&5
13032 sed 's
/^
/|
/' conftest.$ac_ext >&5
13034 ac_header_preproc=no
13037 rm -f conftest.err conftest.$ac_ext
13038 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13039 $as_echo "$ac_header_preproc" >&6; }
13041 # So? What about this header?
13042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13044 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13045 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13047 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13048 ac_header_preproc=yes
13051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13052 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13054 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13056 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13058 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13060 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13062 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13066 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13067 $as_echo_n "checking for $ac_header... " >&6; }
13068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13069 $as_echo_n "(cached) " >&6
13071 eval "$as_ac_Header=\$ac_header_preproc"
13073 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13074 $as_echo "$as_val"'`
13075 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13076 $as_echo "$ac_res" >&6; }
13079 as_val=`eval 'as_val
=${'$as_ac_Header'}
13080 $as_echo "$as_val"'`
13081 if test "x$as_val" = x""yes; then
13082 cat >>confdefs.h <<_ACEOF
13083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093 cat >>confdefs.h <<\_ACEOF
13094 #define HAVE_SELINUX 1
13097 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
13101 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13102 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13109 ################################################################################
13110 if test x$REALTIME = xyes; then
13111 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13112 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13113 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13114 $as_echo_n "(cached) " >&6
13116 ac_check_lib_save_LIBS=$LIBS
13118 cat >conftest.$ac_ext <<_ACEOF
13121 cat confdefs.h >>conftest.$ac_ext
13122 cat >>conftest.$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13131 char clock_gettime ();
13135 return clock_gettime ();
13140 rm -f conftest.$ac_objext conftest$ac_exeext
13141 if { (ac_try="$ac_link"
13142 case "(($ac_try" in
13143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13147 $as_echo "$ac_try_echo") >&5
13148 (eval "$ac_link") 2>conftest.er1
13150 grep -v '^
*+' conftest.er1 >conftest.err
13152 cat conftest.err >&5
13153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } && {
13155 test -z "$ac_c_werror_flag" ||
13156 test ! -s conftest.err
13157 } && test -s conftest$ac_exeext && {
13158 test "$cross_compiling" = yes ||
13159 $as_test_x conftest$ac_exeext
13161 ac_cv_lib_rt_clock_gettime=yes
13163 $as_echo "$as_me: failed program was:" >&5
13164 sed 's
/^
/|
/' conftest.$ac_ext >&5
13166 ac_cv_lib_rt_clock_gettime=no
13169 rm -rf conftest.dSYM
13170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_lib_save_LIBS
13174 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13175 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13176 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13183 if test x$HAVE_REALTIME = xyes; then
13185 cat >>confdefs.h <<\_ACEOF
13186 #define HAVE_REALTIME 1
13191 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13192 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13196 ################################################################################
13198 for ac_header in getopt.h
13200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13202 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13203 $as_echo_n "checking for $ac_header... " >&6; }
13204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13205 $as_echo_n "(cached) " >&6
13207 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13208 $as_echo "$as_val"'`
13209 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13210 $as_echo "$ac_res" >&6; }
13212 # Is the header compilable?
13213 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13214 $as_echo_n "checking $ac_header usability... " >&6; }
13215 cat >conftest.$ac_ext <<_ACEOF
13218 cat confdefs.h >>conftest.$ac_ext
13219 cat >>conftest.$ac_ext <<_ACEOF
13220 /* end confdefs.h. */
13221 $ac_includes_default
13222 #include <$ac_header>
13224 rm -f conftest.$ac_objext
13225 if { (ac_try="$ac_compile"
13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13231 $as_echo "$ac_try_echo") >&5
13232 (eval "$ac_compile") 2>conftest.er1
13234 grep -v '^
*+' conftest.er1 >conftest.err
13236 cat conftest.err >&5
13237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } && {
13239 test -z "$ac_c_werror_flag" ||
13240 test ! -s conftest.err
13241 } && test -s conftest.$ac_objext; then
13242 ac_header_compiler=yes
13244 $as_echo "$as_me: failed program was:" >&5
13245 sed 's
/^
/|
/' conftest.$ac_ext >&5
13247 ac_header_compiler=no
13250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13251 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13252 $as_echo "$ac_header_compiler" >&6; }
13254 # Is the header present?
13255 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13256 $as_echo_n "checking $ac_header presence... " >&6; }
13257 cat >conftest.$ac_ext <<_ACEOF
13260 cat confdefs.h >>conftest.$ac_ext
13261 cat >>conftest.$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 #include <$ac_header>
13265 if { (ac_try="$ac_cpp conftest.$ac_ext"
13266 case "(($ac_try" in
13267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13268 *) ac_try_echo=$ac_try;;
13270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13271 $as_echo "$ac_try_echo") >&5
13272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13274 grep -v '^
*+' conftest.er1 >conftest.err
13276 cat conftest.err >&5
13277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } >/dev/null && {
13279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13280 test ! -s conftest.err
13282 ac_header_preproc=yes
13284 $as_echo "$as_me: failed program was:" >&5
13285 sed 's
/^
/|
/' conftest.$ac_ext >&5
13287 ac_header_preproc=no
13290 rm -f conftest.err conftest.$ac_ext
13291 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13292 $as_echo "$ac_header_preproc" >&6; }
13294 # So? What about this header?
13295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13298 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13300 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13301 ac_header_preproc=yes
13304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13305 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13307 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13309 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13311 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13313 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13315 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13320 $as_echo_n "checking for $ac_header... " >&6; }
13321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13322 $as_echo_n "(cached) " >&6
13324 eval "$as_ac_Header=\$ac_header_preproc"
13326 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13327 $as_echo "$as_val"'`
13328 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13329 $as_echo "$ac_res" >&6; }
13332 as_val=`eval 'as_val
=${'$as_ac_Header'}
13333 $as_echo "$as_val"'`
13334 if test "x$as_val" = x""yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13339 cat >>confdefs.h <<\_ACEOF
13340 #define HAVE_GETOPTLONG 1
13348 ################################################################################
13349 if test x$READLINE != xno; then
13350 lvm_saved_libs=$LIBS
13351 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13352 $as_echo_n "checking for library containing tgetent... " >&6; }
13353 if test "${ac_cv_search_tgetent+set}" = set; then
13354 $as_echo_n "(cached) " >&6
13356 ac_func_search_save_LIBS=$LIBS
13357 cat >conftest.$ac_ext <<_ACEOF
13360 cat confdefs.h >>conftest.$ac_ext
13361 cat >>conftest.$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13379 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13380 if test -z "$ac_lib"; then
13381 ac_res="none required"
13384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (ac_try="$ac_link"
13388 case "(($ac_try" in
13389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13390 *) ac_try_echo=$ac_try;;
13392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13393 $as_echo "$ac_try_echo") >&5
13394 (eval "$ac_link") 2>conftest.er1
13396 grep -v '^
*+' conftest.er1 >conftest.err
13398 cat conftest.err >&5
13399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest$ac_exeext && {
13404 test "$cross_compiling" = yes ||
13405 $as_test_x conftest$ac_exeext
13407 ac_cv_search_tgetent=$ac_res
13409 $as_echo "$as_me: failed program was:" >&5
13410 sed 's
/^
/|
/' conftest.$ac_ext >&5
13415 rm -rf conftest.dSYM
13416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13418 if test "${ac_cv_search_tgetent+set}" = set; then
13422 if test "${ac_cv_search_tgetent+set}" = set; then
13425 ac_cv_search_tgetent=no
13427 rm conftest.$ac_ext
13428 LIBS=$ac_func_search_save_LIBS
13430 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13431 $as_echo "$ac_cv_search_tgetent" >&6; }
13432 ac_res=$ac_cv_search_tgetent
13433 if test "$ac_res" != no; then
13434 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13435 READLINE_LIBS=$ac_cv_search_tgetent
13438 if test "$READLINE" = yes; then
13439 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13440 --enable-readline option (which is enabled by default). Either disable readline
13441 support with --disable-readline or download and install termcap from:
13442 ftp.gnu.org/gnu/termcap
13443 Note: if you are using precompiled packages you will also need the development
13444 package as well (which may be called termcap-devel or something similar).
13445 Note: (n)curses also seems to work as a substitute for termcap. This was
13446 not found either - but you could try installing that as well." >&5
13447 $as_echo "$as_me: error: termcap could not be found which is required for the
13448 --enable-readline option (which is enabled by default). Either disable readline
13449 support with --disable-readline or download and install termcap from:
13450 ftp.gnu.org/gnu/termcap
13451 Note: if you are using precompiled packages you will also need the development
13452 package as well (which may be called termcap-devel or something similar).
13453 Note: (n)curses also seems to work as a substitute for termcap. This was
13454 not found either - but you could try installing that as well." >&2;}
13455 { (exit 1); exit 1; }; }
13459 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13460 $as_echo_n "checking for readline in -lreadline... " >&6; }
13461 if test "${ac_cv_lib_readline_readline+set}" = set; then
13462 $as_echo_n "(cached) " >&6
13464 ac_check_lib_save_LIBS=$LIBS
13465 LIBS="-lreadline $LIBS"
13466 cat >conftest.$ac_ext <<_ACEOF
13469 cat confdefs.h >>conftest.$ac_ext
13470 cat >>conftest.$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13483 return readline ();
13488 rm -f conftest.$ac_objext conftest$ac_exeext
13489 if { (ac_try="$ac_link"
13490 case "(($ac_try" in
13491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13492 *) ac_try_echo=$ac_try;;
13494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13495 $as_echo "$ac_try_echo") >&5
13496 (eval "$ac_link") 2>conftest.er1
13498 grep -v '^
*+' conftest.er1 >conftest.err
13500 cat conftest.err >&5
13501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } && {
13503 test -z "$ac_c_werror_flag" ||
13504 test ! -s conftest.err
13505 } && test -s conftest$ac_exeext && {
13506 test "$cross_compiling" = yes ||
13507 $as_test_x conftest$ac_exeext
13509 ac_cv_lib_readline_readline=yes
13511 $as_echo "$as_me: failed program was:" >&5
13512 sed 's
/^
/|
/' conftest.$ac_ext >&5
13514 ac_cv_lib_readline_readline=no
13517 rm -rf conftest.dSYM
13518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13519 conftest$ac_exeext conftest.$ac_ext
13520 LIBS=$ac_check_lib_save_LIBS
13522 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13523 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13524 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13527 cat >>confdefs.h <<\_ACEOF
13528 #define READLINE_SUPPORT 1
13531 LIBS=$lvm_saved_libs
13532 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13533 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13534 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13535 $as_echo_n "(cached) " >&6
13537 ac_check_lib_save_LIBS=$LIBS
13538 LIBS="-lreadline $LIBS"
13539 cat >conftest.$ac_ext <<_ACEOF
13542 cat confdefs.h >>conftest.$ac_ext
13543 cat >>conftest.$ac_ext <<_ACEOF
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13552 char rl_line_buffer ();
13556 return rl_line_buffer ();
13561 rm -f conftest.$ac_objext conftest$ac_exeext
13562 if { (ac_try="$ac_link"
13563 case "(($ac_try" in
13564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13565 *) ac_try_echo=$ac_try;;
13567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13568 $as_echo "$ac_try_echo") >&5
13569 (eval "$ac_link") 2>conftest.er1
13571 grep -v '^
*+' conftest.er1 >conftest.err
13573 cat conftest.err >&5
13574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } && {
13576 test -z "$ac_c_werror_flag" ||
13577 test ! -s conftest.err
13578 } && test -s conftest$ac_exeext && {
13579 test "$cross_compiling" = yes ||
13580 $as_test_x conftest$ac_exeext
13582 ac_cv_lib_readline_rl_line_buffer=yes
13584 $as_echo "$as_me: failed program was:" >&5
13585 sed 's
/^
/|
/' conftest.$ac_ext >&5
13587 ac_cv_lib_readline_rl_line_buffer=no
13590 rm -rf conftest.dSYM
13591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_lib_save_LIBS
13595 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13596 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13597 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13598 READLINE_LIBS="-lreadline"
13601 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13602 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13603 READLINE_LIBS="-lreadline $READLINE_LIBS"
13610 if test "$READLINE" = yes; then
13611 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13612 --enable-readline option (which is enabled by default). Either disable readline
13613 support with --disable-readline or download and install readline from:
13614 ftp.gnu.org/gnu/readline
13615 Note: if you are using precompiled packages you will also need the development
13616 package as well (which may be called readline-devel or something similar)." >&5
13617 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13618 --enable-readline option (which is enabled by default). Either disable readline
13619 support with --disable-readline or download and install readline from:
13620 ftp.gnu.org/gnu/readline
13621 Note: if you are using precompiled packages you will also need the development
13622 package as well (which may be called readline-devel or something similar)." >&2;}
13623 { (exit 1); exit 1; }; }
13627 LIBS="$READLINE_LIBS $lvm_saved_libs"
13629 for ac_func in rl_completion_matches
13631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13632 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13633 $as_echo_n "checking for $ac_func... " >&6; }
13634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13635 $as_echo_n "(cached) " >&6
13637 cat >conftest.$ac_ext <<_ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13645 #define $ac_func innocuous_$ac_func
13647 /* System header to define __stub macros and hopefully few prototypes,
13648 which can conflict with char $ac_func (); below.
13649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650 <limits.h> exists even on freestanding compilers. */
13653 # include <limits.h>
13655 # include <assert.h>
13660 /* Override any GCC internal prototype to avoid an error.
13661 Use char because int might match the return type of a GCC
13662 builtin and then its argument prototype would still apply. */
13667 /* The GNU C library defines this for functions which it implements
13668 to always fail with ENOSYS. Some functions are actually named
13669 something starting with __ and the normal name is an alias. */
13670 #if defined __stub_$ac_func || defined __stub___$ac_func
13677 return $ac_func ();
13682 rm -f conftest.$ac_objext conftest$ac_exeext
13683 if { (ac_try="$ac_link"
13684 case "(($ac_try" in
13685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13686 *) ac_try_echo=$ac_try;;
13688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13689 $as_echo "$ac_try_echo") >&5
13690 (eval "$ac_link") 2>conftest.er1
13692 grep -v '^
*+' conftest.er1 >conftest.err
13694 cat conftest.err >&5
13695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } && {
13697 test -z "$ac_c_werror_flag" ||
13698 test ! -s conftest.err
13699 } && test -s conftest$ac_exeext && {
13700 test "$cross_compiling" = yes ||
13701 $as_test_x conftest$ac_exeext
13703 eval "$as_ac_var=yes"
13705 $as_echo "$as_me: failed program was:" >&5
13706 sed 's
/^
/|
/' conftest.$ac_ext >&5
13708 eval "$as_ac_var=no"
13711 rm -rf conftest.dSYM
13712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13713 conftest$ac_exeext conftest.$ac_ext
13715 ac_res=`eval 'as_val
=${'$as_ac_var'}
13716 $as_echo "$as_val"'`
13717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13718 $as_echo "$ac_res" >&6; }
13719 as_val=`eval 'as_val
=${'$as_ac_var'}
13720 $as_echo "$as_val"'`
13721 if test "x$as_val" = x""yes; then
13722 cat >>confdefs.h <<_ACEOF
13723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13729 LIBS=$lvm_saved_libs
13732 ################################################################################
13733 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13734 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13735 # Check whether --enable-nls was given.
13736 if test "${enable_nls+set}" = set; then
13737 enableval=$enable_nls; INTL=$enableval
13742 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13743 $as_echo "$INTL" >&6; }
13745 if test x$INTL = xyes; then
13746 # FIXME - Move this - can be device-mapper too
13747 INTL_PACKAGE="lvm2"
13748 # Extract the first word of "msgfmt", so it can be a program name with args.
13749 set dummy msgfmt; ac_word=$2
13750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13751 $as_echo_n "checking for $ac_word... " >&6; }
13752 if test "${ac_cv_path_MSGFMT+set}" = set; then
13753 $as_echo_n "(cached) " >&6
13757 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13761 for as_dir in $PATH
13764 test -z "$as_dir" && as_dir=.
13765 for ac_exec_ext in '' $ac_executable_extensions; do
13766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13767 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13778 MSGFMT=$ac_cv_path_MSGFMT
13779 if test -n "$MSGFMT"; then
13780 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13781 $as_echo "$MSGFMT" >&6; }
13783 { $as_echo "$as_me:$LINENO: result: no" >&5
13784 $as_echo "no" >&6; }
13788 if [ "x$MSGFMT" == x ];
13789 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13791 $as_echo "$as_me: error: msgfmt not found in path $PATH
13793 { (exit 1); exit 1; }; }
13797 # Check whether --with-localedir was given.
13798 if test "${with_localedir+set}" = set; then
13799 withval=$with_localedir; LOCALEDIR="$withval"
13801 LOCALEDIR='${prefix}/share
/locale
'
13806 ################################################################################
13808 # Check whether --with-confdir was given.
13809 if test "${with_confdir+set}" = set; then
13810 withval=$with_confdir; CONFDIR="$withval"
13817 # Check whether --with-staticdir was given.
13818 if test "${with_staticdir+set}" = set; then
13819 withval=$with_staticdir; STATICDIR="$withval"
13821 STATICDIR='${exec_prefix}/sbin
'
13826 # Check whether --with-usrlibdir was given.
13827 if test "${with_usrlibdir+set}" = set; then
13828 withval=$with_usrlibdir; usrlibdir="$withval"
13830 usrlibdir='${prefix}/lib
'
13835 # Check whether --with-usrsbindir was given.
13836 if test "${with_usrsbindir+set}" = set; then
13837 withval=$with_usrsbindir; usrsbindir="$withval"
13839 usrsbindir='${prefix}/sbin
'
13843 ################################################################################
13845 # Check whether --with-udev_prefix was given.
13846 if test "${with_udev_prefix+set}" = set; then
13847 withval=$with_udev_prefix; udev_prefix="$withval"
13849 udev_prefix='${exec_prefix}'
13854 # Check whether --with-udevdir was given.
13855 if test "${with_udevdir+set}" = set; then
13856 withval=$with_udevdir; udevdir="$withval"
13858 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13862 ################################################################################
13863 if test x$READLINE = xyes; then
13866 for ac_header in readline/readline.h readline/history.h
13868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13870 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13871 $as_echo_n "checking for $ac_header... " >&6; }
13872 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13873 $as_echo_n "(cached) " >&6
13875 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13876 $as_echo "$as_val"'`
13877 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13878 $as_echo "$ac_res" >&6; }
13880 # Is the header compilable?
13881 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13882 $as_echo_n "checking $ac_header usability... " >&6; }
13883 cat >conftest.$ac_ext <<_ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 $ac_includes_default
13890 #include <$ac_header>
13892 rm -f conftest.$ac_objext
13893 if { (ac_try="$ac_compile"
13894 case "(($ac_try" in
13895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13896 *) ac_try_echo=$ac_try;;
13898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13899 $as_echo "$ac_try_echo") >&5
13900 (eval "$ac_compile") 2>conftest.er1
13902 grep -v '^
*+' conftest.er1 >conftest.err
13904 cat conftest.err >&5
13905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } && {
13907 test -z "$ac_c_werror_flag" ||
13908 test ! -s conftest.err
13909 } && test -s conftest.$ac_objext; then
13910 ac_header_compiler=yes
13912 $as_echo "$as_me: failed program was:" >&5
13913 sed 's
/^
/|
/' conftest.$ac_ext >&5
13915 ac_header_compiler=no
13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13919 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13920 $as_echo "$ac_header_compiler" >&6; }
13922 # Is the header present?
13923 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13924 $as_echo_n "checking $ac_header presence... " >&6; }
13925 cat >conftest.$ac_ext <<_ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <$ac_header>
13933 if { (ac_try="$ac_cpp conftest.$ac_ext"
13934 case "(($ac_try" in
13935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13936 *) ac_try_echo=$ac_try;;
13938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13939 $as_echo "$ac_try_echo") >&5
13940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13942 grep -v '^
*+' conftest.er1 >conftest.err
13944 cat conftest.err >&5
13945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } >/dev/null && {
13947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13948 test ! -s conftest.err
13950 ac_header_preproc=yes
13952 $as_echo "$as_me: failed program was:" >&5
13953 sed 's
/^
/|
/' conftest.$ac_ext >&5
13955 ac_header_preproc=no
13958 rm -f conftest.err conftest.$ac_ext
13959 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13960 $as_echo "$ac_header_preproc" >&6; }
13962 # So? What about this header?
13963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13966 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13968 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13969 ac_header_preproc=yes
13972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13973 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13975 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13977 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13979 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13981 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13983 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13987 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13988 $as_echo_n "checking for $ac_header... " >&6; }
13989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13990 $as_echo_n "(cached) " >&6
13992 eval "$as_ac_Header=\$ac_header_preproc"
13994 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13995 $as_echo "$as_val"'`
13996 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13997 $as_echo "$ac_res" >&6; }
14000 as_val=`eval 'as_val
=${'$as_ac_Header'}
14001 $as_echo "$as_val"'`
14002 if test "x$as_val" = x""yes; then
14003 cat >>confdefs.h <<_ACEOF
14004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14008 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14009 $as_echo "$as_me: error: bailing out" >&2;}
14010 { (exit 1); exit 1; }; }
14017 if test x$CLVMD != xnone; then
14028 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
14030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14033 $as_echo_n "checking for $ac_header... " >&6; }
14034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14035 $as_echo_n "(cached) " >&6
14037 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14038 $as_echo "$as_val"'`
14039 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14040 $as_echo "$ac_res" >&6; }
14042 # Is the header compilable?
14043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14044 $as_echo_n "checking $ac_header usability... " >&6; }
14045 cat >conftest.$ac_ext <<_ACEOF
14048 cat confdefs.h >>conftest.$ac_ext
14049 cat >>conftest.$ac_ext <<_ACEOF
14050 /* end confdefs.h. */
14051 $ac_includes_default
14052 #include <$ac_header>
14054 rm -f conftest.$ac_objext
14055 if { (ac_try="$ac_compile"
14056 case "(($ac_try" in
14057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14058 *) ac_try_echo=$ac_try;;
14060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14061 $as_echo "$ac_try_echo") >&5
14062 (eval "$ac_compile") 2>conftest.er1
14064 grep -v '^
*+' conftest.er1 >conftest.err
14066 cat conftest.err >&5
14067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } && {
14069 test -z "$ac_c_werror_flag" ||
14070 test ! -s conftest.err
14071 } && test -s conftest.$ac_objext; then
14072 ac_header_compiler=yes
14074 $as_echo "$as_me: failed program was:" >&5
14075 sed 's
/^
/|
/' conftest.$ac_ext >&5
14077 ac_header_compiler=no
14080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14081 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14082 $as_echo "$ac_header_compiler" >&6; }
14084 # Is the header present?
14085 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14086 $as_echo_n "checking $ac_header presence... " >&6; }
14087 cat >conftest.$ac_ext <<_ACEOF
14090 cat confdefs.h >>conftest.$ac_ext
14091 cat >>conftest.$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 #include <$ac_header>
14095 if { (ac_try="$ac_cpp conftest.$ac_ext"
14096 case "(($ac_try" in
14097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14098 *) ac_try_echo=$ac_try;;
14100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14101 $as_echo "$ac_try_echo") >&5
14102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14104 grep -v '^
*+' conftest.er1 >conftest.err
14106 cat conftest.err >&5
14107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } >/dev/null && {
14109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14110 test ! -s conftest.err
14112 ac_header_preproc=yes
14114 $as_echo "$as_me: failed program was:" >&5
14115 sed 's
/^
/|
/' conftest.$ac_ext >&5
14117 ac_header_preproc=no
14120 rm -f conftest.err conftest.$ac_ext
14121 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14122 $as_echo "$ac_header_preproc" >&6; }
14124 # So? What about this header?
14125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14128 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14130 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14131 ac_header_preproc=yes
14134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14135 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14137 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14139 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14141 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14143 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14145 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14150 $as_echo_n "checking for $ac_header... " >&6; }
14151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14152 $as_echo_n "(cached) " >&6
14154 eval "$as_ac_Header=\$ac_header_preproc"
14156 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14157 $as_echo "$as_val"'`
14158 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14159 $as_echo "$ac_res" >&6; }
14162 as_val=`eval 'as_val
=${'$as_ac_Header'}
14163 $as_echo "$as_val"'`
14164 if test "x$as_val" = x""yes; then
14165 cat >>confdefs.h <<_ACEOF
14166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14170 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14171 $as_echo "$as_me: error: bailing out" >&2;}
14172 { (exit 1); exit 1; }; }
14182 for ac_func in dup2 getmntent memmove select socket
14184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14185 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14186 $as_echo_n "checking for $ac_func... " >&6; }
14187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14188 $as_echo_n "(cached) " >&6
14190 cat >conftest.$ac_ext <<_ACEOF
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14198 #define $ac_func innocuous_$ac_func
14200 /* System header to define __stub macros and hopefully few prototypes,
14201 which can conflict with char $ac_func (); below.
14202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14203 <limits.h> exists even on freestanding compilers. */
14206 # include <limits.h>
14208 # include <assert.h>
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14220 /* The GNU C library defines this for functions which it implements
14221 to always fail with ENOSYS. Some functions are actually named
14222 something starting with __ and the normal name is an alias. */
14223 #if defined __stub_$ac_func || defined __stub___$ac_func
14230 return $ac_func ();
14235 rm -f conftest.$ac_objext conftest$ac_exeext
14236 if { (ac_try="$ac_link"
14237 case "(($ac_try" in
14238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14239 *) ac_try_echo=$ac_try;;
14241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14242 $as_echo "$ac_try_echo") >&5
14243 (eval "$ac_link") 2>conftest.er1
14245 grep -v '^
*+' conftest.er1 >conftest.err
14247 cat conftest.err >&5
14248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); } && {
14250 test -z "$ac_c_werror_flag" ||
14251 test ! -s conftest.err
14252 } && test -s conftest$ac_exeext && {
14253 test "$cross_compiling" = yes ||
14254 $as_test_x conftest$ac_exeext
14256 eval "$as_ac_var=yes"
14258 $as_echo "$as_me: failed program was:" >&5
14259 sed 's
/^
/|
/' conftest.$ac_ext >&5
14261 eval "$as_ac_var=no"
14264 rm -rf conftest.dSYM
14265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14266 conftest$ac_exeext conftest.$ac_ext
14268 ac_res=`eval 'as_val
=${'$as_ac_var'}
14269 $as_echo "$as_val"'`
14270 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14271 $as_echo "$ac_res" >&6; }
14272 as_val=`eval 'as_val
=${'$as_ac_var'}
14273 $as_echo "$as_val"'`
14274 if test "x$as_val" = x""yes; then
14275 cat >>confdefs.h <<_ACEOF
14276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14280 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14281 $as_echo "$as_me: error: bailing out" >&2;}
14282 { (exit 1); exit 1; }; }
14286 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14287 # -lseq on Dynix/PTX, -lgen on Unixware.
14288 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14289 $as_echo_n "checking for library containing getmntent... " >&6; }
14290 if test "${ac_cv_search_getmntent+set}" = set; then
14291 $as_echo_n "(cached) " >&6
14293 ac_func_search_save_LIBS=$LIBS
14294 cat >conftest.$ac_ext <<_ACEOF
14297 cat confdefs.h >>conftest.$ac_ext
14298 cat >>conftest.$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14311 return getmntent ();
14316 for ac_lib in '' sun seq gen; do
14317 if test -z "$ac_lib"; then
14318 ac_res="none required"
14321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14323 rm -f conftest.$ac_objext conftest$ac_exeext
14324 if { (ac_try="$ac_link"
14325 case "(($ac_try" in
14326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14327 *) ac_try_echo=$ac_try;;
14329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14330 $as_echo "$ac_try_echo") >&5
14331 (eval "$ac_link") 2>conftest.er1
14333 grep -v '^
*+' conftest.er1 >conftest.err
14335 cat conftest.err >&5
14336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } && {
14338 test -z "$ac_c_werror_flag" ||
14339 test ! -s conftest.err
14340 } && test -s conftest$ac_exeext && {
14341 test "$cross_compiling" = yes ||
14342 $as_test_x conftest$ac_exeext
14344 ac_cv_search_getmntent=$ac_res
14346 $as_echo "$as_me: failed program was:" >&5
14347 sed 's
/^
/|
/' conftest.$ac_ext >&5
14352 rm -rf conftest.dSYM
14353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14355 if test "${ac_cv_search_getmntent+set}" = set; then
14359 if test "${ac_cv_search_getmntent+set}" = set; then
14362 ac_cv_search_getmntent=no
14364 rm conftest.$ac_ext
14365 LIBS=$ac_func_search_save_LIBS
14367 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14368 $as_echo "$ac_cv_search_getmntent" >&6; }
14369 ac_res=$ac_cv_search_getmntent
14370 if test "$ac_res" != no; then
14371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14372 ac_cv_func_getmntent=yes
14374 cat >>confdefs.h <<\_ACEOF
14375 #define HAVE_GETMNTENT 1
14379 ac_cv_func_getmntent=no
14386 for ac_header in sys/select.h sys/socket.h
14388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14390 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14391 $as_echo_n "checking for $ac_header... " >&6; }
14392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14393 $as_echo_n "(cached) " >&6
14395 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14396 $as_echo "$as_val"'`
14397 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14398 $as_echo "$ac_res" >&6; }
14400 # Is the header compilable?
14401 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14402 $as_echo_n "checking $ac_header usability... " >&6; }
14403 cat >conftest.$ac_ext <<_ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 $ac_includes_default
14410 #include <$ac_header>
14412 rm -f conftest.$ac_objext
14413 if { (ac_try="$ac_compile"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14419 $as_echo "$ac_try_echo") >&5
14420 (eval "$ac_compile") 2>conftest.er1
14422 grep -v '^
*+' conftest.er1 >conftest.err
14424 cat conftest.err >&5
14425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } && {
14427 test -z "$ac_c_werror_flag" ||
14428 test ! -s conftest.err
14429 } && test -s conftest.$ac_objext; then
14430 ac_header_compiler=yes
14432 $as_echo "$as_me: failed program was:" >&5
14433 sed 's
/^
/|
/' conftest.$ac_ext >&5
14435 ac_header_compiler=no
14438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14439 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14440 $as_echo "$ac_header_compiler" >&6; }
14442 # Is the header present?
14443 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14444 $as_echo_n "checking $ac_header presence... " >&6; }
14445 cat >conftest.$ac_ext <<_ACEOF
14448 cat confdefs.h >>conftest.$ac_ext
14449 cat >>conftest.$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 #include <$ac_header>
14453 if { (ac_try="$ac_cpp conftest.$ac_ext"
14454 case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14459 $as_echo "$ac_try_echo") >&5
14460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14462 grep -v '^
*+' conftest.er1 >conftest.err
14464 cat conftest.err >&5
14465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } >/dev/null && {
14467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14468 test ! -s conftest.err
14470 ac_header_preproc=yes
14472 $as_echo "$as_me: failed program was:" >&5
14473 sed 's
/^
/|
/' conftest.$ac_ext >&5
14475 ac_header_preproc=no
14478 rm -f conftest.err conftest.$ac_ext
14479 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14480 $as_echo "$ac_header_preproc" >&6; }
14482 # So? What about this header?
14483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14486 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14488 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14489 ac_header_preproc=yes
14492 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14493 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14495 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14497 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14499 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14501 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14503 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14507 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14508 $as_echo_n "checking for $ac_header... " >&6; }
14509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14510 $as_echo_n "(cached) " >&6
14512 eval "$as_ac_Header=\$ac_header_preproc"
14514 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14515 $as_echo "$as_val"'`
14516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14517 $as_echo "$ac_res" >&6; }
14520 as_val=`eval 'as_val
=${'$as_ac_Header'}
14521 $as_echo "$as_val"'`
14522 if test "x$as_val" = x""yes; then
14523 cat >>confdefs.h <<_ACEOF
14524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14531 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14532 $as_echo_n "checking types of arguments for select... " >&6; }
14533 if test "${ac_cv_func_select_args+set}" = set; then
14534 $as_echo_n "(cached) " >&6
14536 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14537 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14538 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14539 cat >conftest.$ac_ext <<_ACEOF
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 $ac_includes_default
14546 #ifdef HAVE_SYS_SELECT_H
14547 # include <sys/select.h>
14549 #ifdef HAVE_SYS_SOCKET_H
14550 # include <sys/socket.h>
14556 extern int select ($ac_arg1,
14557 $ac_arg234, $ac_arg234, $ac_arg234,
14563 rm -f conftest.$ac_objext
14564 if { (ac_try="$ac_compile"
14565 case "(($ac_try" in
14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567 *) ac_try_echo=$ac_try;;
14569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14570 $as_echo "$ac_try_echo") >&5
14571 (eval "$ac_compile") 2>conftest.er1
14573 grep -v '^
*+' conftest.er1 >conftest.err
14575 cat conftest.err >&5
14576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } && {
14578 test -z "$ac_c_werror_flag" ||
14579 test ! -s conftest.err
14580 } && test -s conftest.$ac_objext; then
14581 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14583 $as_echo "$as_me: failed program was:" >&5
14584 sed 's
/^
/|
/' conftest.$ac_ext >&5
14589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14593 # Provide a safe default value.
14594 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14597 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14598 $as_echo "$ac_cv_func_select_args" >&6; }
14599 ac_save_IFS=$IFS; IFS=','
14600 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14604 cat >>confdefs.h <<_ACEOF
14605 #define SELECT_TYPE_ARG1 $1
14609 cat >>confdefs.h <<_ACEOF
14610 #define SELECT_TYPE_ARG234 ($2)
14614 cat >>confdefs.h <<_ACEOF
14615 #define SELECT_TYPE_ARG5 ($3)
14622 if test x$CLUSTER != xnone; then
14625 for ac_header in sys/socket.h sys/un.h
14627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14629 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14630 $as_echo_n "checking for $ac_header... " >&6; }
14631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14632 $as_echo_n "(cached) " >&6
14634 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14635 $as_echo "$as_val"'`
14636 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14637 $as_echo "$ac_res" >&6; }
14639 # Is the header compilable?
14640 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14641 $as_echo_n "checking $ac_header usability... " >&6; }
14642 cat >conftest.$ac_ext <<_ACEOF
14645 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 $ac_includes_default
14649 #include <$ac_header>
14651 rm -f conftest.$ac_objext
14652 if { (ac_try="$ac_compile"
14653 case "(($ac_try" in
14654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14655 *) ac_try_echo=$ac_try;;
14657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14658 $as_echo "$ac_try_echo") >&5
14659 (eval "$ac_compile") 2>conftest.er1
14661 grep -v '^
*+' conftest.er1 >conftest.err
14663 cat conftest.err >&5
14664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } && {
14666 test -z "$ac_c_werror_flag" ||
14667 test ! -s conftest.err
14668 } && test -s conftest.$ac_objext; then
14669 ac_header_compiler=yes
14671 $as_echo "$as_me: failed program was:" >&5
14672 sed 's
/^
/|
/' conftest.$ac_ext >&5
14674 ac_header_compiler=no
14677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14678 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14679 $as_echo "$ac_header_compiler" >&6; }
14681 # Is the header present?
14682 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14683 $as_echo_n "checking $ac_header presence... " >&6; }
14684 cat >conftest.$ac_ext <<_ACEOF
14687 cat confdefs.h >>conftest.$ac_ext
14688 cat >>conftest.$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14690 #include <$ac_header>
14692 if { (ac_try="$ac_cpp conftest.$ac_ext"
14693 case "(($ac_try" in
14694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695 *) ac_try_echo=$ac_try;;
14697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14698 $as_echo "$ac_try_echo") >&5
14699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14701 grep -v '^
*+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } >/dev/null && {
14706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14709 ac_header_preproc=yes
14711 $as_echo "$as_me: failed program was:" >&5
14712 sed 's
/^
/|
/' conftest.$ac_ext >&5
14714 ac_header_preproc=no
14717 rm -f conftest.err conftest.$ac_ext
14718 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14719 $as_echo "$ac_header_preproc" >&6; }
14721 # So? What about this header?
14722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14725 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14727 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14728 ac_header_preproc=yes
14731 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14732 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14734 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14736 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14738 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14740 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14742 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14746 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14747 $as_echo_n "checking for $ac_header... " >&6; }
14748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14749 $as_echo_n "(cached) " >&6
14751 eval "$as_ac_Header=\$ac_header_preproc"
14753 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14754 $as_echo "$as_val"'`
14755 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14756 $as_echo "$ac_res" >&6; }
14759 as_val=`eval 'as_val
=${'$as_ac_Header'}
14760 $as_echo "$as_val"'`
14761 if test "x$as_val" = x""yes; then
14762 cat >>confdefs.h <<_ACEOF
14763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14767 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14768 $as_echo "$as_me: error: bailing out" >&2;}
14769 { (exit 1); exit 1; }; }
14775 for ac_func in socket
14777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14778 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14779 $as_echo_n "checking for $ac_func... " >&6; }
14780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14781 $as_echo_n "(cached) " >&6
14783 cat >conftest.$ac_ext <<_ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14791 #define $ac_func innocuous_$ac_func
14793 /* System header to define __stub macros and hopefully few prototypes,
14794 which can conflict with char $ac_func (); below.
14795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14796 <limits.h> exists even on freestanding compilers. */
14799 # include <limits.h>
14801 # include <assert.h>
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14813 /* The GNU C library defines this for functions which it implements
14814 to always fail with ENOSYS. Some functions are actually named
14815 something starting with __ and the normal name is an alias. */
14816 #if defined __stub_$ac_func || defined __stub___$ac_func
14823 return $ac_func ();
14828 rm -f conftest.$ac_objext conftest$ac_exeext
14829 if { (ac_try="$ac_link"
14830 case "(($ac_try" in
14831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14832 *) ac_try_echo=$ac_try;;
14834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14835 $as_echo "$ac_try_echo") >&5
14836 (eval "$ac_link") 2>conftest.er1
14838 grep -v '^
*+' conftest.er1 >conftest.err
14840 cat conftest.err >&5
14841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest$ac_exeext && {
14846 test "$cross_compiling" = yes ||
14847 $as_test_x conftest$ac_exeext
14849 eval "$as_ac_var=yes"
14851 $as_echo "$as_me: failed program was:" >&5
14852 sed 's
/^
/|
/' conftest.$ac_ext >&5
14854 eval "$as_ac_var=no"
14857 rm -rf conftest.dSYM
14858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14859 conftest$ac_exeext conftest.$ac_ext
14861 ac_res=`eval 'as_val
=${'$as_ac_var'}
14862 $as_echo "$as_val"'`
14863 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14864 $as_echo "$ac_res" >&6; }
14865 as_val=`eval 'as_val
=${'$as_ac_var'}
14866 $as_echo "$as_val"'`
14867 if test "x$as_val" = x""yes; then
14868 cat >>confdefs.h <<_ACEOF
14869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14873 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14874 $as_echo "$as_me: error: bailing out" >&2;}
14875 { (exit 1); exit 1; }; }
14881 if test x$HAVE_LIBDL = xyes; then
14883 for ac_header in dlfcn.h
14885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14887 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14888 $as_echo_n "checking for $ac_header... " >&6; }
14889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14890 $as_echo_n "(cached) " >&6
14892 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14893 $as_echo "$as_val"'`
14894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14895 $as_echo "$ac_res" >&6; }
14897 # Is the header compilable?
14898 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14899 $as_echo_n "checking $ac_header usability... " >&6; }
14900 cat >conftest.$ac_ext <<_ACEOF
14903 cat confdefs.h >>conftest.$ac_ext
14904 cat >>conftest.$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 $ac_includes_default
14907 #include <$ac_header>
14909 rm -f conftest.$ac_objext
14910 if { (ac_try="$ac_compile"
14911 case "(($ac_try" in
14912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14916 $as_echo "$ac_try_echo") >&5
14917 (eval "$ac_compile") 2>conftest.er1
14919 grep -v '^
*+' conftest.er1 >conftest.err
14921 cat conftest.err >&5
14922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } && {
14924 test -z "$ac_c_werror_flag" ||
14925 test ! -s conftest.err
14926 } && test -s conftest.$ac_objext; then
14927 ac_header_compiler=yes
14929 $as_echo "$as_me: failed program was:" >&5
14930 sed 's
/^
/|
/' conftest.$ac_ext >&5
14932 ac_header_compiler=no
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14936 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14937 $as_echo "$ac_header_compiler" >&6; }
14939 # Is the header present?
14940 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14941 $as_echo_n "checking $ac_header presence... " >&6; }
14942 cat >conftest.$ac_ext <<_ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 #include <$ac_header>
14950 if { (ac_try="$ac_cpp conftest.$ac_ext"
14951 case "(($ac_try" in
14952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14953 *) ac_try_echo=$ac_try;;
14955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14956 $as_echo "$ac_try_echo") >&5
14957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14959 grep -v '^
*+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } >/dev/null && {
14964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14967 ac_header_preproc=yes
14969 $as_echo "$as_me: failed program was:" >&5
14970 sed 's
/^
/|
/' conftest.$ac_ext >&5
14972 ac_header_preproc=no
14975 rm -f conftest.err conftest.$ac_ext
14976 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14977 $as_echo "$ac_header_preproc" >&6; }
14979 # So? What about this header?
14980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14983 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14985 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14986 ac_header_preproc=yes
14989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14990 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14992 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14994 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14996 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14998 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15000 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15004 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15005 $as_echo_n "checking for $ac_header... " >&6; }
15006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15007 $as_echo_n "(cached) " >&6
15009 eval "$as_ac_Header=\$ac_header_preproc"
15011 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15012 $as_echo "$as_val"'`
15013 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15014 $as_echo "$ac_res" >&6; }
15017 as_val=`eval 'as_val
=${'$as_ac_Header'}
15018 $as_echo "$as_val"'`
15019 if test "x$as_val" = x""yes; then
15020 cat >>confdefs.h <<_ACEOF
15021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15025 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15026 $as_echo "$as_me: error: bailing out" >&2;}
15027 { (exit 1); exit 1; }; }
15034 if test x$INTL = xyes; then
15036 for ac_header in libintl.h
15038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15040 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15041 $as_echo_n "checking for $ac_header... " >&6; }
15042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15043 $as_echo_n "(cached) " >&6
15045 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15046 $as_echo "$as_val"'`
15047 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15048 $as_echo "$ac_res" >&6; }
15050 # Is the header compilable?
15051 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15052 $as_echo_n "checking $ac_header usability... " >&6; }
15053 cat >conftest.$ac_ext <<_ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15060 #include <$ac_header>
15062 rm -f conftest.$ac_objext
15063 if { (ac_try="$ac_compile"
15064 case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15069 $as_echo "$ac_try_echo") >&5
15070 (eval "$ac_compile") 2>conftest.er1
15072 grep -v '^
*+' conftest.er1 >conftest.err
15074 cat conftest.err >&5
15075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest.$ac_objext; then
15080 ac_header_compiler=yes
15082 $as_echo "$as_me: failed program was:" >&5
15083 sed 's
/^
/|
/' conftest.$ac_ext >&5
15085 ac_header_compiler=no
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15090 $as_echo "$ac_header_compiler" >&6; }
15092 # Is the header present?
15093 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15094 $as_echo_n "checking $ac_header presence... " >&6; }
15095 cat >conftest.$ac_ext <<_ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15101 #include <$ac_header>
15103 if { (ac_try="$ac_cpp conftest.$ac_ext"
15104 case "(($ac_try" in
15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15106 *) ac_try_echo=$ac_try;;
15108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15109 $as_echo "$ac_try_echo") >&5
15110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15112 grep -v '^
*+' conftest.er1 >conftest.err
15114 cat conftest.err >&5
15115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } >/dev/null && {
15117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15118 test ! -s conftest.err
15120 ac_header_preproc=yes
15122 $as_echo "$as_me: failed program was:" >&5
15123 sed 's
/^
/|
/' conftest.$ac_ext >&5
15125 ac_header_preproc=no
15128 rm -f conftest.err conftest.$ac_ext
15129 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15130 $as_echo "$ac_header_preproc" >&6; }
15132 # So? What about this header?
15133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15136 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15138 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15139 ac_header_preproc=yes
15142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15143 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15145 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15147 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15149 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15151 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15153 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15157 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 $as_echo_n "checking for $ac_header... " >&6; }
15159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15160 $as_echo_n "(cached) " >&6
15162 eval "$as_ac_Header=\$ac_header_preproc"
15164 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15165 $as_echo "$as_val"'`
15166 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15167 $as_echo "$ac_res" >&6; }
15170 as_val=`eval 'as_val
=${'$as_ac_Header'}
15171 $as_echo "$as_val"'`
15172 if test "x$as_val" = x""yes; then
15173 cat >>confdefs.h <<_ACEOF
15174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15178 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15179 $as_echo "$as_me: error: bailing out" >&2;}
15180 { (exit 1); exit 1; }; }
15187 if test x$UDEV_SYNC = xyes; then
15190 for ac_header in sys/ipc.h sys/sem.h
15192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15194 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15195 $as_echo_n "checking for $ac_header... " >&6; }
15196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15197 $as_echo_n "(cached) " >&6
15199 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15200 $as_echo "$as_val"'`
15201 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15202 $as_echo "$ac_res" >&6; }
15204 # Is the header compilable?
15205 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15206 $as_echo_n "checking $ac_header usability... " >&6; }
15207 cat >conftest.$ac_ext <<_ACEOF
15210 cat confdefs.h >>conftest.$ac_ext
15211 cat >>conftest.$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213 $ac_includes_default
15214 #include <$ac_header>
15216 rm -f conftest.$ac_objext
15217 if { (ac_try="$ac_compile"
15218 case "(($ac_try" in
15219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15220 *) ac_try_echo=$ac_try;;
15222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15223 $as_echo "$ac_try_echo") >&5
15224 (eval "$ac_compile") 2>conftest.er1
15226 grep -v '^
*+' conftest.er1 >conftest.err
15228 cat conftest.err >&5
15229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && {
15231 test -z "$ac_c_werror_flag" ||
15232 test ! -s conftest.err
15233 } && test -s conftest.$ac_objext; then
15234 ac_header_compiler=yes
15236 $as_echo "$as_me: failed program was:" >&5
15237 sed 's
/^
/|
/' conftest.$ac_ext >&5
15239 ac_header_compiler=no
15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15243 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15244 $as_echo "$ac_header_compiler" >&6; }
15246 # Is the header present?
15247 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15248 $as_echo_n "checking $ac_header presence... " >&6; }
15249 cat >conftest.$ac_ext <<_ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15255 #include <$ac_header>
15257 if { (ac_try="$ac_cpp conftest.$ac_ext"
15258 case "(($ac_try" in
15259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15260 *) ac_try_echo=$ac_try;;
15262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15263 $as_echo "$ac_try_echo") >&5
15264 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15266 grep -v '^
*+' conftest.er1 >conftest.err
15268 cat conftest.err >&5
15269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } >/dev/null && {
15271 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15272 test ! -s conftest.err
15274 ac_header_preproc=yes
15276 $as_echo "$as_me: failed program was:" >&5
15277 sed 's
/^
/|
/' conftest.$ac_ext >&5
15279 ac_header_preproc=no
15282 rm -f conftest.err conftest.$ac_ext
15283 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15284 $as_echo "$ac_header_preproc" >&6; }
15286 # So? What about this header?
15287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15290 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15292 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15293 ac_header_preproc=yes
15296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15297 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15299 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15301 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15303 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15305 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15307 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15311 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15312 $as_echo_n "checking for $ac_header... " >&6; }
15313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15314 $as_echo_n "(cached) " >&6
15316 eval "$as_ac_Header=\$ac_header_preproc"
15318 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15319 $as_echo "$as_val"'`
15320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15321 $as_echo "$ac_res" >&6; }
15324 as_val=`eval 'as_val
=${'$as_ac_Header'}
15325 $as_echo "$as_val"'`
15326 if test "x$as_val" = x""yes; then
15327 cat >>confdefs.h <<_ACEOF
15328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15332 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15333 $as_echo "$as_me: error: bailing out" >&2;}
15334 { (exit 1); exit 1; }; }
15341 ################################################################################
15342 # Extract the first word of "modprobe", so it can be a program name with args.
15343 set dummy modprobe; ac_word=$2
15344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15345 $as_echo_n "checking for $ac_word... " >&6; }
15346 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15347 $as_echo_n "(cached) " >&6
15349 case $MODPROBE_CMD in
15351 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15355 for as_dir in $PATH
15358 test -z "$as_dir" && as_dir=.
15359 for ac_exec_ext in '' $ac_executable_extensions; do
15360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15361 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15372 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15373 if test -n "$MODPROBE_CMD"; then
15374 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15375 $as_echo "$MODPROBE_CMD" >&6; }
15377 { $as_echo "$as_me:$LINENO: result: no" >&5
15378 $as_echo "no" >&6; }
15383 if test x$MODPROBE_CMD != x; then
15385 cat >>confdefs.h <<_ACEOF
15386 #define MODPROBE_CMD "$MODPROBE_CMD"
15391 ################################################################################
15394 if test "$BUILD_DMEVENTD" = yes; then
15396 # Check whether --with-dmeventd-pidfile was given.
15397 if test "${with_dmeventd_pidfile+set}" = set; then
15398 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15399 #define DMEVENTD_PIDFILE "$withval"
15403 cat >>confdefs.h <<_ACEOF
15404 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15413 if test "$BUILD_DMEVENTD" = yes; then
15414 dmeventd_prefix="$exec_prefix"
15415 if test "x$dmeventd_prefix" = "xNONE"; then
15416 dmeventd_prefix="$prefix"
15418 if test "x$dmeventd_prefix" = "xNONE"; then
15422 # Check whether --with-dmeventd-path was given.
15423 if test "${with_dmeventd_path+set}" = set; then
15424 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15425 #define DMEVENTD_PATH "$withval"
15429 cat >>confdefs.h <<_ACEOF
15430 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15437 ################################################################################
15438 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15439 $as_echo_n "checking for kernel interface choice... " >&6; }
15441 # Check whether --with-interface was given.
15442 if test "${with_interface+set}" = set; then
15443 withval=$with_interface; interface="$withval"
15448 if [ "x$interface" != xioctl ];
15450 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15451 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15452 { (exit 1); exit 1; }; }
15454 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15455 $as_echo "$interface" >&6; }
15457 ################################################################################
15458 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15460 cat >>confdefs.h <<_ACEOF
15461 #define DM_LIB_VERSION $DM_LIB_VERSION
15465 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15467 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15469 VER=`cat "$srcdir"/VERSION`
15470 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15471 VER=`echo "$VER" | $AWK '{print
$1}'`
15472 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15473 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15474 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15475 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15476 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15477 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15479 ################################################################################
15567 ################################################################################
15568 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile 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"
15570 cat >confcache <<\_ACEOF
15571 # This file is a shell script that caches the results of configure
15572 # tests run on this system so they can be shared between configure
15573 # scripts and configure runs, see configure's option
--config-cache.
15574 # It is not useful on other systems. If it contains results you don't
15575 # want to keep, you may remove or edit it.
15577 # config.status only pays attention to the cache file if you give it
15578 # the --recheck option to rerun configure.
15580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15582 # following values.
15586 # The following way of writing the cache mishandles newlines in values,
15587 # but we know of no workaround that is simple, portable, and efficient.
15588 # So, we kill variables containing newlines.
15589 # Ultrix sh set writes to stderr and can't be redirected directly,
15590 # and sets the high bit in the cache file unless we assign to the vars.
15592 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15593 eval ac_val
=\$
$ac_var
15597 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15601 _ | IFS | as_nl
) ;; #(
15602 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15603 *) $as_unset $ac_var ;;
15609 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15610 *${as_nl}ac_space
=\
*)
15611 # `set' does not quote correctly, so add quotes (double-quote
15612 # substitution turns \\\\ into \\, and sed turns \\ into \).
15615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15618 # `set' quotes correctly as required by POSIX, so do not add quotes.
15619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15632 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15633 if test -w "$cache_file"; then
15634 test "x$cache_file" != "x/dev/null" &&
15635 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15636 $as_echo "$as_me: updating cache $cache_file" >&6;}
15637 cat confcache
>$cache_file
15639 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15640 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15645 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15646 # Let make expand exec_prefix.
15647 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15649 DEFS
=-DHAVE_CONFIG_H
15653 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15654 # 1. Remove the extension, and $U if already installed.
15655 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15656 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15658 # will be set to the directory where LIBOBJS objects are built.
15659 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15660 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15662 LIBOBJS
=$ac_libobjs
15664 LTLIBOBJS
=$ac_ltlibobjs
15668 : ${CONFIG_STATUS=./config.status}
15670 ac_clean_files_save
=$ac_clean_files
15671 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15672 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15673 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15674 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676 # Generated by $as_me.
15677 # Run this file to recreate the current configuration.
15678 # Compiler output produced by configure, useful for debugging
15679 # configure, is in config.log if it exists.
15682 ac_cs_recheck=false
15684 SHELL=\${CONFIG_SHELL-$SHELL}
15687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15688 ## --------------------- ##
15689 ## M4sh Initialization. ##
15690 ## --------------------- ##
15692 # Be more Bourne compatible
15693 DUALCASE
=1; export DUALCASE
# for MKS sh
15694 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15697 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15698 # is contrary to our usage. Disable this feature.
15699 alias -g '${1+"$@"}'='"$@"'
15700 setopt NO_GLOB_SUBST
15702 case `(set -o) 2>/dev/null` in
15703 *posix
*) set -o posix
;;
15712 # Avoid depending upon Character Ranges.
15713 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15714 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15715 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15716 as_cr_digits
='0123456789'
15717 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15722 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15723 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15726 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15727 as_echo='printf %s
\n'
15728 as_echo_n='printf %s
'
15730 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15731 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15732 as_echo_n='/usr
/ucb
/echo -n'
15734 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15735 as_echo_n_body='eval
15739 expr "X$arg" : "X\\(.*\\)$as_nl";
15740 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15742 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15744 export as_echo_n_body
15745 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15747 export as_echo_body
15748 as_echo='sh
-c $as_echo_body as_echo
'
15751 # The user is always right.
15752 if test "${PATH_SEPARATOR+set}" != set; then
15754 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15755 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15760 # Support unset when possible.
15761 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15769 # We need space, tab and new line, in precisely that order. Quoting is
15770 # there to prevent editors from complaining about space-tab.
15771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15772 # splitting by setting IFS to empty value.)
15775 # Find who we are. Look in the path if we contain no directory separator.
15777 *[\\/]* ) as_myself=$0 ;;
15778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15779 for as_dir in $PATH
15782 test -z "$as_dir" && as_dir=.
15783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15789 # We did not find ourselves, most probably we were run as `sh COMMAND'
15790 # in which case we are not to be found in the path.
15791 if test "x$as_myself" = x
; then
15794 if test ! -f "$as_myself"; then
15795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15796 { (exit 1); exit 1; }
15799 # Work around bugs in pre-3.0 UWIN ksh.
15800 for as_var
in ENV MAIL MAILPATH
15801 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15813 # Required to use basename.
15814 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15815 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15821 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15822 as_basename
=basename
15828 # Name of the executable.
15829 as_me
=`$as_basename -- "$0" ||
15830 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15831 X"$0" : 'X\(//\)$' \| \
15832 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15834 sed '/^.*\/\([^/][^/]*\)\/*$/{
15853 as_lineno_1
=$LINENO
15854 as_lineno_2
=$LINENO
15855 test "x$as_lineno_1" != "x$as_lineno_2" &&
15856 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15858 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15859 # uniformly replaced by the line number. The first 'sed' inserts a
15860 # line-number line after each line using $LINENO; the second 'sed'
15861 # does the real work. The second script uses 'N' to pair each
15862 # line-number line with the line containing $LINENO, and appends
15863 # trailing '-' during substitution so that $LINENO is not a special
15864 # case at line end.
15865 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15866 # scripts with optimization help from Paolo Bonzini. Blame Lee
15867 # E. McMahon (1931-1989) for sed's syntax. :-)
15879 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15882 ' >$as_me.lineno
&&
15883 chmod +x
"$as_me.lineno" ||
15884 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15885 { (exit 1); exit 1; }; }
15887 # Don't try to exec as it changes $[0], causing all sort of problems
15888 # (the dirname of $[0] is not the place where we might find the
15889 # original and so on. Autoconf is especially sensitive to this).
15890 .
"./$as_me.lineno"
15891 # Exit status is that of the last command.
15896 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15902 ECHO_C
= ECHO_N
= ECHO_T
=
15903 case `echo -n x` in
15905 case `echo 'x\c'` in
15906 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15912 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15913 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15919 rm -f conf$$ conf$$.exe conf$$.
file
15920 if test -d conf$$.dir
; then
15921 rm -f conf$$.dir
/conf$$.
file
15924 mkdir conf$$.dir
2>/dev
/null
15926 if (echo >conf$$.
file) 2>/dev
/null
; then
15927 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15929 # ... but there are two gotchas:
15930 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15931 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15932 # In both cases, we have to default to `cp -p'.
15933 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15935 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15943 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15944 rmdir conf$$.dir
2>/dev
/null
15946 if mkdir
-p .
2>/dev
/null
; then
15949 test -d .
/-p && rmdir .
/-p
15953 if test -x / >/dev
/null
2>&1; then
15954 as_test_x
='test -x'
15956 if ls -dL / >/dev
/null
2>&1; then
15963 if test -d "$1"; then
15969 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15970 ???[sx]*):;;*)false;;esac;fi
15974 as_executable_p
=$as_test_x
15976 # Sed expression to map a string onto a valid CPP name.
15977 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15979 # Sed expression to map a string onto a valid variable name.
15980 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15985 # Save the log message, to keep $[0] and so on meaningful, and to
15986 # report actual input values of CONFIG_FILES etc. instead of their
15987 # values after options handling.
15989 This file was extended by $as_me, which was
15990 generated by GNU Autoconf 2.63. Invocation command line was
15992 CONFIG_FILES = $CONFIG_FILES
15993 CONFIG_HEADERS = $CONFIG_HEADERS
15994 CONFIG_LINKS = $CONFIG_LINKS
15995 CONFIG_COMMANDS = $CONFIG_COMMANDS
15998 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16003 case $ac_config_files in *"
16004 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16007 case $ac_config_headers in *"
16008 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16013 # Files that config.status was made for.
16014 config_files="$ac_config_files"
16015 config_headers="$ac_config_headers"
16019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16021 \`$as_me' instantiates files from templates according to the
16022 current configuration.
16024 Usage: $0 [OPTION]... [FILE]...
16026 -h, --help print this help, then exit
16027 -V, --version print version number and configuration settings, then exit
16028 -q, --quiet, --silent
16029 do not print progress messages
16030 -d, --debug don't remove temporary files
16031 --recheck update $as_me by reconfiguring in the same conditions
16032 --file=FILE[:TEMPLATE]
16033 instantiate the configuration file FILE
16034 --header=FILE[:TEMPLATE]
16035 instantiate the configuration header FILE
16037 Configuration files:
16040 Configuration headers:
16043 Report bugs to <bug-autoconf@gnu.org>."
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16049 configured by $0, generated by GNU Autoconf 2.63,
16050 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16052 Copyright (C) 2008 Free Software Foundation, Inc.
16053 This config.status script is free software; the Free Software Foundation
16054 gives unlimited permission to copy, distribute and modify it."
16061 test -n "\$AWK" || AWK=awk
16064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16065 # The default lists apply if the user does not specify any file.
16071 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16072 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16083 # Handling of the options.
16084 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16086 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16087 $as_echo "$ac_cs_version"; exit ;;
16088 --debug |
--debu |
--deb |
--de |
--d |
-d )
16090 --file |
--fil |
--fi |
--f )
16093 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16095 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16096 ac_need_defaults
=false
;;
16097 --header |
--heade |
--head |
--hea )
16100 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16102 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16103 ac_need_defaults
=false
;;
16105 # Conflict between --help and --header
16106 { $as_echo "$as_me: error: ambiguous option: $1
16107 Try \`$0 --help' for more information." >&2
16108 { (exit 1); exit 1; }; };;
16109 --help |
--hel |
-h )
16110 $as_echo "$ac_cs_usage"; exit ;;
16111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16112 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16115 # This is an error.
16116 -*) { $as_echo "$as_me: error: unrecognized option: $1
16117 Try \`$0 --help' for more information." >&2
16118 { (exit 1); exit 1; }; } ;;
16120 *) ac_config_targets
="$ac_config_targets $1"
16121 ac_need_defaults
=false
;;
16127 ac_configure_extra_args
=
16129 if $ac_cs_silent; then
16131 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16136 if \$ac_cs_recheck; then
16137 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16139 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16140 CONFIG_SHELL='$SHELL'
16141 export CONFIG_SHELL
16146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16150 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16151 ## Running $as_me. ##
16157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16162 # Handling of arguments.
16163 for ac_config_target
in $ac_config_targets
16165 case $ac_config_target in
16166 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16167 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16168 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16169 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16170 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16171 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16172 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16173 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16174 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16175 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16176 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16177 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16178 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16179 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16180 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16181 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16182 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16183 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16184 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16185 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16186 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16187 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16188 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16189 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16190 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16191 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16192 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16193 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16194 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16195 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16196 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16197 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16198 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16199 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16200 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16201 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16203 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16204 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16205 { (exit 1); exit 1; }; };;
16210 # If the user did not use the arguments to specify the items to instantiate,
16211 # then the envvar interface is used. Set only those that are not.
16212 # We use the long form for the default assignment because of an extremely
16213 # bizarre bug on SunOS 4.1.3.
16214 if $ac_need_defaults; then
16215 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16216 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16219 # Have a temporary directory for convenience. Make it in the build tree
16220 # simply because there is no reason against having it here, and in addition,
16221 # creating and moving files from /tmp can sometimes cause problems.
16222 # Hook for its removal unless debugging.
16223 # Note that there is a small window in which the directory will not be cleaned:
16224 # after its creation but before its name has been assigned to `$tmp'.
16228 trap 'exit_status=$?
16229 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16231 trap '{ (exit 1); exit 1; }' 1 2 13 15
16233 # Create a (secure) tmp directory for tmp files.
16236 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16237 test -n "$tmp" && test -d "$tmp"
16240 tmp
=.
/conf$$
-$RANDOM
16241 (umask 077 && mkdir
"$tmp")
16244 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16245 { (exit 1); exit 1; }
16248 # Set up the scripts for CONFIG_FILES section.
16249 # No need to generate them if there are no CONFIG_FILES.
16250 # This happens for instance with `./config.status config.h'.
16251 if test -n "$CONFIG_FILES"; then
16255 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16256 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16259 ac_cs_awk_cr
=$ac_cr
16262 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16267 echo "cat >conf$$subs.awk <<_ACEOF" &&
16268 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16270 } >conf$$subs.sh ||
16271 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16272 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16273 { (exit 1); exit 1; }; }
16274 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16276 for ac_last_try in false false false false false :; do
16277 . ./conf$$subs.sh ||
16278 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16279 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16280 { (exit 1); exit 1; }; }
16282 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16283 if test $ac_delim_n = $ac_delim_num; then
16285 elif $ac_last_try; then
16286 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16287 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16288 { (exit 1); exit 1; }; }
16290 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16293 rm -f conf$$subs.sh
16295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16296 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16300 s/^/S["/; s
/!.
*/"]=/
16310 s/\(.\{148\}\).*/\1/
16312 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16317 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16324 s/\(.\{148\}\).*/\1/
16326 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16330 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16335 ' <conf$$subs.awk | sed '
16340 ' >>$CONFIG_STATUS || ac_write_fail=1
16341 rm -f conf$$subs.awk
16342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16344 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16345 for (key in S) S_is_set[key] = 1
16351 nfields = split(line, field, "@
")
16353 len = length(field[1])
16354 for (i = 2; i < nfields; i++) {
16356 keylen = length(key)
16357 if (S_is_set[key]) {
16359 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16360 len += length(value) + length(field[++i])
16371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16372 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16373 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16376 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16377 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16378 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16379 { (exit 1); exit 1; }; }
16382 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16383 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16384 # trailing colons and then remove the whole line if VPATH becomes empty
16385 # (actually we leave an empty line to preserve line numbers).
16386 if test "x
$srcdir" = x.; then
16387 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16388 s/:*\$(srcdir):*/:/
16389 s/:*\${srcdir}:*/:/
16391 s/^\([^=]*=[ ]*\):*/\1/
16397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16398 fi # test -n "$CONFIG_FILES"
16400 # Set up the scripts for CONFIG_HEADERS section.
16401 # No need to generate them if there are no CONFIG_HEADERS.
16402 # This happens for instance with `./config.status Makefile'.
16403 if test -n "$CONFIG_HEADERS"; then
16404 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16408 # Transform confdefs.h into an awk script `defines.awk', embedded as
16409 # here-document in config.status, that substitutes the proper values into
16410 # config.h.in to produce config.h.
16412 # Create a delimiter string that does not exist in confdefs.h, to ease
16413 # handling of long lines.
16415 for ac_last_try in false false :; do
16416 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16417 if test -z "$ac_t"; then
16419 elif $ac_last_try; then
16420 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16421 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16422 { (exit 1); exit 1; }; }
16424 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16428 # For the awk script, D is an array of macro values keyed by name,
16429 # likewise P contains macro parameters if any. Preserve backslash
16430 # newline sequences.
16432 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16434 s/.\{148\}/&'"$ac_delim"'/g
16437 s/^[ ]*#[ ]*define[ ][ ]*/ /
16444 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16446 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16451 D["\
1"]=" \
3\\\\\\n
"\\/p
16453 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16458 s/.\{148\}/&'"$ac_delim"'/g
16463 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16466 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16468 ' <confdefs.h | sed '
16469 s/'"$ac_delim"'/"\\\
16470 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16473 for (key in D) D_is_set[key] = 1
16476 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16478 split(line, arg, " ")
16479 if (arg[1] == "#") {
16483 defundef
= substr
(arg
[1], 2)
16486 split(mac1
, mac2
, "(") #)
16488 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16489 if (D_is_set
[macro
]) {
16490 # Preserve the white space surrounding the "#".
16491 print prefix
"define", macro P
[macro
] D
[macro
]
16494 # Replace #undef with comments. This is necessary, for example,
16495 # in the case of _POSIX_SOURCE, which is predefined and required
16496 # on some systems where configure will not decide to define it.
16497 if (defundef
== "undef") {
16498 print
"/*", prefix defundef
, macro
, "*/"
16506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16507 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16508 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16509 { (exit 1); exit 1; }; }
16510 fi # test -n "$CONFIG_HEADERS"
16513 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16518 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16520 case $ac_mode$ac_tag in
16522 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16523 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16524 { (exit 1); exit 1; }; };;
16525 :[FH
]-) ac_tag
=-:-;;
16526 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16543 -) ac_f
="$tmp/stdin";;
16544 *) # Look for the file first in the build tree, then in the source tree
16545 # (if the path is not absolute). The absolute path cannot be DOS-style,
16546 # because $ac_f cannot contain `:'.
16550 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16552 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16553 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16554 { (exit 1); exit 1; }; };;
16556 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16557 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16560 # Let's still pretend it is `configure' which instantiates (i.e., don't
16561 # use $as_me), people would be surprised to read:
16562 # /* config.h. Generated by config.status. */
16563 configure_input
='Generated from '`
16564 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16566 if test x
"$ac_file" != x-
; then
16567 configure_input
="$ac_file. $configure_input"
16568 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16569 $as_echo "$as_me: creating $ac_file" >&6;}
16571 # Neutralize special characters interpreted by sed in replacement strings.
16572 case $configure_input in #(
16573 *\
&* |
*\|
* |
*\\* )
16574 ac_sed_conf_input
=`$as_echo "$configure_input" |
16575 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16576 *) ac_sed_conf_input
=$configure_input;;
16580 *:-:* |
*:-) cat >"$tmp/stdin" \
16581 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16582 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16583 { (exit 1); exit 1; }; } ;;
16588 ac_dir
=`$as_dirname -- "$ac_file" ||
16589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16590 X"$ac_file" : 'X\(//\)[^/]' \| \
16591 X"$ac_file" : 'X\(//\)$' \| \
16592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16593 $as_echo X"$ac_file" |
16594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16598 /^X\(\/\/\)[^/].*/{
16613 -*) as_dir
=.
/$as_dir;;
16615 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16619 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16620 *) as_qdir
=$as_dir;;
16622 as_dirs
="'$as_qdir' $as_dirs"
16623 as_dir
=`$as_dirname -- "$as_dir" ||
16624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16625 X"$as_dir" : 'X\(//\)[^/]' \| \
16626 X"$as_dir" : 'X\(//\)$' \| \
16627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16628 $as_echo X"$as_dir" |
16629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16633 /^X\(\/\/\)[^/].*/{
16646 test -d "$as_dir" && break
16648 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16649 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16650 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16651 { (exit 1); exit 1; }; }; }
16655 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16657 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16658 # A ".." for each directory in $ac_dir_suffix.
16659 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16660 case $ac_top_builddir_sub in
16661 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16662 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16665 ac_abs_top_builddir
=$ac_pwd
16666 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16667 # for backward compatibility:
16668 ac_top_builddir
=$ac_top_build_prefix
16671 .
) # We are building in place.
16673 ac_top_srcdir
=$ac_top_builddir_sub
16674 ac_abs_top_srcdir
=$ac_pwd ;;
16675 [\\/]* | ?
:[\\/]* ) # Absolute name.
16676 ac_srcdir
=$srcdir$ac_dir_suffix;
16677 ac_top_srcdir
=$srcdir
16678 ac_abs_top_srcdir
=$srcdir ;;
16679 *) # Relative name.
16680 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16681 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16682 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16684 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16694 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16695 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16697 ac_MKDIR_P
=$MKDIR_P
16699 [\\/$
]* | ?
:[\\/]* ) ;;
16700 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16705 # If the template does not know about datarootdir, expand it.
16706 # FIXME: This hack should be removed a few years after 2.60.
16707 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16720 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16721 *datarootdir
*) ac_datarootdir_seen
=yes;;
16722 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16723 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16724 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16727 ac_datarootdir_hack='
16728 s&@datadir@&$datadir&g
16729 s&@docdir@&$docdir&g
16730 s&@infodir@&$infodir&g
16731 s&@localedir@&$localedir&g
16732 s&@mandir@&$mandir&g
16733 s&\\\${datarootdir}&$datarootdir&g' ;;
16737 # Neutralize VPATH when `$srcdir' = `.'.
16738 # Shell code in configure.ac might set extrasub.
16739 # FIXME: do we really want to maintain this feature?
16740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16741 ac_sed_extra="$ac_vpsub
16744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16746 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16747 s|@configure_input@|
$ac_sed_conf_input|
;t t
16748 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16749 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16750 s
&@srcdir@
&$ac_srcdir&;t t
16751 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16752 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16753 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16754 s
&@builddir@
&$ac_builddir&;t t
16755 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16756 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16757 s
&@INSTALL@
&$ac_INSTALL&;t t
16758 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16759 $ac_datarootdir_hack
16761 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16762 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16763 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16764 { (exit 1); exit 1; }; }
16766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16767 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16769 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16770 which seems to be undefined. Please make sure it is defined." >&5
16771 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16772 which seems to be undefined. Please make sure it is defined." >&2;}
16776 -) cat "$tmp/out" && rm -f "$tmp/out";;
16777 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16779 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16780 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16781 { (exit 1); exit 1; }; }
16787 if test x"$ac_file" != x-; then
16789 $as_echo "/* $configure_input */" \
16790 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16791 } >"$tmp/config.h" \
16792 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16793 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16794 { (exit 1); exit 1; }; }
16795 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16796 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16797 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16800 mv "$tmp/config.h" "$ac_file" \
16801 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16802 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16803 { (exit 1); exit 1; }; }
16806 $as_echo "/* $configure_input */" \
16807 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16808 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16809 $as_echo "$as_me: error: could not create -" >&2;}
16810 { (exit 1); exit 1; }; }
16820 { (exit 0); exit 0; }
16822 chmod +x $CONFIG_STATUS
16823 ac_clean_files=$ac_clean_files_save
16825 test $ac_write_fail = 0 ||
16826 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16827 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16828 { (exit 1); exit 1; }; }
16831 # configure is writing to config.log, and then calls config.status.
16832 # config.status does its own redirection, appending to config.log.
16833 # Unfortunately, on DOS this fails, as config.log is still kept open
16834 # by configure, so config.status won't be able to
write to it
; its
16835 # output is simply discarded. So we exec the FD to /dev/null,
16836 # effectively closing config.log, so it can be properly (re)opened and
16837 # appended to by config.status. When coming back to configure, we
16838 # need to make the FD available again.
16839 if test "$no_create" != yes; then
16841 ac_config_status_args
=
16842 test "$silent" = yes &&
16843 ac_config_status_args
="$ac_config_status_args --quiet"
16845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16848 # would make configure fail if this is the last instruction.
16849 $ac_cs_success ||
{ (exit 1); exit 1; }
16851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16852 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16857 if test x
$ODIRECT != xyes
; then
16858 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16859 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}