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
695 DEFAULT_BACKUP_SUBDIR
696 DEFAULT_ARCHIVE_SUBDIR
805 program_transform_name
817 enable_option_checking
835 with_cmirrord_pidfile
861 with_dmeventd_pidfile
863 with_default_system_dir
864 with_default_archive_subdir
865 with_default_backup_subdir
866 with_default_cache_subdir
867 with_default_locking_dir
870 ac_precious_vars
='build_alias
906 # Initialize some variables set by options.
908 ac_init_version
=false
909 ac_unrecognized_opts
=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
920 program_transform_name
=s
,x
,x
,
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir
='${exec_prefix}/bin'
935 sbindir
='${exec_prefix}/sbin'
936 libexecdir
='${exec_prefix}/libexec'
937 datarootdir
='${prefix}/share'
938 datadir
='${datarootdir}'
939 sysconfdir
='${prefix}/etc'
940 sharedstatedir
='${prefix}/com'
941 localstatedir
='${prefix}/var'
942 includedir
='${prefix}/include'
943 oldincludedir
='/usr/include'
944 docdir
='${datarootdir}/doc/${PACKAGE}'
945 infodir
='${datarootdir}/info'
950 libdir
='${exec_prefix}/lib'
951 localedir
='${datarootdir}/locale'
952 mandir
='${datarootdir}/man'
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\
$ac_option
966 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
976 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
978 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
981 -build |
--build |
--buil |
--bui |
--bu)
982 ac_prev
=build_alias
;;
983 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
984 build_alias
=$ac_optarg ;;
986 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
987 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
988 ac_prev
=cache_file
;;
989 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
990 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
991 cache_file
=$ac_optarg ;;
994 cache_file
=config.cache
;;
996 -datadir |
--datadir |
--datadi |
--datad)
998 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
999 datadir
=$ac_optarg ;;
1001 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1002 |
--dataroo |
--dataro |
--datar)
1003 ac_prev
=datarootdir
;;
1004 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1005 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1006 datarootdir
=$ac_optarg ;;
1008 -disable-* |
--disable-*)
1009 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=no
;;
1025 -docdir |
--docdir |
--docdi |
--doc |
--do)
1027 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1028 docdir
=$ac_optarg ;;
1030 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1032 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1033 dvidir
=$ac_optarg ;;
1035 -enable-* |
--enable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=\
$ac_optarg ;;
1052 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1053 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1054 |
--exec |
--exe |
--ex)
1055 ac_prev
=exec_prefix
;;
1056 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1057 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1058 |
--exec=* |
--exe=* |
--ex=*)
1059 exec_prefix
=$ac_optarg ;;
1061 -gas |
--gas |
--ga |
--g)
1062 # Obsolete; use --with-gas.
1065 -help |
--help |
--hel |
--he |
-h)
1066 ac_init_help
=long
;;
1067 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1068 ac_init_help
=recursive
;;
1069 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1070 ac_init_help
=short
;;
1072 -host |
--host |
--hos |
--ho)
1073 ac_prev
=host_alias
;;
1074 -host=* |
--host=* |
--hos=* |
--ho=*)
1075 host_alias
=$ac_optarg ;;
1077 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1079 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1081 htmldir
=$ac_optarg ;;
1083 -includedir |
--includedir |
--includedi |
--included |
--include \
1084 |
--includ |
--inclu |
--incl |
--inc)
1085 ac_prev
=includedir
;;
1086 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1087 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1088 includedir
=$ac_optarg ;;
1090 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1092 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1093 infodir
=$ac_optarg ;;
1095 -libdir |
--libdir |
--libdi |
--libd)
1097 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1098 libdir
=$ac_optarg ;;
1100 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1101 |
--libexe |
--libex |
--libe)
1102 ac_prev
=libexecdir
;;
1103 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1104 |
--libexe=* |
--libex=* |
--libe=*)
1105 libexecdir
=$ac_optarg ;;
1107 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1108 ac_prev
=localedir
;;
1109 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1110 localedir
=$ac_optarg ;;
1112 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1113 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1114 ac_prev
=localstatedir
;;
1115 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1116 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1117 localstatedir
=$ac_optarg ;;
1119 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1121 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1122 mandir
=$ac_optarg ;;
1124 -nfp |
--nfp |
--nf)
1125 # Obsolete; use --without-fp.
1128 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1129 |
--no-cr |
--no-c |
-n)
1132 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1133 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1136 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1137 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1138 |
--oldin |
--oldi |
--old |
--ol |
--o)
1139 ac_prev
=oldincludedir
;;
1140 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1141 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1142 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1143 oldincludedir
=$ac_optarg ;;
1145 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1147 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1148 prefix
=$ac_optarg ;;
1150 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1151 |
--program-pre |
--program-pr |
--program-p)
1152 ac_prev
=program_prefix
;;
1153 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1154 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1155 program_prefix
=$ac_optarg ;;
1157 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1158 |
--program-suf |
--program-su |
--program-s)
1159 ac_prev
=program_suffix
;;
1160 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1161 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1162 program_suffix
=$ac_optarg ;;
1164 -program-transform-name |
--program-transform-name \
1165 |
--program-transform-nam |
--program-transform-na \
1166 |
--program-transform-n |
--program-transform- \
1167 |
--program-transform |
--program-transfor \
1168 |
--program-transfo |
--program-transf \
1169 |
--program-trans |
--program-tran \
1170 |
--progr-tra |
--program-tr |
--program-t)
1171 ac_prev
=program_transform_name
;;
1172 -program-transform-name=* |
--program-transform-name=* \
1173 |
--program-transform-nam=* |
--program-transform-na=* \
1174 |
--program-transform-n=* |
--program-transform-=* \
1175 |
--program-transform=* |
--program-transfor=* \
1176 |
--program-transfo=* |
--program-transf=* \
1177 |
--program-trans=* |
--program-tran=* \
1178 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1179 program_transform_name
=$ac_optarg ;;
1181 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1183 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1184 pdfdir
=$ac_optarg ;;
1186 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1188 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1191 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1192 |
-silent |
--silent |
--silen |
--sile |
--sil)
1195 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1197 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1199 sbindir
=$ac_optarg ;;
1201 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1202 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1203 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1205 ac_prev
=sharedstatedir
;;
1206 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1207 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1208 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1210 sharedstatedir
=$ac_optarg ;;
1212 -site |
--site |
--sit)
1214 -site=* |
--site=* |
--sit=*)
1217 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1219 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1220 srcdir
=$ac_optarg ;;
1222 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1223 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1224 ac_prev
=sysconfdir
;;
1225 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1226 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1227 sysconfdir
=$ac_optarg ;;
1229 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1230 ac_prev
=target_alias
;;
1231 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1232 target_alias
=$ac_optarg ;;
1234 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1237 -version |
--version |
--versio |
--versi |
--vers |
-V)
1238 ac_init_version
=: ;;
1241 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1244 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=\
$ac_optarg ;;
1257 -without-* |
--without-*)
1258 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1262 { (exit 1); exit 1; }; }
1263 ac_useropt_orig
=$ac_useropt
1264 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep
=', ';;
1272 eval with_
$ac_useropt=no
;;
1275 # Obsolete; use --with-x.
1278 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1279 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1280 ac_prev
=x_includes
;;
1281 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1282 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1283 x_includes
=$ac_optarg ;;
1285 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1286 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1287 ac_prev
=x_libraries
;;
1288 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1289 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1290 x_libraries
=$ac_optarg ;;
1292 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1293 Try \`$0 --help' for more information." >&2
1294 { (exit 1); exit 1; }; }
1298 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1301 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1302 { (exit 1); exit 1; }; }
1303 eval $ac_envvar=\
$ac_optarg
1304 export $ac_envvar ;;
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1317 if test -n "$ac_prev"; then
1318 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1319 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1320 { (exit 1); exit 1; }; }
1323 if test -n "$ac_unrecognized_opts"; then
1324 case $enable_option_checking in
1326 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1327 { (exit 1); exit 1; }; } ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332 # Check all directory arguments for consistency.
1333 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val
=\$
$ac_var
1339 # Remove trailing slashes.
1342 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\
$ac_val;;
1345 # Be sure to have absolute directory names.
1347 [\\/$
]* | ?
:[\\/]* ) continue;;
1348 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1350 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1351 { (exit 1); exit 1; }; }
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1359 target
=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x
; then
1363 if test "x$build_alias" = x
; then
1364 cross_compiling
=maybe
1365 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1366 If a cross compiler is detected then cross compile mode will be used." >&2
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1375 test "$silent" = yes && exec 6>/dev
/null
1378 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di
=`ls -di .` &&
1380 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1381 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1382 { (exit 1); exit 1; }; }
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1385 { (exit 1); exit 1; }; }
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted
=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir
=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1420 ac_srcdir_defaulted
=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1424 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1425 { (exit 1); exit 1; }; }
1427 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1430 { (exit 1); exit 1; }; }
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1440 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 for ac_var
in $ac_precious_vars; do
1443 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1445 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1456 \`configure' configures this package to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1514 --build=BUILD configure
for building on BUILD
[guessed
]
1515 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1516 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1520 if test -n "$ac_init_help"; then
1525 --disable-option-checking ignore unrecognized
--enable/--with options
1526 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1527 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1528 --enable-static_link use this to link the tools to their libraries
1529 statically
(default is dynamic linking
1530 --enable-lvm1_fallback use this to fall back and use LVM1 binaries
if
1531 device-mapper is missing from the kernel
1532 --disable-readline disable readline support
1533 --enable-realtime enable realtime
clock support
1534 --enable-cmirrord enable the cluster mirror log daemon
1535 --enable-debug enable debugging
1536 --enable-profiling gather gcov profiling data
1537 --disable-devmapper disable LVM2 device-mapper interaction
1538 --enable-udev_sync enable synchronisation with udev processing
1539 --enable-udev_rules install rule files needed
for udev synchronisation
1540 --enable-compat enable support
for old device-mapper versions
1541 --enable-units-compat enable output compatibility with old versions that
1542 that
do not use KiB-style unit suffixes
1543 --disable-driver disable calls to device-mapper
in the kernel
1544 --disable-o_direct disable O_DIRECT
1545 --enable-applib build application library
1546 --enable-cmdlib build shared
command library
1547 --enable-pkgconfig install pkgconfig support
1548 --enable-write_install install user writable files
1549 --disable-fsadm disable fsadm
1550 --enable-dmeventd enable the device-mapper event daemon
1551 --disable-selinux disable selinux support
1552 --enable-nls enable Native Language Support
1555 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1556 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1557 --with-user=USER
set the owner of installed files
[USER
=]
1558 --with-group=GROUP
set the group owner of installed files
[GROUP
=]
1559 --with-device-uid=UID
set the owner used
for new device nodes
[UID
=0]
1560 --with-device-gid=GID
set the group used
for new device nodes
[GID
=0]
1561 --with-device-mode=MODE
set the mode used
for new device nodes
[MODE
=0600]
1562 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1564 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1566 --with-cluster=TYPE cluster LVM locking support
: internal
/shared
/none
1568 --with-snapshots=TYPE snapshot support
: internal
/shared
/none
1570 --with-mirrors=TYPE mirror support
: internal
/shared
/none
1572 --with-replicators=TYPE replicator support
: internal
/shared
/none
1574 --with-clvmd=TYPE build cluster LVM Daemon
1575 The following cluster manager combinations are valid
:
1576 * cman
,gulm
(RHEL4 or equivalent
)
1577 * cman
(RHEL5 or equivalent
)
1578 * cman
,corosync
,openais
(or selection of them
)
1579 * singlenode
(localhost only
)
1581 * none
(disable build
)
1583 --with-cmirrord-pidfile=PATH
1584 cmirrord pidfile
[/var
/run
/cmirrord.pid
]
1585 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1586 --with-localedir=DIR translation files
in DIR
[PREFIX
/share
/locale
]
1587 --with-confdir=DIR configuration files
in DIR
[/etc
]
1588 --with-staticdir=DIR static binaries
in DIR
[EPREFIX
/sbin
]
1589 --with-usrlibdir=DIR usrlib
in DIR
[PREFIX
/lib
]
1590 --with-usrsbindir=DIR usrsbin executables
in DIR
[PREFIX
/sbin
]
1591 --with-udev-prefix=UPREFIX
1592 install udev rule files
in UPREFIX
[EPREFIX
]
1593 --with-udevdir=DIR udev rules
in DIR
[UPREFIX
/lib
/udev
/rules.d
]
1594 --with-dmeventd-pidfile=PATH
1595 dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1596 --with-dmeventd-path=PATH
1597 dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1598 --with-default-system-dir=DIR
1599 default LVM system directory
[/etc
/lvm
]
1600 --with-default-archive-subdir=SUBDIR
1601 default metadata archive subdir
[archive
]
1602 --with-default-backup-subdir=SUBDIR
1603 default metadata backup subdir
[backup
]
1604 --with-default-cache-subdir=SUBDIR
1605 default metadata cache subdir
[cache
]
1606 --with-default-locking-dir=DIR
1607 default locking directory
[/var
/lock
/lvm
]
1608 --with-interface=IFACE choose kernel interface
(ioctl
) [ioctl
]
1610 Some influential environment variables
:
1611 CC C compiler
command
1612 CFLAGS C compiler flags
1613 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1614 nonstandard directory
<lib dir
>
1615 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1616 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1617 you have headers
in a nonstandard directory
<include dir
>
1619 PKG_CONFIG path to pkg-config utility
1621 directories to add to pkg-config
's search path
1623 path overriding pkg-config's built-in search path
1624 PKGCONFIGINIT_CFLAGS
1625 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1627 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1628 CCS_CFLAGS C compiler flags
for CCS
, overriding pkg-config
1629 CCS_LIBS linker flags
for CCS
, overriding pkg-config
1630 GULM_CFLAGS C compiler flags
for GULM
, overriding pkg-config
1631 GULM_LIBS linker flags
for GULM
, overriding pkg-config
1632 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1633 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1635 C compiler flags
for COROSYNC
, overriding pkg-config
1637 linker flags
for COROSYNC
, overriding pkg-config
1639 C compiler flags
for QUORUM
, overriding pkg-config
1640 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1642 C compiler flags
for SALCK
, overriding pkg-config
1643 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1645 C compiler flags
for CONFDB
, overriding pkg-config
1646 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1647 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1648 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1649 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1650 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1652 C compiler flags
for SACKPT
, overriding pkg-config
1653 SACKPT_LIBS linker flags
for SACKPT
, overriding pkg-config
1655 Use these variables to override the choices made by
`configure' or to help
1656 it to find libraries and programs with nonstandard names/locations.
1662 if test "$ac_init_help" = "recursive"; then
1663 # If there are subdirs, report their specific --help.
1664 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1665 test -d "$ac_dir" ||
1666 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1671 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1673 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1674 # A ".." for each directory in $ac_dir_suffix.
1675 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1676 case $ac_top_builddir_sub in
1677 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1678 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1681 ac_abs_top_builddir=$ac_pwd
1682 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1683 # for backward compatibility:
1684 ac_top_builddir=$ac_top_build_prefix
1687 .) # We are building in place.
1689 ac_top_srcdir=$ac_top_builddir_sub
1690 ac_abs_top_srcdir=$ac_pwd ;;
1691 [\\/]* | ?:[\\/]* ) # Absolute name.
1692 ac_srcdir=$srcdir$ac_dir_suffix;
1693 ac_top_srcdir=$srcdir
1694 ac_abs_top_srcdir=$srcdir ;;
1696 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1697 ac_top_srcdir=$ac_top_build_prefix$srcdir
1698 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1700 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1702 cd "$ac_dir" || { ac_status=$?; continue; }
1703 # Check for guested configure.
1704 if test -f "$ac_srcdir/configure.gnu"; then
1706 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1707 elif test -f "$ac_srcdir/configure"; then
1709 $SHELL "$ac_srcdir/configure" --help=recursive
1711 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1713 cd "$ac_pwd" || { ac_status=$?; break; }
1717 test -n "$ac_init_help" && exit $ac_status
1718 if $ac_init_version; then
1721 generated by GNU Autoconf 2.63
1723 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1724 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1725 This configure script is free software; the Free Software Foundation
1726 gives unlimited permission to copy, distribute and modify it.
1730 cat >config.log <<_ACEOF
1731 This file contains any messages produced by compilers while
1732 running configure, to aid debugging if configure makes a mistake.
1734 It was created by $as_me, which was
1735 generated by GNU Autoconf 2.63. Invocation command line was
1747 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1748 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1749 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1750 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1751 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1753 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1754 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1756 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1757 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1758 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1759 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1760 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1761 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1762 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 $as_echo "PATH: $as_dir"
1787 # Keep a trace of the command line.
1788 # Strip out --no-create and --no-recursion so they do not pile up.
1789 # Strip out --silent because we don't want to record it for future runs.
1790 # Also quote any args containing shell meta-characters.
1791 # Make two passes to allow for proper duplicate-argument suppression.
1795 ac_must_keep_next=false
1801 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1802 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1803 | -silent | --silent | --silen | --sile | --sil)
1806 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1809 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1811 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1812 if test $ac_must_keep_next = true; then
1813 ac_must_keep_next=false # Got value, back to normal.
1816 *=* | --config-cache | -C | -disable-* | --disable-* \
1817 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1818 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1819 | -with-* | --with-* | -without-* | --without-* | --x)
1820 case "$ac_configure_args0 " in
1821 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1824 -* ) ac_must_keep_next=true ;;
1827 ac_configure_args="$ac_configure_args '$ac_arg'"
1832 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1833 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1835 # When interrupted or exit'd, cleanup temporary files, and complete
1836 # config.log. We remove comments because anyway the quotes in there
1837 # would cause problems or look ugly.
1838 # WARNING: Use '\'' to represent an apostrophe within the trap.
1839 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1840 trap 'exit_status=$?
1841 # Save into config.log some information that might help in debugging.
1846 ## ---------------- ##
1847 ## Cache variables. ##
1848 ## ---------------- ##
1851 # The following way of writing the cache mishandles newlines in values,
1853 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1854 eval ac_val=\$$ac_var
1858 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1862 _ | IFS | as_nl) ;; #(
1863 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1864 *) $as_unset $ac_var ;;
1869 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1870 *${as_nl}ac_space=\ *)
1872 "s/'\''/'\''\\\\'\'''\''/g;
1873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884 ## ----------------- ##
1885 ## Output variables. ##
1886 ## ----------------- ##
1889 for ac_var in $ac_subst_vars
1891 eval ac_val=\$$ac_var
1893 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1895 $as_echo "$ac_var='\''$ac_val'\''"
1899 if test -n "$ac_subst_files"; then
1901 ## ------------------- ##
1902 ## File substitutions. ##
1903 ## ------------------- ##
1906 for ac_var in $ac_subst_files
1908 eval ac_val=\$$ac_var
1910 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912 $as_echo "$ac_var='\''$ac_val'\''"
1917 if test -s confdefs.h; then
1927 test "$ac_signal" != 0 &&
1928 $as_echo "$as_me: caught signal $ac_signal"
1929 $as_echo "$as_me: exit $exit_status"
1931 rm -f core *.core core.conftest.* &&
1932 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935 for ac_signal in 1 2 13 15; do
1936 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941 rm -f -r conftest* confdefs.h
1943 # Predefined preprocessor variables.
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_NAME "$PACKAGE_NAME"
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_STRING "$PACKAGE_STRING"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1970 # Let the site file select an alternate cache file if it wants to.
1971 # Prefer an explicitly selected file to automatically selected ones.
1974 if test -n "$CONFIG_SITE"; then
1975 ac_site_file1=$CONFIG_SITE
1976 elif test "x$prefix" != xNONE; then
1977 ac_site_file1=$prefix/share/config.site
1978 ac_site_file2=$prefix/etc/config.site
1980 ac_site_file1=$ac_default_prefix/share/config.site
1981 ac_site_file2=$ac_default_prefix/etc/config.site
1983 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1985 test "x$ac_site_file" = xNONE && continue
1986 if test -r "$ac_site_file"; then
1987 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1988 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1989 sed 's/^/| /' "$ac_site_file" >&5
1994 if test -r "$cache_file"; then
1995 # Some versions of bash will fail to source /dev/null (special
1996 # files actually), so we avoid doing that.
1997 if test -f "$cache_file"; then
1998 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1999 $as_echo "$as_me: loading cache $cache_file" >&6;}
2001 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2002 *) . "./$cache_file";;
2006 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2007 $as_echo "$as_me: creating cache $cache_file" >&6;}
2011 # Check that the precious variables saved in the cache have kept the same
2013 ac_cache_corrupted=false
2014 for ac_var in $ac_precious_vars; do
2015 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2016 eval ac_new_set=\$ac_env_${ac_var}_set
2017 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2018 eval ac_new_val=\$ac_env_${ac_var}_value
2019 case $ac_old_set,$ac_new_set in
2021 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2022 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2023 ac_cache_corrupted=: ;;
2025 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2026 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2027 ac_cache_corrupted=: ;;
2030 if test "x$ac_old_val" != "x$ac_new_val"; then
2031 # differences in whitespace do not lead to failure.
2032 ac_old_val_w=`echo x
$ac_old_val`
2033 ac_new_val_w=`echo x
$ac_new_val`
2034 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2035 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2036 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2037 ac_cache_corrupted=:
2039 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2040 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2041 eval $ac_var=\$ac_old_val
2043 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2044 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2045 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2046 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2049 # Pass precious variables to config.status.
2050 if test "$ac_new_set" = set; then
2052 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2053 *) ac_arg=$ac_var=$ac_new_val ;;
2055 case " $ac_configure_args " in
2056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2057 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2061 if $ac_cache_corrupted; then
2062 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2064 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2065 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2066 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2067 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2068 { (exit 1); exit 1; }; }
2088 ac_cpp='$CPP $CPPFLAGS'
2089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2095 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
2098 ################################################################################
2100 for ac_dir in autoconf "$srcdir"/autoconf; do
2101 if test -f "$ac_dir/install-sh
"; then
2103 ac_install_sh="$ac_aux_dir/install-sh
-c"
2105 elif test -f "$ac_dir/install.sh
"; then
2107 ac_install_sh="$ac_aux_dir/install.sh
-c"
2109 elif test -f "$ac_dir/shtool
"; then
2111 ac_install_sh="$ac_aux_dir/shtool
install -c"
2115 if test -z "$ac_aux_dir"; then
2116 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2117 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2118 { (exit 1); exit 1; }; }
2121 # These three variables are undocumented and unsupported,
2122 # and are intended to be withdrawn in a future Autoconf release.
2123 # They can cause serious problems if a builder's source tree is in a directory
2124 # whose full name contains unusual characters.
2125 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2126 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2127 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2131 ################################################################################
2132 # Make sure we can run config.sub.
2133 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2134 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2135 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2136 { (exit 1); exit 1; }; }
2138 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2139 $as_echo_n "checking build system
type...
" >&6; }
2140 if test "${ac_cv_build+set}" = set; then
2141 $as_echo_n "(cached
) " >&6
2143 ac_build_alias=$build_alias
2144 test "x
$ac_build_alias" = x &&
2145 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2146 test "x
$ac_build_alias" = x &&
2147 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2148 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2149 { (exit 1); exit 1; }; }
2150 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2151 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2152 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2153 { (exit 1); exit 1; }; }
2156 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2157 $as_echo "$ac_cv_build" >&6; }
2158 case $ac_cv_build in
2160 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2161 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2162 { (exit 1); exit 1; }; };;
2165 ac_save_IFS=$IFS; IFS='-'
2171 # Remember, the first character of IFS is used to create $*,
2172 # except with old shells:
2175 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2178 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2179 $as_echo_n "checking
host system
type...
" >&6; }
2180 if test "${ac_cv_host+set}" = set; then
2181 $as_echo_n "(cached
) " >&6
2183 if test "x
$host_alias" = x; then
2184 ac_cv_host=$ac_cv_build
2186 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2187 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2188 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2189 { (exit 1); exit 1; }; }
2193 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2194 $as_echo "$ac_cv_host" >&6; }
2197 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2198 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2199 { (exit 1); exit 1; }; };;
2202 ac_save_IFS=$IFS; IFS='-'
2208 # Remember, the first character of IFS is used to create $*,
2209 # except with old shells:
2212 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2215 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2216 $as_echo_n "checking target system
type...
" >&6; }
2217 if test "${ac_cv_target+set}" = set; then
2218 $as_echo_n "(cached
) " >&6
2220 if test "x
$target_alias" = x; then
2221 ac_cv_target=$ac_cv_host
2223 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2224 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2225 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2226 { (exit 1); exit 1; }; }
2230 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2231 $as_echo "$ac_cv_target" >&6; }
2232 case $ac_cv_target in
2234 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2235 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2236 { (exit 1); exit 1; }; };;
2238 target=$ac_cv_target
2239 ac_save_IFS=$IFS; IFS='-'
2245 # Remember, the first character of IFS is used to create $*,
2246 # except with old shells:
2249 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2252 # The aliases save the names the user supplied, while $host etc.
2253 # will get canonicalized.
2254 test -n "$target_alias" &&
2255 test "$program_prefix$program_suffix$program_transform_name" = \
2257 program_prefix=${target_alias}-
2262 COPTIMISE_FLAG="-O2"
2263 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2264 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2265 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2266 LDDEPS="$LDDEPS .
export.sym
"
2267 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2277 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2278 COPTIMISE_FLAG="-O2"
2279 CLDFLAGS="$CLDFLAGS"
2280 CLDWHOLEARCHIVE="-all_load"
2292 ################################################################################
2293 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2294 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2295 if test "${ac_cv_path_SED+set}" = set; then
2296 $as_echo_n "(cached
) " >&6
2298 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2299 for ac_i in 1 2 3 4 5 6 7; do
2300 ac_script="$ac_script$as_nl$ac_script"
2302 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2303 $as_unset ac_script || ac_script=
2304 if test -z "$SED"; then
2305 ac_path_SED_found=false
2306 # Loop through the user's path and test for each of PROGNAME-LIST
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_prog in sed gsed; do
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2315 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2316 # Check for GNU ac_path_SED and select it if it is found.
2317 # Check for GNU $ac_path_SED
2318 case `"$ac_path_SED" --version 2>&1` in
2320 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2323 $as_echo_n 0123456789 >"conftest.
in"
2326 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2327 mv "conftest.tmp
" "conftest.
in"
2328 cp "conftest.
in" "conftest.
nl"
2329 $as_echo '' >> "conftest.
nl"
2330 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2331 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2332 ac_count=`expr $ac_count + 1`
2333 if test $ac_count -gt ${ac_path_SED_max-0}; then
2334 # Best one so far, save it but keep looking for a better one
2335 ac_cv_path_SED="$ac_path_SED"
2336 ac_path_SED_max=$ac_count
2338 # 10*(2^10) chars as input seems more than enough
2339 test $ac_count -gt 10 && break
2341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2344 $ac_path_SED_found && break 3
2349 if test -z "$ac_cv_path_SED"; then
2350 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2351 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2352 { (exit 1); exit 1; }; }
2359 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2360 $as_echo "$ac_cv_path_SED" >&6; }
2361 SED="$ac_cv_path_SED"
2364 for ac_prog in gawk mawk nawk awk
2366 # Extract the first word of "$ac_prog", so it can be a program name with args.
2367 set dummy $ac_prog; ac_word=$2
2368 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2369 $as_echo_n "checking
for $ac_word...
" >&6; }
2370 if test "${ac_cv_prog_AWK+set}" = set; then
2371 $as_echo_n "(cached
) " >&6
2373 if test -n "$AWK"; then
2374 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_AWK="$ac_prog"
2384 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2394 if test -n "$AWK"; then
2395 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2396 $as_echo "$AWK" >&6; }
2398 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2399 $as_echo "no
" >&6; }
2403 test -n "$AWK" && break
2407 ac_cpp='$CPP $CPPFLAGS'
2408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2411 if test -n "$ac_tool_prefix"; then
2412 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2413 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2414 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2415 $as_echo_n "checking
for $ac_word...
" >&6; }
2416 if test "${ac_cv_prog_CC+set}" = set; then
2417 $as_echo_n "(cached
) " >&6
2419 if test -n "$CC"; then
2420 ac_cv_prog_CC="$CC" # Let the user override the test.
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2430 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2440 if test -n "$CC"; then
2441 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2442 $as_echo "$CC" >&6; }
2444 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2445 $as_echo "no
" >&6; }
2450 if test -z "$ac_cv_prog_CC"; then
2452 # Extract the first word of "gcc
", so it can be a program name with args.
2453 set dummy gcc; ac_word=$2
2454 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2455 $as_echo_n "checking
for $ac_word...
" >&6; }
2456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2457 $as_echo_n "(cached
) " >&6
2459 if test -n "$ac_ct_CC"; then
2460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_ac_ct_CC="gcc
"
2470 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2480 if test -n "$ac_ct_CC"; then
2481 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2482 $as_echo "$ac_ct_CC" >&6; }
2484 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2485 $as_echo "no
" >&6; }
2488 if test "x
$ac_ct_CC" = x; then
2491 case $cross_compiling:$ac_tool_warned in
2493 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2494 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2495 ac_tool_warned=yes ;;
2503 if test -z "$CC"; then
2504 if test -n "$ac_tool_prefix"; then
2505 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2506 set dummy ${ac_tool_prefix}cc; ac_word=$2
2507 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2508 $as_echo_n "checking
for $ac_word...
" >&6; }
2509 if test "${ac_cv_prog_CC+set}" = set; then
2510 $as_echo_n "(cached
) " >&6
2512 if test -n "$CC"; then
2513 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 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2523 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2533 if test -n "$CC"; then
2534 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2535 $as_echo "$CC" >&6; }
2537 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2538 $as_echo "no
" >&6; }
2544 if test -z "$CC"; then
2545 # Extract the first word of "cc
", so it can be a program name with args.
2546 set dummy cc; ac_word=$2
2547 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2548 $as_echo_n "checking
for $ac_word...
" >&6; }
2549 if test "${ac_cv_prog_CC+set}" = set; then
2550 $as_echo_n "(cached
) " >&6
2552 if test -n "$CC"; then
2553 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2564 ac_prog_rejected=yes
2568 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2575 if test $ac_prog_rejected = yes; then
2576 # We found a bogon in the path, so make sure we never use it.
2577 set dummy $ac_cv_prog_CC
2579 if test $# != 0; then
2580 # We chose a different compiler from the bogus one.
2581 # However, it has the same basename, so the bogon will be chosen
2582 # first if we set CC to just the basename; use the full file name.
2584 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2590 if test -n "$CC"; then
2591 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2592 $as_echo "$CC" >&6; }
2594 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2595 $as_echo "no
" >&6; }
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 for ac_prog in cl.exe
2604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2606 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2607 $as_echo_n "checking
for $ac_word...
" >&6; }
2608 if test "${ac_cv_prog_CC+set}" = set; then
2609 $as_echo_n "(cached
) " >&6
2611 if test -n "$CC"; then
2612 ac_cv_prog_CC="$CC" # Let the user override the test.
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 test -z "$as_dir" && as_dir=.
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2621 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2622 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2632 if test -n "$CC"; then
2633 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2634 $as_echo "$CC" >&6; }
2636 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2637 $as_echo "no
" >&6; }
2641 test -n "$CC" && break
2644 if test -z "$CC"; then
2646 for ac_prog in cl.exe
2648 # Extract the first word of "$ac_prog", so it can be a program name with args.
2649 set dummy $ac_prog; ac_word=$2
2650 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2651 $as_echo_n "checking
for $ac_word...
" >&6; }
2652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2653 $as_echo_n "(cached
) " >&6
2655 if test -n "$ac_ct_CC"; then
2656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_ac_ct_CC="$ac_prog"
2666 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2676 if test -n "$ac_ct_CC"; then
2677 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2678 $as_echo "$ac_ct_CC" >&6; }
2680 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2681 $as_echo "no
" >&6; }
2685 test -n "$ac_ct_CC" && break
2688 if test "x
$ac_ct_CC" = x; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2694 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2695 ac_tool_warned=yes ;;
2704 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2706 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2707 See \`config.log' for more details.
" >&5
2708 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2709 See \
`config.log' for more details." >&2;}
2710 { (exit 1); exit 1; }; }; }
2712 # Provide some information about the compiler.
2713 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2716 { (ac_try="$ac_compiler --version >&5"
2718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2719 *) ac_try_echo
=$ac_try;;
2721 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2722 $as_echo "$ac_try_echo") >&5
2723 (eval "$ac_compiler --version >&5") 2>&5
2725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }
2727 { (ac_try
="$ac_compiler -v >&5"
2729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2733 $as_echo "$ac_try_echo") >&5
2734 (eval "$ac_compiler -v >&5") 2>&5
2736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }
2738 { (ac_try="$ac_compiler -V >&5"
2740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2741 *) ac_try_echo
=$ac_try;;
2743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2744 $as_echo "$ac_try_echo") >&5
2745 (eval "$ac_compiler -V >&5") 2>&5
2747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }
2750 cat >conftest.
$ac_ext <<_ACEOF
2753 cat confdefs.h
>>conftest.
$ac_ext
2754 cat >>conftest.
$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 ac_clean_files_save
=$ac_clean_files
2766 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2767 # Try to create an executable without -o first, disregard a.out.
2768 # It will help us diagnose broken compilers, and finding out an intuition
2770 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2771 $as_echo_n "checking for C compiler default output file name... " >&6; }
2772 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2774 # The possible output files:
2775 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2778 for ac_file
in $ac_files
2781 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2782 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2787 if { (ac_try
="$ac_link_default"
2789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2793 $as_echo "$ac_try_echo") >&5
2794 (eval "$ac_link_default") 2>&5
2796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; then
2798 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2799 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2800 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2801 # so that the user can short-circuit this test for compilers unknown to
2803 for ac_file in $ac_files ''
2805 test -f "$ac_file" || continue
2807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2810 # We found the default executable, but exeext='' is most
2814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2818 # We set ac_cv_exeext here because the later test for it is not
2819 # safe: cross compilers may not add the suffix if given an `-o'
2820 # argument, so we may need to know it at that point already.
2821 # Even if this section looks crufty: it has the advantage of
2828 test "$ac_cv_exeext" = no && ac_cv_exeext=
2834 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2835 $as_echo "$ac_file" >&6; }
2836 if test -z "$ac_file"; then
2837 $as_echo "$as_me: failed program was:" >&5
2838 sed 's
/^
/|
/' conftest.$ac_ext >&5
2840 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2841 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2842 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2843 See \`config.log
' for more details." >&5
2844 $as_echo "$as_me: error: C compiler cannot create executables
2845 See \`config.log' for more details.
" >&2;}
2846 { (exit 77); exit 77; }; }; }
2849 ac_exeext=$ac_cv_exeext
2851 # Check that the compiler produces executables we can run. If not, either
2852 # the compiler is broken, or we cross compile.
2853 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2854 $as_echo_n "checking whether the C compiler works...
" >&6; }
2855 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2856 # If not cross compiling, check that we can run a simple program.
2857 if test "$cross_compiling" != yes; then
2858 if { ac_try='./$ac_file'
2859 { (case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2864 $as_echo "$ac_try_echo") >&5
2865 (eval "$ac_try") 2>&5
2867 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2868 (exit $ac_status); }; }; then
2871 if test "$cross_compiling" = maybe; then
2874 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2876 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2877 If you meant to cross compile, use \`--host'.
2878 See \
`config.log' for more details." >&5
2879 $as_echo "$as_me: error: cannot run C compiled programs.
2880 If you meant to cross compile, use \`--host'.
2881 See \`config.log' for more details.
" >&2;}
2882 { (exit 1); exit 1; }; }; }
2886 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2887 $as_echo "yes" >&6; }
2889 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2890 ac_clean_files=$ac_clean_files_save
2891 # Check that the compiler produces executables we can run. If not, either
2892 # the compiler is broken, or we cross compile.
2893 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2894 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2895 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2896 $as_echo "$cross_compiling" >&6; }
2898 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2899 $as_echo_n "checking
for suffix of executables...
" >&6; }
2900 if { (ac_try="$ac_link"
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2906 $as_echo "$ac_try_echo") >&5
2907 (eval "$ac_link") 2>&5
2909 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2910 (exit $ac_status); }; then
2911 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2912 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2913 # work properly (i.e., refer to `conftest.exe'), while it won't with
2915 for ac_file in conftest.exe conftest conftest.*; do
2916 test -f "$ac_file" || continue
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2919 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2925 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2927 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2928 See \`config.log' for more details.
" >&5
2929 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2930 See \
`config.log' for more details." >&2;}
2931 { (exit 1); exit 1; }; }; }
2934 rm -f conftest$ac_cv_exeext
2935 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2936 $as_echo "$ac_cv_exeext" >&6; }
2938 rm -f conftest.$ac_ext
2939 EXEEXT=$ac_cv_exeext
2941 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2942 $as_echo_n "checking for suffix of object files... " >&6; }
2943 if test "${ac_cv_objext+set}" = set; then
2944 $as_echo_n "(cached) " >&6
2946 cat >conftest.$ac_ext <<_ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.o conftest.obj
2962 if { (ac_try="$ac_compile"
2964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2965 *) ac_try_echo
=$ac_try;;
2967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2968 $as_echo "$ac_try_echo") >&5
2969 (eval "$ac_compile") 2>&5
2971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; then
2973 for ac_file
in conftest.o conftest.obj conftest.
*; do
2974 test -f "$ac_file" ||
continue;
2976 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2977 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2985 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2987 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2988 See \`config.log' for more details." >&5
2989 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }; }
2994 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2996 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2997 $as_echo "$ac_cv_objext" >&6; }
2998 OBJEXT
=$ac_cv_objext
3000 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3002 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3003 $as_echo_n "(cached) " >&6
3005 cat >conftest.
$ac_ext <<_ACEOF
3008 cat confdefs.h
>>conftest.
$ac_ext
3009 cat >>conftest.
$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3023 rm -f conftest.
$ac_objext
3024 if { (ac_try
="$ac_compile"
3026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030 $as_echo "$ac_try_echo") >&5
3031 (eval "$ac_compile") 2>conftest.er1
3033 grep -v '^ *+' conftest.er1 >conftest.err
3035 cat conftest.err >&5
3036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } && {
3038 test -z "$ac_c_werror_flag" ||
3039 test ! -s conftest.err
3040 } && test -s conftest.$ac_objext; then
3043 $as_echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3053 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3054 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3055 if test $ac_compiler_gnu = yes; then
3060 ac_test_CFLAGS=${CFLAGS+set}
3061 ac_save_CFLAGS=$CFLAGS
3062 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3063 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3064 if test "${ac_cv_prog_cc_g+set}" = set; then
3065 $as_echo_n "(cached) " >&6
3067 ac_save_c_werror_flag=$ac_c_werror_flag
3068 ac_c_werror_flag=yes
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3090 *) ac_try_echo
=$ac_try;;
3092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1
>conftest.err
3098 cat conftest.err
>&5
3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.
$ac_objext; then
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.
$ac_objext
3126 if { (ac_try
="$ac_compile"
3128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3132 $as_echo "$ac_try_echo") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3145 $as_echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3148 ac_c_werror_flag=$ac_save_c_werror_flag
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3165 rm -f conftest.$ac_objext
3166 if { (ac_try="$ac_compile"
3168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3169 *) ac_try_echo
=$ac_try;;
3171 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3172 $as_echo "$ac_try_echo") >&5
3173 (eval "$ac_compile") 2>conftest.er1
3175 grep -v '^ *+' conftest.er1
>conftest.err
3177 cat conftest.err
>&5
3178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && {
3180 test -z "$ac_c_werror_flag" ||
3181 test ! -s conftest.err
3182 } && test -s conftest.
$ac_objext; then
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3198 ac_c_werror_flag
=$ac_save_c_werror_flag
3200 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3201 $as_echo "$ac_cv_prog_cc_g" >&6; }
3202 if test "$ac_test_CFLAGS" = set; then
3203 CFLAGS
=$ac_save_CFLAGS
3204 elif test $ac_cv_prog_cc_g = yes; then
3205 if test "$GCC" = yes; then
3211 if test "$GCC" = yes; then
3217 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3218 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3219 if test "${ac_cv_prog_cc_c89+set}" = set; then
3220 $as_echo_n "(cached) " >&6
3222 ac_cv_prog_cc_c89
=no
3224 cat >conftest.
$ac_ext <<_ACEOF
3227 cat confdefs.h
>>conftest.
$ac_ext
3228 cat >>conftest.
$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3232 #include <sys/types.h>
3233 #include <sys/stat.h>
3234 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3235 struct buf { int x; };
3236 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3237 static char *e (p, i)
3243 static char *f (char * (*g) (char **, int), char **p, ...)
3248 s = g (p, va_arg (v,int));
3253 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3254 function prototypes and stuff, but not '\xHH' hex character constants.
3255 These don't provoke an error unfortunately, instead are silently treated
3256 as 'x'. The following induces an error, until -std is added to get
3257 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3258 array size at least. It's necessary to write '\x00'==0 to get something
3259 that's true only with -std. */
3260 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3262 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3263 inside strings and character constants. */
3265 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3267 int test (int i, double x);
3268 struct s1 {int (*f) (int a);};
3269 struct s2 {int (*f) (double a);};
3270 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3276 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3281 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3282 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3284 CC
="$ac_save_CC $ac_arg"
3285 rm -f conftest.
$ac_objext
3286 if { (ac_try
="$ac_compile"
3288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3292 $as_echo "$ac_try_echo") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_c_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cc_c89=$ac_arg
3305 $as_echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext
3312 test "x$ac_cv_prog_cc_c89" != "xno" && break
3314 rm -f conftest.$ac_ext
3319 case "x$ac_cv_prog_cc_c89" in
3321 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3322 $as_echo "none needed" >&6; } ;;
3324 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3325 $as_echo "unsupported" >&6; } ;;
3327 CC="$CC $ac_cv_prog_cc_c89"
3328 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3334 ac_cpp='$CPP $CPPFLAGS'
3335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 ac_cpp='$CPP $CPPFLAGS'
3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3346 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3347 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3348 # On Suns, sometimes $CPP names a directory.
3349 if test -n "$CPP" && test -d "$CPP"; then
3352 if test -z "$CPP"; then
3353 if test "${ac_cv_prog_CPP+set}" = set; then
3354 $as_echo_n "(cached) " >&6
3356 # Double quotes because CPP needs to be expanded
3357 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3360 for ac_c_preproc_warn_flag in '' yes
3362 # Use a header file that comes with gcc, so configuring glibc
3363 # with a fresh cross-compiler works.
3364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3365 # <limits.h> exists even on freestanding compilers.
3366 # On the NeXT, cc -E runs the code through the compiler's parser,
3367 # not just through cpp. "Syntax error" is here to catch this case.
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3375 # include <limits.h>
3377 # include <assert.h>
3381 if { (ac_try="$ac_cpp conftest.$ac_ext"
3383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3384 *) ac_try_echo
=$ac_try;;
3386 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3387 $as_echo "$ac_try_echo") >&5
3388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3390 grep -v '^ *+' conftest.er1
>conftest.err
3392 cat conftest.err
>&5
3393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } >/dev
/null
&& {
3395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3396 test ! -s conftest.err
3400 $as_echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.
$ac_ext >&5
3403 # Broken: fails on valid input.
3407 rm -f conftest.err conftest.
$ac_ext
3409 # OK, works on sane cases. Now check whether nonexistent headers
3410 # can be detected and how.
3411 cat >conftest.
$ac_ext <<_ACEOF
3414 cat confdefs.h
>>conftest.
$ac_ext
3415 cat >>conftest.
$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3417 #include <ac_nonexistent.h>
3419 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3425 $as_echo "$ac_try_echo") >&5
3426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev/null && {
3433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3434 test ! -s conftest.err
3436 # Broken: success on invalid input.
3439 $as_echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.$ac_ext >&5
3442 # Passes both tests.
3447 rm -f conftest.err conftest.$ac_ext
3450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3451 rm -f conftest.err conftest.
$ac_ext
3452 if $ac_preproc_ok; then
3464 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3465 $as_echo "$CPP" >&6; }
3467 for ac_c_preproc_warn_flag
in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.
$ac_ext <<_ACEOF
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3482 # include <limits.h>
3484 # include <assert.h>
3488 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3494 $as_echo "$ac_try_echo") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3507 $as_echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3529 *) ac_try_echo
=$ac_try;;
3531 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3532 $as_echo "$ac_try_echo") >&5
3533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1
>conftest.err
3537 cat conftest.err
>&5
3538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev
/null
&& {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3543 # Broken: success on invalid input.
3546 $as_echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 # Passes both tests.
3554 rm -f conftest.err conftest.
$ac_ext
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.
$ac_ext
3559 if $ac_preproc_ok; then
3562 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3565 See \`config.log' for more details." >&5
3566 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3567 See \`config.log' for more details." >&2;}
3568 { (exit 1); exit 1; }; }; }
3572 ac_cpp
='$CPP $CPPFLAGS'
3573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3578 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3579 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3580 if test "${ac_cv_path_GREP+set}" = set; then
3581 $as_echo_n "(cached) " >&6
3583 if test -z "$GREP"; then
3584 ac_path_GREP_found
=false
3585 # Loop through the user's path and test for each of PROGNAME-LIST
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_prog
in grep ggrep
; do
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3594 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3595 # Check for GNU ac_path_GREP and select it if it is found.
3596 # Check for GNU $ac_path_GREP
3597 case `"$ac_path_GREP" --version 2>&1` in
3599 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3602 $as_echo_n 0123456789 >"conftest.in"
3605 cat "conftest.in" "conftest.in" >"conftest.tmp"
3606 mv "conftest.tmp" "conftest.in"
3607 cp "conftest.in" "conftest.nl"
3608 $as_echo 'GREP' >> "conftest.nl"
3609 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3610 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3611 ac_count
=`expr $ac_count + 1`
3612 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3613 # Best one so far, save it but keep looking for a better one
3614 ac_cv_path_GREP
="$ac_path_GREP"
3615 ac_path_GREP_max
=$ac_count
3617 # 10*(2^10) chars as input seems more than enough
3618 test $ac_count -gt 10 && break
3620 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3623 $ac_path_GREP_found && break 3
3628 if test -z "$ac_cv_path_GREP"; then
3629 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3630 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3631 { (exit 1); exit 1; }; }
3634 ac_cv_path_GREP
=$GREP
3638 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3639 $as_echo "$ac_cv_path_GREP" >&6; }
3640 GREP
="$ac_cv_path_GREP"
3643 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3644 $as_echo_n "checking for egrep... " >&6; }
3645 if test "${ac_cv_path_EGREP+set}" = set; then
3646 $as_echo_n "(cached) " >&6
3648 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3649 then ac_cv_path_EGREP
="$GREP -E"
3651 if test -z "$EGREP"; then
3652 ac_path_EGREP_found
=false
3653 # Loop through the user's path and test for each of PROGNAME-LIST
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_prog
in egrep; do
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3662 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3663 # Check for GNU ac_path_EGREP and select it if it is found.
3664 # Check for GNU $ac_path_EGREP
3665 case `"$ac_path_EGREP" --version 2>&1` in
3667 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3670 $as_echo_n 0123456789 >"conftest.in"
3673 cat "conftest.in" "conftest.in" >"conftest.tmp"
3674 mv "conftest.tmp" "conftest.in"
3675 cp "conftest.in" "conftest.nl"
3676 $as_echo 'EGREP' >> "conftest.nl"
3677 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3678 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3679 ac_count
=`expr $ac_count + 1`
3680 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3681 # Best one so far, save it but keep looking for a better one
3682 ac_cv_path_EGREP
="$ac_path_EGREP"
3683 ac_path_EGREP_max
=$ac_count
3685 # 10*(2^10) chars as input seems more than enough
3686 test $ac_count -gt 10 && break
3688 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3691 $ac_path_EGREP_found && break 3
3696 if test -z "$ac_cv_path_EGREP"; then
3697 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3698 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3699 { (exit 1); exit 1; }; }
3702 ac_cv_path_EGREP
=$EGREP
3707 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3708 $as_echo "$ac_cv_path_EGREP" >&6; }
3709 EGREP
="$ac_cv_path_EGREP"
3712 if test $ac_cv_c_compiler_gnu = yes; then
3713 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3714 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3715 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3716 $as_echo_n "(cached) " >&6
3718 ac_pattern
="Autoconf.*'x'"
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3729 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3730 ac_cv_prog_gcc_traditional
=yes
3732 ac_cv_prog_gcc_traditional
=no
3737 if test $ac_cv_prog_gcc_traditional = no
; then
3738 cat >conftest.
$ac_ext <<_ACEOF
3741 cat confdefs.h
>>conftest.
$ac_ext
3742 cat >>conftest.
$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3748 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3749 ac_cv_prog_gcc_traditional
=yes
3755 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3756 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3757 if test $ac_cv_prog_gcc_traditional = yes; then
3758 CC
="$CC -traditional"
3762 # Find a good install program. We prefer a C program (faster),
3763 # so one script is as good as another. But avoid the broken or
3764 # incompatible versions:
3765 # SysV /etc/install, /usr/sbin/install
3766 # SunOS /usr/etc/install
3767 # IRIX /sbin/install
3769 # AmigaOS /C/install, which installs bootblocks on floppy discs
3770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3773 # OS/2's system install, which has a completely different semantic
3774 # ./install, which can be erroneously created by make from ./install.sh.
3775 # Reject install programs that cannot install multiple files.
3776 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3778 if test -z "$INSTALL"; then
3779 if test "${ac_cv_path_install+set}" = set; then
3780 $as_echo_n "(cached) " >&6
3782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir
=.
3787 # Account for people who put trailing slashes in PATH elements.
3789 .
/ | .
// |
/cC
/* | \
3790 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3791 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3794 # OSF1 and SCO ODT 3.0 have their own names for install.
3795 # Don't use installbsd from OSF since it installs stuff as root
3797 for ac_prog
in ginstall scoinst
install; do
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3800 if test $ac_prog = install &&
3801 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3802 # AIX install. It has an incompatible calling convention.
3804 elif test $ac_prog = install &&
3805 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3806 # program-specific install script used by HP pwplus--don't use.
3809 rm -rf conftest.one conftest.two conftest.dir
3810 echo one
> conftest.one
3811 echo two
> conftest.two
3813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3814 test -s conftest.one
&& test -s conftest.two
&&
3815 test -s conftest.dir
/conftest.one
&&
3816 test -s conftest.dir
/conftest.two
3818 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3831 rm -rf conftest.one conftest.two conftest.dir
3834 if test "${ac_cv_path_install+set}" = set; then
3835 INSTALL
=$ac_cv_path_install
3837 # As a last resort, use the slow shell script. Don't cache a
3838 # value for INSTALL within a source directory, because that will
3839 # break other packages using the cache if that directory is
3840 # removed, or if the value is a relative name.
3841 INSTALL
=$ac_install_sh
3844 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3845 $as_echo "$INSTALL" >&6; }
3847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3848 # It thinks the first close brace ends the variable substitution.
3849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3853 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3855 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3856 $as_echo_n "checking whether ln -s works... " >&6; }
3858 if test "$LN_S" = "ln -s"; then
3859 { $as_echo "$as_me:$LINENO: result: yes" >&5
3860 $as_echo "yes" >&6; }
3862 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3863 $as_echo "no, using $LN_S" >&6; }
3866 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3869 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3870 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3871 $as_echo_n "(cached) " >&6
3873 cat >conftest.
make <<\_ACEOF
3876 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3879 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3881 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3883 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3887 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3888 { $as_echo "$as_me:$LINENO: result: yes" >&5
3889 $as_echo "yes" >&6; }
3892 { $as_echo "$as_me:$LINENO: result: no" >&5
3893 $as_echo "no" >&6; }
3894 SET_MAKE
="MAKE=${MAKE-make}"
3897 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3898 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3899 if test -z "$MKDIR_P"; then
3900 if test "${ac_cv_path_mkdir+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_prog
in mkdir gmkdir
; do
3909 for ac_exec_ext
in '' $ac_executable_extensions; do
3910 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3911 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3912 'mkdir (GNU coreutils) '* | \
3913 'mkdir (coreutils) '* | \
3914 'mkdir (fileutils) '4.1*)
3915 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3925 if test "${ac_cv_path_mkdir+set}" = set; then
3926 MKDIR_P
="$ac_cv_path_mkdir -p"
3928 # As a last resort, use the slow shell script. Don't cache a
3929 # value for MKDIR_P within a source directory, because that will
3930 # break other packages using the cache if that directory is
3931 # removed, or if the value is a relative name.
3932 test -d .
/--version && rmdir .
/--version
3933 MKDIR_P
="$ac_install_sh -d"
3936 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3937 $as_echo "$MKDIR_P" >&6; }
3939 if test -n "$ac_tool_prefix"; then
3940 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3941 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if test "${ac_cv_prog_RANLIB+set}" = set; then
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$RANLIB"; then
3948 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 RANLIB
=$ac_cv_prog_RANLIB
3968 if test -n "$RANLIB"; then
3969 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3970 $as_echo "$RANLIB" >&6; }
3972 { $as_echo "$as_me:$LINENO: result: no" >&5
3973 $as_echo "no" >&6; }
3978 if test -z "$ac_cv_prog_RANLIB"; then
3979 ac_ct_RANLIB
=$RANLIB
3980 # Extract the first word of "ranlib", so it can be a program name with args.
3981 set dummy ranlib
; ac_word
=$2
3982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$ac_ct_RANLIB"; then
3988 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4008 if test -n "$ac_ct_RANLIB"; then
4009 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4010 $as_echo "$ac_ct_RANLIB" >&6; }
4012 { $as_echo "$as_me:$LINENO: result: no" >&5
4013 $as_echo "no" >&6; }
4016 if test "x$ac_ct_RANLIB" = x
; then
4019 case $cross_compiling:$ac_tool_warned in
4021 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4023 ac_tool_warned
=yes ;;
4025 RANLIB
=$ac_ct_RANLIB
4028 RANLIB
="$ac_cv_prog_RANLIB"
4031 # Extract the first word of "cflow", so it can be a program name with args.
4032 set dummy cflow
; ac_word
=$2
4033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4036 $as_echo_n "(cached) " >&6
4040 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir
=.
4048 for ac_exec_ext
in '' $ac_executable_extensions; do
4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4051 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4062 if test -n "$CFLOW_CMD"; then
4063 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4064 $as_echo "$CFLOW_CMD" >&6; }
4066 { $as_echo "$as_me:$LINENO: result: no" >&5
4067 $as_echo "no" >&6; }
4071 # Extract the first word of "cscope", so it can be a program name with args.
4072 set dummy cscope
; ac_word
=$2
4073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4076 $as_echo_n "(cached) " >&6
4080 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4090 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4091 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4102 if test -n "$CSCOPE_CMD"; then
4103 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4104 $as_echo "$CSCOPE_CMD" >&6; }
4106 { $as_echo "$as_me:$LINENO: result: no" >&5
4107 $as_echo "no" >&6; }
4112 ################################################################################
4119 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4120 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4121 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4122 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4123 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4124 $as_echo_n "(cached) " >&6
4126 cat >conftest.
$ac_ext <<_ACEOF
4129 cat confdefs.h
>>conftest.
$ac_ext
4130 cat >>conftest.
$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4132 #include <sys/types.h>
4144 rm -f conftest.
$ac_objext
4145 if { (ac_try
="$ac_compile"
4147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4151 $as_echo "$ac_try_echo") >&5
4152 (eval "$ac_compile") 2>conftest.er1
4154 grep -v '^ *+' conftest.er1 >conftest.err
4156 cat conftest.err >&5
4157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } && {
4159 test -z "$ac_c_werror_flag" ||
4160 test ! -s conftest.err
4161 } && test -s conftest.$ac_objext; then
4162 eval "$as_ac_Header=yes"
4164 $as_echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 eval "$as_ac_Header=no"
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_res=`eval 'as_val=${'$as_ac_Header'}
4173 $as_echo "$as_val"'`
4174 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4175 $as_echo "$ac_res" >&6; }
4176 as_val=`eval 'as_val=${'$as_ac_Header'}
4177 $as_echo "$as_val"'`
4178 if test "x$as_val" = x""yes; then
4179 cat >>confdefs.h <<_ACEOF
4180 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4183 ac_header_dirent=$ac_hdr; break
4187 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4188 if test $ac_header_dirent = dirent.h; then
4189 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4190 $as_echo_n "checking for library containing opendir... " >&6; }
4191 if test "${ac_cv_search_opendir+set}" = set; then
4192 $as_echo_n "(cached) " >&6
4194 ac_func_search_save_LIBS=$LIBS
4195 cat >conftest.$ac_ext <<_ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4202 /* Override any GCC internal prototype to avoid an error.
4203 Use char because int might match the return type of a GCC
4204 builtin and then its argument prototype would still apply. */
4217 for ac_lib in '' dir; do
4218 if test -z "$ac_lib"; then
4219 ac_res="none required"
4222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4228 *) ac_try_echo
=$ac_try;;
4230 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4231 $as_echo "$ac_try_echo") >&5
4232 (eval "$ac_link") 2>conftest.er1
4234 grep -v '^ *+' conftest.er1
>conftest.err
4236 cat conftest.err
>&5
4237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } && {
4239 test -z "$ac_c_werror_flag" ||
4240 test ! -s conftest.err
4241 } && test -s conftest
$ac_exeext && {
4242 test "$cross_compiling" = yes ||
4243 $as_test_x conftest
$ac_exeext
4245 ac_cv_search_opendir
=$ac_res
4247 $as_echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.
$ac_ext >&5
4253 rm -rf conftest.dSYM
4254 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4256 if test "${ac_cv_search_opendir+set}" = set; then
4260 if test "${ac_cv_search_opendir+set}" = set; then
4263 ac_cv_search_opendir
=no
4266 LIBS
=$ac_func_search_save_LIBS
4268 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4269 $as_echo "$ac_cv_search_opendir" >&6; }
4270 ac_res
=$ac_cv_search_opendir
4271 if test "$ac_res" != no
; then
4272 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4277 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4278 $as_echo_n "checking for library containing opendir... " >&6; }
4279 if test "${ac_cv_search_opendir+set}" = set; then
4280 $as_echo_n "(cached) " >&6
4282 ac_func_search_save_LIBS
=$LIBS
4283 cat >conftest.
$ac_ext <<_ACEOF
4286 cat confdefs.h
>>conftest.
$ac_ext
4287 cat >>conftest.
$ac_ext <<_ACEOF
4288 /* end confdefs.h. */
4290 /* Override any GCC internal prototype to avoid an error.
4291 Use char because int might match the return type of a GCC
4292 builtin and then its argument prototype would still apply. */
4305 for ac_lib
in '' x
; do
4306 if test -z "$ac_lib"; then
4307 ac_res
="none required"
4310 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4312 rm -f conftest.
$ac_objext conftest
$ac_exeext
4313 if { (ac_try
="$ac_link"
4315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4319 $as_echo "$ac_try_echo") >&5
4320 (eval "$ac_link") 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } && {
4327 test -z "$ac_c_werror_flag" ||
4328 test ! -s conftest.err
4329 } && test -s conftest$ac_exeext && {
4330 test "$cross_compiling" = yes ||
4331 $as_test_x conftest$ac_exeext
4333 ac_cv_search_opendir=$ac_res
4335 $as_echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4341 rm -rf conftest.dSYM
4342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4344 if test "${ac_cv_search_opendir+set}" = set; then
4348 if test "${ac_cv_search_opendir+set}" = set; then
4351 ac_cv_search_opendir=no
4354 LIBS=$ac_func_search_save_LIBS
4356 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4357 $as_echo "$ac_cv_search_opendir" >&6; }
4358 ac_res=$ac_cv_search_opendir
4359 if test "$ac_res" != no; then
4360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4366 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4367 $as_echo_n "checking for ANSI C header files... " >&6; }
4368 if test "${ac_cv_header_stdc+set}" = set; then
4369 $as_echo_n "(cached) " >&6
4371 cat >conftest.$ac_ext <<_ACEOF
4374 cat confdefs.h >>conftest.$ac_ext
4375 cat >>conftest.$ac_ext <<_ACEOF
4376 /* end confdefs.h. */
4390 rm -f conftest.$ac_objext
4391 if { (ac_try="$ac_compile"
4393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4394 *) ac_try_echo
=$ac_try;;
4396 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4397 $as_echo "$ac_try_echo") >&5
4398 (eval "$ac_compile") 2>conftest.er1
4400 grep -v '^ *+' conftest.er1
>conftest.err
4402 cat conftest.err
>&5
4403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } && {
4405 test -z "$ac_c_werror_flag" ||
4406 test ! -s conftest.err
4407 } && test -s conftest.
$ac_objext; then
4408 ac_cv_header_stdc
=yes
4410 $as_echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.
$ac_ext >&5
4413 ac_cv_header_stdc
=no
4416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4418 if test $ac_cv_header_stdc = yes; then
4419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4420 cat >conftest.
$ac_ext <<_ACEOF
4423 cat confdefs.h
>>conftest.
$ac_ext
4424 cat >>conftest.
$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4430 $EGREP "memchr" >/dev
/null
2>&1; then
4433 ac_cv_header_stdc
=no
4439 if test $ac_cv_header_stdc = yes; then
4440 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4451 $EGREP "free" >/dev
/null
2>&1; then
4454 ac_cv_header_stdc
=no
4460 if test $ac_cv_header_stdc = yes; then
4461 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4462 if test "$cross_compiling" = yes; then
4465 cat >conftest.
$ac_ext <<_ACEOF
4468 cat confdefs.h
>>conftest.
$ac_ext
4469 cat >>conftest.
$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4473 #if ((' ' & 0x0FF) == 0x020)
4474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4477 # define ISLOWER(c) \
4478 (('a' <= (c) && (c) <= 'i') \
4479 || ('j' <= (c) && (c) <= 'r') \
4480 || ('s' <= (c) && (c) <= 'z'))
4481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4489 for (i = 0; i < 256; i++)
4490 if (XOR (islower (i), ISLOWER (i))
4491 || toupper (i) != TOUPPER (i))
4496 rm -f conftest
$ac_exeext
4497 if { (ac_try
="$ac_link"
4499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4500 *) ac_try_echo=$ac_try;;
4502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4503 $as_echo "$ac_try_echo") >&5
4504 (eval "$ac_link") 2>&5
4506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4508 { (case "(($ac_try" in
4509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4510 *) ac_try_echo
=$ac_try;;
4512 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4513 $as_echo "$ac_try_echo") >&5
4514 (eval "$ac_try") 2>&5
4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4520 $as_echo "$as_me: program exited with status $ac_status" >&5
4521 $as_echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.
$ac_ext >&5
4525 ac_cv_header_stdc
=no
4527 rm -rf conftest.dSYM
4528 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4534 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4535 $as_echo "$ac_cv_header_stdc" >&6; }
4536 if test $ac_cv_header_stdc = yes; then
4538 cat >>confdefs.h
<<\_ACEOF
4539 #define STDC_HEADERS 1
4544 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4554 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4555 inttypes.h stdint.h unistd.h
4557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4558 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4559 $as_echo_n "checking for $ac_header... " >&6; }
4560 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4561 $as_echo_n "(cached) " >&6
4563 cat >conftest.
$ac_ext <<_ACEOF
4566 cat confdefs.h
>>conftest.
$ac_ext
4567 cat >>conftest.
$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4569 $ac_includes_default
4571 #include <$ac_header>
4573 rm -f conftest.
$ac_objext
4574 if { (ac_try
="$ac_compile"
4576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4577 *) ac_try_echo=$ac_try;;
4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4580 $as_echo "$ac_try_echo") >&5
4581 (eval "$ac_compile") 2>conftest.er1
4583 grep -v '^ *+' conftest.er1 >conftest.err
4585 cat conftest.err >&5
4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest.$ac_objext; then
4591 eval "$as_ac_Header=yes"
4593 $as_echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 eval "$as_ac_Header=no"
4599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4601 ac_res=`eval 'as_val=${'$as_ac_Header'}
4602 $as_echo "$as_val"'`
4603 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4604 $as_echo "$ac_res" >&6; }
4605 as_val=`eval 'as_val=${'$as_ac_Header'}
4606 $as_echo "$as_val"'`
4607 if test "x$as_val" = x""yes; then
4608 cat >>confdefs.h <<_ACEOF
4609 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4617 { $as_echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
4618 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4619 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
4620 $as_echo_n "(cached) " >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 #include <sys/types.h>
4632 return makedev(0, 0);
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4641 *) ac_try_echo
=$ac_try;;
4643 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4644 $as_echo "$ac_try_echo") >&5
4645 (eval "$ac_link") 2>conftest.er1
4647 grep -v '^ *+' conftest.er1
>conftest.err
4649 cat conftest.err
>&5
4650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); } && {
4652 test -z "$ac_c_werror_flag" ||
4653 test ! -s conftest.err
4654 } && test -s conftest
$ac_exeext && {
4655 test "$cross_compiling" = yes ||
4656 $as_test_x conftest
$ac_exeext
4658 ac_cv_header_sys_types_h_makedev
=yes
4660 $as_echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4663 ac_cv_header_sys_types_h_makedev
=no
4666 rm -rf conftest.dSYM
4667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4668 conftest
$ac_exeext conftest.
$ac_ext
4671 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
4672 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4674 if test $ac_cv_header_sys_types_h_makedev = no
; then
4675 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4676 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4677 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4678 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4679 $as_echo_n "(cached) " >&6
4681 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4682 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4684 # Is the header compilable?
4685 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
4686 $as_echo_n "checking sys/mkdev.h usability... " >&6; }
4687 cat >conftest.
$ac_ext <<_ACEOF
4690 cat confdefs.h
>>conftest.
$ac_ext
4691 cat >>conftest.
$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 $ac_includes_default
4694 #include <sys/mkdev.h>
4696 rm -f conftest.
$ac_objext
4697 if { (ac_try
="$ac_compile"
4699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4703 $as_echo "$ac_try_echo") >&5
4704 (eval "$ac_compile") 2>conftest.er1
4706 grep -v '^ *+' conftest.er1 >conftest.err
4708 cat conftest.err >&5
4709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } && {
4711 test -z "$ac_c_werror_flag" ||
4712 test ! -s conftest.err
4713 } && test -s conftest.$ac_objext; then
4714 ac_header_compiler=yes
4716 $as_echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 ac_header_compiler=no
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4724 $as_echo "$ac_header_compiler" >&6; }
4726 # Is the header present?
4727 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
4728 $as_echo_n "checking sys/mkdev.h presence... " >&6; }
4729 cat >conftest.$ac_ext <<_ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <sys/mkdev.h>
4737 if { (ac_try="$ac_cpp conftest.$ac_ext"
4739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4740 *) ac_try_echo
=$ac_try;;
4742 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4743 $as_echo "$ac_try_echo") >&5
4744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1
>conftest.err
4748 cat conftest.err
>&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } >/dev
/null
&& {
4751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4754 ac_header_preproc
=yes
4756 $as_echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.
$ac_ext >&5
4759 ac_header_preproc
=no
4762 rm -f conftest.err conftest.
$ac_ext
4763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4764 $as_echo "$ac_header_preproc" >&6; }
4766 # So? What about this header?
4767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4769 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
4770 $as_echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4771 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
4772 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
4773 ac_header_preproc
=yes
4776 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
4777 $as_echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
4778 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
4779 $as_echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
4780 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
4781 $as_echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
4782 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
4783 $as_echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
4784 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4785 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4786 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
4787 $as_echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
4791 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4792 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4793 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4794 $as_echo_n "(cached) " >&6
4796 ac_cv_header_sys_mkdev_h
=$ac_header_preproc
4798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4799 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4802 if test "x$ac_cv_header_sys_mkdev_h" = x
""yes; then
4804 cat >>confdefs.h
<<\_ACEOF
4805 #define MAJOR_IN_MKDEV 1
4812 if test $ac_cv_header_sys_mkdev_h = no
; then
4813 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4814 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4815 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4816 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4817 $as_echo_n "(cached) " >&6
4819 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4820 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4822 # Is the header compilable?
4823 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
4824 $as_echo_n "checking sys/sysmacros.h usability... " >&6; }
4825 cat >conftest.
$ac_ext <<_ACEOF
4828 cat confdefs.h
>>conftest.
$ac_ext
4829 cat >>conftest.
$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 $ac_includes_default
4832 #include <sys/sysmacros.h>
4834 rm -f conftest.
$ac_objext
4835 if { (ac_try
="$ac_compile"
4837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4841 $as_echo "$ac_try_echo") >&5
4842 (eval "$ac_compile") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1 >conftest.err
4846 cat conftest.err >&5
4847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest.$ac_objext; then
4852 ac_header_compiler=yes
4854 $as_echo "$as_me: failed program was:" >&5
4855 sed 's/^/| /' conftest.$ac_ext >&5
4857 ac_header_compiler=no
4860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4861 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4862 $as_echo "$ac_header_compiler" >&6; }
4864 # Is the header present?
4865 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
4866 $as_echo_n "checking sys/sysmacros.h presence... " >&6; }
4867 cat >conftest.$ac_ext <<_ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4873 #include <sys/sysmacros.h>
4875 if { (ac_try="$ac_cpp conftest.$ac_ext"
4877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4878 *) ac_try_echo
=$ac_try;;
4880 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4881 $as_echo "$ac_try_echo") >&5
4882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4884 grep -v '^ *+' conftest.er1
>conftest.err
4886 cat conftest.err
>&5
4887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } >/dev
/null
&& {
4889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4890 test ! -s conftest.err
4892 ac_header_preproc
=yes
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.
$ac_ext >&5
4897 ac_header_preproc
=no
4900 rm -f conftest.err conftest.
$ac_ext
4901 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4902 $as_echo "$ac_header_preproc" >&6; }
4904 # So? What about this header?
4905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4907 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
4908 $as_echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4909 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
4910 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
4911 ac_header_preproc
=yes
4914 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
4915 $as_echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
4916 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
4917 $as_echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
4918 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
4919 $as_echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
4920 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
4921 $as_echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
4922 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4923 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4924 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
4925 $as_echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
4929 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4930 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4931 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4932 $as_echo_n "(cached) " >&6
4934 ac_cv_header_sys_sysmacros_h
=$ac_header_preproc
4936 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4937 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4940 if test "x$ac_cv_header_sys_sysmacros_h" = x
""yes; then
4942 cat >>confdefs.h
<<\_ACEOF
4943 #define MAJOR_IN_SYSMACROS 1
4952 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4953 $as_echo_n "checking for ANSI C header files... " >&6; }
4954 if test "${ac_cv_header_stdc+set}" = set; then
4955 $as_echo_n "(cached) " >&6
4957 cat >conftest.
$ac_ext <<_ACEOF
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4976 rm -f conftest.
$ac_objext
4977 if { (ac_try
="$ac_compile"
4979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4983 $as_echo "$ac_try_echo") >&5
4984 (eval "$ac_compile") 2>conftest.er1
4986 grep -v '^ *+' conftest.er1 >conftest.err
4988 cat conftest.err >&5
4989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } && {
4991 test -z "$ac_c_werror_flag" ||
4992 test ! -s conftest.err
4993 } && test -s conftest.$ac_objext; then
4994 ac_cv_header_stdc=yes
4996 $as_echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 ac_cv_header_stdc=no
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 if test $ac_cv_header_stdc = yes; then
5005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5006 cat >conftest.$ac_ext <<_ACEOF
5009 cat confdefs.h >>conftest.$ac_ext
5010 cat >>conftest.$ac_ext <<_ACEOF
5011 /* end confdefs.h. */
5015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5016 $EGREP "memchr" >/dev/null 2>&1; then
5019 ac_cv_header_stdc=no
5025 if test $ac_cv_header_stdc = yes; then
5026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5027 cat >conftest.$ac_ext <<_ACEOF
5030 cat confdefs.h >>conftest.$ac_ext
5031 cat >>conftest.$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5037 $EGREP "free" >/dev/null 2>&1; then
5040 ac_cv_header_stdc=no
5046 if test $ac_cv_header_stdc = yes; then
5047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5048 if test "$cross_compiling" = yes; then
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5059 #if ((' ' & 0x0FF) == 0x020)
5060 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5061 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5063 # define ISLOWER(c) \
5064 (('a' <= (c) && (c) <= 'i') \
5065 || ('j' <= (c) && (c) <= 'r') \
5066 || ('s' <= (c) && (c) <= 'z'))
5067 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5075 for (i = 0; i < 256; i++)
5076 if (XOR (islower (i), ISLOWER (i))
5077 || toupper (i) != TOUPPER (i))
5082 rm -f conftest$ac_exeext
5083 if { (ac_try="$ac_link"
5085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5086 *) ac_try_echo
=$ac_try;;
5088 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5089 $as_echo "$ac_try_echo") >&5
5090 (eval "$ac_link") 2>&5
5092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5094 { (case "(($ac_try" in
5095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5099 $as_echo "$ac_try_echo") >&5
5100 (eval "$ac_try") 2>&5
5102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; }; then
5106 $as_echo "$as_me: program exited with status $ac_status" >&5
5107 $as_echo "$as_me: failed program was:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5111 ac_cv_header_stdc=no
5113 rm -rf conftest.dSYM
5114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5120 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5121 $as_echo "$ac_cv_header_stdc" >&6; }
5122 if test $ac_cv_header_stdc = yes; then
5124 cat >>confdefs.h <<\_ACEOF
5125 #define STDC_HEADERS 1
5130 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5131 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5132 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5133 $as_echo_n "(cached) " >&6
5135 cat >conftest.$ac_ext <<_ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <sys/types.h>
5142 #include <sys/wait.h>
5144 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5147 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5155 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5160 rm -f conftest.$ac_objext
5161 if { (ac_try="$ac_compile"
5163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5164 *) ac_try_echo
=$ac_try;;
5166 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5167 $as_echo "$ac_try_echo") >&5
5168 (eval "$ac_compile") 2>conftest.er1
5170 grep -v '^ *+' conftest.er1
>conftest.err
5172 cat conftest.err
>&5
5173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } && {
5175 test -z "$ac_c_werror_flag" ||
5176 test ! -s conftest.err
5177 } && test -s conftest.
$ac_objext; then
5178 ac_cv_header_sys_wait_h
=yes
5180 $as_echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.
$ac_ext >&5
5183 ac_cv_header_sys_wait_h
=no
5186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5188 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5189 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
5190 if test $ac_cv_header_sys_wait_h = yes; then
5192 cat >>confdefs.h
<<\_ACEOF
5193 #define HAVE_SYS_WAIT_H 1
5198 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5199 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5200 if test "${ac_cv_header_time+set}" = set; then
5201 $as_echo_n "(cached) " >&6
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5209 #include <sys/types.h>
5210 #include <sys/time.h>
5216 if ((struct tm *) 0)
5222 rm -f conftest.
$ac_objext
5223 if { (ac_try
="$ac_compile"
5225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5229 $as_echo "$ac_try_echo") >&5
5230 (eval "$ac_compile") 2>conftest.er1
5232 grep -v '^ *+' conftest.er1 >conftest.err
5234 cat conftest.err >&5
5235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } && {
5237 test -z "$ac_c_werror_flag" ||
5238 test ! -s conftest.err
5239 } && test -s conftest.$ac_objext; then
5240 ac_cv_header_time=yes
5242 $as_echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.$ac_ext >&5
5245 ac_cv_header_time=no
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5251 $as_echo "$ac_cv_header_time" >&6; }
5252 if test $ac_cv_header_time = yes; then
5254 cat >>confdefs.h <<\_ACEOF
5255 #define TIME_WITH_SYS_TIME 1
5275 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
5276 langinfo.h libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h \
5279 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5281 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5282 $as_echo_n "checking for $ac_header... " >&6; }
5283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5284 $as_echo_n "(cached) " >&6
5286 ac_res=`eval 'as_val=${'$as_ac_Header'}
5287 $as_echo "$as_val"'`
5288 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5289 $as_echo "$ac_res" >&6; }
5291 # Is the header compilable?
5292 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5293 $as_echo_n "checking $ac_header usability... " >&6; }
5294 cat >conftest.$ac_ext <<_ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 $ac_includes_default
5301 #include <$ac_header>
5303 rm -f conftest.$ac_objext
5304 if { (ac_try="$ac_compile"
5306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5307 *) ac_try_echo
=$ac_try;;
5309 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5310 $as_echo "$ac_try_echo") >&5
5311 (eval "$ac_compile") 2>conftest.er1
5313 grep -v '^ *+' conftest.er1
>conftest.err
5315 cat conftest.err
>&5
5316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } && {
5318 test -z "$ac_c_werror_flag" ||
5319 test ! -s conftest.err
5320 } && test -s conftest.
$ac_objext; then
5321 ac_header_compiler
=yes
5323 $as_echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 ac_header_compiler
=no
5329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5330 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5331 $as_echo "$ac_header_compiler" >&6; }
5333 # Is the header present?
5334 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5335 $as_echo_n "checking $ac_header presence... " >&6; }
5336 cat >conftest.
$ac_ext <<_ACEOF
5339 cat confdefs.h
>>conftest.
$ac_ext
5340 cat >>conftest.
$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5342 #include <$ac_header>
5344 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5347 *) ac_try_echo=$ac_try;;
5349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5350 $as_echo "$ac_try_echo") >&5
5351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5353 grep -v '^ *+' conftest.er1 >conftest.err
5355 cat conftest.err >&5
5356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } >/dev/null && {
5358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5359 test ! -s conftest.err
5361 ac_header_preproc=yes
5363 $as_echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5366 ac_header_preproc=no
5369 rm -f conftest.err conftest.$ac_ext
5370 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5371 $as_echo "$ac_header_preproc" >&6; }
5373 # So? What about this header?
5374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5377 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5379 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5380 ac_header_preproc=yes
5383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5384 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5386 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5388 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5390 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5392 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5394 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5398 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5399 $as_echo_n "checking for $ac_header... " >&6; }
5400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5401 $as_echo_n "(cached) " >&6
5403 eval "$as_ac_Header=\$ac_header_preproc"
5405 ac_res=`eval 'as_val=${'$as_ac_Header'}
5406 $as_echo "$as_val"'`
5407 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5408 $as_echo "$ac_res" >&6; }
5411 as_val=`eval 'as_val=${'$as_ac_Header'}
5412 $as_echo "$as_val"'`
5413 if test "x$as_val" = x""yes; then
5414 cat >>confdefs.h <<_ACEOF
5415 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5419 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5420 $as_echo "$as_me: error: bailing out" >&2;}
5421 { (exit 1); exit 1; }; }
5432 for ac_header in asm/byteorder.h linux/fs.h malloc.h
5434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5436 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5437 $as_echo_n "checking for $ac_header... " >&6; }
5438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5439 $as_echo_n "(cached) " >&6
5441 ac_res=`eval 'as_val=${'$as_ac_Header'}
5442 $as_echo "$as_val"'`
5443 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5444 $as_echo "$ac_res" >&6; }
5446 # Is the header compilable?
5447 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5448 $as_echo_n "checking $ac_header usability... " >&6; }
5449 cat >conftest.$ac_ext <<_ACEOF
5452 cat confdefs.h >>conftest.$ac_ext
5453 cat >>conftest.$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5455 $ac_includes_default
5456 #include <$ac_header>
5458 rm -f conftest.$ac_objext
5459 if { (ac_try="$ac_compile"
5461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5462 *) ac_try_echo
=$ac_try;;
5464 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5465 $as_echo "$ac_try_echo") >&5
5466 (eval "$ac_compile") 2>conftest.er1
5468 grep -v '^ *+' conftest.er1
>conftest.err
5470 cat conftest.err
>&5
5471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); } && {
5473 test -z "$ac_c_werror_flag" ||
5474 test ! -s conftest.err
5475 } && test -s conftest.
$ac_objext; then
5476 ac_header_compiler
=yes
5478 $as_echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5481 ac_header_compiler
=no
5484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5485 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5486 $as_echo "$ac_header_compiler" >&6; }
5488 # Is the header present?
5489 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5490 $as_echo_n "checking $ac_header presence... " >&6; }
5491 cat >conftest.
$ac_ext <<_ACEOF
5494 cat confdefs.h
>>conftest.
$ac_ext
5495 cat >>conftest.
$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 #include <$ac_header>
5499 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5505 $as_echo "$ac_try_echo") >&5
5506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5508 grep -v '^ *+' conftest.er1 >conftest.err
5510 cat conftest.err >&5
5511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } >/dev/null && {
5513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5514 test ! -s conftest.err
5516 ac_header_preproc=yes
5518 $as_echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5521 ac_header_preproc=no
5524 rm -f conftest.err conftest.$ac_ext
5525 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5526 $as_echo "$ac_header_preproc" >&6; }
5528 # So? What about this header?
5529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5532 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5534 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5535 ac_header_preproc=yes
5538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5539 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5541 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5543 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5545 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5547 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5549 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5553 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5554 $as_echo_n "checking for $ac_header... " >&6; }
5555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5556 $as_echo_n "(cached) " >&6
5558 eval "$as_ac_Header=\$ac_header_preproc"
5560 ac_res=`eval 'as_val=${'$as_ac_Header'}
5561 $as_echo "$as_val"'`
5562 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5563 $as_echo "$ac_res" >&6; }
5566 as_val=`eval 'as_val=${'$as_ac_Header'}
5567 $as_echo "$as_val"'`
5568 if test "x$as_val" = x""yes; then
5569 cat >>confdefs.h <<_ACEOF
5570 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5574 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5575 $as_echo "$as_me: error: bailing out" >&2;}
5576 { (exit 1); exit 1; }; }
5584 for ac_header in machine/endian.h sys/disk.h
5586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5588 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5589 $as_echo_n "checking for $ac_header... " >&6; }
5590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 $as_echo_n "(cached) " >&6
5593 ac_res=`eval 'as_val=${'$as_ac_Header'}
5594 $as_echo "$as_val"'`
5595 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5596 $as_echo "$ac_res" >&6; }
5598 # Is the header compilable?
5599 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5600 $as_echo_n "checking $ac_header usability... " >&6; }
5601 cat >conftest.$ac_ext <<_ACEOF
5604 cat confdefs.h >>conftest.$ac_ext
5605 cat >>conftest.$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5607 $ac_includes_default
5608 #include <$ac_header>
5610 rm -f conftest.$ac_objext
5611 if { (ac_try="$ac_compile"
5613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5614 *) ac_try_echo
=$ac_try;;
5616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5617 $as_echo "$ac_try_echo") >&5
5618 (eval "$ac_compile") 2>conftest.er1
5620 grep -v '^ *+' conftest.er1
>conftest.err
5622 cat conftest.err
>&5
5623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } && {
5625 test -z "$ac_c_werror_flag" ||
5626 test ! -s conftest.err
5627 } && test -s conftest.
$ac_objext; then
5628 ac_header_compiler
=yes
5630 $as_echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.
$ac_ext >&5
5633 ac_header_compiler
=no
5636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5637 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5638 $as_echo "$ac_header_compiler" >&6; }
5640 # Is the header present?
5641 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5642 $as_echo_n "checking $ac_header presence... " >&6; }
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5649 #include <$ac_header>
5651 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5654 *) ac_try_echo=$ac_try;;
5656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5657 $as_echo "$ac_try_echo") >&5
5658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5660 grep -v '^ *+' conftest.er1 >conftest.err
5662 cat conftest.err >&5
5663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); } >/dev/null && {
5665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5666 test ! -s conftest.err
5668 ac_header_preproc=yes
5670 $as_echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.$ac_ext >&5
5673 ac_header_preproc=no
5676 rm -f conftest.err conftest.$ac_ext
5677 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5678 $as_echo "$ac_header_preproc" >&6; }
5680 # So? What about this header?
5681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5684 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5687 ac_header_preproc=yes
5690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5691 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5693 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5695 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5697 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5701 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5705 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5706 $as_echo_n "checking for $ac_header... " >&6; }
5707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5708 $as_echo_n "(cached) " >&6
5710 eval "$as_ac_Header=\$ac_header_preproc"
5712 ac_res=`eval 'as_val=${'$as_ac_Header'}
5713 $as_echo "$as_val"'`
5714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5715 $as_echo "$ac_res" >&6; }
5718 as_val=`eval 'as_val=${'$as_ac_Header'}
5719 $as_echo "$as_val"'`
5720 if test "x$as_val" = x""yes; then
5721 cat >>confdefs.h <<_ACEOF
5722 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5726 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5727 $as_echo "$as_me: error: bailing out" >&2;}
5728 { (exit 1); exit 1; }; }
5751 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5752 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5753 sys/types.h unistd.h
5755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5756 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5757 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5758 $as_echo_n "checking for $ac_header... " >&6; }
5759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5760 $as_echo_n "(cached) " >&6
5762 ac_res=`eval 'as_val=${'$as_ac_Header'}
5763 $as_echo "$as_val"'`
5764 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5765 $as_echo "$ac_res" >&6; }
5767 # Is the header compilable?
5768 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5769 $as_echo_n "checking $ac_header usability... " >&6; }
5770 cat >conftest.$ac_ext <<_ACEOF
5773 cat confdefs.h >>conftest.$ac_ext
5774 cat >>conftest.$ac_ext <<_ACEOF
5775 /* end confdefs.h. */
5776 $ac_includes_default
5777 #include <$ac_header>
5779 rm -f conftest.$ac_objext
5780 if { (ac_try="$ac_compile"
5782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5783 *) ac_try_echo
=$ac_try;;
5785 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5786 $as_echo "$ac_try_echo") >&5
5787 (eval "$ac_compile") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1
>conftest.err
5791 cat conftest.err
>&5
5792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && {
5794 test -z "$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5796 } && test -s conftest.
$ac_objext; then
5797 ac_header_compiler
=yes
5799 $as_echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5802 ac_header_compiler
=no
5805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5807 $as_echo "$ac_header_compiler" >&6; }
5809 # Is the header present?
5810 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5811 $as_echo_n "checking $ac_header presence... " >&6; }
5812 cat >conftest.
$ac_ext <<_ACEOF
5815 cat confdefs.h
>>conftest.
$ac_ext
5816 cat >>conftest.
$ac_ext <<_ACEOF
5817 /* end confdefs.h. */
5818 #include <$ac_header>
5820 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5823 *) ac_try_echo=$ac_try;;
5825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5826 $as_echo "$ac_try_echo") >&5
5827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5829 grep -v '^ *+' conftest.er1 >conftest.err
5831 cat conftest.err >&5
5832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } >/dev/null && {
5834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5835 test ! -s conftest.err
5837 ac_header_preproc=yes
5839 $as_echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5842 ac_header_preproc=no
5845 rm -f conftest.err conftest.$ac_ext
5846 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5847 $as_echo "$ac_header_preproc" >&6; }
5849 # So? What about this header?
5850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5853 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5855 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5856 ac_header_preproc=yes
5859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5860 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5862 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5864 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5866 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5868 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5870 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5874 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5875 $as_echo_n "checking for $ac_header... " >&6; }
5876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5877 $as_echo_n "(cached) " >&6
5879 eval "$as_ac_Header=\$ac_header_preproc"
5881 ac_res=`eval 'as_val=${'$as_ac_Header'}
5882 $as_echo "$as_val"'`
5883 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5884 $as_echo "$ac_res" >&6; }
5887 as_val=`eval 'as_val=${'$as_ac_Header'}
5888 $as_echo "$as_val"'`
5889 if test "x$as_val" = x""yes; then
5890 cat >>confdefs.h <<_ACEOF
5891 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5895 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5896 $as_echo "$as_me: error: bailing out" >&2;}
5897 { (exit 1); exit 1; }; }
5904 for ac_header in termios.h sys/statvfs.h
5906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5909 $as_echo_n "checking for $ac_header... " >&6; }
5910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5911 $as_echo_n "(cached) " >&6
5913 ac_res=`eval 'as_val=${'$as_ac_Header'}
5914 $as_echo "$as_val"'`
5915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5916 $as_echo "$ac_res" >&6; }
5918 # Is the header compilable?
5919 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5920 $as_echo_n "checking $ac_header usability... " >&6; }
5921 cat >conftest.$ac_ext <<_ACEOF
5924 cat confdefs.h >>conftest.$ac_ext
5925 cat >>conftest.$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5927 $ac_includes_default
5928 #include <$ac_header>
5930 rm -f conftest.$ac_objext
5931 if { (ac_try="$ac_compile"
5933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5934 *) ac_try_echo
=$ac_try;;
5936 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5937 $as_echo "$ac_try_echo") >&5
5938 (eval "$ac_compile") 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } && {
5945 test -z "$ac_c_werror_flag" ||
5946 test ! -s conftest.err
5947 } && test -s conftest.
$ac_objext; then
5948 ac_header_compiler
=yes
5950 $as_echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5953 ac_header_compiler
=no
5956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5957 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5958 $as_echo "$ac_header_compiler" >&6; }
5960 # Is the header present?
5961 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5962 $as_echo_n "checking $ac_header presence... " >&6; }
5963 cat >conftest.
$ac_ext <<_ACEOF
5966 cat confdefs.h
>>conftest.
$ac_ext
5967 cat >>conftest.
$ac_ext <<_ACEOF
5968 /* end confdefs.h. */
5969 #include <$ac_header>
5971 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5974 *) ac_try_echo=$ac_try;;
5976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5977 $as_echo "$ac_try_echo") >&5
5978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5980 grep -v '^ *+' conftest.er1 >conftest.err
5982 cat conftest.err >&5
5983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); } >/dev/null && {
5985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5986 test ! -s conftest.err
5988 ac_header_preproc=yes
5990 $as_echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5993 ac_header_preproc=no
5996 rm -f conftest.err conftest.$ac_ext
5997 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5998 $as_echo "$ac_header_preproc" >&6; }
6000 # So? What about this header?
6001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6004 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6006 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6007 ac_header_preproc=yes
6010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6011 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6013 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6015 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6017 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6019 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6021 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6025 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6026 $as_echo_n "checking for $ac_header... " >&6; }
6027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6028 $as_echo_n "(cached) " >&6
6030 eval "$as_ac_Header=\$ac_header_preproc"
6032 ac_res=`eval 'as_val=${'$as_ac_Header'}
6033 $as_echo "$as_val"'`
6034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6035 $as_echo "$ac_res" >&6; }
6038 as_val=`eval 'as_val=${'$as_ac_Header'}
6039 $as_echo "$as_val"'`
6040 if test "x$as_val" = x""yes; then
6041 cat >>confdefs.h <<_ACEOF
6042 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6050 ################################################################################
6051 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6052 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6053 if test "${ac_cv_c_const+set}" = set; then
6054 $as_echo_n "(cached) " >&6
6056 cat >conftest.$ac_ext <<_ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6066 /* FIXME: Include the comments suggested by Paul. */
6068 /* Ultrix mips cc rejects this. */
6069 typedef int charset[2];
6071 /* SunOS 4.1.1 cc rejects this. */
6072 char const *const *pcpcc;
6074 /* NEC SVR4.0.2 mips cc rejects this. */
6075 struct point {int x, y;};
6076 static struct point const zero = {0,0};
6077 /* AIX XL C 1.02.0.0 rejects this.
6078 It does not let you subtract one const X* pointer from another in
6079 an arm of an if-expression whose if-part is not a constant
6081 const char *g = "string";
6082 pcpcc = &g + (g ? g-g : 0);
6083 /* HPUX 7.0 cc rejects these. */
6085 ppc = (char**) pcpcc;
6086 pcpcc = (char const *const *) ppc;
6087 { /* SCO 3.2v4 cc rejects this. */
6089 char const *s = 0 ? (char *) 0 : (char const *) 0;
6094 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6096 const int *foo = &x[0];
6099 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6100 typedef const int *iptr;
6104 { /* AIX XL C 1.02.0.0 rejects this saying
6105 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6106 struct s { int j; const int *ap[3]; };
6107 struct s *b; b->j = 5;
6109 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6113 return !cs[0] && !zero.x;
6120 rm -f conftest.$ac_objext
6121 if { (ac_try="$ac_compile"
6123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6124 *) ac_try_echo
=$ac_try;;
6126 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6127 $as_echo "$ac_try_echo") >&5
6128 (eval "$ac_compile") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } && {
6135 test -z "$ac_c_werror_flag" ||
6136 test ! -s conftest.err
6137 } && test -s conftest.
$ac_objext; then
6140 $as_echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6148 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6149 $as_echo "$ac_cv_c_const" >&6; }
6150 if test $ac_cv_c_const = no
; then
6152 cat >>confdefs.h
<<\_ACEOF
6158 { $as_echo "$as_me:$LINENO: checking for inline" >&5
6159 $as_echo_n "checking for inline... " >&6; }
6160 if test "${ac_cv_c_inline+set}" = set; then
6161 $as_echo_n "(cached) " >&6
6164 for ac_kw
in inline __inline__ __inline
; do
6165 cat >conftest.
$ac_ext <<_ACEOF
6168 cat confdefs.h
>>conftest.
$ac_ext
6169 cat >>conftest.
$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6173 static $ac_kw foo_t static_foo () {return 0; }
6174 $ac_kw foo_t foo () {return 0; }
6178 rm -f conftest.
$ac_objext
6179 if { (ac_try
="$ac_compile"
6181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6182 *) ac_try_echo=$ac_try;;
6184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6185 $as_echo "$ac_try_echo") >&5
6186 (eval "$ac_compile") 2>conftest.er1
6188 grep -v '^ *+' conftest.er1 >conftest.err
6190 cat conftest.err >&5
6191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && {
6193 test -z "$ac_c_werror_flag" ||
6194 test ! -s conftest.err
6195 } && test -s conftest.$ac_objext; then
6196 ac_cv_c_inline=$ac_kw
6198 $as_echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.$ac_ext >&5
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6205 test "$ac_cv_c_inline" != no && break
6209 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6210 $as_echo "$ac_cv_c_inline" >&6; }
6213 case $ac_cv_c_inline in
6216 case $ac_cv_c_inline in
6218 *) ac_val=$ac_cv_c_inline;;
6220 cat >>confdefs.h <<_ACEOF
6222 #define inline $ac_val
6228 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6229 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6230 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6231 $as_echo_n "(cached) " >&6
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 $ac_includes_default
6243 static struct stat ac_aggr;
6244 if (ac_aggr.st_rdev)
6250 rm -f conftest.$ac_objext
6251 if { (ac_try="$ac_compile"
6253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6254 *) ac_try_echo
=$ac_try;;
6256 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6257 $as_echo "$ac_try_echo") >&5
6258 (eval "$ac_compile") 2>conftest.er1
6260 grep -v '^ *+' conftest.er1
>conftest.err
6262 cat conftest.err
>&5
6263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && {
6265 test -z "$ac_c_werror_flag" ||
6266 test ! -s conftest.err
6267 } && test -s conftest.
$ac_objext; then
6268 ac_cv_member_struct_stat_st_rdev
=yes
6270 $as_echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 cat >conftest.
$ac_ext <<_ACEOF
6276 cat confdefs.h
>>conftest.
$ac_ext
6277 cat >>conftest.
$ac_ext <<_ACEOF
6278 /* end confdefs.h. */
6279 $ac_includes_default
6283 static struct stat ac_aggr;
6284 if (sizeof ac_aggr.st_rdev)
6290 rm -f conftest.
$ac_objext
6291 if { (ac_try
="$ac_compile"
6293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6294 *) ac_try_echo=$ac_try;;
6296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6297 $as_echo "$ac_try_echo") >&5
6298 (eval "$ac_compile") 2>conftest.er1
6300 grep -v '^ *+' conftest.er1 >conftest.err
6302 cat conftest.err >&5
6303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); } && {
6305 test -z "$ac_c_werror_flag" ||
6306 test ! -s conftest.err
6307 } && test -s conftest.$ac_objext; then
6308 ac_cv_member_struct_stat_st_rdev=yes
6310 $as_echo "$as_me: failed program was:" >&5
6311 sed 's/^/| /' conftest.$ac_ext >&5
6313 ac_cv_member_struct_stat_st_rdev=no
6316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6322 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6323 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
6325 cat >>confdefs.h <<_ACEOF
6326 #define HAVE_STRUCT_STAT_ST_RDEV 1
6332 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
6333 $as_echo_n "checking for off_t... " >&6; }
6334 if test "${ac_cv_type_off_t+set}" = set; then
6335 $as_echo_n "(cached) " >&6
6338 cat >conftest.$ac_ext <<_ACEOF
6341 cat confdefs.h >>conftest.$ac_ext
6342 cat >>conftest.$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 $ac_includes_default
6354 rm -f conftest.$ac_objext
6355 if { (ac_try="$ac_compile"
6357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6358 *) ac_try_echo
=$ac_try;;
6360 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6361 $as_echo "$ac_try_echo") >&5
6362 (eval "$ac_compile") 2>conftest.er1
6364 grep -v '^ *+' conftest.er1
>conftest.err
6366 cat conftest.err
>&5
6367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } && {
6369 test -z "$ac_c_werror_flag" ||
6370 test ! -s conftest.err
6371 } && test -s conftest.
$ac_objext; then
6372 cat >conftest.
$ac_ext <<_ACEOF
6375 cat confdefs.h
>>conftest.
$ac_ext
6376 cat >>conftest.
$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 $ac_includes_default
6382 if (sizeof ((off_t)))
6388 rm -f conftest.
$ac_objext
6389 if { (ac_try
="$ac_compile"
6391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6395 $as_echo "$ac_try_echo") >&5
6396 (eval "$ac_compile") 2>conftest.er1
6398 grep -v '^ *+' conftest.er1 >conftest.err
6400 cat conftest.err >&5
6401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); } && {
6403 test -z "$ac_c_werror_flag" ||
6404 test ! -s conftest.err
6405 } && test -s conftest.$ac_objext; then
6408 $as_echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6411 ac_cv_type_off_t=yes
6414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416 $as_echo "$as_me: failed program was:" >&5
6417 sed 's/^/| /' conftest.$ac_ext >&5
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6424 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6425 $as_echo "$ac_cv_type_off_t" >&6; }
6426 if test "x$ac_cv_type_off_t" = x""yes; then
6430 cat >>confdefs.h <<_ACEOF
6431 #define off_t long int
6436 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
6437 $as_echo_n "checking for pid_t... " >&6; }
6438 if test "${ac_cv_type_pid_t+set}" = set; then
6439 $as_echo_n "(cached) " >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 $ac_includes_default
6458 rm -f conftest.$ac_objext
6459 if { (ac_try="$ac_compile"
6461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6462 *) ac_try_echo
=$ac_try;;
6464 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6465 $as_echo "$ac_try_echo") >&5
6466 (eval "$ac_compile") 2>conftest.er1
6468 grep -v '^ *+' conftest.er1
>conftest.err
6470 cat conftest.err
>&5
6471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } && {
6473 test -z "$ac_c_werror_flag" ||
6474 test ! -s conftest.err
6475 } && test -s conftest.
$ac_objext; then
6476 cat >conftest.
$ac_ext <<_ACEOF
6479 cat confdefs.h
>>conftest.
$ac_ext
6480 cat >>conftest.
$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 $ac_includes_default
6486 if (sizeof ((pid_t)))
6492 rm -f conftest.
$ac_objext
6493 if { (ac_try
="$ac_compile"
6495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6496 *) ac_try_echo=$ac_try;;
6498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6499 $as_echo "$ac_try_echo") >&5
6500 (eval "$ac_compile") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest.$ac_objext; then
6512 $as_echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.$ac_ext >&5
6515 ac_cv_type_pid_t=yes
6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6520 $as_echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6528 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6529 $as_echo "$ac_cv_type_pid_t" >&6; }
6530 if test "x$ac_cv_type_pid_t" = x""yes; then
6534 cat >>confdefs.h <<_ACEOF
6540 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6541 $as_echo_n "checking return type of signal handlers... " >&6; }
6542 if test "${ac_cv_type_signal+set}" = set; then
6543 $as_echo_n "(cached) " >&6
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <sys/types.h>
6557 return *(signal (0, 0)) (0) == 1;
6562 rm -f conftest.$ac_objext
6563 if { (ac_try="$ac_compile"
6565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6566 *) ac_try_echo
=$ac_try;;
6568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6569 $as_echo "$ac_try_echo") >&5
6570 (eval "$ac_compile") 2>conftest.er1
6572 grep -v '^ *+' conftest.er1
>conftest.err
6574 cat conftest.err
>&5
6575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest.
$ac_objext; then
6580 ac_cv_type_signal
=int
6582 $as_echo "$as_me: failed program was:" >&5
6583 sed 's/^/| /' conftest.
$ac_ext >&5
6585 ac_cv_type_signal
=void
6588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6590 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6591 $as_echo "$ac_cv_type_signal" >&6; }
6593 cat >>confdefs.h
<<_ACEOF
6594 #define RETSIGTYPE $ac_cv_type_signal
6598 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6599 $as_echo_n "checking for size_t... " >&6; }
6600 if test "${ac_cv_type_size_t+set}" = set; then
6601 $as_echo_n "(cached) " >&6
6603 ac_cv_type_size_t
=no
6604 cat >conftest.
$ac_ext <<_ACEOF
6607 cat confdefs.h
>>conftest.
$ac_ext
6608 cat >>conftest.
$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6610 $ac_includes_default
6614 if (sizeof (size_t))
6620 rm -f conftest.
$ac_objext
6621 if { (ac_try
="$ac_compile"
6623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6624 *) ac_try_echo=$ac_try;;
6626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6627 $as_echo "$ac_try_echo") >&5
6628 (eval "$ac_compile") 2>conftest.er1
6630 grep -v '^ *+' conftest.er1 >conftest.err
6632 cat conftest.err >&5
6633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && {
6635 test -z "$ac_c_werror_flag" ||
6636 test ! -s conftest.err
6637 } && test -s conftest.$ac_objext; then
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6644 $ac_includes_default
6648 if (sizeof ((size_t)))
6654 rm -f conftest.$ac_objext
6655 if { (ac_try="$ac_compile"
6657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6658 *) ac_try_echo
=$ac_try;;
6660 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6661 $as_echo "$ac_try_echo") >&5
6662 (eval "$ac_compile") 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } && {
6669 test -z "$ac_c_werror_flag" ||
6670 test ! -s conftest.err
6671 } && test -s conftest.
$ac_objext; then
6674 $as_echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.
$ac_ext >&5
6677 ac_cv_type_size_t
=yes
6680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 $as_echo "$as_me: failed program was:" >&5
6683 sed 's/^/| /' conftest.
$ac_ext >&5
6688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6690 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6691 $as_echo "$ac_cv_type_size_t" >&6; }
6692 if test "x$ac_cv_type_size_t" = x
""yes; then
6696 cat >>confdefs.h
<<_ACEOF
6697 #define size_t unsigned int
6702 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6703 $as_echo_n "checking for mode_t... " >&6; }
6704 if test "${ac_cv_type_mode_t+set}" = set; then
6705 $as_echo_n "(cached) " >&6
6707 ac_cv_type_mode_t
=no
6708 cat >conftest.
$ac_ext <<_ACEOF
6711 cat confdefs.h
>>conftest.
$ac_ext
6712 cat >>conftest.
$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6714 $ac_includes_default
6718 if (sizeof (mode_t))
6724 rm -f conftest.
$ac_objext
6725 if { (ac_try
="$ac_compile"
6727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6728 *) ac_try_echo=$ac_try;;
6730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6731 $as_echo "$ac_try_echo") >&5
6732 (eval "$ac_compile") 2>conftest.er1
6734 grep -v '^ *+' conftest.er1 >conftest.err
6736 cat conftest.err >&5
6737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } && {
6739 test -z "$ac_c_werror_flag" ||
6740 test ! -s conftest.err
6741 } && test -s conftest.$ac_objext; then
6742 cat >conftest.$ac_ext <<_ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 $ac_includes_default
6752 if (sizeof ((mode_t)))
6758 rm -f conftest.$ac_objext
6759 if { (ac_try="$ac_compile"
6761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6762 *) ac_try_echo
=$ac_try;;
6764 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6765 $as_echo "$ac_try_echo") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.
$ac_objext; then
6778 $as_echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 ac_cv_type_mode_t
=yes
6784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6786 $as_echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.
$ac_ext >&5
6792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6794 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6795 $as_echo "$ac_cv_type_mode_t" >&6; }
6796 if test "x$ac_cv_type_mode_t" = x
""yes; then
6800 cat >>confdefs.h
<<_ACEOF
6807 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
6808 $as_echo_n "checking for int8_t... " >&6; }
6809 if test "${ac_cv_c_int8_t+set}" = set; then
6810 $as_echo_n "(cached) " >&6
6813 for ac_type
in 'int8_t' 'int' 'long int' \
6814 'long long int' 'short int' 'signed char'; do
6815 cat >conftest.
$ac_ext <<_ACEOF
6818 cat confdefs.h
>>conftest.
$ac_ext
6819 cat >>conftest.
$ac_ext <<_ACEOF
6820 /* end confdefs.h. */
6821 $ac_includes_default
6825 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
6832 rm -f conftest.
$ac_objext
6833 if { (ac_try
="$ac_compile"
6835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6839 $as_echo "$ac_try_echo") >&5
6840 (eval "$ac_compile") 2>conftest.er1
6842 grep -v '^ *+' conftest.er1 >conftest.err
6844 cat conftest.err >&5
6845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } && {
6847 test -z "$ac_c_werror_flag" ||
6848 test ! -s conftest.err
6849 } && test -s conftest.$ac_objext; then
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 $ac_includes_default
6860 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
6861 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
6868 rm -f conftest.$ac_objext
6869 if { (ac_try="$ac_compile"
6871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6872 *) ac_try_echo
=$ac_try;;
6874 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6875 $as_echo "$ac_try_echo") >&5
6876 (eval "$ac_compile") 2>conftest.er1
6878 grep -v '^ *+' conftest.er1
>conftest.err
6880 cat conftest.err
>&5
6881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } && {
6883 test -z "$ac_c_werror_flag" ||
6884 test ! -s conftest.err
6885 } && test -s conftest.
$ac_objext; then
6888 $as_echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.
$ac_ext >&5
6892 int8_t
) ac_cv_c_int8_t
=yes ;;
6893 *) ac_cv_c_int8_t
=$ac_type ;;
6898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6900 $as_echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.
$ac_ext >&5
6906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6907 test "$ac_cv_c_int8_t" != no
&& break
6910 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
6911 $as_echo "$ac_cv_c_int8_t" >&6; }
6912 case $ac_cv_c_int8_t in #(
6916 cat >>confdefs.h
<<_ACEOF
6917 #define int8_t $ac_cv_c_int8_t
6923 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
6924 $as_echo_n "checking for int16_t... " >&6; }
6925 if test "${ac_cv_c_int16_t+set}" = set; then
6926 $as_echo_n "(cached) " >&6
6929 for ac_type
in 'int16_t' 'int' 'long int' \
6930 'long long int' 'short int' 'signed char'; do
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6937 $ac_includes_default
6941 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
6948 rm -f conftest.
$ac_objext
6949 if { (ac_try
="$ac_compile"
6951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6955 $as_echo "$ac_try_echo") >&5
6956 (eval "$ac_compile") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1 >conftest.err
6960 cat conftest.err >&5
6961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } && {
6963 test -z "$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6965 } && test -s conftest.$ac_objext; then
6966 cat >conftest.$ac_ext <<_ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 $ac_includes_default
6976 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
6977 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
6984 rm -f conftest.$ac_objext
6985 if { (ac_try="$ac_compile"
6987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6988 *) ac_try_echo
=$ac_try;;
6990 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6991 $as_echo "$ac_try_echo") >&5
6992 (eval "$ac_compile") 2>conftest.er1
6994 grep -v '^ *+' conftest.er1
>conftest.err
6996 cat conftest.err
>&5
6997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && {
6999 test -z "$ac_c_werror_flag" ||
7000 test ! -s conftest.err
7001 } && test -s conftest.
$ac_objext; then
7004 $as_echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.
$ac_ext >&5
7008 int16_t
) ac_cv_c_int16_t
=yes ;;
7009 *) ac_cv_c_int16_t
=$ac_type ;;
7014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7016 $as_echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.
$ac_ext >&5
7022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7023 test "$ac_cv_c_int16_t" != no
&& break
7026 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
7027 $as_echo "$ac_cv_c_int16_t" >&6; }
7028 case $ac_cv_c_int16_t in #(
7032 cat >>confdefs.h
<<_ACEOF
7033 #define int16_t $ac_cv_c_int16_t
7039 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
7040 $as_echo_n "checking for int32_t... " >&6; }
7041 if test "${ac_cv_c_int32_t+set}" = set; then
7042 $as_echo_n "(cached) " >&6
7045 for ac_type
in 'int32_t' 'int' 'long int' \
7046 'long long int' 'short int' 'signed char'; do
7047 cat >conftest.
$ac_ext <<_ACEOF
7050 cat confdefs.h
>>conftest.
$ac_ext
7051 cat >>conftest.
$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 $ac_includes_default
7057 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
7064 rm -f conftest.
$ac_objext
7065 if { (ac_try
="$ac_compile"
7067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7068 *) ac_try_echo=$ac_try;;
7070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7071 $as_echo "$ac_try_echo") >&5
7072 (eval "$ac_compile") 2>conftest.er1
7074 grep -v '^ *+' conftest.er1 >conftest.err
7076 cat conftest.err >&5
7077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } && {
7079 test -z "$ac_c_werror_flag" ||
7080 test ! -s conftest.err
7081 } && test -s conftest.$ac_objext; then
7082 cat >conftest.$ac_ext <<_ACEOF
7085 cat confdefs.h >>conftest.$ac_ext
7086 cat >>conftest.$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 $ac_includes_default
7092 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
7093 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
7100 rm -f conftest.$ac_objext
7101 if { (ac_try="$ac_compile"
7103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7104 *) ac_try_echo
=$ac_try;;
7106 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7107 $as_echo "$ac_try_echo") >&5
7108 (eval "$ac_compile") 2>conftest.er1
7110 grep -v '^ *+' conftest.er1
>conftest.err
7112 cat conftest.err
>&5
7113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } && {
7115 test -z "$ac_c_werror_flag" ||
7116 test ! -s conftest.err
7117 } && test -s conftest.
$ac_objext; then
7120 $as_echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.
$ac_ext >&5
7124 int32_t
) ac_cv_c_int32_t
=yes ;;
7125 *) ac_cv_c_int32_t
=$ac_type ;;
7130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7132 $as_echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.
$ac_ext >&5
7138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7139 test "$ac_cv_c_int32_t" != no
&& break
7142 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
7143 $as_echo "$ac_cv_c_int32_t" >&6; }
7144 case $ac_cv_c_int32_t in #(
7148 cat >>confdefs.h
<<_ACEOF
7149 #define int32_t $ac_cv_c_int32_t
7155 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
7156 $as_echo_n "checking for int64_t... " >&6; }
7157 if test "${ac_cv_c_int64_t+set}" = set; then
7158 $as_echo_n "(cached) " >&6
7161 for ac_type
in 'int64_t' 'int' 'long int' \
7162 'long long int' 'short int' 'signed char'; do
7163 cat >conftest.
$ac_ext <<_ACEOF
7166 cat confdefs.h
>>conftest.
$ac_ext
7167 cat >>conftest.
$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 $ac_includes_default
7173 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
7180 rm -f conftest.
$ac_objext
7181 if { (ac_try
="$ac_compile"
7183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7184 *) ac_try_echo=$ac_try;;
7186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7187 $as_echo "$ac_try_echo") >&5
7188 (eval "$ac_compile") 2>conftest.er1
7190 grep -v '^ *+' conftest.er1 >conftest.err
7192 cat conftest.err >&5
7193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } && {
7195 test -z "$ac_c_werror_flag" ||
7196 test ! -s conftest.err
7197 } && test -s conftest.$ac_objext; then
7198 cat >conftest.$ac_ext <<_ACEOF
7201 cat confdefs.h >>conftest.$ac_ext
7202 cat >>conftest.$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7204 $ac_includes_default
7208 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
7209 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
7216 rm -f conftest.$ac_objext
7217 if { (ac_try="$ac_compile"
7219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7220 *) ac_try_echo
=$ac_try;;
7222 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7223 $as_echo "$ac_try_echo") >&5
7224 (eval "$ac_compile") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1
>conftest.err
7228 cat conftest.err
>&5
7229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest.
$ac_objext; then
7236 $as_echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.
$ac_ext >&5
7240 int64_t
) ac_cv_c_int64_t
=yes ;;
7241 *) ac_cv_c_int64_t
=$ac_type ;;
7246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7248 $as_echo "$as_me: failed program was:" >&5
7249 sed 's/^/| /' conftest.
$ac_ext >&5
7254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7255 test "$ac_cv_c_int64_t" != no
&& break
7258 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
7259 $as_echo "$ac_cv_c_int64_t" >&6; }
7260 case $ac_cv_c_int64_t in #(
7264 cat >>confdefs.h
<<_ACEOF
7265 #define int64_t $ac_cv_c_int64_t
7270 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
7271 $as_echo_n "checking for ssize_t... " >&6; }
7272 if test "${ac_cv_type_ssize_t+set}" = set; then
7273 $as_echo_n "(cached) " >&6
7275 ac_cv_type_ssize_t
=no
7276 cat >conftest.
$ac_ext <<_ACEOF
7279 cat confdefs.h
>>conftest.
$ac_ext
7280 cat >>conftest.
$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 $ac_includes_default
7286 if (sizeof (ssize_t))
7292 rm -f conftest.
$ac_objext
7293 if { (ac_try
="$ac_compile"
7295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7296 *) ac_try_echo=$ac_try;;
7298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7299 $as_echo "$ac_try_echo") >&5
7300 (eval "$ac_compile") 2>conftest.er1
7302 grep -v '^ *+' conftest.er1 >conftest.err
7304 cat conftest.err >&5
7305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); } && {
7307 test -z "$ac_c_werror_flag" ||
7308 test ! -s conftest.err
7309 } && test -s conftest.$ac_objext; then
7310 cat >conftest.$ac_ext <<_ACEOF
7313 cat confdefs.h >>conftest.$ac_ext
7314 cat >>conftest.$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 $ac_includes_default
7320 if (sizeof ((ssize_t)))
7326 rm -f conftest.$ac_objext
7327 if { (ac_try="$ac_compile"
7329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7330 *) ac_try_echo
=$ac_try;;
7332 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7333 $as_echo "$ac_try_echo") >&5
7334 (eval "$ac_compile") 2>conftest.er1
7336 grep -v '^ *+' conftest.er1
>conftest.err
7338 cat conftest.err
>&5
7339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } && {
7341 test -z "$ac_c_werror_flag" ||
7342 test ! -s conftest.err
7343 } && test -s conftest.
$ac_objext; then
7346 $as_echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.
$ac_ext >&5
7349 ac_cv_type_ssize_t
=yes
7352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7354 $as_echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7362 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
7363 $as_echo "$ac_cv_type_ssize_t" >&6; }
7364 if test "x$ac_cv_type_ssize_t" = x
""yes; then
7368 cat >>confdefs.h
<<_ACEOF
7374 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7375 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7376 if test "${ac_cv_type_uid_t+set}" = set; then
7377 $as_echo_n "(cached) " >&6
7379 cat >conftest.
$ac_ext <<_ACEOF
7382 cat confdefs.h
>>conftest.
$ac_ext
7383 cat >>conftest.
$ac_ext <<_ACEOF
7384 /* end confdefs.h. */
7385 #include <sys/types.h>
7388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7389 $EGREP "uid_t" >/dev
/null
2>&1; then
7390 ac_cv_type_uid_t
=yes
7397 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7398 $as_echo "$ac_cv_type_uid_t" >&6; }
7399 if test $ac_cv_type_uid_t = no
; then
7401 cat >>confdefs.h
<<\_ACEOF
7406 cat >>confdefs.h
<<\_ACEOF
7413 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
7414 $as_echo_n "checking for uint8_t... " >&6; }
7415 if test "${ac_cv_c_uint8_t+set}" = set; then
7416 $as_echo_n "(cached) " >&6
7419 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
7420 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 $ac_includes_default
7431 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
7438 rm -f conftest.
$ac_objext
7439 if { (ac_try
="$ac_compile"
7441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7445 $as_echo "$ac_try_echo") >&5
7446 (eval "$ac_compile") 2>conftest.er1
7448 grep -v '^ *+' conftest.er1 >conftest.err
7450 cat conftest.err >&5
7451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } && {
7453 test -z "$ac_c_werror_flag" ||
7454 test ! -s conftest.err
7455 } && test -s conftest.$ac_objext; then
7457 uint8_t) ac_cv_c_uint8_t=yes ;;
7458 *) ac_cv_c_uint8_t=$ac_type ;;
7462 $as_echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469 test "$ac_cv_c_uint8_t" != no && break
7472 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
7473 $as_echo "$ac_cv_c_uint8_t" >&6; }
7474 case $ac_cv_c_uint8_t in #(
7478 cat >>confdefs.h <<\_ACEOF
7483 cat >>confdefs.h <<_ACEOF
7484 #define uint8_t $ac_cv_c_uint8_t
7490 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
7491 $as_echo_n "checking for uint16_t... " >&6; }
7492 if test "${ac_cv_c_uint16_t+set}" = set; then
7493 $as_echo_n "(cached) " >&6
7496 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
7497 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7498 cat >conftest.$ac_ext <<_ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 $ac_includes_default
7508 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
7515 rm -f conftest.$ac_objext
7516 if { (ac_try="$ac_compile"
7518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7519 *) ac_try_echo
=$ac_try;;
7521 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7522 $as_echo "$ac_try_echo") >&5
7523 (eval "$ac_compile") 2>conftest.er1
7525 grep -v '^ *+' conftest.er1
>conftest.err
7527 cat conftest.err
>&5
7528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); } && {
7530 test -z "$ac_c_werror_flag" ||
7531 test ! -s conftest.err
7532 } && test -s conftest.
$ac_objext; then
7534 uint16_t
) ac_cv_c_uint16_t
=yes ;;
7535 *) ac_cv_c_uint16_t
=$ac_type ;;
7539 $as_echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.
$ac_ext >&5
7545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7546 test "$ac_cv_c_uint16_t" != no
&& break
7549 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
7550 $as_echo "$ac_cv_c_uint16_t" >&6; }
7551 case $ac_cv_c_uint16_t in #(
7556 cat >>confdefs.h
<<_ACEOF
7557 #define uint16_t $ac_cv_c_uint16_t
7563 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
7564 $as_echo_n "checking for uint32_t... " >&6; }
7565 if test "${ac_cv_c_uint32_t+set}" = set; then
7566 $as_echo_n "(cached) " >&6
7569 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
7570 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7571 cat >conftest.
$ac_ext <<_ACEOF
7574 cat confdefs.h
>>conftest.
$ac_ext
7575 cat >>conftest.
$ac_ext <<_ACEOF
7576 /* end confdefs.h. */
7577 $ac_includes_default
7581 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
7588 rm -f conftest.
$ac_objext
7589 if { (ac_try
="$ac_compile"
7591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7592 *) ac_try_echo=$ac_try;;
7594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7595 $as_echo "$ac_try_echo") >&5
7596 (eval "$ac_compile") 2>conftest.er1
7598 grep -v '^ *+' conftest.er1 >conftest.err
7600 cat conftest.err >&5
7601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } && {
7603 test -z "$ac_c_werror_flag" ||
7604 test ! -s conftest.err
7605 } && test -s conftest.$ac_objext; then
7607 uint32_t) ac_cv_c_uint32_t=yes ;;
7608 *) ac_cv_c_uint32_t=$ac_type ;;
7612 $as_echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619 test "$ac_cv_c_uint32_t" != no && break
7622 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
7623 $as_echo "$ac_cv_c_uint32_t" >&6; }
7624 case $ac_cv_c_uint32_t in #(
7628 cat >>confdefs.h <<\_ACEOF
7633 cat >>confdefs.h <<_ACEOF
7634 #define uint32_t $ac_cv_c_uint32_t
7640 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
7641 $as_echo_n "checking for uint64_t... " >&6; }
7642 if test "${ac_cv_c_uint64_t+set}" = set; then
7643 $as_echo_n "(cached) " >&6
7646 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
7647 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 $ac_includes_default
7658 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
7665 rm -f conftest.$ac_objext
7666 if { (ac_try="$ac_compile"
7668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7669 *) ac_try_echo
=$ac_try;;
7671 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7672 $as_echo "$ac_try_echo") >&5
7673 (eval "$ac_compile") 2>conftest.er1
7675 grep -v '^ *+' conftest.er1
>conftest.err
7677 cat conftest.err
>&5
7678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && {
7680 test -z "$ac_c_werror_flag" ||
7681 test ! -s conftest.err
7682 } && test -s conftest.
$ac_objext; then
7684 uint64_t
) ac_cv_c_uint64_t
=yes ;;
7685 *) ac_cv_c_uint64_t
=$ac_type ;;
7689 $as_echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.
$ac_ext >&5
7695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7696 test "$ac_cv_c_uint64_t" != no
&& break
7699 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
7700 $as_echo "$ac_cv_c_uint64_t" >&6; }
7701 case $ac_cv_c_uint64_t in #(
7705 cat >>confdefs.h
<<\_ACEOF
7710 cat >>confdefs.h
<<_ACEOF
7711 #define uint64_t $ac_cv_c_uint64_t
7716 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7717 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
7718 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7719 $as_echo_n "(cached) " >&6
7721 cat >conftest.
$ac_ext <<_ACEOF
7724 cat confdefs.h
>>conftest.
$ac_ext
7725 cat >>conftest.
$ac_ext <<_ACEOF
7726 /* end confdefs.h. */
7727 $ac_includes_default
7731 static struct stat ac_aggr;
7732 if (ac_aggr.st_rdev)
7738 rm -f conftest.
$ac_objext
7739 if { (ac_try
="$ac_compile"
7741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7742 *) ac_try_echo=$ac_try;;
7744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7745 $as_echo "$ac_try_echo") >&5
7746 (eval "$ac_compile") 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest.$ac_objext; then
7756 ac_cv_member_struct_stat_st_rdev=yes
7758 $as_echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7761 cat >conftest.$ac_ext <<_ACEOF
7764 cat confdefs.h >>conftest.$ac_ext
7765 cat >>conftest.$ac_ext <<_ACEOF
7766 /* end confdefs.h. */
7767 $ac_includes_default
7771 static struct stat ac_aggr;
7772 if (sizeof ac_aggr.st_rdev)
7778 rm -f conftest.$ac_objext
7779 if { (ac_try="$ac_compile"
7781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7782 *) ac_try_echo
=$ac_try;;
7784 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7785 $as_echo "$ac_try_echo") >&5
7786 (eval "$ac_compile") 2>conftest.er1
7788 grep -v '^ *+' conftest.er1
>conftest.err
7790 cat conftest.err
>&5
7791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest.
$ac_objext; then
7796 ac_cv_member_struct_stat_st_rdev
=yes
7798 $as_echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.
$ac_ext >&5
7801 ac_cv_member_struct_stat_st_rdev
=no
7804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7809 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7810 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
7811 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
7813 cat >>confdefs.h
<<_ACEOF
7814 #define HAVE_STRUCT_STAT_ST_RDEV 1
7820 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7821 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7822 if test "${ac_cv_struct_tm+set}" = set; then
7823 $as_echo_n "(cached) " >&6
7825 cat >conftest.
$ac_ext <<_ACEOF
7828 cat confdefs.h
>>conftest.
$ac_ext
7829 cat >>conftest.
$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <sys/types.h>
7838 int *p = &tm.tm_sec;
7844 rm -f conftest.
$ac_objext
7845 if { (ac_try
="$ac_compile"
7847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7851 $as_echo "$ac_try_echo") >&5
7852 (eval "$ac_compile") 2>conftest.er1
7854 grep -v '^ *+' conftest.er1 >conftest.err
7856 cat conftest.err >&5
7857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest.$ac_objext; then
7862 ac_cv_struct_tm=time.h
7864 $as_echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 ac_cv_struct_tm=sys/time.h
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7873 $as_echo "$ac_cv_struct_tm" >&6; }
7874 if test $ac_cv_struct_tm = sys/time.h; then
7876 cat >>confdefs.h <<\_ACEOF
7877 #define TM_IN_SYS_TIME 1
7883 ################################################################################
7884 { $as_echo "$as_me:$LINENO: checking for library containing floor" >&5
7885 $as_echo_n "checking for library containing floor... " >&6; }
7886 if test "${ac_cv_search_floor+set}" = set; then
7887 $as_echo_n "(cached) " >&6
7889 ac_func_search_save_LIBS=$LIBS
7890 cat >conftest.$ac_ext <<_ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h. */
7897 /* Override any GCC internal prototype to avoid an error.
7898 Use char because int might match the return type of a GCC
7899 builtin and then its argument prototype would still apply. */
7912 for ac_lib in '' m; do
7913 if test -z "$ac_lib"; then
7914 ac_res="none required"
7917 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7919 rm -f conftest.$ac_objext conftest$ac_exeext
7920 if { (ac_try="$ac_link"
7922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7923 *) ac_try_echo
=$ac_try;;
7925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7926 $as_echo "$ac_try_echo") >&5
7927 (eval "$ac_link") 2>conftest.er1
7929 grep -v '^ *+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } && {
7934 test -z "$ac_c_werror_flag" ||
7935 test ! -s conftest.err
7936 } && test -s conftest
$ac_exeext && {
7937 test "$cross_compiling" = yes ||
7938 $as_test_x conftest
$ac_exeext
7940 ac_cv_search_floor
=$ac_res
7942 $as_echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.
$ac_ext >&5
7948 rm -rf conftest.dSYM
7949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7951 if test "${ac_cv_search_floor+set}" = set; then
7955 if test "${ac_cv_search_floor+set}" = set; then
7958 ac_cv_search_floor
=no
7961 LIBS
=$ac_func_search_save_LIBS
7963 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_floor" >&5
7964 $as_echo "$ac_cv_search_floor" >&6; }
7965 ac_res
=$ac_cv_search_floor
7966 if test "$ac_res" != no
; then
7967 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7970 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
7971 $as_echo "$as_me: error: bailing out" >&2;}
7972 { (exit 1); exit 1; }; }
8000 for ac_func
in floor ftruncate gethostname getpagesize \
8001 gettimeofday memset mkdir
mkfifo rmdir munmap nl_langinfo setenv setlocale \
8002 strcasecmp strchr strcspn strspn strdup strncasecmp strerror strrchr \
8003 strstr strtol strtoul uname
8005 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8006 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8007 $as_echo_n "checking for $ac_func... " >&6; }
8008 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8009 $as_echo_n "(cached) " >&6
8011 cat >conftest.
$ac_ext <<_ACEOF
8014 cat confdefs.h
>>conftest.
$ac_ext
8015 cat >>conftest.
$ac_ext <<_ACEOF
8016 /* end confdefs.h. */
8017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8019 #define $ac_func innocuous_$ac_func
8021 /* System header to define __stub macros and hopefully few prototypes,
8022 which can conflict with char $ac_func (); below.
8023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8024 <limits.h> exists even on freestanding compilers. */
8027 # include <limits.h>
8029 # include <assert.h>
8034 /* Override any GCC internal prototype to avoid an error.
8035 Use char because int might match the return type of a GCC
8036 builtin and then its argument prototype would still apply. */
8041 /* The GNU C library defines this for functions which it implements
8042 to always fail with ENOSYS. Some functions are actually named
8043 something starting with __ and the normal name is an alias. */
8044 #if defined __stub_$ac_func || defined __stub___$ac_func
8056 rm -f conftest.
$ac_objext conftest
$ac_exeext
8057 if { (ac_try
="$ac_link"
8059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8060 *) ac_try_echo=$ac_try;;
8062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8063 $as_echo "$ac_try_echo") >&5
8064 (eval "$ac_link") 2>conftest.er1
8066 grep -v '^ *+' conftest.er1 >conftest.err
8068 cat conftest.err >&5
8069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } && {
8071 test -z "$ac_c_werror_flag" ||
8072 test ! -s conftest.err
8073 } && test -s conftest$ac_exeext && {
8074 test "$cross_compiling" = yes ||
8075 $as_test_x conftest$ac_exeext
8077 eval "$as_ac_var=yes"
8079 $as_echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 eval "$as_ac_var=no"
8085 rm -rf conftest.dSYM
8086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8087 conftest$ac_exeext conftest.$ac_ext
8089 ac_res=`eval 'as_val=${'$as_ac_var'}
8090 $as_echo "$as_val"'`
8091 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8092 $as_echo "$ac_res" >&6; }
8093 as_val=`eval 'as_val=${'$as_ac_var'}
8094 $as_echo "$as_val"'`
8095 if test "x$as_val" = x""yes; then
8096 cat >>confdefs.h <<_ACEOF
8097 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8101 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
8102 $as_echo "$as_me: error: bailing out" >&2;}
8103 { (exit 1); exit 1; }; }
8108 for ac_func in siginterrupt
8110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8111 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8112 $as_echo_n "checking for $ac_func... " >&6; }
8113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8114 $as_echo_n "(cached) " >&6
8116 cat >conftest.$ac_ext <<_ACEOF
8119 cat confdefs.h >>conftest.$ac_ext
8120 cat >>conftest.$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8124 #define $ac_func innocuous_$ac_func
8126 /* System header to define __stub macros and hopefully few prototypes,
8127 which can conflict with char $ac_func (); below.
8128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8129 <limits.h> exists even on freestanding compilers. */
8132 # include <limits.h>
8134 # include <assert.h>
8139 /* Override any GCC internal prototype to avoid an error.
8140 Use char because int might match the return type of a GCC
8141 builtin and then its argument prototype would still apply. */
8146 /* The GNU C library defines this for functions which it implements
8147 to always fail with ENOSYS. Some functions are actually named
8148 something starting with __ and the normal name is an alias. */
8149 #if defined __stub_$ac_func || defined __stub___$ac_func
8161 rm -f conftest.$ac_objext conftest$ac_exeext
8162 if { (ac_try="$ac_link"
8164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8165 *) ac_try_echo
=$ac_try;;
8167 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8168 $as_echo "$ac_try_echo") >&5
8169 (eval "$ac_link") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1
>conftest.err
8173 cat conftest.err
>&5
8174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && {
8176 test -z "$ac_c_werror_flag" ||
8177 test ! -s conftest.err
8178 } && test -s conftest
$ac_exeext && {
8179 test "$cross_compiling" = yes ||
8180 $as_test_x conftest
$ac_exeext
8182 eval "$as_ac_var=yes"
8184 $as_echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.
$ac_ext >&5
8187 eval "$as_ac_var=no"
8190 rm -rf conftest.dSYM
8191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8192 conftest
$ac_exeext conftest.
$ac_ext
8194 ac_res
=`eval 'as_val=${'$as_ac_var'}
8195 $as_echo "$as_val"'`
8196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8197 $as_echo "$ac_res" >&6; }
8198 as_val
=`eval 'as_val=${'$as_ac_var'}
8199 $as_echo "$as_val"'`
8200 if test "x$as_val" = x
""yes; then
8201 cat >>confdefs.h
<<_ACEOF
8202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8208 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8209 # for constant arguments. Useless!
8210 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
8211 $as_echo_n "checking for working alloca.h... " >&6; }
8212 if test "${ac_cv_working_alloca_h+set}" = set; then
8213 $as_echo_n "(cached) " >&6
8215 cat >conftest.
$ac_ext <<_ACEOF
8218 cat confdefs.h
>>conftest.
$ac_ext
8219 cat >>conftest.
$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8225 char *p = (char *) alloca (2 * sizeof (int));
8231 rm -f conftest.
$ac_objext conftest
$ac_exeext
8232 if { (ac_try
="$ac_link"
8234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8235 *) ac_try_echo=$ac_try;;
8237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8238 $as_echo "$ac_try_echo") >&5
8239 (eval "$ac_link") 2>conftest.er1
8241 grep -v '^ *+' conftest.er1 >conftest.err
8243 cat conftest.err >&5
8244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } && {
8246 test -z "$ac_c_werror_flag" ||
8247 test ! -s conftest.err
8248 } && test -s conftest$ac_exeext && {
8249 test "$cross_compiling" = yes ||
8250 $as_test_x conftest$ac_exeext
8252 ac_cv_working_alloca_h=yes
8254 $as_echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.$ac_ext >&5
8257 ac_cv_working_alloca_h=no
8260 rm -rf conftest.dSYM
8261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8262 conftest$ac_exeext conftest.$ac_ext
8264 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8265 $as_echo "$ac_cv_working_alloca_h" >&6; }
8266 if test $ac_cv_working_alloca_h = yes; then
8268 cat >>confdefs.h <<\_ACEOF
8269 #define HAVE_ALLOCA_H 1
8274 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
8275 $as_echo_n "checking for alloca... " >&6; }
8276 if test "${ac_cv_func_alloca_works+set}" = set; then
8277 $as_echo_n "(cached) " >&6
8279 cat >conftest.$ac_ext <<_ACEOF
8282 cat confdefs.h >>conftest.$ac_ext
8283 cat >>conftest.$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8286 # define alloca __builtin_alloca
8289 # include <malloc.h>
8290 # define alloca _alloca
8292 # ifdef HAVE_ALLOCA_H
8293 # include <alloca.h>
8298 # ifndef alloca /* predefined by HP cc +Olibcalls */
8309 char *p = (char *) alloca (1);
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8319 *) ac_try_echo
=$ac_try;;
8321 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8322 $as_echo "$ac_try_echo") >&5
8323 (eval "$ac_link") 2>conftest.er1
8325 grep -v '^ *+' conftest.er1
>conftest.err
8327 cat conftest.err
>&5
8328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); } && {
8330 test -z "$ac_c_werror_flag" ||
8331 test ! -s conftest.err
8332 } && test -s conftest
$ac_exeext && {
8333 test "$cross_compiling" = yes ||
8334 $as_test_x conftest
$ac_exeext
8336 ac_cv_func_alloca_works
=yes
8338 $as_echo "$as_me: failed program was:" >&5
8339 sed 's/^/| /' conftest.
$ac_ext >&5
8341 ac_cv_func_alloca_works
=no
8344 rm -rf conftest.dSYM
8345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8346 conftest
$ac_exeext conftest.
$ac_ext
8348 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8349 $as_echo "$ac_cv_func_alloca_works" >&6; }
8351 if test $ac_cv_func_alloca_works = yes; then
8353 cat >>confdefs.h
<<\_ACEOF
8354 #define HAVE_ALLOCA 1
8358 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8359 # that cause trouble. Some versions do not even contain alloca or
8360 # contain a buggy version. If you still want to use their alloca,
8361 # use ar to extract alloca.o from them instead of compiling alloca.c.
8363 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
8365 cat >>confdefs.h
<<\_ACEOF
8370 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8371 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
8372 if test "${ac_cv_os_cray+set}" = set; then
8373 $as_echo_n "(cached) " >&6
8375 cat >conftest.
$ac_ext <<_ACEOF
8378 cat confdefs.h
>>conftest.
$ac_ext
8379 cat >>conftest.
$ac_ext <<_ACEOF
8380 /* end confdefs.h. */
8381 #if defined CRAY && ! defined CRAY2
8388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8389 $EGREP "webecray" >/dev
/null
2>&1; then
8397 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8398 $as_echo "$ac_cv_os_cray" >&6; }
8399 if test $ac_cv_os_cray = yes; then
8400 for ac_func
in _getb67 GETB67 getb67
; do
8401 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8402 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8403 $as_echo_n "checking for $ac_func... " >&6; }
8404 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8405 $as_echo_n "(cached) " >&6
8407 cat >conftest.
$ac_ext <<_ACEOF
8410 cat confdefs.h
>>conftest.
$ac_ext
8411 cat >>conftest.
$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8415 #define $ac_func innocuous_$ac_func
8417 /* System header to define __stub macros and hopefully few prototypes,
8418 which can conflict with char $ac_func (); below.
8419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8420 <limits.h> exists even on freestanding compilers. */
8423 # include <limits.h>
8425 # include <assert.h>
8430 /* Override any GCC internal prototype to avoid an error.
8431 Use char because int might match the return type of a GCC
8432 builtin and then its argument prototype would still apply. */
8437 /* The GNU C library defines this for functions which it implements
8438 to always fail with ENOSYS. Some functions are actually named
8439 something starting with __ and the normal name is an alias. */
8440 #if defined __stub_$ac_func || defined __stub___$ac_func
8452 rm -f conftest.
$ac_objext conftest
$ac_exeext
8453 if { (ac_try
="$ac_link"
8455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8459 $as_echo "$ac_try_echo") >&5
8460 (eval "$ac_link") 2>conftest.er1
8462 grep -v '^ *+' conftest.er1 >conftest.err
8464 cat conftest.err >&5
8465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } && {
8467 test -z "$ac_c_werror_flag" ||
8468 test ! -s conftest.err
8469 } && test -s conftest$ac_exeext && {
8470 test "$cross_compiling" = yes ||
8471 $as_test_x conftest$ac_exeext
8473 eval "$as_ac_var=yes"
8475 $as_echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8478 eval "$as_ac_var=no"
8481 rm -rf conftest.dSYM
8482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8483 conftest$ac_exeext conftest.$ac_ext
8485 ac_res=`eval 'as_val=${'$as_ac_var'}
8486 $as_echo "$as_val"'`
8487 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8488 $as_echo "$ac_res" >&6; }
8489 as_val=`eval 'as_val=${'$as_ac_var'}
8490 $as_echo "$as_val"'`
8491 if test "x$as_val" = x""yes; then
8493 cat >>confdefs.h <<_ACEOF
8494 #define CRAY_STACKSEG_END $ac_func
8503 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8504 $as_echo_n "checking stack direction for C alloca... " >&6; }
8505 if test "${ac_cv_c_stack_direction+set}" = set; then
8506 $as_echo_n "(cached) " >&6
8508 if test "$cross_compiling" = yes; then
8509 ac_cv_c_stack_direction=0
8511 cat >conftest.$ac_ext <<_ACEOF
8514 cat confdefs.h >>conftest.$ac_ext
8515 cat >>conftest.$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8517 $ac_includes_default
8519 find_stack_direction ()
8521 static char *addr = 0;
8526 return find_stack_direction ();
8529 return (&dummy > addr) ? 1 : -1;
8535 return find_stack_direction () < 0;
8538 rm -f conftest$ac_exeext
8539 if { (ac_try="$ac_link"
8541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8542 *) ac_try_echo
=$ac_try;;
8544 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8545 $as_echo "$ac_try_echo") >&5
8546 (eval "$ac_link") 2>&5
8548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8550 { (case "(($ac_try" in
8551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8555 $as_echo "$ac_try_echo") >&5
8556 (eval "$ac_try") 2>&5
8558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8560 ac_cv_c_stack_direction=1
8562 $as_echo "$as_me: program exited with status $ac_status" >&5
8563 $as_echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8567 ac_cv_c_stack_direction=-1
8569 rm -rf conftest.dSYM
8570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8575 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8576 $as_echo "$ac_cv_c_stack_direction" >&6; }
8578 cat >>confdefs.h <<_ACEOF
8579 #define STACK_DIRECTION $ac_cv_c_stack_direction
8585 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8586 $as_echo_n "checking whether closedir returns void... " >&6; }
8587 if test "${ac_cv_func_closedir_void+set}" = set; then
8588 $as_echo_n "(cached) " >&6
8590 if test "$cross_compiling" = yes; then
8591 ac_cv_func_closedir_void=yes
8593 cat >conftest.$ac_ext <<_ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8599 $ac_includes_default
8600 #include <$ac_header_dirent>
8608 return closedir (opendir (".")) != 0;
8613 rm -f conftest$ac_exeext
8614 if { (ac_try="$ac_link"
8616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8617 *) ac_try_echo
=$ac_try;;
8619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8620 $as_echo "$ac_try_echo") >&5
8621 (eval "$ac_link") 2>&5
8623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8625 { (case "(($ac_try" in
8626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8627 *) ac_try_echo=$ac_try;;
8629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8630 $as_echo "$ac_try_echo") >&5
8631 (eval "$ac_try") 2>&5
8633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; }; then
8635 ac_cv_func_closedir_void=no
8637 $as_echo "$as_me: program exited with status $ac_status" >&5
8638 $as_echo "$as_me: failed program was:" >&5
8639 sed 's/^/| /' conftest.$ac_ext >&5
8642 ac_cv_func_closedir_void=yes
8644 rm -rf conftest.dSYM
8645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8650 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8651 $as_echo "$ac_cv_func_closedir_void" >&6; }
8652 if test $ac_cv_func_closedir_void = yes; then
8654 cat >>confdefs.h <<\_ACEOF
8655 #define CLOSEDIR_VOID 1
8661 for ac_header in unistd.h
8663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8665 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8666 $as_echo_n "checking for $ac_header... " >&6; }
8667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8668 $as_echo_n "(cached) " >&6
8670 ac_res=`eval 'as_val=${'$as_ac_Header'}
8671 $as_echo "$as_val"'`
8672 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8673 $as_echo "$ac_res" >&6; }
8675 # Is the header compilable?
8676 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8677 $as_echo_n "checking $ac_header usability... " >&6; }
8678 cat >conftest.$ac_ext <<_ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 $ac_includes_default
8685 #include <$ac_header>
8687 rm -f conftest.$ac_objext
8688 if { (ac_try="$ac_compile"
8690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8691 *) ac_try_echo
=$ac_try;;
8693 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8694 $as_echo "$ac_try_echo") >&5
8695 (eval "$ac_compile") 2>conftest.er1
8697 grep -v '^ *+' conftest.er1
>conftest.err
8699 cat conftest.err
>&5
8700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } && {
8702 test -z "$ac_c_werror_flag" ||
8703 test ! -s conftest.err
8704 } && test -s conftest.
$ac_objext; then
8705 ac_header_compiler
=yes
8707 $as_echo "$as_me: failed program was:" >&5
8708 sed 's/^/| /' conftest.
$ac_ext >&5
8710 ac_header_compiler
=no
8713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8714 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8715 $as_echo "$ac_header_compiler" >&6; }
8717 # Is the header present?
8718 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8719 $as_echo_n "checking $ac_header presence... " >&6; }
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 #include <$ac_header>
8728 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8731 *) ac_try_echo=$ac_try;;
8733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8734 $as_echo "$ac_try_echo") >&5
8735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8737 grep -v '^ *+' conftest.er1 >conftest.err
8739 cat conftest.err >&5
8740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } >/dev/null && {
8742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8743 test ! -s conftest.err
8745 ac_header_preproc=yes
8747 $as_echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8750 ac_header_preproc=no
8753 rm -f conftest.err conftest.$ac_ext
8754 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8755 $as_echo "$ac_header_preproc" >&6; }
8757 # So? What about this header?
8758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8761 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8763 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8764 ac_header_preproc=yes
8767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8768 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8770 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8772 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8774 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8776 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8778 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8782 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8783 $as_echo_n "checking for $ac_header... " >&6; }
8784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8785 $as_echo_n "(cached) " >&6
8787 eval "$as_ac_Header=\$ac_header_preproc"
8789 ac_res=`eval 'as_val=${'$as_ac_Header'}
8790 $as_echo "$as_val"'`
8791 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8792 $as_echo "$ac_res" >&6; }
8795 as_val=`eval 'as_val=${'$as_ac_Header'}
8796 $as_echo "$as_val"'`
8797 if test "x$as_val" = x""yes; then
8798 cat >>confdefs.h <<_ACEOF
8799 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8806 { $as_echo "$as_me:$LINENO: checking for working chown" >&5
8807 $as_echo_n "checking for working chown... " >&6; }
8808 if test "${ac_cv_func_chown_works+set}" = set; then
8809 $as_echo_n "(cached) " >&6
8811 if test "$cross_compiling" = yes; then
8812 ac_cv_func_chown_works=no
8814 cat >conftest.$ac_ext <<_ACEOF
8817 cat confdefs.h >>conftest.$ac_ext
8818 cat >>conftest.$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8820 $ac_includes_default
8826 char *f = "conftest.chown";
8827 struct stat before, after;
8829 if (creat (f, 0600) < 0)
8831 if (stat (f, &before) < 0)
8833 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
8835 if (stat (f, &after) < 0)
8837 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
8843 rm -f conftest$ac_exeext
8844 if { (ac_try="$ac_link"
8846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8847 *) ac_try_echo
=$ac_try;;
8849 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8850 $as_echo "$ac_try_echo") >&5
8851 (eval "$ac_link") 2>&5
8853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8855 { (case "(($ac_try" in
8856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8857 *) ac_try_echo=$ac_try;;
8859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8860 $as_echo "$ac_try_echo") >&5
8861 (eval "$ac_try") 2>&5
8863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; }; then
8865 ac_cv_func_chown_works=yes
8867 $as_echo "$as_me: program exited with status $ac_status" >&5
8868 $as_echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.$ac_ext >&5
8872 ac_cv_func_chown_works=no
8874 rm -rf conftest.dSYM
8875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8879 rm -f conftest.chown
8882 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_chown_works" >&5
8883 $as_echo "$ac_cv_func_chown_works" >&6; }
8884 if test $ac_cv_func_chown_works = yes; then
8886 cat >>confdefs.h <<\_ACEOF
8887 #define HAVE_CHOWN 1
8893 for ac_header in vfork.h
8895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8897 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8898 $as_echo_n "checking for $ac_header... " >&6; }
8899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8900 $as_echo_n "(cached) " >&6
8902 ac_res=`eval 'as_val=${'$as_ac_Header'}
8903 $as_echo "$as_val"'`
8904 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8905 $as_echo "$ac_res" >&6; }
8907 # Is the header compilable?
8908 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8909 $as_echo_n "checking $ac_header usability... " >&6; }
8910 cat >conftest.$ac_ext <<_ACEOF
8913 cat confdefs.h >>conftest.$ac_ext
8914 cat >>conftest.$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8916 $ac_includes_default
8917 #include <$ac_header>
8919 rm -f conftest.$ac_objext
8920 if { (ac_try="$ac_compile"
8922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8923 *) ac_try_echo
=$ac_try;;
8925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8926 $as_echo "$ac_try_echo") >&5
8927 (eval "$ac_compile") 2>conftest.er1
8929 grep -v '^ *+' conftest.er1
>conftest.err
8931 cat conftest.err
>&5
8932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); } && {
8934 test -z "$ac_c_werror_flag" ||
8935 test ! -s conftest.err
8936 } && test -s conftest.
$ac_objext; then
8937 ac_header_compiler
=yes
8939 $as_echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.
$ac_ext >&5
8942 ac_header_compiler
=no
8945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8946 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8947 $as_echo "$ac_header_compiler" >&6; }
8949 # Is the header present?
8950 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8951 $as_echo_n "checking $ac_header presence... " >&6; }
8952 cat >conftest.
$ac_ext <<_ACEOF
8955 cat confdefs.h
>>conftest.
$ac_ext
8956 cat >>conftest.
$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8958 #include <$ac_header>
8960 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8966 $as_echo "$ac_try_echo") >&5
8967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8969 grep -v '^ *+' conftest.er1 >conftest.err
8971 cat conftest.err >&5
8972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } >/dev/null && {
8974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8975 test ! -s conftest.err
8977 ac_header_preproc=yes
8979 $as_echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8982 ac_header_preproc=no
8985 rm -f conftest.err conftest.$ac_ext
8986 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8987 $as_echo "$ac_header_preproc" >&6; }
8989 # So? What about this header?
8990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8993 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8995 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8996 ac_header_preproc=yes
8999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9000 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9002 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9004 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9006 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9010 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9014 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9015 $as_echo_n "checking for $ac_header... " >&6; }
9016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9017 $as_echo_n "(cached) " >&6
9019 eval "$as_ac_Header=\$ac_header_preproc"
9021 ac_res=`eval 'as_val=${'$as_ac_Header'}
9022 $as_echo "$as_val"'`
9023 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9024 $as_echo "$ac_res" >&6; }
9027 as_val=`eval 'as_val=${'$as_ac_Header'}
9028 $as_echo "$as_val"'`
9029 if test "x$as_val" = x""yes; then
9030 cat >>confdefs.h <<_ACEOF
9031 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9040 for ac_func in fork vfork
9042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9043 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9044 $as_echo_n "checking for $ac_func... " >&6; }
9045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9046 $as_echo_n "(cached) " >&6
9048 cat >conftest.$ac_ext <<_ACEOF
9051 cat confdefs.h >>conftest.$ac_ext
9052 cat >>conftest.$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9056 #define $ac_func innocuous_$ac_func
9058 /* System header to define __stub macros and hopefully few prototypes,
9059 which can conflict with char $ac_func (); below.
9060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9061 <limits.h> exists even on freestanding compilers. */
9064 # include <limits.h>
9066 # include <assert.h>
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9078 /* The GNU C library defines this for functions which it implements
9079 to always fail with ENOSYS. Some functions are actually named
9080 something starting with __ and the normal name is an alias. */
9081 #if defined __stub_$ac_func || defined __stub___$ac_func
9093 rm -f conftest.$ac_objext conftest$ac_exeext
9094 if { (ac_try="$ac_link"
9096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9097 *) ac_try_echo
=$ac_try;;
9099 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9100 $as_echo "$ac_try_echo") >&5
9101 (eval "$ac_link") 2>conftest.er1
9103 grep -v '^ *+' conftest.er1
>conftest.err
9105 cat conftest.err
>&5
9106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } && {
9108 test -z "$ac_c_werror_flag" ||
9109 test ! -s conftest.err
9110 } && test -s conftest
$ac_exeext && {
9111 test "$cross_compiling" = yes ||
9112 $as_test_x conftest
$ac_exeext
9114 eval "$as_ac_var=yes"
9116 $as_echo "$as_me: failed program was:" >&5
9117 sed 's/^/| /' conftest.
$ac_ext >&5
9119 eval "$as_ac_var=no"
9122 rm -rf conftest.dSYM
9123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9124 conftest
$ac_exeext conftest.
$ac_ext
9126 ac_res
=`eval 'as_val=${'$as_ac_var'}
9127 $as_echo "$as_val"'`
9128 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9129 $as_echo "$ac_res" >&6; }
9130 as_val
=`eval 'as_val=${'$as_ac_var'}
9131 $as_echo "$as_val"'`
9132 if test "x$as_val" = x
""yes; then
9133 cat >>confdefs.h
<<_ACEOF
9134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9140 if test "x$ac_cv_func_fork" = xyes
; then
9141 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
9142 $as_echo_n "checking for working fork... " >&6; }
9143 if test "${ac_cv_func_fork_works+set}" = set; then
9144 $as_echo_n "(cached) " >&6
9146 if test "$cross_compiling" = yes; then
9147 ac_cv_func_fork_works
=cross
9149 cat >conftest.
$ac_ext <<_ACEOF
9152 cat confdefs.h
>>conftest.
$ac_ext
9153 cat >>conftest.
$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 $ac_includes_default
9160 /* By Ruediger Kuhlmann. */
9167 rm -f conftest
$ac_exeext
9168 if { (ac_try
="$ac_link"
9170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9171 *) ac_try_echo=$ac_try;;
9173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9174 $as_echo "$ac_try_echo") >&5
9175 (eval "$ac_link") 2>&5
9177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9179 { (case "(($ac_try" in
9180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9181 *) ac_try_echo
=$ac_try;;
9183 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9184 $as_echo "$ac_try_echo") >&5
9185 (eval "$ac_try") 2>&5
9187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 ac_cv_func_fork_works
=yes
9191 $as_echo "$as_me: program exited with status $ac_status" >&5
9192 $as_echo "$as_me: failed program was:" >&5
9193 sed 's/^/| /' conftest.
$ac_ext >&5
9196 ac_cv_func_fork_works
=no
9198 rm -rf conftest.dSYM
9199 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9204 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
9205 $as_echo "$ac_cv_func_fork_works" >&6; }
9208 ac_cv_func_fork_works
=$ac_cv_func_fork
9210 if test "x$ac_cv_func_fork_works" = xcross
; then
9212 *-*-amigaos* |
*-*-msdosdjgpp*)
9213 # Override, as these systems have only a dummy fork() stub
9214 ac_cv_func_fork_works
=no
9217 ac_cv_func_fork_works
=yes
9220 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
9221 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
9223 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9224 if test "x$ac_cv_func_vfork" = xyes
; then
9225 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
9226 $as_echo_n "checking for working vfork... " >&6; }
9227 if test "${ac_cv_func_vfork_works+set}" = set; then
9228 $as_echo_n "(cached) " >&6
9230 if test "$cross_compiling" = yes; then
9231 ac_cv_func_vfork_works
=cross
9233 cat >conftest.
$ac_ext <<_ACEOF
9236 cat confdefs.h
>>conftest.
$ac_ext
9237 cat >>conftest.
$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 /* Thanks to Paul Eggert for this test. */
9240 $ac_includes_default
9241 #include <sys/wait.h>
9245 /* On some sparc systems, changes by the child to local and incoming
9246 argument registers are propagated back to the parent. The compiler
9247 is told about this with #include <vfork.h>, but some compilers
9248 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9249 static variable whose address is put into a register that is
9250 clobbered by the vfork. */
9253 sparc_address_test (int arg)
9255 sparc_address_test (arg) int arg;
9276 pid_t parent = getpid ();
9279 sparc_address_test (0);
9284 /* Here is another test for sparc vfork register problems. This
9285 test uses lots of local variables, at least as many local
9286 variables as main has allocated so far including compiler
9287 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9288 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9289 reuse the register of parent for one of the local variables,
9290 since it will think that parent can't possibly be used any more
9291 in this routine. Assigning to the local variable will thus
9292 munge parent in the parent process. */
9294 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
9295 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
9296 /* Convince the compiler that p..p7 are live; otherwise, it might
9297 use the same hardware register for all 8 local variables. */
9298 if (p != p1 || p != p2 || p != p3 || p != p4
9299 || p != p5 || p != p6 || p != p7)
9302 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9303 from child file descriptors. If the child closes a descriptor
9304 before it execs or exits, this munges the parent's descriptor
9305 as well. Test for this by closing stdout in the child. */
9306 _exit(close(fileno(stdout)) != 0);
9311 while (wait(&status) != child)
9314 /* Was there some problem with vforking? */
9317 /* Did the child fail? (This shouldn't happen.) */
9320 /* Did the vfork/compiler bug occur? */
9321 || parent != getpid()
9323 /* Did the file descriptor bug occur? */
9324 || fstat(fileno(stdout), &st) != 0
9329 rm -f conftest
$ac_exeext
9330 if { (ac_try
="$ac_link"
9332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9333 *) ac_try_echo=$ac_try;;
9335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9336 $as_echo "$ac_try_echo") >&5
9337 (eval "$ac_link") 2>&5
9339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9341 { (case "(($ac_try" in
9342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9343 *) ac_try_echo
=$ac_try;;
9345 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9346 $as_echo "$ac_try_echo") >&5
9347 (eval "$ac_try") 2>&5
9349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_cv_func_vfork_works
=yes
9353 $as_echo "$as_me: program exited with status $ac_status" >&5
9354 $as_echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.
$ac_ext >&5
9358 ac_cv_func_vfork_works
=no
9360 rm -rf conftest.dSYM
9361 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9366 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9367 $as_echo "$ac_cv_func_vfork_works" >&6; }
9370 if test "x$ac_cv_func_fork_works" = xcross
; then
9371 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9372 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9373 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9376 if test "x$ac_cv_func_vfork_works" = xyes
; then
9378 cat >>confdefs.h
<<\_ACEOF
9379 #define HAVE_WORKING_VFORK 1
9384 cat >>confdefs.h
<<\_ACEOF
9389 if test "x$ac_cv_func_fork_works" = xyes
; then
9391 cat >>confdefs.h
<<\_ACEOF
9392 #define HAVE_WORKING_FORK 1
9397 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
9398 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
9399 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
9400 $as_echo_n "(cached) " >&6
9402 rm -f conftest.sym conftest.
file
9404 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
9405 if test "$cross_compiling" = yes; then
9406 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9408 cat >conftest.
$ac_ext <<_ACEOF
9411 cat confdefs.h
>>conftest.
$ac_ext
9412 cat >>conftest.
$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9414 $ac_includes_default
9419 /* Linux will dereference the symlink and fail.
9420 That is better in the sense that it means we will not
9421 have to compile and use the lstat wrapper. */
9422 return lstat ("conftest.sym/", &sbuf) == 0;
9427 rm -f conftest
$ac_exeext
9428 if { (ac_try
="$ac_link"
9430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9431 *) ac_try_echo=$ac_try;;
9433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9434 $as_echo "$ac_try_echo") >&5
9435 (eval "$ac_link") 2>&5
9437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9439 { (case "(($ac_try" in
9440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9441 *) ac_try_echo
=$ac_try;;
9443 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9444 $as_echo "$ac_try_echo") >&5
9445 (eval "$ac_try") 2>&5
9447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
9451 $as_echo "$as_me: program exited with status $ac_status" >&5
9452 $as_echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9456 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9458 rm -rf conftest.dSYM
9459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9464 # If the `ln -s' command failed, then we probably don't even
9465 # have an lstat function.
9466 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9468 rm -f conftest.sym conftest.
file
9471 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
9472 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
9474 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
9476 cat >>confdefs.h
<<_ACEOF
9477 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
9481 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
9482 case " $LIBOBJS " in
9483 *" lstat.$ac_objext "* ) ;;
9484 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9490 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
9491 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
9492 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
9493 $as_echo_n "(cached) " >&6
9495 if test "$cross_compiling" = yes; then
9496 ac_cv_func_lstat_empty_string_bug
=yes
9498 cat >conftest.
$ac_ext <<_ACEOF
9501 cat confdefs.h
>>conftest.
$ac_ext
9502 cat >>conftest.
$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9504 $ac_includes_default
9509 return lstat ("", &sbuf) == 0;
9514 rm -f conftest
$ac_exeext
9515 if { (ac_try
="$ac_link"
9517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9518 *) ac_try_echo=$ac_try;;
9520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9521 $as_echo "$ac_try_echo") >&5
9522 (eval "$ac_link") 2>&5
9524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9526 { (case "(($ac_try" in
9527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9528 *) ac_try_echo
=$ac_try;;
9530 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9531 $as_echo "$ac_try_echo") >&5
9532 (eval "$ac_try") 2>&5
9534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; }; then
9536 ac_cv_func_lstat_empty_string_bug
=no
9538 $as_echo "$as_me: program exited with status $ac_status" >&5
9539 $as_echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.
$ac_ext >&5
9543 ac_cv_func_lstat_empty_string_bug
=yes
9545 rm -rf conftest.dSYM
9546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9551 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
9552 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
9553 if test $ac_cv_func_lstat_empty_string_bug = yes; then
9554 case " $LIBOBJS " in
9555 *" lstat.$ac_objext "* ) ;;
9556 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9561 cat >>confdefs.h
<<_ACEOF
9562 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
9568 for ac_header
in stdlib.h
9570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9571 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9573 $as_echo_n "checking for $ac_header... " >&6; }
9574 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9575 $as_echo_n "(cached) " >&6
9577 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9578 $as_echo "$as_val"'`
9579 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9580 $as_echo "$ac_res" >&6; }
9582 # Is the header compilable?
9583 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9584 $as_echo_n "checking $ac_header usability... " >&6; }
9585 cat >conftest.
$ac_ext <<_ACEOF
9588 cat confdefs.h
>>conftest.
$ac_ext
9589 cat >>conftest.
$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9591 $ac_includes_default
9592 #include <$ac_header>
9594 rm -f conftest.
$ac_objext
9595 if { (ac_try
="$ac_compile"
9597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9601 $as_echo "$ac_try_echo") >&5
9602 (eval "$ac_compile") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest.$ac_objext; then
9612 ac_header_compiler=yes
9614 $as_echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_header_compiler=no
9620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9622 $as_echo "$ac_header_compiler" >&6; }
9624 # Is the header present?
9625 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9626 $as_echo_n "checking $ac_header presence... " >&6; }
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9633 #include <$ac_header>
9635 if { (ac_try="$ac_cpp conftest.$ac_ext"
9637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9638 *) ac_try_echo
=$ac_try;;
9640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9641 $as_echo "$ac_try_echo") >&5
9642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9644 grep -v '^ *+' conftest.er1
>conftest.err
9646 cat conftest.err
>&5
9647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); } >/dev
/null
&& {
9649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9650 test ! -s conftest.err
9652 ac_header_preproc
=yes
9654 $as_echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9657 ac_header_preproc
=no
9660 rm -f conftest.err conftest.
$ac_ext
9661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9662 $as_echo "$ac_header_preproc" >&6; }
9664 # So? What about this header?
9665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9668 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9671 ac_header_preproc
=yes
9674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9675 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9677 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9679 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9681 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9685 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9689 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 $as_echo_n "checking for $ac_header... " >&6; }
9691 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 $as_echo_n "(cached) " >&6
9694 eval "$as_ac_Header=\$ac_header_preproc"
9696 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9697 $as_echo "$as_val"'`
9698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9699 $as_echo "$ac_res" >&6; }
9702 as_val
=`eval 'as_val=${'$as_ac_Header'}
9703 $as_echo "$as_val"'`
9704 if test "x$as_val" = x
""yes; then
9705 cat >>confdefs.h
<<_ACEOF
9706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9713 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9714 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
9715 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9716 $as_echo_n "(cached) " >&6
9718 if test "$cross_compiling" = yes; then
9719 ac_cv_func_malloc_0_nonnull
=no
9721 cat >conftest.
$ac_ext <<_ACEOF
9724 cat confdefs.h
>>conftest.
$ac_ext
9725 cat >>conftest.
$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9727 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
9728 # include <stdlib.h>
9736 return ! malloc (0);
9741 rm -f conftest
$ac_exeext
9742 if { (ac_try
="$ac_link"
9744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9745 *) ac_try_echo=$ac_try;;
9747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9748 $as_echo "$ac_try_echo") >&5
9749 (eval "$ac_link") 2>&5
9751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9753 { (case "(($ac_try" in
9754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9755 *) ac_try_echo
=$ac_try;;
9757 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9758 $as_echo "$ac_try_echo") >&5
9759 (eval "$ac_try") 2>&5
9761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_cv_func_malloc_0_nonnull
=yes
9765 $as_echo "$as_me: program exited with status $ac_status" >&5
9766 $as_echo "$as_me: failed program was:" >&5
9767 sed 's/^/| /' conftest.
$ac_ext >&5
9770 ac_cv_func_malloc_0_nonnull
=no
9772 rm -rf conftest.dSYM
9773 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9778 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9779 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
9780 if test $ac_cv_func_malloc_0_nonnull = yes; then
9782 cat >>confdefs.h
<<\_ACEOF
9783 #define HAVE_MALLOC 1
9787 cat >>confdefs.h
<<\_ACEOF
9788 #define HAVE_MALLOC 0
9791 case " $LIBOBJS " in
9792 *" malloc.$ac_objext "* ) ;;
9793 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
9798 cat >>confdefs.h
<<\_ACEOF
9799 #define malloc rpl_malloc
9806 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
9807 $as_echo_n "checking for working memcmp... " >&6; }
9808 if test "${ac_cv_func_memcmp_working+set}" = set; then
9809 $as_echo_n "(cached) " >&6
9811 if test "$cross_compiling" = yes; then
9812 ac_cv_func_memcmp_working
=no
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9820 $ac_includes_default
9825 /* Some versions of memcmp are not 8-bit clean. */
9826 char c0 = '\100', c1 = '\200', c2 = '\201';
9827 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9830 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9831 or more and with at least one buffer not starting on a 4-byte boundary.
9832 William Lewis provided this test program. */
9837 for (i = 0; i < 4; i++)
9841 strcpy (a, "--------01111111");
9842 strcpy (b, "--------10000000");
9843 if (memcmp (a, b, 16) >= 0)
9853 rm -f conftest
$ac_exeext
9854 if { (ac_try
="$ac_link"
9856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9860 $as_echo "$ac_try_echo") >&5
9861 (eval "$ac_link") 2>&5
9863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9865 { (case "(($ac_try" in
9866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9867 *) ac_try_echo
=$ac_try;;
9869 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9870 $as_echo "$ac_try_echo") >&5
9871 (eval "$ac_try") 2>&5
9873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; }; then
9875 ac_cv_func_memcmp_working
=yes
9877 $as_echo "$as_me: program exited with status $ac_status" >&5
9878 $as_echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.
$ac_ext >&5
9882 ac_cv_func_memcmp_working
=no
9884 rm -rf conftest.dSYM
9885 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9890 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9891 $as_echo "$ac_cv_func_memcmp_working" >&6; }
9892 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
9893 *" memcmp.$ac_objext "* ) ;;
9894 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
9901 for ac_header
in stdlib.h unistd.h
9903 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9905 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9906 $as_echo_n "checking for $ac_header... " >&6; }
9907 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9908 $as_echo_n "(cached) " >&6
9910 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9911 $as_echo "$as_val"'`
9912 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9913 $as_echo "$ac_res" >&6; }
9915 # Is the header compilable?
9916 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9917 $as_echo_n "checking $ac_header usability... " >&6; }
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9924 $ac_includes_default
9925 #include <$ac_header>
9927 rm -f conftest.
$ac_objext
9928 if { (ac_try
="$ac_compile"
9930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9934 $as_echo "$ac_try_echo") >&5
9935 (eval "$ac_compile") 2>conftest.er1
9937 grep -v '^ *+' conftest.er1 >conftest.err
9939 cat conftest.err >&5
9940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } && {
9942 test -z "$ac_c_werror_flag" ||
9943 test ! -s conftest.err
9944 } && test -s conftest.$ac_objext; then
9945 ac_header_compiler=yes
9947 $as_echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.$ac_ext >&5
9950 ac_header_compiler=no
9953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9954 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9955 $as_echo "$ac_header_compiler" >&6; }
9957 # Is the header present?
9958 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9959 $as_echo_n "checking $ac_header presence... " >&6; }
9960 cat >conftest.$ac_ext <<_ACEOF
9963 cat confdefs.h >>conftest.$ac_ext
9964 cat >>conftest.$ac_ext <<_ACEOF
9965 /* end confdefs.h. */
9966 #include <$ac_header>
9968 if { (ac_try="$ac_cpp conftest.$ac_ext"
9970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9971 *) ac_try_echo
=$ac_try;;
9973 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9974 $as_echo "$ac_try_echo") >&5
9975 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9977 grep -v '^ *+' conftest.er1
>conftest.err
9979 cat conftest.err
>&5
9980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } >/dev
/null
&& {
9982 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9983 test ! -s conftest.err
9985 ac_header_preproc
=yes
9987 $as_echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.
$ac_ext >&5
9990 ac_header_preproc
=no
9993 rm -f conftest.err conftest.
$ac_ext
9994 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9995 $as_echo "$ac_header_preproc" >&6; }
9997 # So? What about this header?
9998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10001 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10003 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10004 ac_header_preproc
=yes
10007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10008 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10010 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10012 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10014 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10016 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10018 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10022 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10023 $as_echo_n "checking for $ac_header... " >&6; }
10024 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10025 $as_echo_n "(cached) " >&6
10027 eval "$as_ac_Header=\$ac_header_preproc"
10029 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10030 $as_echo "$as_val"'`
10031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10032 $as_echo "$ac_res" >&6; }
10035 as_val
=`eval 'as_val=${'$as_ac_Header'}
10036 $as_echo "$as_val"'`
10037 if test "x$as_val" = x
""yes; then
10038 cat >>confdefs.h
<<_ACEOF
10039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10047 for ac_func
in getpagesize
10049 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10050 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10051 $as_echo_n "checking for $ac_func... " >&6; }
10052 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10053 $as_echo_n "(cached) " >&6
10055 cat >conftest.
$ac_ext <<_ACEOF
10058 cat confdefs.h
>>conftest.
$ac_ext
10059 cat >>conftest.
$ac_ext <<_ACEOF
10060 /* end confdefs.h. */
10061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10063 #define $ac_func innocuous_$ac_func
10065 /* System header to define __stub macros and hopefully few prototypes,
10066 which can conflict with char $ac_func (); below.
10067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10068 <limits.h> exists even on freestanding compilers. */
10071 # include <limits.h>
10073 # include <assert.h>
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10085 /* The GNU C library defines this for functions which it implements
10086 to always fail with ENOSYS. Some functions are actually named
10087 something starting with __ and the normal name is an alias. */
10088 #if defined __stub_$ac_func || defined __stub___$ac_func
10095 return $ac_func ();
10100 rm -f conftest.
$ac_objext conftest
$ac_exeext
10101 if { (ac_try
="$ac_link"
10102 case "(($ac_try" in
10103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10104 *) ac_try_echo=$ac_try;;
10106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10107 $as_echo "$ac_try_echo") >&5
10108 (eval "$ac_link") 2>conftest.er1
10110 grep -v '^ *+' conftest.er1 >conftest.err
10112 cat conftest.err >&5
10113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest$ac_exeext && {
10118 test "$cross_compiling" = yes ||
10119 $as_test_x conftest$ac_exeext
10121 eval "$as_ac_var=yes"
10123 $as_echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 eval "$as_ac_var=no"
10129 rm -rf conftest.dSYM
10130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10131 conftest$ac_exeext conftest.$ac_ext
10133 ac_res=`eval 'as_val=${'$as_ac_var'}
10134 $as_echo "$as_val"'`
10135 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10136 $as_echo "$ac_res" >&6; }
10137 as_val=`eval 'as_val=${'$as_ac_var'}
10138 $as_echo "$as_val"'`
10139 if test "x$as_val" = x""yes; then
10140 cat >>confdefs.h <<_ACEOF
10141 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10147 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
10148 $as_echo_n "checking for working mmap... " >&6; }
10149 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10150 $as_echo_n "(cached) " >&6
10152 if test "$cross_compiling" = yes; then
10153 ac_cv_func_mmap_fixed_mapped=no
10155 cat >conftest.$ac_ext <<_ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 $ac_includes_default
10162 /* malloc might have been renamed as rpl_malloc. */
10165 /* Thanks to Mike Haertel and Jim Avera for this test.
10166 Here is a matrix of mmap possibilities:
10167 mmap private not fixed
10168 mmap private fixed at somewhere currently unmapped
10169 mmap private fixed at somewhere already mapped
10170 mmap shared not fixed
10171 mmap shared fixed at somewhere currently unmapped
10172 mmap shared fixed at somewhere already mapped
10173 For private mappings, we should verify that changes cannot be read()
10174 back from the file, nor mmap's back from the file at a different
10175 address. (There have been systems where private was not correctly
10176 implemented like the infamous i386 svr4.0, and systems where the
10177 VM page cache was not coherent with the file system buffer cache
10178 like early versions of FreeBSD and possibly contemporary NetBSD.)
10179 For shared mappings, we should conversely verify that changes get
10180 propagated back to all the places they're supposed to be.
10182 Grep wants private fixed already mapped.
10183 The main things grep needs to know about mmap are:
10184 * does it exist and is it safe to write into the mmap'd area
10185 * how to use it (BSD variants) */
10188 #include <sys/mman.h>
10190 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
10194 /* This mess was copied from the GNU getpagesize.h. */
10195 #ifndef HAVE_GETPAGESIZE
10196 /* Assume that all systems that can run configure have sys/param.h. */
10197 # ifndef HAVE_SYS_PARAM_H
10198 # define HAVE_SYS_PARAM_H 1
10201 # ifdef _SC_PAGESIZE
10202 # define getpagesize() sysconf(_SC_PAGESIZE)
10203 # else /* no _SC_PAGESIZE */
10204 # ifdef HAVE_SYS_PARAM_H
10205 # include <sys/param.h>
10206 # ifdef EXEC_PAGESIZE
10207 # define getpagesize() EXEC_PAGESIZE
10208 # else /* no EXEC_PAGESIZE */
10210 # define getpagesize() NBPG * CLSIZE
10213 # endif /* no CLSIZE */
10214 # else /* no NBPG */
10216 # define getpagesize() NBPC
10217 # else /* no NBPC */
10219 # define getpagesize() PAGESIZE
10220 # endif /* PAGESIZE */
10221 # endif /* no NBPC */
10222 # endif /* no NBPG */
10223 # endif /* no EXEC_PAGESIZE */
10224 # else /* no HAVE_SYS_PARAM_H */
10225 # define getpagesize() 8192 /* punt totally */
10226 # endif /* no HAVE_SYS_PARAM_H */
10227 # endif /* no _SC_PAGESIZE */
10229 #endif /* no HAVE_GETPAGESIZE */
10234 char *data, *data2, *data3;
10238 pagesize = getpagesize ();
10240 /* First, make a file with some known garbage in it. */
10241 data = (char *) malloc (pagesize);
10244 for (i = 0; i < pagesize; ++i)
10245 *(data + i) = rand ();
10247 fd = creat ("conftest.mmap", 0600);
10250 if (write (fd, data, pagesize) != pagesize)
10254 /* Next, try to mmap the file at a fixed address which already has
10255 something else allocated at it. If we can, also make sure that
10256 we see the same garbage. */
10257 fd = open ("conftest.mmap", O_RDWR);
10260 data2 = (char *) malloc (2 * pagesize);
10263 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10264 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10265 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10267 for (i = 0; i < pagesize; ++i)
10268 if (*(data + i) != *(data2 + i))
10271 /* Finally, make sure that changes to the mapped area do not
10272 percolate back to the file as seen by read(). (This is a bug on
10273 some variants of i386 svr4.0.) */
10274 for (i = 0; i < pagesize; ++i)
10275 *(data2 + i) = *(data2 + i) + 1;
10276 data3 = (char *) malloc (pagesize);
10279 if (read (fd, data3, pagesize) != pagesize)
10281 for (i = 0; i < pagesize; ++i)
10282 if (*(data + i) != *(data3 + i))
10288 rm -f conftest$ac_exeext
10289 if { (ac_try="$ac_link"
10290 case "(($ac_try" in
10291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10292 *) ac_try_echo
=$ac_try;;
10294 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10295 $as_echo "$ac_try_echo") >&5
10296 (eval "$ac_link") 2>&5
10298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10300 { (case "(($ac_try" in
10301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10302 *) ac_try_echo=$ac_try;;
10304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10305 $as_echo "$ac_try_echo") >&5
10306 (eval "$ac_try") 2>&5
10308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then
10310 ac_cv_func_mmap_fixed_mapped=yes
10312 $as_echo "$as_me: program exited with status $ac_status" >&5
10313 $as_echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10316 ( exit $ac_status )
10317 ac_cv_func_mmap_fixed_mapped=no
10319 rm -rf conftest.dSYM
10320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10325 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10326 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10327 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10329 cat >>confdefs.h <<\_ACEOF
10330 #define HAVE_MMAP 1
10334 rm -f conftest.mmap
10337 for ac_header in stdlib.h
10339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10341 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10342 $as_echo_n "checking for $ac_header... " >&6; }
10343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10344 $as_echo_n "(cached) " >&6
10346 ac_res=`eval 'as_val=${'$as_ac_Header'}
10347 $as_echo "$as_val"'`
10348 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10349 $as_echo "$ac_res" >&6; }
10351 # Is the header compilable?
10352 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10353 $as_echo_n "checking $ac_header usability... " >&6; }
10354 cat >conftest.$ac_ext <<_ACEOF
10357 cat confdefs.h >>conftest.$ac_ext
10358 cat >>conftest.$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10360 $ac_includes_default
10361 #include <$ac_header>
10363 rm -f conftest.$ac_objext
10364 if { (ac_try="$ac_compile"
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_compile") 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); } && {
10378 test -z "$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 } && test -s conftest.
$ac_objext; then
10381 ac_header_compiler
=yes
10383 $as_echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10386 ac_header_compiler
=no
10389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10390 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10391 $as_echo "$ac_header_compiler" >&6; }
10393 # Is the header present?
10394 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10395 $as_echo_n "checking $ac_header presence... " >&6; }
10396 cat >conftest.
$ac_ext <<_ACEOF
10399 cat confdefs.h
>>conftest.
$ac_ext
10400 cat >>conftest.
$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10402 #include <$ac_header>
10404 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10405 case "(($ac_try" in
10406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10410 $as_echo "$ac_try_echo") >&5
10411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } >/dev/null && {
10418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10419 test ! -s conftest.err
10421 ac_header_preproc=yes
10423 $as_echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10426 ac_header_preproc=no
10429 rm -f conftest.err conftest.$ac_ext
10430 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10431 $as_echo "$ac_header_preproc" >&6; }
10433 # So? What about this header?
10434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10437 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10439 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10440 ac_header_preproc=yes
10443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10444 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10446 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10448 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10450 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10452 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10454 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10458 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10459 $as_echo_n "checking for $ac_header... " >&6; }
10460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10461 $as_echo_n "(cached) " >&6
10463 eval "$as_ac_Header=\$ac_header_preproc"
10465 ac_res=`eval 'as_val=${'$as_ac_Header'}
10466 $as_echo "$as_val"'`
10467 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10468 $as_echo "$ac_res" >&6; }
10471 as_val=`eval 'as_val=${'$as_ac_Header'}
10472 $as_echo "$as_val"'`
10473 if test "x$as_val" = x""yes; then
10474 cat >>confdefs.h <<_ACEOF
10475 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10482 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10483 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
10484 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10485 $as_echo_n "(cached) " >&6
10487 if test "$cross_compiling" = yes; then
10488 ac_cv_func_realloc_0_nonnull=no
10490 cat >conftest.$ac_ext <<_ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10496 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10497 # include <stdlib.h>
10505 return ! realloc (0, 0);
10510 rm -f conftest$ac_exeext
10511 if { (ac_try="$ac_link"
10512 case "(($ac_try" in
10513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10514 *) ac_try_echo
=$ac_try;;
10516 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10517 $as_echo "$ac_try_echo") >&5
10518 (eval "$ac_link") 2>&5
10520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10522 { (case "(($ac_try" in
10523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10527 $as_echo "$ac_try_echo") >&5
10528 (eval "$ac_try") 2>&5
10530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); }; }; then
10532 ac_cv_func_realloc_0_nonnull=yes
10534 $as_echo "$as_me: program exited with status $ac_status" >&5
10535 $as_echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.$ac_ext >&5
10538 ( exit $ac_status )
10539 ac_cv_func_realloc_0_nonnull=no
10541 rm -rf conftest.dSYM
10542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10547 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10548 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
10549 if test $ac_cv_func_realloc_0_nonnull = yes; then
10551 cat >>confdefs.h <<\_ACEOF
10552 #define HAVE_REALLOC 1
10556 cat >>confdefs.h <<\_ACEOF
10557 #define HAVE_REALLOC 0
10560 case " $LIBOBJS " in
10561 *" realloc.$ac_objext "* ) ;;
10562 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
10567 cat >>confdefs.h <<\_ACEOF
10568 #define realloc rpl_realloc
10575 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10576 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10577 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10578 $as_echo_n "(cached) " >&6
10580 if test "$cross_compiling" = yes; then
10581 ac_cv_func_stat_empty_string_bug=yes
10583 cat >conftest.$ac_ext <<_ACEOF
10586 cat confdefs.h >>conftest.$ac_ext
10587 cat >>conftest.$ac_ext <<_ACEOF
10588 /* end confdefs.h. */
10589 $ac_includes_default
10594 return stat ("", &sbuf) == 0;
10599 rm -f conftest$ac_exeext
10600 if { (ac_try="$ac_link"
10601 case "(($ac_try" in
10602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10603 *) ac_try_echo
=$ac_try;;
10605 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10606 $as_echo "$ac_try_echo") >&5
10607 (eval "$ac_link") 2>&5
10609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10611 { (case "(($ac_try" in
10612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10613 *) ac_try_echo=$ac_try;;
10615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10616 $as_echo "$ac_try_echo") >&5
10617 (eval "$ac_try") 2>&5
10619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; }; then
10621 ac_cv_func_stat_empty_string_bug=no
10623 $as_echo "$as_me: program exited with status $ac_status" >&5
10624 $as_echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ( exit $ac_status )
10628 ac_cv_func_stat_empty_string_bug=yes
10630 rm -rf conftest.dSYM
10631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10636 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10637 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10638 if test $ac_cv_func_stat_empty_string_bug = yes; then
10639 case " $LIBOBJS " in
10640 *" stat.$ac_objext "* ) ;;
10641 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
10646 cat >>confdefs.h <<_ACEOF
10647 #define HAVE_STAT_EMPTY_STRING_BUG 1
10652 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
10653 $as_echo_n "checking for working strtod... " >&6; }
10654 if test "${ac_cv_func_strtod+set}" = set; then
10655 $as_echo_n "(cached) " >&6
10657 if test "$cross_compiling" = yes; then
10658 ac_cv_func_strtod=no
10660 cat >conftest.$ac_ext <<_ACEOF
10663 cat confdefs.h >>conftest.$ac_ext
10664 cat >>conftest.$ac_ext <<_ACEOF
10665 /* end confdefs.h. */
10667 $ac_includes_default
10675 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10676 char *string = " +69";
10679 value = strtod (string, &term);
10680 if (value != 69 || term != (string + 4))
10685 /* Under Solaris 2.4, strtod returns the wrong value for the
10686 terminating character under some conditions. */
10687 char *string = "NaN";
10689 strtod (string, &term);
10690 if (term != string && *(term - 1) == 0)
10697 rm -f conftest$ac_exeext
10698 if { (ac_try="$ac_link"
10699 case "(($ac_try" in
10700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10701 *) ac_try_echo
=$ac_try;;
10703 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10704 $as_echo "$ac_try_echo") >&5
10705 (eval "$ac_link") 2>&5
10707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10709 { (case "(($ac_try" in
10710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10711 *) ac_try_echo=$ac_try;;
10713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10714 $as_echo "$ac_try_echo") >&5
10715 (eval "$ac_try") 2>&5
10717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; }; then
10719 ac_cv_func_strtod=yes
10721 $as_echo "$as_me: program exited with status $ac_status" >&5
10722 $as_echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ( exit $ac_status )
10726 ac_cv_func_strtod=no
10728 rm -rf conftest.dSYM
10729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10734 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
10735 $as_echo "$ac_cv_func_strtod" >&6; }
10736 if test $ac_cv_func_strtod = no; then
10737 case " $LIBOBJS " in
10738 *" strtod.$ac_objext "* ) ;;
10739 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
10743 { $as_echo "$as_me:$LINENO: checking for pow" >&5
10744 $as_echo_n "checking for pow... " >&6; }
10745 if test "${ac_cv_func_pow+set}" = set; then
10746 $as_echo_n "(cached) " >&6
10748 cat >conftest.$ac_ext <<_ACEOF
10751 cat confdefs.h >>conftest.$ac_ext
10752 cat >>conftest.$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10754 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
10755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10756 #define pow innocuous_pow
10758 /* System header to define __stub macros and hopefully few prototypes,
10759 which can conflict with char pow (); below.
10760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10761 <limits.h> exists even on freestanding compilers. */
10764 # include <limits.h>
10766 # include <assert.h>
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10778 /* The GNU C library defines this for functions which it implements
10779 to always fail with ENOSYS. Some functions are actually named
10780 something starting with __ and the normal name is an alias. */
10781 #if defined __stub_pow || defined __stub___pow
10793 rm -f conftest.$ac_objext conftest$ac_exeext
10794 if { (ac_try="$ac_link"
10795 case "(($ac_try" in
10796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10797 *) ac_try_echo
=$ac_try;;
10799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10800 $as_echo "$ac_try_echo") >&5
10801 (eval "$ac_link") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } && {
10808 test -z "$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10810 } && test -s conftest
$ac_exeext && {
10811 test "$cross_compiling" = yes ||
10812 $as_test_x conftest
$ac_exeext
10816 $as_echo "$as_me: failed program was:" >&5
10817 sed 's/^/| /' conftest.
$ac_ext >&5
10822 rm -rf conftest.dSYM
10823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10824 conftest
$ac_exeext conftest.
$ac_ext
10826 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
10827 $as_echo "$ac_cv_func_pow" >&6; }
10829 if test $ac_cv_func_pow = no
; then
10830 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
10831 $as_echo_n "checking for pow in -lm... " >&6; }
10832 if test "${ac_cv_lib_m_pow+set}" = set; then
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10837 cat >conftest.
$ac_ext <<_ACEOF
10840 cat confdefs.h
>>conftest.
$ac_ext
10841 cat >>conftest.
$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10859 rm -f conftest.
$ac_objext conftest
$ac_exeext
10860 if { (ac_try
="$ac_link"
10861 case "(($ac_try" in
10862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10863 *) ac_try_echo=$ac_try;;
10865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10866 $as_echo "$ac_try_echo") >&5
10867 (eval "$ac_link") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1 >conftest.err
10871 cat conftest.err >&5
10872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest$ac_exeext && {
10877 test "$cross_compiling" = yes ||
10878 $as_test_x conftest$ac_exeext
10880 ac_cv_lib_m_pow=yes
10882 $as_echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10888 rm -rf conftest.dSYM
10889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
10894 $as_echo "$ac_cv_lib_m_pow" >&6; }
10895 if test "x$ac_cv_lib_m_pow" = x""yes; then
10898 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
10899 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10907 for ac_func in vprintf
10909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10910 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10911 $as_echo_n "checking for $ac_func... " >&6; }
10912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10913 $as_echo_n "(cached) " >&6
10915 cat >conftest.$ac_ext <<_ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10923 #define $ac_func innocuous_$ac_func
10925 /* System header to define __stub macros and hopefully few prototypes,
10926 which can conflict with char $ac_func (); below.
10927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10928 <limits.h> exists even on freestanding compilers. */
10931 # include <limits.h>
10933 # include <assert.h>
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10945 /* The GNU C library defines this for functions which it implements
10946 to always fail with ENOSYS. Some functions are actually named
10947 something starting with __ and the normal name is an alias. */
10948 #if defined __stub_$ac_func || defined __stub___$ac_func
10955 return $ac_func ();
10960 rm -f conftest.$ac_objext conftest$ac_exeext
10961 if { (ac_try="$ac_link"
10962 case "(($ac_try" in
10963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10964 *) ac_try_echo
=$ac_try;;
10966 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10967 $as_echo "$ac_try_echo") >&5
10968 (eval "$ac_link") 2>conftest.er1
10970 grep -v '^ *+' conftest.er1
>conftest.err
10972 cat conftest.err
>&5
10973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } && {
10975 test -z "$ac_c_werror_flag" ||
10976 test ! -s conftest.err
10977 } && test -s conftest
$ac_exeext && {
10978 test "$cross_compiling" = yes ||
10979 $as_test_x conftest
$ac_exeext
10981 eval "$as_ac_var=yes"
10983 $as_echo "$as_me: failed program was:" >&5
10984 sed 's/^/| /' conftest.
$ac_ext >&5
10986 eval "$as_ac_var=no"
10989 rm -rf conftest.dSYM
10990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10991 conftest
$ac_exeext conftest.
$ac_ext
10993 ac_res
=`eval 'as_val=${'$as_ac_var'}
10994 $as_echo "$as_val"'`
10995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10996 $as_echo "$ac_res" >&6; }
10997 as_val
=`eval 'as_val=${'$as_ac_var'}
10998 $as_echo "$as_val"'`
10999 if test "x$as_val" = x
""yes; then
11000 cat >>confdefs.h
<<_ACEOF
11001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
11005 $as_echo_n "checking for _doprnt... " >&6; }
11006 if test "${ac_cv_func__doprnt+set}" = set; then
11007 $as_echo_n "(cached) " >&6
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11017 #define _doprnt innocuous__doprnt
11019 /* System header to define __stub macros and hopefully few prototypes,
11020 which can conflict with char _doprnt (); below.
11021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11022 <limits.h> exists even on freestanding compilers. */
11025 # include <limits.h>
11027 # include <assert.h>
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11039 /* The GNU C library defines this for functions which it implements
11040 to always fail with ENOSYS. Some functions are actually named
11041 something starting with __ and the normal name is an alias. */
11042 #if defined __stub__doprnt || defined __stub____doprnt
11054 rm -f conftest.
$ac_objext conftest
$ac_exeext
11055 if { (ac_try
="$ac_link"
11056 case "(($ac_try" in
11057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11061 $as_echo "$ac_try_echo") >&5
11062 (eval "$ac_link") 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } && {
11069 test -z "$ac_c_werror_flag" ||
11070 test ! -s conftest.err
11071 } && test -s conftest$ac_exeext && {
11072 test "$cross_compiling" = yes ||
11073 $as_test_x conftest$ac_exeext
11075 ac_cv_func__doprnt=yes
11077 $as_echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11080 ac_cv_func__doprnt=no
11083 rm -rf conftest.dSYM
11084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11085 conftest$ac_exeext conftest.$ac_ext
11087 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11088 $as_echo "$ac_cv_func__doprnt" >&6; }
11089 if test "x$ac_cv_func__doprnt" = x""yes; then
11091 cat >>confdefs.h <<\_ACEOF
11092 #define HAVE_DOPRNT 1
11102 ################################################################################
11103 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
11104 $as_echo_n "checking whether to use static linking... " >&6; }
11105 # Check whether --enable-static_link was given.
11106 if test "${enable_static_link+set}" = set; then
11107 enableval=$enable_static_link; STATIC_LINK=$enableval
11112 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
11113 $as_echo "$STATIC_LINK" >&6; }
11115 ################################################################################
11118 ################################################################################
11119 { $as_echo "$as_me:$LINENO: checking file owner" >&5
11120 $as_echo_n "checking file owner... " >&6; }
11122 # Check whether --with-user was given.
11123 if test "${with_user+set}" = set; then
11124 withval=$with_user; OWNER=$withval
11127 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
11128 $as_echo "$OWNER" >&6; }
11130 if test x$OWNER != x; then
11131 INSTALL="$INSTALL -o $OWNER"
11134 ################################################################################
11135 { $as_echo "$as_me:$LINENO: checking group owner" >&5
11136 $as_echo_n "checking group owner... " >&6; }
11138 # Check whether --with-group was given.
11139 if test "${with_group+set}" = set; then
11140 withval=$with_group; GROUP=$withval
11143 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
11144 $as_echo "$GROUP" >&6; }
11146 if test x$GROUP != x; then
11147 INSTALL="$INSTALL -g $GROUP"
11150 ################################################################################
11151 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
11152 $as_echo_n "checking device node uid... " >&6; }
11155 # Check whether --with-device-uid was given.
11156 if test "${with_device_uid+set}" = set; then
11157 withval=$with_device_uid; DM_DEVICE_UID=$withval
11162 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
11163 $as_echo "$DM_DEVICE_UID" >&6; }
11165 ################################################################################
11166 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
11167 $as_echo_n "checking device node gid... " >&6; }
11170 # Check whether --with-device-gid was given.
11171 if test "${with_device_gid+set}" = set; then
11172 withval=$with_device_gid; DM_DEVICE_GID=$withval
11177 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
11178 $as_echo "$DM_DEVICE_GID" >&6; }
11180 ################################################################################
11181 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
11182 $as_echo_n "checking device node mode... " >&6; }
11185 # Check whether --with-device-mode was given.
11186 if test "${with_device_mode+set}" = set; then
11187 withval=$with_device_mode; DM_DEVICE_MODE=$withval
11189 DM_DEVICE_MODE=0600
11192 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
11193 $as_echo "$DM_DEVICE_MODE" >&6; }
11195 ################################################################################
11196 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
11197 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
11198 # Check whether --enable-lvm1_fallback was given.
11199 if test "${enable_lvm1_fallback+set}" = set; then
11200 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
11205 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
11206 $as_echo "$LVM1_FALLBACK" >&6; }
11208 if test x$LVM1_FALLBACK = xyes; then
11210 cat >>confdefs.h <<\_ACEOF
11211 #define LVM1_FALLBACK 1
11216 ################################################################################
11217 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
11218 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
11220 # Check whether --with-lvm1 was given.
11221 if test "${with_lvm1+set}" = set; then
11222 withval=$with_lvm1; LVM1=$withval
11227 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
11228 $as_echo "$LVM1" >&6; }
11230 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
11231 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
11233 $as_echo "$as_me: error: --with-lvm1 parameter invalid
11235 { (exit 1); exit 1; }; }
11238 if test x$LVM1 = xinternal; then
11240 cat >>confdefs.h <<\_ACEOF
11241 #define LVM1_INTERNAL 1
11246 ################################################################################
11247 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
11248 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
11250 # Check whether --with-pool was given.
11251 if test "${with_pool+set}" = set; then
11252 withval=$with_pool; POOL=$withval
11257 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
11258 $as_echo "$POOL" >&6; }
11260 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
11261 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
11263 $as_echo "$as_me: error: --with-pool parameter invalid
11265 { (exit 1); exit 1; }; }
11268 if test x$POOL = xinternal; then
11270 cat >>confdefs.h <<\_ACEOF
11271 #define POOL_INTERNAL 1
11276 ################################################################################
11277 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
11278 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
11280 # Check whether --with-cluster was given.
11281 if test "${with_cluster+set}" = set; then
11282 withval=$with_cluster; CLUSTER=$withval
11285 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
11286 $as_echo "$CLUSTER" >&6; }
11288 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
11289 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
11291 $as_echo "$as_me: error: --with-cluster parameter invalid
11293 { (exit 1); exit 1; }; }
11296 if test x$CLUSTER = xinternal; then
11298 cat >>confdefs.h <<\_ACEOF
11299 #define CLUSTER_LOCKING_INTERNAL 1
11304 ################################################################################
11305 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
11306 $as_echo_n "checking whether to include snapshots... " >&6; }
11308 # Check whether --with-snapshots was given.
11309 if test "${with_snapshots+set}" = set; then
11310 withval=$with_snapshots; SNAPSHOTS=$withval
11315 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
11316 $as_echo "$SNAPSHOTS" >&6; }
11318 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
11319 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
11321 $as_echo "$as_me: error: --with-snapshots parameter invalid
11323 { (exit 1); exit 1; }; }
11326 if test x$SNAPSHOTS = xinternal; then
11328 cat >>confdefs.h <<\_ACEOF
11329 #define SNAPSHOT_INTERNAL 1
11334 ################################################################################
11335 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
11336 $as_echo_n "checking whether to include mirrors... " >&6; }
11338 # Check whether --with-mirrors was given.
11339 if test "${with_mirrors+set}" = set; then
11340 withval=$with_mirrors; MIRRORS=$withval
11345 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
11346 $as_echo "$MIRRORS" >&6; }
11348 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
11349 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
11351 $as_echo "$as_me: error: --with-mirrors parameter invalid
11353 { (exit 1); exit 1; }; }
11356 if test x$MIRRORS = xinternal; then
11358 cat >>confdefs.h <<\_ACEOF
11359 #define MIRRORED_INTERNAL 1
11364 ################################################################################
11365 { $as_echo "$as_me:$LINENO: checking whether to include replicators" >&5
11366 $as_echo_n "checking whether to include replicators... " >&6; }
11368 # Check whether --with-replicators was given.
11369 if test "${with_replicators+set}" = set; then
11370 withval=$with_replicators; REPLICATORS=$withval
11375 { $as_echo "$as_me:$LINENO: result: $REPLICATORS" >&5
11376 $as_echo "$REPLICATORS" >&6; }
11378 case "$REPLICATORS" in
11381 cat >>confdefs.h <<\_ACEOF
11382 #define REPLICATOR_INTERNAL 1
11385 *) { { $as_echo "$as_me:$LINENO: error: --with-replicators parameter invalid ($REPLICATORS)" >&5
11386 $as_echo "$as_me: error: --with-replicators parameter invalid ($REPLICATORS)" >&2;}
11387 { (exit 1); exit 1; }; } ;;
11390 ################################################################################
11391 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
11392 $as_echo_n "checking whether to enable readline... " >&6; }
11393 # Check whether --enable-readline was given.
11394 if test "${enable_readline+set}" = set; then
11395 enableval=$enable_readline; READLINE=$enableval
11400 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
11401 $as_echo "$READLINE" >&6; }
11403 ################################################################################
11404 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
11405 $as_echo_n "checking whether to enable realtime support... " >&6; }
11406 # Check whether --enable-realtime was given.
11407 if test "${enable_realtime+set}" = set; then
11408 enableval=$enable_realtime; REALTIME=$enableval
11411 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
11412 $as_echo "$REALTIME" >&6; }
11414 ################################################################################
11415 pkg_config_init() {
11422 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11423 if test -n "$ac_tool_prefix"; then
11424 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11425 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11427 $as_echo_n "checking for $ac_word... " >&6; }
11428 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11429 $as_echo_n "(cached) " >&6
11431 case $PKG_CONFIG in
11433 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11437 for as_dir in $PATH
11440 test -z "$as_dir" && as_dir=.
11441 for ac_exec_ext in '' $ac_executable_extensions; do
11442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11443 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11444 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11455 if test -n "$PKG_CONFIG"; then
11456 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11457 $as_echo "$PKG_CONFIG" >&6; }
11459 { $as_echo "$as_me:$LINENO: result: no" >&5
11460 $as_echo "no" >&6; }
11465 if test -z "$ac_cv_path_PKG_CONFIG"; then
11466 ac_pt_PKG_CONFIG=$PKG_CONFIG
11467 # Extract the first word of "pkg-config", so it can be a program name with args.
11468 set dummy pkg-config; ac_word=$2
11469 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11470 $as_echo_n "checking for $ac_word... " >&6; }
11471 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11472 $as_echo_n "(cached) " >&6
11474 case $ac_pt_PKG_CONFIG in
11476 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11480 for as_dir in $PATH
11483 test -z "$as_dir" && as_dir=.
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11486 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11497 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11498 if test -n "$ac_pt_PKG_CONFIG"; then
11499 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11500 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11502 { $as_echo "$as_me:$LINENO: result: no" >&5
11503 $as_echo "no" >&6; }
11506 if test "x$ac_pt_PKG_CONFIG" = x; then
11509 case $cross_compiling:$ac_tool_warned in
11511 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11513 ac_tool_warned=yes ;;
11515 PKG_CONFIG=$ac_pt_PKG_CONFIG
11518 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11522 if test -n "$PKG_CONFIG"; then
11523 _pkg_min_version=0.9.0
11524 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11525 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11526 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11527 { $as_echo "$as_me:$LINENO: result: yes" >&5
11528 $as_echo "yes" >&6; }
11530 { $as_echo "$as_me:$LINENO: result: no" >&5
11531 $as_echo "no" >&6; }
11537 { $as_echo "$as_me:$LINENO: checking for PKGCONFIGINIT" >&5
11538 $as_echo_n "checking for PKGCONFIGINIT... " >&6; }
11540 if test -n "$PKGCONFIGINIT_CFLAGS"; then
11541 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
11542 elif test -n "$PKG_CONFIG"; then
11543 if test -n "$PKG_CONFIG" && \
11544 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
11545 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
11547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); }; then
11549 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit" 2>/dev
/null
`
11556 if test -n "$PKGCONFIGINIT_LIBS"; then
11557 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
11558 elif test -n "$PKG_CONFIG"; then
11559 if test -n "$PKG_CONFIG" && \
11560 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pkgconfiginit\"") >&5
11561 ($PKG_CONFIG --exists --print-errors "pkgconfiginit") 2>&5
11563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; then
11565 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit" 2>/dev
/null
`
11575 if test $pkg_failed = yes; then
11576 { $as_echo "$as_me:$LINENO: result: no" >&5
11577 $as_echo "no" >&6; }
11579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11580 _pkg_short_errors_supported=yes
11582 _pkg_short_errors_supported=no
11584 if test $_pkg_short_errors_supported = yes; then
11585 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
11587 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
11589 # Put the nasty error message in config.log where it belongs
11590 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
11592 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
11593 $as_echo "pkg-config initialized" >&6; }
11594 elif test $pkg_failed = untried; then
11595 { $as_echo "$as_me:$LINENO: result: no" >&5
11596 $as_echo "no" >&6; }
11597 { $as_echo "$as_me:$LINENO: result: pkg-config initialized" >&5
11598 $as_echo "pkg-config initialized" >&6; }
11600 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
11601 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
11602 { $as_echo "$as_me:$LINENO: result: yes" >&5
11603 $as_echo "yes" >&6; }
11609 ################################################################################
11610 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
11611 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
11613 # Check whether --with-clvmd was given.
11614 if test "${with_clvmd+set}" = set; then
11615 withval=$with_clvmd; CLVMD=$withval
11620 if test x$CLVMD = xyes; then
11623 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
11624 $as_echo "$CLVMD" >&6; }
11626 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
11630 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
11635 if [ `expr x
"$CLVMD" : '.*gulm.*'` != 0 ]; then
11638 if [ `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
11641 if [ `expr x
"$CLVMD" : '.*openais.*'` != 0 ]; then
11644 if [ `expr x
"$CLVMD" : '.*cman.*'` != 0 ]; then
11648 if test x$BUILDGULM = xyes; then
11649 if test x$BUILDCOROSYNC = xyes || \
11650 test x$BUILDOPENAIS = xyes; then
11651 { { $as_echo "$as_me:$LINENO: error: requested clvmd configuration is not valid" >&5
11652 $as_echo "$as_me: error: requested clvmd configuration is not valid" >&2;}
11653 { (exit 1); exit 1; }; }
11662 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11663 $as_echo "$as_me: error: bailing out" >&2;}
11664 { (exit 1); exit 1; }; }
11667 if test x$CLVMD = xall; then
11668 bailout=soft_bailout
11674 bailout=hard_bailout
11677 check_lib_no_libs() {
11678 lib_no_libs_arg1=$1
11680 lib_no_libs_arg2=$1
11682 lib_no_libs_args=$@
11684 as_ac_Lib=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" |
$as_tr_sh`
11685 { $as_echo "$as_me:$LINENO: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
11686 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
11687 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
11688 $as_echo_n "(cached) " >&6
11690 ac_check_lib_save_LIBS=$LIBS
11691 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
11692 cat >conftest.$ac_ext <<_ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11705 char $lib_no_libs_arg2 ();
11709 return $lib_no_libs_arg2 ();
11714 rm -f conftest.$ac_objext conftest$ac_exeext
11715 if { (ac_try="$ac_link"
11716 case "(($ac_try" in
11717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11718 *) ac_try_echo
=$ac_try;;
11720 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11721 $as_echo "$ac_try_echo") >&5
11722 (eval "$ac_link") 2>conftest.er1
11724 grep -v '^ *+' conftest.er1
>conftest.err
11726 cat conftest.err
>&5
11727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); } && {
11729 test -z "$ac_c_werror_flag" ||
11730 test ! -s conftest.err
11731 } && test -s conftest
$ac_exeext && {
11732 test "$cross_compiling" = yes ||
11733 $as_test_x conftest
$ac_exeext
11735 eval "$as_ac_Lib=yes"
11737 $as_echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.
$ac_ext >&5
11740 eval "$as_ac_Lib=no"
11743 rm -rf conftest.dSYM
11744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11745 conftest
$ac_exeext conftest.
$ac_ext
11746 LIBS
=$ac_check_lib_save_LIBS
11748 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
11749 $as_echo "$as_val"'`
11750 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11751 $as_echo "$ac_res" >&6; }
11752 as_val
=`eval 'as_val=${'$as_ac_Lib'}
11753 $as_echo "$as_val"'`
11754 if test "x$as_val" = x
""yes; then
11755 cat >>confdefs.h
<<_ACEOF
11756 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
11759 LIBS
="-l$lib_no_libs_arg1 $LIBS"
11765 LIBS
=$ac_check_lib_save_LIBS
11768 if test x
$BUILDGULM = xyes
; then
11771 { $as_echo "$as_me:$LINENO: checking for CCS" >&5
11772 $as_echo_n "checking for CCS... " >&6; }
11774 if test -n "$CCS_CFLAGS"; then
11775 pkg_cv_CCS_CFLAGS
="$CCS_CFLAGS"
11776 elif test -n "$PKG_CONFIG"; then
11777 if test -n "$PKG_CONFIG" && \
11778 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11779 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; then
11783 pkg_cv_CCS_CFLAGS
=`$PKG_CONFIG --cflags "libccs" 2>/dev/null`
11790 if test -n "$CCS_LIBS"; then
11791 pkg_cv_CCS_LIBS
="$CCS_LIBS"
11792 elif test -n "$PKG_CONFIG"; then
11793 if test -n "$PKG_CONFIG" && \
11794 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11795 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; then
11799 pkg_cv_CCS_LIBS
=`$PKG_CONFIG --libs "libccs" 2>/dev/null`
11809 if test $pkg_failed = yes; then
11810 { $as_echo "$as_me:$LINENO: result: no" >&5
11811 $as_echo "no" >&6; }
11813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11814 _pkg_short_errors_supported
=yes
11816 _pkg_short_errors_supported
=no
11818 if test $_pkg_short_errors_supported = yes; then
11819 CCS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libccs" 2>&1`
11821 CCS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libccs" 2>&1`
11823 # Put the nasty error message in config.log where it belongs
11824 echo "$CCS_PKG_ERRORS" >&5
11828 for ac_header
in ccs.h
11830 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11831 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11832 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11833 $as_echo_n "checking for $ac_header... " >&6; }
11834 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11835 $as_echo_n "(cached) " >&6
11837 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11838 $as_echo "$as_val"'`
11839 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11840 $as_echo "$ac_res" >&6; }
11842 # Is the header compilable?
11843 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11844 $as_echo_n "checking $ac_header usability... " >&6; }
11845 cat >conftest.
$ac_ext <<_ACEOF
11848 cat confdefs.h
>>conftest.
$ac_ext
11849 cat >>conftest.
$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 $ac_includes_default
11852 #include <$ac_header>
11854 rm -f conftest.
$ac_objext
11855 if { (ac_try
="$ac_compile"
11856 case "(($ac_try" in
11857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11861 $as_echo "$ac_try_echo") >&5
11862 (eval "$ac_compile") 2>conftest.er1
11864 grep -v '^ *+' conftest.er1 >conftest.err
11866 cat conftest.err >&5
11867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } && {
11869 test -z "$ac_c_werror_flag" ||
11870 test ! -s conftest.err
11871 } && test -s conftest.$ac_objext; then
11872 ac_header_compiler=yes
11874 $as_echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11877 ac_header_compiler=no
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11882 $as_echo "$ac_header_compiler" >&6; }
11884 # Is the header present?
11885 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11886 $as_echo_n "checking $ac_header presence... " >&6; }
11887 cat >conftest.$ac_ext <<_ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11893 #include <$ac_header>
11895 if { (ac_try="$ac_cpp conftest.$ac_ext"
11896 case "(($ac_try" in
11897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11898 *) ac_try_echo
=$ac_try;;
11900 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11901 $as_echo "$ac_try_echo") >&5
11902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11904 grep -v '^ *+' conftest.er1
>conftest.err
11906 cat conftest.err
>&5
11907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } >/dev
/null
&& {
11909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11910 test ! -s conftest.err
11912 ac_header_preproc
=yes
11914 $as_echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.
$ac_ext >&5
11917 ac_header_preproc
=no
11920 rm -f conftest.err conftest.
$ac_ext
11921 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11922 $as_echo "$ac_header_preproc" >&6; }
11924 # So? What about this header?
11925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11927 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11928 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11930 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11931 ac_header_preproc
=yes
11934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11935 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11937 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11939 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11941 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11943 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11945 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11949 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11950 $as_echo_n "checking for $ac_header... " >&6; }
11951 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11952 $as_echo_n "(cached) " >&6
11954 eval "$as_ac_Header=\$ac_header_preproc"
11956 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11957 $as_echo "$as_val"'`
11958 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11959 $as_echo "$ac_res" >&6; }
11962 as_val
=`eval 'as_val=${'$as_ac_Header'}
11963 $as_echo "$as_val"'`
11964 if test "x$as_val" = x
""yes; then
11965 cat >>confdefs.h
<<_ACEOF
11966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11975 check_lib_no_libs ccs ccs_connect
11976 if test $NOTFOUND = 0; then
11977 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
11978 $as_echo "no pkg for libccs, using -lccs" >&6; }
11982 elif test $pkg_failed = untried
; then
11983 { $as_echo "$as_me:$LINENO: result: no" >&5
11984 $as_echo "no" >&6; }
11987 for ac_header
in ccs.h
11989 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11990 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11991 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11992 $as_echo_n "checking for $ac_header... " >&6; }
11993 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11994 $as_echo_n "(cached) " >&6
11996 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11997 $as_echo "$as_val"'`
11998 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11999 $as_echo "$ac_res" >&6; }
12001 # Is the header compilable?
12002 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12003 $as_echo_n "checking $ac_header usability... " >&6; }
12004 cat >conftest.
$ac_ext <<_ACEOF
12007 cat confdefs.h
>>conftest.
$ac_ext
12008 cat >>conftest.
$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 $ac_includes_default
12011 #include <$ac_header>
12013 rm -f conftest.
$ac_objext
12014 if { (ac_try
="$ac_compile"
12015 case "(($ac_try" in
12016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12020 $as_echo "$ac_try_echo") >&5
12021 (eval "$ac_compile") 2>conftest.er1
12023 grep -v '^ *+' conftest.er1 >conftest.err
12025 cat conftest.err >&5
12026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest.$ac_objext; then
12031 ac_header_compiler=yes
12033 $as_echo "$as_me: failed program was:" >&5
12034 sed 's/^/| /' conftest.$ac_ext >&5
12036 ac_header_compiler=no
12039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12040 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12041 $as_echo "$ac_header_compiler" >&6; }
12043 # Is the header present?
12044 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12045 $as_echo_n "checking $ac_header presence... " >&6; }
12046 cat >conftest.$ac_ext <<_ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 #include <$ac_header>
12054 if { (ac_try="$ac_cpp conftest.$ac_ext"
12055 case "(($ac_try" in
12056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12057 *) ac_try_echo
=$ac_try;;
12059 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12060 $as_echo "$ac_try_echo") >&5
12061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12063 grep -v '^ *+' conftest.er1
>conftest.err
12065 cat conftest.err
>&5
12066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } >/dev
/null
&& {
12068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12069 test ! -s conftest.err
12071 ac_header_preproc
=yes
12073 $as_echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.
$ac_ext >&5
12076 ac_header_preproc
=no
12079 rm -f conftest.err conftest.
$ac_ext
12080 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12081 $as_echo "$ac_header_preproc" >&6; }
12083 # So? What about this header?
12084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12087 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12090 ac_header_preproc
=yes
12093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12094 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12096 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12098 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12100 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12102 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12104 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12108 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12109 $as_echo_n "checking for $ac_header... " >&6; }
12110 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12111 $as_echo_n "(cached) " >&6
12113 eval "$as_ac_Header=\$ac_header_preproc"
12115 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12116 $as_echo "$as_val"'`
12117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12118 $as_echo "$ac_res" >&6; }
12121 as_val
=`eval 'as_val=${'$as_ac_Header'}
12122 $as_echo "$as_val"'`
12123 if test "x$as_val" = x
""yes; then
12124 cat >>confdefs.h
<<_ACEOF
12125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12134 check_lib_no_libs ccs ccs_connect
12135 if test $NOTFOUND = 0; then
12136 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
12137 $as_echo "no pkg for libccs, using -lccs" >&6; }
12142 CCS_CFLAGS
=$pkg_cv_CCS_CFLAGS
12143 CCS_LIBS
=$pkg_cv_CCS_LIBS
12144 { $as_echo "$as_me:$LINENO: result: yes" >&5
12145 $as_echo "yes" >&6; }
12150 { $as_echo "$as_me:$LINENO: checking for GULM" >&5
12151 $as_echo_n "checking for GULM... " >&6; }
12153 if test -n "$GULM_CFLAGS"; then
12154 pkg_cv_GULM_CFLAGS
="$GULM_CFLAGS"
12155 elif test -n "$PKG_CONFIG"; then
12156 if test -n "$PKG_CONFIG" && \
12157 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12158 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; then
12162 pkg_cv_GULM_CFLAGS
=`$PKG_CONFIG --cflags "libgulm" 2>/dev/null`
12169 if test -n "$GULM_LIBS"; then
12170 pkg_cv_GULM_LIBS
="$GULM_LIBS"
12171 elif test -n "$PKG_CONFIG"; then
12172 if test -n "$PKG_CONFIG" && \
12173 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12174 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; then
12178 pkg_cv_GULM_LIBS
=`$PKG_CONFIG --libs "libgulm" 2>/dev/null`
12188 if test $pkg_failed = yes; then
12189 { $as_echo "$as_me:$LINENO: result: no" >&5
12190 $as_echo "no" >&6; }
12192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12193 _pkg_short_errors_supported
=yes
12195 _pkg_short_errors_supported
=no
12197 if test $_pkg_short_errors_supported = yes; then
12198 GULM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libgulm" 2>&1`
12200 GULM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libgulm" 2>&1`
12202 # Put the nasty error message in config.log where it belongs
12203 echo "$GULM_PKG_ERRORS" >&5
12207 for ac_header
in libgulm.h
12209 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12211 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12212 $as_echo_n "checking for $ac_header... " >&6; }
12213 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12214 $as_echo_n "(cached) " >&6
12216 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12217 $as_echo "$as_val"'`
12218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12219 $as_echo "$ac_res" >&6; }
12221 # Is the header compilable?
12222 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12223 $as_echo_n "checking $ac_header usability... " >&6; }
12224 cat >conftest.
$ac_ext <<_ACEOF
12227 cat confdefs.h
>>conftest.
$ac_ext
12228 cat >>conftest.
$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 $ac_includes_default
12231 #include <$ac_header>
12233 rm -f conftest.
$ac_objext
12234 if { (ac_try
="$ac_compile"
12235 case "(($ac_try" in
12236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12237 *) ac_try_echo=$ac_try;;
12239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12240 $as_echo "$ac_try_echo") >&5
12241 (eval "$ac_compile") 2>conftest.er1
12243 grep -v '^ *+' conftest.er1 >conftest.err
12245 cat conftest.err >&5
12246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } && {
12248 test -z "$ac_c_werror_flag" ||
12249 test ! -s conftest.err
12250 } && test -s conftest.$ac_objext; then
12251 ac_header_compiler=yes
12253 $as_echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.$ac_ext >&5
12256 ac_header_compiler=no
12259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12260 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12261 $as_echo "$ac_header_compiler" >&6; }
12263 # Is the header present?
12264 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12265 $as_echo_n "checking $ac_header presence... " >&6; }
12266 cat >conftest.$ac_ext <<_ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12272 #include <$ac_header>
12274 if { (ac_try="$ac_cpp conftest.$ac_ext"
12275 case "(($ac_try" in
12276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12277 *) ac_try_echo
=$ac_try;;
12279 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12280 $as_echo "$ac_try_echo") >&5
12281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } >/dev
/null
&& {
12288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12289 test ! -s conftest.err
12291 ac_header_preproc
=yes
12293 $as_echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 ac_header_preproc
=no
12299 rm -f conftest.err conftest.
$ac_ext
12300 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12301 $as_echo "$ac_header_preproc" >&6; }
12303 # So? What about this header?
12304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12307 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12310 ac_header_preproc
=yes
12313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12314 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12316 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12318 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12320 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12322 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12324 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12328 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12329 $as_echo_n "checking for $ac_header... " >&6; }
12330 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12331 $as_echo_n "(cached) " >&6
12333 eval "$as_ac_Header=\$ac_header_preproc"
12335 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12336 $as_echo "$as_val"'`
12337 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12338 $as_echo "$ac_res" >&6; }
12341 as_val
=`eval 'as_val=${'$as_ac_Header'}
12342 $as_echo "$as_val"'`
12343 if test "x$as_val" = x
""yes; then
12344 cat >>confdefs.h
<<_ACEOF
12345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12354 check_lib_no_libs gulm lg_core_login
12355 if test $NOTFOUND = 0; then
12356 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12357 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12361 elif test $pkg_failed = untried
; then
12362 { $as_echo "$as_me:$LINENO: result: no" >&5
12363 $as_echo "no" >&6; }
12366 for ac_header
in libgulm.h
12368 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12369 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12370 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12371 $as_echo_n "checking for $ac_header... " >&6; }
12372 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12373 $as_echo_n "(cached) " >&6
12375 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12376 $as_echo "$as_val"'`
12377 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12378 $as_echo "$ac_res" >&6; }
12380 # Is the header compilable?
12381 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12382 $as_echo_n "checking $ac_header usability... " >&6; }
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12389 $ac_includes_default
12390 #include <$ac_header>
12392 rm -f conftest.
$ac_objext
12393 if { (ac_try
="$ac_compile"
12394 case "(($ac_try" in
12395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12396 *) ac_try_echo=$ac_try;;
12398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12399 $as_echo "$ac_try_echo") >&5
12400 (eval "$ac_compile") 2>conftest.er1
12402 grep -v '^ *+' conftest.er1 >conftest.err
12404 cat conftest.err >&5
12405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } && {
12407 test -z "$ac_c_werror_flag" ||
12408 test ! -s conftest.err
12409 } && test -s conftest.$ac_objext; then
12410 ac_header_compiler=yes
12412 $as_echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.$ac_ext >&5
12415 ac_header_compiler=no
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12420 $as_echo "$ac_header_compiler" >&6; }
12422 # Is the header present?
12423 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12424 $as_echo_n "checking $ac_header presence... " >&6; }
12425 cat >conftest.$ac_ext <<_ACEOF
12428 cat confdefs.h >>conftest.$ac_ext
12429 cat >>conftest.$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12431 #include <$ac_header>
12433 if { (ac_try="$ac_cpp conftest.$ac_ext"
12434 case "(($ac_try" in
12435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12436 *) ac_try_echo
=$ac_try;;
12438 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12439 $as_echo "$ac_try_echo") >&5
12440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } >/dev
/null
&& {
12447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12448 test ! -s conftest.err
12450 ac_header_preproc
=yes
12452 $as_echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 ac_header_preproc
=no
12458 rm -f conftest.err conftest.
$ac_ext
12459 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12460 $as_echo "$ac_header_preproc" >&6; }
12462 # So? What about this header?
12463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12466 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12468 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12469 ac_header_preproc
=yes
12472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12473 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12475 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12477 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12478 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12479 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12480 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12481 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12482 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12483 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12487 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12488 $as_echo_n "checking for $ac_header... " >&6; }
12489 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12490 $as_echo_n "(cached) " >&6
12492 eval "$as_ac_Header=\$ac_header_preproc"
12494 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12495 $as_echo "$as_val"'`
12496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12497 $as_echo "$ac_res" >&6; }
12500 as_val
=`eval 'as_val=${'$as_ac_Header'}
12501 $as_echo "$as_val"'`
12502 if test "x$as_val" = x
""yes; then
12503 cat >>confdefs.h
<<_ACEOF
12504 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12513 check_lib_no_libs gulm lg_core_login
12514 if test $NOTFOUND = 0; then
12515 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12516 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12521 GULM_CFLAGS
=$pkg_cv_GULM_CFLAGS
12522 GULM_LIBS
=$pkg_cv_GULM_LIBS
12523 { $as_echo "$as_me:$LINENO: result: yes" >&5
12524 $as_echo "yes" >&6; }
12529 if test x
$BUILDCMAN = xyes
; then
12532 { $as_echo "$as_me:$LINENO: checking for CMAN" >&5
12533 $as_echo_n "checking for CMAN... " >&6; }
12535 if test -n "$CMAN_CFLAGS"; then
12536 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
12537 elif test -n "$PKG_CONFIG"; then
12538 if test -n "$PKG_CONFIG" && \
12539 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12540 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; then
12544 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
12551 if test -n "$CMAN_LIBS"; then
12552 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
12553 elif test -n "$PKG_CONFIG"; then
12554 if test -n "$PKG_CONFIG" && \
12555 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12556 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; then
12560 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
12570 if test $pkg_failed = yes; then
12571 { $as_echo "$as_me:$LINENO: result: no" >&5
12572 $as_echo "no" >&6; }
12574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12575 _pkg_short_errors_supported
=yes
12577 _pkg_short_errors_supported
=no
12579 if test $_pkg_short_errors_supported = yes; then
12580 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
12582 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
12584 # Put the nasty error message in config.log where it belongs
12585 echo "$CMAN_PKG_ERRORS" >&5
12589 for ac_header
in libcman.h
12591 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12592 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12593 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12594 $as_echo_n "checking for $ac_header... " >&6; }
12595 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12596 $as_echo_n "(cached) " >&6
12598 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12599 $as_echo "$as_val"'`
12600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12601 $as_echo "$ac_res" >&6; }
12603 # Is the header compilable?
12604 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12605 $as_echo_n "checking $ac_header usability... " >&6; }
12606 cat >conftest.
$ac_ext <<_ACEOF
12609 cat confdefs.h
>>conftest.
$ac_ext
12610 cat >>conftest.
$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 $ac_includes_default
12613 #include <$ac_header>
12615 rm -f conftest.
$ac_objext
12616 if { (ac_try
="$ac_compile"
12617 case "(($ac_try" in
12618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12619 *) ac_try_echo=$ac_try;;
12621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12622 $as_echo "$ac_try_echo") >&5
12623 (eval "$ac_compile") 2>conftest.er1
12625 grep -v '^ *+' conftest.er1 >conftest.err
12627 cat conftest.err >&5
12628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } && {
12630 test -z "$ac_c_werror_flag" ||
12631 test ! -s conftest.err
12632 } && test -s conftest.$ac_objext; then
12633 ac_header_compiler=yes
12635 $as_echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.$ac_ext >&5
12638 ac_header_compiler=no
12641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12642 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12643 $as_echo "$ac_header_compiler" >&6; }
12645 # Is the header present?
12646 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12647 $as_echo_n "checking $ac_header presence... " >&6; }
12648 cat >conftest.$ac_ext <<_ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 #include <$ac_header>
12656 if { (ac_try="$ac_cpp conftest.$ac_ext"
12657 case "(($ac_try" in
12658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12659 *) ac_try_echo
=$ac_try;;
12661 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12662 $as_echo "$ac_try_echo") >&5
12663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12665 grep -v '^ *+' conftest.er1
>conftest.err
12667 cat conftest.err
>&5
12668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } >/dev
/null
&& {
12670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12671 test ! -s conftest.err
12673 ac_header_preproc
=yes
12675 $as_echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.
$ac_ext >&5
12678 ac_header_preproc
=no
12681 rm -f conftest.err conftest.
$ac_ext
12682 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12683 $as_echo "$ac_header_preproc" >&6; }
12685 # So? What about this header?
12686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12689 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12691 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12692 ac_header_preproc
=yes
12695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12696 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12698 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12700 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12702 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12704 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12706 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12710 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12711 $as_echo_n "checking for $ac_header... " >&6; }
12712 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12713 $as_echo_n "(cached) " >&6
12715 eval "$as_ac_Header=\$ac_header_preproc"
12717 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12718 $as_echo "$as_val"'`
12719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12720 $as_echo "$ac_res" >&6; }
12723 as_val
=`eval 'as_val=${'$as_ac_Header'}
12724 $as_echo "$as_val"'`
12725 if test "x$as_val" = x
""yes; then
12726 cat >>confdefs.h
<<_ACEOF
12727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12736 check_lib_no_libs cman cman_init
12737 if test $NOTFOUND = 0; then
12738 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12739 $as_echo "no pkg for libcman, using -lcman" >&6; }
12743 elif test $pkg_failed = untried
; then
12744 { $as_echo "$as_me:$LINENO: result: no" >&5
12745 $as_echo "no" >&6; }
12748 for ac_header
in libcman.h
12750 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12751 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12752 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12753 $as_echo_n "checking for $ac_header... " >&6; }
12754 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12755 $as_echo_n "(cached) " >&6
12757 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12758 $as_echo "$as_val"'`
12759 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12760 $as_echo "$ac_res" >&6; }
12762 # Is the header compilable?
12763 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12764 $as_echo_n "checking $ac_header usability... " >&6; }
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 $ac_includes_default
12772 #include <$ac_header>
12774 rm -f conftest.
$ac_objext
12775 if { (ac_try
="$ac_compile"
12776 case "(($ac_try" in
12777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12778 *) ac_try_echo=$ac_try;;
12780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12781 $as_echo "$ac_try_echo") >&5
12782 (eval "$ac_compile") 2>conftest.er1
12784 grep -v '^ *+' conftest.er1 >conftest.err
12786 cat conftest.err >&5
12787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } && {
12789 test -z "$ac_c_werror_flag" ||
12790 test ! -s conftest.err
12791 } && test -s conftest.$ac_objext; then
12792 ac_header_compiler=yes
12794 $as_echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12797 ac_header_compiler=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12801 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12802 $as_echo "$ac_header_compiler" >&6; }
12804 # Is the header present?
12805 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12806 $as_echo_n "checking $ac_header presence... " >&6; }
12807 cat >conftest.$ac_ext <<_ACEOF
12810 cat confdefs.h >>conftest.$ac_ext
12811 cat >>conftest.$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12813 #include <$ac_header>
12815 if { (ac_try="$ac_cpp conftest.$ac_ext"
12816 case "(($ac_try" in
12817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12818 *) ac_try_echo
=$ac_try;;
12820 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12821 $as_echo "$ac_try_echo") >&5
12822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12824 grep -v '^ *+' conftest.er1
>conftest.err
12826 cat conftest.err
>&5
12827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } >/dev
/null
&& {
12829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12832 ac_header_preproc
=yes
12834 $as_echo "$as_me: failed program was:" >&5
12835 sed 's/^/| /' conftest.
$ac_ext >&5
12837 ac_header_preproc
=no
12840 rm -f conftest.err conftest.
$ac_ext
12841 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12842 $as_echo "$ac_header_preproc" >&6; }
12844 # So? What about this header?
12845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12848 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12850 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12851 ac_header_preproc
=yes
12854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12855 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12857 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12859 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12861 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12863 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12865 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12869 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12870 $as_echo_n "checking for $ac_header... " >&6; }
12871 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12872 $as_echo_n "(cached) " >&6
12874 eval "$as_ac_Header=\$ac_header_preproc"
12876 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12877 $as_echo "$as_val"'`
12878 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12879 $as_echo "$ac_res" >&6; }
12882 as_val
=`eval 'as_val=${'$as_ac_Header'}
12883 $as_echo "$as_val"'`
12884 if test "x$as_val" = x
""yes; then
12885 cat >>confdefs.h
<<_ACEOF
12886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12895 check_lib_no_libs cman cman_init
12896 if test $NOTFOUND = 0; then
12897 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12898 $as_echo "no pkg for libcman, using -lcman" >&6; }
12903 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
12904 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
12905 { $as_echo "$as_me:$LINENO: result: yes" >&5
12906 $as_echo "yes" >&6; }
12913 if test x
$BUILDCOROSYNC = xyes || \
12914 test x
$BUILDOPENAIS = xyes
; then
12917 { $as_echo "$as_me:$LINENO: checking for COROSYNC" >&5
12918 $as_echo_n "checking for COROSYNC... " >&6; }
12920 if test -n "$COROSYNC_CFLAGS"; then
12921 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
12922 elif test -n "$PKG_CONFIG"; then
12923 if test -n "$PKG_CONFIG" && \
12924 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12925 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; then
12929 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
12936 if test -n "$COROSYNC_LIBS"; then
12937 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
12938 elif test -n "$PKG_CONFIG"; then
12939 if test -n "$PKG_CONFIG" && \
12940 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12941 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); }; then
12945 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
12955 if test $pkg_failed = yes; then
12956 { $as_echo "$as_me:$LINENO: result: no" >&5
12957 $as_echo "no" >&6; }
12959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12960 _pkg_short_errors_supported
=yes
12962 _pkg_short_errors_supported
=no
12964 if test $_pkg_short_errors_supported = yes; then
12965 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
12967 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
12969 # Put the nasty error message in config.log where it belongs
12970 echo "$COROSYNC_PKG_ERRORS" >&5
12973 elif test $pkg_failed = untried
; then
12974 { $as_echo "$as_me:$LINENO: result: no" >&5
12975 $as_echo "no" >&6; }
12978 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
12979 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
12980 { $as_echo "$as_me:$LINENO: result: yes" >&5
12981 $as_echo "yes" >&6; }
12987 if test x
$BUILDCOROSYNC = xyes
; then
12990 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
12991 $as_echo_n "checking for QUORUM... " >&6; }
12993 if test -n "$QUORUM_CFLAGS"; then
12994 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
12995 elif test -n "$PKG_CONFIG"; then
12996 if test -n "$PKG_CONFIG" && \
12997 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
12998 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
13000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; then
13002 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
13009 if test -n "$QUORUM_LIBS"; then
13010 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
13011 elif test -n "$PKG_CONFIG"; then
13012 if test -n "$PKG_CONFIG" && \
13013 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
13014 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
13016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; then
13018 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
13028 if test $pkg_failed = yes; then
13029 { $as_echo "$as_me:$LINENO: result: no" >&5
13030 $as_echo "no" >&6; }
13032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13033 _pkg_short_errors_supported
=yes
13035 _pkg_short_errors_supported
=no
13037 if test $_pkg_short_errors_supported = yes; then
13038 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
13040 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
13042 # Put the nasty error message in config.log where it belongs
13043 echo "$QUORUM_PKG_ERRORS" >&5
13046 elif test $pkg_failed = untried
; then
13047 { $as_echo "$as_me:$LINENO: result: no" >&5
13048 $as_echo "no" >&6; }
13051 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
13052 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
13053 { $as_echo "$as_me:$LINENO: result: yes" >&5
13054 $as_echo "yes" >&6; }
13061 if test x
$BUILDOPENAIS = xyes
; then
13064 { $as_echo "$as_me:$LINENO: checking for SALCK" >&5
13065 $as_echo_n "checking for SALCK... " >&6; }
13067 if test -n "$SALCK_CFLAGS"; then
13068 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
13069 elif test -n "$PKG_CONFIG"; then
13070 if test -n "$PKG_CONFIG" && \
13071 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13072 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; then
13076 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
13083 if test -n "$SALCK_LIBS"; then
13084 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
13085 elif test -n "$PKG_CONFIG"; then
13086 if test -n "$PKG_CONFIG" && \
13087 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13088 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; then
13092 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
13102 if test $pkg_failed = yes; then
13103 { $as_echo "$as_me:$LINENO: result: no" >&5
13104 $as_echo "no" >&6; }
13106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13107 _pkg_short_errors_supported
=yes
13109 _pkg_short_errors_supported
=no
13111 if test $_pkg_short_errors_supported = yes; then
13112 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
13114 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
13116 # Put the nasty error message in config.log where it belongs
13117 echo "$SALCK_PKG_ERRORS" >&5
13120 elif test $pkg_failed = untried
; then
13121 { $as_echo "$as_me:$LINENO: result: no" >&5
13122 $as_echo "no" >&6; }
13125 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
13126 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
13127 { $as_echo "$as_me:$LINENO: result: yes" >&5
13128 $as_echo "yes" >&6; }
13136 if test x
$CHECKCONFDB = xyes
; then
13139 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
13140 $as_echo_n "checking for CONFDB... " >&6; }
13142 if test -n "$CONFDB_CFLAGS"; then
13143 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
13144 elif test -n "$PKG_CONFIG"; then
13145 if test -n "$PKG_CONFIG" && \
13146 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13147 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; then
13151 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
13158 if test -n "$CONFDB_LIBS"; then
13159 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
13160 elif test -n "$PKG_CONFIG"; then
13161 if test -n "$PKG_CONFIG" && \
13162 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13163 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; then
13167 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
13177 if test $pkg_failed = yes; then
13178 { $as_echo "$as_me:$LINENO: result: no" >&5
13179 $as_echo "no" >&6; }
13181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13182 _pkg_short_errors_supported
=yes
13184 _pkg_short_errors_supported
=no
13186 if test $_pkg_short_errors_supported = yes; then
13187 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
13189 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
13191 # Put the nasty error message in config.log where it belongs
13192 echo "$CONFDB_PKG_ERRORS" >&5
13195 elif test $pkg_failed = untried
; then
13196 { $as_echo "$as_me:$LINENO: result: no" >&5
13197 $as_echo "no" >&6; }
13200 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
13201 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
13202 { $as_echo "$as_me:$LINENO: result: yes" >&5
13203 $as_echo "yes" >&6; }
13208 for ac_header
in corosync
/confdb.h
13210 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13211 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13212 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13213 $as_echo_n "checking for $ac_header... " >&6; }
13214 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13215 $as_echo_n "(cached) " >&6
13217 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13218 $as_echo "$as_val"'`
13219 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13220 $as_echo "$ac_res" >&6; }
13222 # Is the header compilable?
13223 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13224 $as_echo_n "checking $ac_header usability... " >&6; }
13225 cat >conftest.
$ac_ext <<_ACEOF
13228 cat confdefs.h
>>conftest.
$ac_ext
13229 cat >>conftest.
$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13231 $ac_includes_default
13232 #include <$ac_header>
13234 rm -f conftest.
$ac_objext
13235 if { (ac_try
="$ac_compile"
13236 case "(($ac_try" in
13237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13241 $as_echo "$ac_try_echo") >&5
13242 (eval "$ac_compile") 2>conftest.er1
13244 grep -v '^ *+' conftest.er1 >conftest.err
13246 cat conftest.err >&5
13247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } && {
13249 test -z "$ac_c_werror_flag" ||
13250 test ! -s conftest.err
13251 } && test -s conftest.$ac_objext; then
13252 ac_header_compiler=yes
13254 $as_echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.$ac_ext >&5
13257 ac_header_compiler=no
13260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13261 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13262 $as_echo "$ac_header_compiler" >&6; }
13264 # Is the header present?
13265 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13266 $as_echo_n "checking $ac_header presence... " >&6; }
13267 cat >conftest.$ac_ext <<_ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273 #include <$ac_header>
13275 if { (ac_try="$ac_cpp conftest.$ac_ext"
13276 case "(($ac_try" in
13277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13278 *) ac_try_echo
=$ac_try;;
13280 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13281 $as_echo "$ac_try_echo") >&5
13282 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13284 grep -v '^ *+' conftest.er1
>conftest.err
13286 cat conftest.err
>&5
13287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } >/dev
/null
&& {
13289 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13290 test ! -s conftest.err
13292 ac_header_preproc
=yes
13294 $as_echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.
$ac_ext >&5
13297 ac_header_preproc
=no
13300 rm -f conftest.err conftest.
$ac_ext
13301 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13302 $as_echo "$ac_header_preproc" >&6; }
13304 # So? What about this header?
13305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13308 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13310 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13311 ac_header_preproc
=yes
13314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13315 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13317 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13319 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13321 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13323 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13325 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13329 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13330 $as_echo_n "checking for $ac_header... " >&6; }
13331 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13332 $as_echo_n "(cached) " >&6
13334 eval "$as_ac_Header=\$ac_header_preproc"
13336 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13337 $as_echo "$as_val"'`
13338 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13339 $as_echo "$ac_res" >&6; }
13342 as_val
=`eval 'as_val=${'$as_ac_Header'}
13343 $as_echo "$as_val"'`
13344 if test "x$as_val" = x
""yes; then
13345 cat >>confdefs.h
<<_ACEOF
13346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13356 if test x
$HAVE_CONFDB != xyes
&& \
13357 test x
$HAVE_CONFDB_H = xyes
; then
13358 check_lib_no_libs confdb confdb_initialize
13359 { $as_echo "$as_me:$LINENO: result: no pkg for confdb, using -lconfdb" >&5
13360 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
13361 CONFDB_LIBS
="-lconfdb"
13365 if test x
$BUILDCOROSYNC = xyes
&& \
13366 test x
$HAVE_CONFDB != xyes
&&
13367 test x
$CLVMD != xall
; then
13368 { { $as_echo "$as_me:$LINENO: error: bailing out... confdb library is required" >&5
13369 $as_echo "$as_me: error: bailing out... confdb library is required" >&2;}
13370 { (exit 1); exit 1; }; }
13374 if test x
$CHECKCPG = xyes
; then
13377 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
13378 $as_echo_n "checking for CPG... " >&6; }
13380 if test -n "$CPG_CFLAGS"; then
13381 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
13382 elif test -n "$PKG_CONFIG"; then
13383 if test -n "$PKG_CONFIG" && \
13384 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
13385 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
13387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; then
13389 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
13396 if test -n "$CPG_LIBS"; then
13397 pkg_cv_CPG_LIBS
="$CPG_LIBS"
13398 elif test -n "$PKG_CONFIG"; then
13399 if test -n "$PKG_CONFIG" && \
13400 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
13401 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
13403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; then
13405 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
13415 if test $pkg_failed = yes; then
13416 { $as_echo "$as_me:$LINENO: result: no" >&5
13417 $as_echo "no" >&6; }
13419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13420 _pkg_short_errors_supported
=yes
13422 _pkg_short_errors_supported
=no
13424 if test $_pkg_short_errors_supported = yes; then
13425 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
13427 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
13429 # Put the nasty error message in config.log where it belongs
13430 echo "$CPG_PKG_ERRORS" >&5
13433 elif test $pkg_failed = untried
; then
13434 { $as_echo "$as_me:$LINENO: result: no" >&5
13435 $as_echo "no" >&6; }
13438 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
13439 CPG_LIBS
=$pkg_cv_CPG_LIBS
13440 { $as_echo "$as_me:$LINENO: result: yes" >&5
13441 $as_echo "yes" >&6; }
13446 if test x
$CHECKDLM = xyes
; then
13449 { $as_echo "$as_me:$LINENO: checking for DLM" >&5
13450 $as_echo_n "checking for DLM... " >&6; }
13452 if test -n "$DLM_CFLAGS"; then
13453 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
13454 elif test -n "$PKG_CONFIG"; then
13455 if test -n "$PKG_CONFIG" && \
13456 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13457 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; then
13461 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
13468 if test -n "$DLM_LIBS"; then
13469 pkg_cv_DLM_LIBS
="$DLM_LIBS"
13470 elif test -n "$PKG_CONFIG"; then
13471 if test -n "$PKG_CONFIG" && \
13472 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13473 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; then
13477 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
13487 if test $pkg_failed = yes; then
13488 { $as_echo "$as_me:$LINENO: result: no" >&5
13489 $as_echo "no" >&6; }
13491 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13492 _pkg_short_errors_supported
=yes
13494 _pkg_short_errors_supported
=no
13496 if test $_pkg_short_errors_supported = yes; then
13497 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
13499 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
13501 # Put the nasty error message in config.log where it belongs
13502 echo "$DLM_PKG_ERRORS" >&5
13506 for ac_header
in libdlm.h
13508 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13509 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13510 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13511 $as_echo_n "checking for $ac_header... " >&6; }
13512 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13513 $as_echo_n "(cached) " >&6
13515 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13516 $as_echo "$as_val"'`
13517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13518 $as_echo "$ac_res" >&6; }
13520 # Is the header compilable?
13521 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13522 $as_echo_n "checking $ac_header usability... " >&6; }
13523 cat >conftest.
$ac_ext <<_ACEOF
13526 cat confdefs.h
>>conftest.
$ac_ext
13527 cat >>conftest.
$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13530 #include <$ac_header>
13532 rm -f conftest.
$ac_objext
13533 if { (ac_try
="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13539 $as_echo "$ac_try_echo") >&5
13540 (eval "$ac_compile") 2>conftest.er1
13542 grep -v '^ *+' conftest.er1 >conftest.err
13544 cat conftest.err >&5
13545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } && {
13547 test -z "$ac_c_werror_flag" ||
13548 test ! -s conftest.err
13549 } && test -s conftest.$ac_objext; then
13550 ac_header_compiler=yes
13552 $as_echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13555 ac_header_compiler=no
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13559 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13560 $as_echo "$ac_header_compiler" >&6; }
13562 # Is the header present?
13563 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13564 $as_echo_n "checking $ac_header presence... " >&6; }
13565 cat >conftest.$ac_ext <<_ACEOF
13568 cat confdefs.h >>conftest.$ac_ext
13569 cat >>conftest.$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13571 #include <$ac_header>
13573 if { (ac_try="$ac_cpp conftest.$ac_ext"
13574 case "(($ac_try" in
13575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13576 *) ac_try_echo
=$ac_try;;
13578 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13579 $as_echo "$ac_try_echo") >&5
13580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13582 grep -v '^ *+' conftest.er1
>conftest.err
13584 cat conftest.err
>&5
13585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } >/dev
/null
&& {
13587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13588 test ! -s conftest.err
13590 ac_header_preproc
=yes
13592 $as_echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 ac_header_preproc
=no
13598 rm -f conftest.err conftest.
$ac_ext
13599 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13600 $as_echo "$ac_header_preproc" >&6; }
13602 # So? What about this header?
13603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13605 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13606 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13607 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13608 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13609 ac_header_preproc
=yes
13612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13613 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13615 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13617 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13619 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13620 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13621 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13622 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13623 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13627 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13628 $as_echo_n "checking for $ac_header... " >&6; }
13629 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13630 $as_echo_n "(cached) " >&6
13632 eval "$as_ac_Header=\$ac_header_preproc"
13634 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13635 $as_echo "$as_val"'`
13636 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13637 $as_echo "$ac_res" >&6; }
13640 as_val
=`eval 'as_val=${'$as_ac_Header'}
13641 $as_echo "$as_val"'`
13642 if test "x$as_val" = x
""yes; then
13643 cat >>confdefs.h
<<_ACEOF
13644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13653 check_lib_no_libs dlm dlm_lock
-lpthread
13654 if test $NOTFOUND = 0; then
13655 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13656 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13657 DLM_LIBS
="-ldlm -lpthread"
13660 elif test $pkg_failed = untried
; then
13661 { $as_echo "$as_me:$LINENO: result: no" >&5
13662 $as_echo "no" >&6; }
13665 for ac_header
in libdlm.h
13667 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13668 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13669 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13670 $as_echo_n "checking for $ac_header... " >&6; }
13671 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13672 $as_echo_n "(cached) " >&6
13674 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13675 $as_echo "$as_val"'`
13676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13677 $as_echo "$ac_res" >&6; }
13679 # Is the header compilable?
13680 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13681 $as_echo_n "checking $ac_header usability... " >&6; }
13682 cat >conftest.
$ac_ext <<_ACEOF
13685 cat confdefs.h
>>conftest.
$ac_ext
13686 cat >>conftest.
$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 $ac_includes_default
13689 #include <$ac_header>
13691 rm -f conftest.
$ac_objext
13692 if { (ac_try
="$ac_compile"
13693 case "(($ac_try" in
13694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13695 *) ac_try_echo=$ac_try;;
13697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13698 $as_echo "$ac_try_echo") >&5
13699 (eval "$ac_compile") 2>conftest.er1
13701 grep -v '^ *+' conftest.er1 >conftest.err
13703 cat conftest.err >&5
13704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); } && {
13706 test -z "$ac_c_werror_flag" ||
13707 test ! -s conftest.err
13708 } && test -s conftest.$ac_objext; then
13709 ac_header_compiler=yes
13711 $as_echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13714 ac_header_compiler=no
13717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13719 $as_echo "$ac_header_compiler" >&6; }
13721 # Is the header present?
13722 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13723 $as_echo_n "checking $ac_header presence... " >&6; }
13724 cat >conftest.$ac_ext <<_ACEOF
13727 cat confdefs.h >>conftest.$ac_ext
13728 cat >>conftest.$ac_ext <<_ACEOF
13729 /* end confdefs.h. */
13730 #include <$ac_header>
13732 if { (ac_try="$ac_cpp conftest.$ac_ext"
13733 case "(($ac_try" in
13734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13735 *) ac_try_echo
=$ac_try;;
13737 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13738 $as_echo "$ac_try_echo") >&5
13739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13741 grep -v '^ *+' conftest.er1
>conftest.err
13743 cat conftest.err
>&5
13744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } >/dev
/null
&& {
13746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13749 ac_header_preproc
=yes
13751 $as_echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.
$ac_ext >&5
13754 ac_header_preproc
=no
13757 rm -f conftest.err conftest.
$ac_ext
13758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13759 $as_echo "$ac_header_preproc" >&6; }
13761 # So? What about this header?
13762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13765 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13768 ac_header_preproc
=yes
13771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13772 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13774 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13776 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13778 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13782 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13786 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13787 $as_echo_n "checking for $ac_header... " >&6; }
13788 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13789 $as_echo_n "(cached) " >&6
13791 eval "$as_ac_Header=\$ac_header_preproc"
13793 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13794 $as_echo "$as_val"'`
13795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13796 $as_echo "$ac_res" >&6; }
13799 as_val
=`eval 'as_val=${'$as_ac_Header'}
13800 $as_echo "$as_val"'`
13801 if test "x$as_val" = x
""yes; then
13802 cat >>confdefs.h
<<_ACEOF
13803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13812 check_lib_no_libs dlm dlm_lock
-lpthread
13813 if test $NOTFOUND = 0; then
13814 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13815 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13816 DLM_LIBS
="-ldlm -lpthread"
13820 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
13821 DLM_LIBS
=$pkg_cv_DLM_LIBS
13822 { $as_echo "$as_me:$LINENO: result: yes" >&5
13823 $as_echo "yes" >&6; }
13828 if test x
$CLVMD = xall
; then
13830 if test x
$HAVE_CCS = xyes
&& \
13831 test x
$HAVE_GULM = xyes
; then
13832 { $as_echo "$as_me:$LINENO: result: Enabling clvmd gulm cluster manager" >&5
13833 $as_echo "Enabling clvmd gulm cluster manager" >&6; }
13834 CLVMD
="$CLVMD,gulm"
13836 if test x
$HAVE_CMAN = xyes
&& \
13837 test x
$HAVE_DLM = xyes
; then
13838 { $as_echo "$as_me:$LINENO: result: Enabling clvmd cman cluster manager" >&5
13839 $as_echo "Enabling clvmd cman cluster manager" >&6; }
13840 CLVMD
="$CLVMD,cman"
13842 if test x
$HAVE_COROSYNC = xyes
&& \
13843 test x
$HAVE_QUORUM = xyes
&& \
13844 test x
$HAVE_CPG = xyes
&& \
13845 test x
$HAVE_DLM = xyes
&& \
13846 test x
$HAVE_CONFDB = xyes
; then
13847 { $as_echo "$as_me:$LINENO: result: Enabling clvmd corosync cluster manager" >&5
13848 $as_echo "Enabling clvmd corosync cluster manager" >&6; }
13849 CLVMD
="$CLVMD,corosync"
13851 if test x
$HAVE_COROSYNC = xyes
&& \
13852 test x
$HAVE_CPG = xyes
&& \
13853 test x
$HAVE_SALCK = xyes
; then
13854 { $as_echo "$as_me:$LINENO: result: Enabling clvmd openais cluster manager" >&5
13855 $as_echo "Enabling clvmd openais cluster manager" >&6; }
13856 CLVMD
="$CLVMD,openais"
13858 if test x
$CLVMD = xnone
; then
13859 { $as_echo "$as_me:$LINENO: result: Disabling clvmd build. No cluster manager detected." >&5
13860 $as_echo "Disabling clvmd build. No cluster manager detected." >&6; }
13864 ################################################################################
13865 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon" >&5
13866 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; }
13867 # Check whether --enable-cmirrord was given.
13868 if test "${enable_cmirrord+set}" = set; then
13869 enableval
=$enable_cmirrord; CMIRRORD
=$enableval
13874 { $as_echo "$as_me:$LINENO: result: $CMIRRORD" >&5
13875 $as_echo "$CMIRRORD" >&6; }
13877 BUILD_CMIRRORD
=$CMIRRORD
13879 ################################################################################
13880 if test "x$BUILD_CMIRRORD" = xyes
; then
13882 # Check whether --with-cmirrord-pidfile was given.
13883 if test "${with_cmirrord_pidfile+set}" = set; then
13884 withval
=$with_cmirrord_pidfile; CMIRRORD_PIDFILE
=$withval
13886 CMIRRORD_PIDFILE
="/var/run/cmirrord.pid"
13890 cat >>confdefs.h
<<_ACEOF
13891 #define CMIRRORD_PIDFILE "$CMIRRORD_PIDFILE"
13896 ################################################################################
13897 if [ "x$BUILD_CMIRRORD" = xyes
]; then
13898 if test x
$PKGCONFIG_INIT != x1
; then
13903 { $as_echo "$as_me:$LINENO: checking for SACKPT" >&5
13904 $as_echo_n "checking for SACKPT... " >&6; }
13906 if test -n "$SACKPT_CFLAGS"; then
13907 pkg_cv_SACKPT_CFLAGS
="$SACKPT_CFLAGS"
13908 elif test -n "$PKG_CONFIG"; then
13909 if test -n "$PKG_CONFIG" && \
13910 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13911 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; then
13915 pkg_cv_SACKPT_CFLAGS
=`$PKG_CONFIG --cflags "libSaCkpt" 2>/dev/null`
13922 if test -n "$SACKPT_LIBS"; then
13923 pkg_cv_SACKPT_LIBS
="$SACKPT_LIBS"
13924 elif test -n "$PKG_CONFIG"; then
13925 if test -n "$PKG_CONFIG" && \
13926 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13927 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; then
13931 pkg_cv_SACKPT_LIBS
=`$PKG_CONFIG --libs "libSaCkpt" 2>/dev/null`
13941 if test $pkg_failed = yes; then
13942 { $as_echo "$as_me:$LINENO: result: no" >&5
13943 $as_echo "no" >&6; }
13945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13946 _pkg_short_errors_supported
=yes
13948 _pkg_short_errors_supported
=no
13950 if test $_pkg_short_errors_supported = yes; then
13951 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt" 2>&1`
13953 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaCkpt" 2>&1`
13955 # Put the nasty error message in config.log where it belongs
13956 echo "$SACKPT_PKG_ERRORS" >&5
13958 { { $as_echo "$as_me:$LINENO: error: Package requirements (libSaCkpt) were not met:
13962 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13963 installed software in a non-standard prefix.
13965 Alternatively, you may set the environment variables SACKPT_CFLAGS
13966 and SACKPT_LIBS to avoid the need to call pkg-config.
13967 See the pkg-config man page for more details." >&5
13968 $as_echo "$as_me: error: Package requirements (libSaCkpt) were not met:
13972 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13973 installed software in a non-standard prefix.
13975 Alternatively, you may set the environment variables SACKPT_CFLAGS
13976 and SACKPT_LIBS to avoid the need to call pkg-config.
13977 See the pkg-config man page for more details." >&2;}
13978 { (exit 1); exit 1; }; }
13979 elif test $pkg_failed = untried
; then
13980 { $as_echo "$as_me:$LINENO: result: no" >&5
13981 $as_echo "no" >&6; }
13982 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13984 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13985 is in your PATH or set the PKG_CONFIG environment variable to the full
13986 path to pkg-config.
13988 Alternatively, you may set the environment variables SACKPT_CFLAGS
13989 and SACKPT_LIBS to avoid the need to call pkg-config.
13990 See the pkg-config man page for more details.
13992 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13993 See \`config.log' for more details." >&5
13994 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13995 is in your PATH or set the PKG_CONFIG environment variable to the full
13996 path to pkg-config.
13998 Alternatively, you may set the environment variables SACKPT_CFLAGS
13999 and SACKPT_LIBS to avoid the need to call pkg-config.
14000 See the pkg-config man page for more details.
14002 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14003 See \`config.log' for more details." >&2;}
14004 { (exit 1); exit 1; }; }; }
14006 SACKPT_CFLAGS
=$pkg_cv_SACKPT_CFLAGS
14007 SACKPT_LIBS
=$pkg_cv_SACKPT_LIBS
14008 { $as_echo "$as_me:$LINENO: result: yes" >&5
14009 $as_echo "yes" >&6; }
14012 if test x
$HAVE_CPG != xyes
; then
14015 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
14016 $as_echo_n "checking for CPG... " >&6; }
14018 if test -n "$CPG_CFLAGS"; then
14019 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
14020 elif test -n "$PKG_CONFIG"; then
14021 if test -n "$PKG_CONFIG" && \
14022 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14023 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; then
14027 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
14034 if test -n "$CPG_LIBS"; then
14035 pkg_cv_CPG_LIBS
="$CPG_LIBS"
14036 elif test -n "$PKG_CONFIG"; then
14037 if test -n "$PKG_CONFIG" && \
14038 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14039 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; then
14043 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
14053 if test $pkg_failed = yes; then
14054 { $as_echo "$as_me:$LINENO: result: no" >&5
14055 $as_echo "no" >&6; }
14057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14058 _pkg_short_errors_supported
=yes
14060 _pkg_short_errors_supported
=no
14062 if test $_pkg_short_errors_supported = yes; then
14063 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
14065 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
14067 # Put the nasty error message in config.log where it belongs
14068 echo "$CPG_PKG_ERRORS" >&5
14070 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
14074 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14075 installed software in a non-standard prefix.
14077 Alternatively, you may set the environment variables CPG_CFLAGS
14078 and CPG_LIBS to avoid the need to call pkg-config.
14079 See the pkg-config man page for more details." >&5
14080 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
14084 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14085 installed software in a non-standard prefix.
14087 Alternatively, you may set the environment variables CPG_CFLAGS
14088 and CPG_LIBS to avoid the need to call pkg-config.
14089 See the pkg-config man page for more details." >&2;}
14090 { (exit 1); exit 1; }; }
14091 elif test $pkg_failed = untried
; then
14092 { $as_echo "$as_me:$LINENO: result: no" >&5
14093 $as_echo "no" >&6; }
14094 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14096 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14097 is in your PATH or set the PKG_CONFIG environment variable to the full
14098 path to pkg-config.
14100 Alternatively, you may set the environment variables CPG_CFLAGS
14101 and CPG_LIBS to avoid the need to call pkg-config.
14102 See the pkg-config man page for more details.
14104 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14105 See \`config.log' for more details." >&5
14106 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14107 is in your PATH or set the PKG_CONFIG environment variable to the full
14108 path to pkg-config.
14110 Alternatively, you may set the environment variables CPG_CFLAGS
14111 and CPG_LIBS to avoid the need to call pkg-config.
14112 See the pkg-config man page for more details.
14114 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14115 See \`config.log' for more details." >&2;}
14116 { (exit 1); exit 1; }; }; }
14118 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
14119 CPG_LIBS
=$pkg_cv_CPG_LIBS
14120 { $as_echo "$as_me:$LINENO: result: yes" >&5
14121 $as_echo "yes" >&6; }
14127 ################################################################################
14128 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
14129 $as_echo_n "checking whether to enable debugging... " >&6; }
14130 # Check whether --enable-debug was given.
14131 if test "${enable_debug+set}" = set; then
14132 enableval
=$enable_debug; DEBUG
=$enableval
14137 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
14138 $as_echo "$DEBUG" >&6; }
14140 if test x
$DEBUG = xyes
; then
14146 ################################################################################
14147 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
14148 $as_echo_n "checking for C optimisation flag... " >&6; }
14150 # Check whether --with-optimisation was given.
14151 if test "${with_optimisation+set}" = set; then
14152 withval
=$with_optimisation; COPTIMISE_FLAG
=$withval
14155 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
14156 $as_echo "$COPTIMISE_FLAG" >&6; }
14158 ################################################################################
14159 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
14160 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
14161 # Check whether --enable-profiling was given.
14162 if test "${enable_profiling+set}" = set; then
14163 enableval
=$enable_profiling; PROFILING
=$enableval
14168 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
14169 $as_echo "$PROFILING" >&6; }
14171 if test "x$PROFILING" = xyes
; then
14172 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
14173 # Extract the first word of "lcov", so it can be a program name with args.
14174 set dummy lcov
; ac_word
=$2
14175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14176 $as_echo_n "checking for $ac_word... " >&6; }
14177 if test "${ac_cv_path_LCOV+set}" = set; then
14178 $as_echo_n "(cached) " >&6
14182 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
14185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14186 for as_dir
in $PATH
14189 test -z "$as_dir" && as_dir
=.
14190 for ac_exec_ext
in '' $ac_executable_extensions; do
14191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
14193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 LCOV
=$ac_cv_path_LCOV
14204 if test -n "$LCOV"; then
14205 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
14206 $as_echo "$LCOV" >&6; }
14208 { $as_echo "$as_me:$LINENO: result: no" >&5
14209 $as_echo "no" >&6; }
14213 # Extract the first word of "genhtml", so it can be a program name with args.
14214 set dummy genhtml
; ac_word
=$2
14215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14216 $as_echo_n "checking for $ac_word... " >&6; }
14217 if test "${ac_cv_path_GENHTML+set}" = set; then
14218 $as_echo_n "(cached) " >&6
14222 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
14225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14226 for as_dir
in $PATH
14229 test -z "$as_dir" && as_dir
=.
14230 for ac_exec_ext
in '' $ac_executable_extensions; do
14231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14232 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
14233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14243 GENHTML
=$ac_cv_path_GENHTML
14244 if test -n "$GENHTML"; then
14245 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
14246 $as_echo "$GENHTML" >&6; }
14248 { $as_echo "$as_me:$LINENO: result: no" >&5
14249 $as_echo "no" >&6; }
14253 if test -z "$LCOV" -o -z "$GENHTML"; then
14254 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
14255 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
14256 { (exit 1); exit 1; }; }
14258 # Extract the first word of "genpng", so it can be a program name with args.
14259 set dummy genpng
; ac_word
=$2
14260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14261 $as_echo_n "checking for $ac_word... " >&6; }
14262 if test "${ac_cv_path_GENPNG+set}" = set; then
14263 $as_echo_n "(cached) " >&6
14267 ac_cv_path_GENPNG
="$GENPNG" # Let the user override the test with a path.
14270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14271 for as_dir
in $PATH
14274 test -z "$as_dir" && as_dir
=.
14275 for ac_exec_ext
in '' $ac_executable_extensions; do
14276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14277 ac_cv_path_GENPNG
="$as_dir/$ac_word$ac_exec_ext"
14278 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 GENPNG
=$ac_cv_path_GENPNG
14289 if test -n "$GENPNG"; then
14290 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
14291 $as_echo "$GENPNG" >&6; }
14293 { $as_echo "$as_me:$LINENO: result: no" >&5
14294 $as_echo "no" >&6; }
14298 if test -n "$GENPNG"; then
14299 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
14300 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
14301 if $GENPNG --help > /dev
/null
2>&1 ; then
14302 { $as_echo "$as_me:$LINENO: result: ok" >&5
14303 $as_echo "ok" >&6; }
14304 GENHTML
="$GENHTML --frames"
14306 { $as_echo "$as_me:$LINENO: result: not supported" >&5
14307 $as_echo "not supported" >&6; }
14308 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
14309 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
14315 ################################################################################
14316 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
14317 $as_echo_n "checking whether to use device-mapper... " >&6; }
14318 # Check whether --enable-devmapper was given.
14319 if test "${enable_devmapper+set}" = set; then
14320 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
14323 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
14324 $as_echo "$DEVMAPPER" >&6; }
14326 if test x
$DEVMAPPER = xyes
; then
14328 cat >>confdefs.h
<<\_ACEOF
14329 #define DEVMAPPER_SUPPORT 1
14334 ################################################################################
14335 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
14336 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
14337 # Check whether --enable-udev_sync was given.
14338 if test "${enable_udev_sync+set}" = set; then
14339 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
14344 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
14345 $as_echo "$UDEV_SYNC" >&6; }
14347 if test x
$UDEV_SYNC = xyes
; then
14348 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
14349 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
14350 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
14351 $as_echo_n "(cached) " >&6
14353 ac_check_lib_save_LIBS
=$LIBS
14354 LIBS
="-ludev $LIBS"
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14368 char udev_queue_get_udev_is_active ();
14372 return udev_queue_get_udev_is_active ();
14377 rm -f conftest.
$ac_objext conftest
$ac_exeext
14378 if { (ac_try
="$ac_link"
14379 case "(($ac_try" in
14380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14384 $as_echo "$ac_try_echo") >&5
14385 (eval "$ac_link") 2>conftest.er1
14387 grep -v '^ *+' conftest.er1 >conftest.err
14389 cat conftest.err >&5
14390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } && {
14392 test -z "$ac_c_werror_flag" ||
14393 test ! -s conftest.err
14394 } && test -s conftest$ac_exeext && {
14395 test "$cross_compiling" = yes ||
14396 $as_test_x conftest$ac_exeext
14398 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
14400 $as_echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14403 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
14406 rm -rf conftest.dSYM
14407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
14412 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
14413 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
14414 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
14416 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
14417 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
14418 { (exit 1); exit 1; }; }
14422 cat >>confdefs.h <<\_ACEOF
14423 #define UDEV_SYNC_SUPPORT 1
14428 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
14429 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
14430 # Check whether --enable-udev_rules was given.
14431 if test "${enable_udev_rules+set}" = set; then
14432 enableval=$enable_udev_rules; UDEV_RULES=$enableval
14434 UDEV_RULES=$UDEV_SYNC
14437 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
14438 $as_echo "$UDEV_RULES" >&6; }
14440 ################################################################################
14441 # Check whether --enable-compat was given.
14442 if test "${enable_compat+set}" = set; then
14443 enableval=$enable_compat; DM_COMPAT=$enableval
14449 ################################################################################
14450 # Check whether --enable-units-compat was given.
14451 if test "${enable_units_compat+set}" = set; then
14452 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
14458 if test x$UNITS_COMPAT = xyes; then
14460 cat >>confdefs.h <<\_ACEOF
14461 #define DEFAULT_SI_UNIT_CONSISTENCY 0
14466 ################################################################################
14467 # Check whether --enable-ioctl was given.
14468 if test "${enable_ioctl+set}" = set; then
14469 enableval=$enable_ioctl; DM_IOCTLS=$enableval
14473 ################################################################################
14474 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
14475 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
14476 # Check whether --enable-o_direct was given.
14477 if test "${enable_o_direct+set}" = set; then
14478 enableval=$enable_o_direct; ODIRECT=$enableval
14481 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
14482 $as_echo "$ODIRECT" >&6; }
14484 if test x$ODIRECT = xyes; then
14486 cat >>confdefs.h <<\_ACEOF
14487 #define O_DIRECT_SUPPORT 1
14492 ################################################################################
14493 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
14494 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
14495 # Check whether --enable-applib was given.
14496 if test "${enable_applib+set}" = set; then
14497 enableval=$enable_applib; APPLIB=$enableval
14502 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
14503 $as_echo "$APPLIB" >&6; }
14505 test x$APPLIB = xyes \
14506 && LVM2APP_LIB=-llvm2app \
14509 ################################################################################
14510 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
14511 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
14512 # Check whether --enable-cmdlib was given.
14513 if test "${enable_cmdlib+set}" = set; then
14514 enableval=$enable_cmdlib; CMDLIB=$enableval
14519 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
14520 $as_echo "$CMDLIB" >&6; }
14522 test x$CMDLIB = xyes \
14523 && LVM2CMD_LIB=-llvm2cmd \
14526 ################################################################################
14527 # Check whether --enable-pkgconfig was given.
14528 if test "${enable_pkgconfig+set}" = set; then
14529 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
14535 ################################################################################
14536 # Check whether --enable-write_install was given.
14537 if test "${enable_write_install+set}" = set; then
14538 enableval=$enable_write_install; WRITE_INSTALL=$enableval
14544 ################################################################################
14545 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
14546 $as_echo_n "checking whether to install fsadm... " >&6; }
14547 # Check whether --enable-fsadm was given.
14548 if test "${enable_fsadm+set}" = set; then
14549 enableval=$enable_fsadm; FSADM=$enableval
14552 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
14553 $as_echo "$FSADM" >&6; }
14555 ################################################################################
14556 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
14557 $as_echo_n "checking whether to use dmeventd... " >&6; }
14558 # Check whether --enable-dmeventd was given.
14559 if test "${enable_dmeventd+set}" = set; then
14560 enableval=$enable_dmeventd; DMEVENTD=$enableval
14563 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
14564 $as_echo "$DMEVENTD" >&6; }
14566 BUILD_DMEVENTD=$DMEVENTD
14568 if test x$DMEVENTD = xyes; then
14569 if test x$MIRRORS != xinternal; then
14570 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
14572 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
14574 { (exit 1); exit 1; }; }
14576 if test x$CMDLIB = xno; then
14577 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14579 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14581 { (exit 1); exit 1; }; }
14585 if test x$DMEVENTD = xyes; then
14587 cat >>confdefs.h <<\_ACEOF
14593 ################################################################################
14595 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
14596 $as_echo_n "checking for getline in -lc... " >&6; }
14597 if test "${ac_cv_lib_c_getline+set}" = set; then
14598 $as_echo_n "(cached) " >&6
14600 ac_check_lib_save_LIBS=$LIBS
14602 cat >conftest.$ac_ext <<_ACEOF
14605 cat confdefs.h >>conftest.$ac_ext
14606 cat >>conftest.$ac_ext <<_ACEOF
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14624 rm -f conftest.$ac_objext conftest$ac_exeext
14625 if { (ac_try="$ac_link"
14626 case "(($ac_try" in
14627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14628 *) ac_try_echo
=$ac_try;;
14630 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14631 $as_echo "$ac_try_echo") >&5
14632 (eval "$ac_link") 2>conftest.er1
14634 grep -v '^ *+' conftest.er1
>conftest.err
14636 cat conftest.err
>&5
14637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } && {
14639 test -z "$ac_c_werror_flag" ||
14640 test ! -s conftest.err
14641 } && test -s conftest
$ac_exeext && {
14642 test "$cross_compiling" = yes ||
14643 $as_test_x conftest
$ac_exeext
14645 ac_cv_lib_c_getline
=yes
14647 $as_echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.
$ac_ext >&5
14650 ac_cv_lib_c_getline
=no
14653 rm -rf conftest.dSYM
14654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14655 conftest
$ac_exeext conftest.
$ac_ext
14656 LIBS
=$ac_check_lib_save_LIBS
14658 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
14659 $as_echo "$ac_cv_lib_c_getline" >&6; }
14660 if test "x$ac_cv_lib_c_getline" = x
""yes; then
14662 cat >>confdefs.h
<<\_ACEOF
14663 #define HAVE_GETLINE 1
14669 ################################################################################
14671 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
14672 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
14673 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
14674 $as_echo_n "(cached) " >&6
14676 ac_check_lib_save_LIBS
=$LIBS
14678 cat >conftest.
$ac_ext <<_ACEOF
14681 cat confdefs.h
>>conftest.
$ac_ext
14682 cat >>conftest.
$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14691 char canonicalize_file_name ();
14695 return canonicalize_file_name ();
14700 rm -f conftest.
$ac_objext conftest
$ac_exeext
14701 if { (ac_try
="$ac_link"
14702 case "(($ac_try" in
14703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14707 $as_echo "$ac_try_echo") >&5
14708 (eval "$ac_link") 2>conftest.er1
14710 grep -v '^ *+' conftest.er1 >conftest.err
14712 cat conftest.err >&5
14713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } && {
14715 test -z "$ac_c_werror_flag" ||
14716 test ! -s conftest.err
14717 } && test -s conftest$ac_exeext && {
14718 test "$cross_compiling" = yes ||
14719 $as_test_x conftest$ac_exeext
14721 ac_cv_lib_c_canonicalize_file_name=yes
14723 $as_echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.$ac_ext >&5
14726 ac_cv_lib_c_canonicalize_file_name=no
14729 rm -rf conftest.dSYM
14730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_lib_save_LIBS
14734 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
14735 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
14736 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
14738 cat >>confdefs.h <<\_ACEOF
14739 #define HAVE_CANONICALIZE_FILE_NAME 1
14745 ################################################################################
14746 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
14747 then exec_prefix="";
14750 ################################################################################
14751 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14752 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14753 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14754 $as_echo_n "(cached) " >&6
14756 ac_check_lib_save_LIBS=$LIBS
14758 cat >conftest.$ac_ext <<_ACEOF
14761 cat confdefs.h >>conftest.$ac_ext
14762 cat >>conftest.$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14780 rm -f conftest.$ac_objext conftest$ac_exeext
14781 if { (ac_try="$ac_link"
14782 case "(($ac_try" in
14783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14784 *) ac_try_echo
=$ac_try;;
14786 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14787 $as_echo "$ac_try_echo") >&5
14788 (eval "$ac_link") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1
>conftest.err
14792 cat conftest.err
>&5
14793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest
$ac_exeext && {
14798 test "$cross_compiling" = yes ||
14799 $as_test_x conftest
$ac_exeext
14801 ac_cv_lib_dl_dlopen
=yes
14803 $as_echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.
$ac_ext >&5
14806 ac_cv_lib_dl_dlopen
=no
14809 rm -rf conftest.dSYM
14810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14811 conftest
$ac_exeext conftest.
$ac_ext
14812 LIBS
=$ac_check_lib_save_LIBS
14814 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14815 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14816 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
14819 cat >>confdefs.h
<<\_ACEOF
14820 #define HAVE_LIBDL 1
14832 ################################################################################
14833 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
14834 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
14835 \
) -a "x$STATIC_LINK" = xyes
];
14836 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
14838 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
14840 { (exit 1); exit 1; }; }
14843 ################################################################################
14844 if [ "$DMEVENTD" = yes -o "$CLVMD" != none
] ; then
14845 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
14846 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
14847 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
14848 $as_echo_n "(cached) " >&6
14850 ac_check_lib_save_LIBS
=$LIBS
14851 LIBS
="-lpthread $LIBS"
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14865 char pthread_mutex_lock ();
14869 return pthread_mutex_lock ();
14874 rm -f conftest.
$ac_objext conftest
$ac_exeext
14875 if { (ac_try
="$ac_link"
14876 case "(($ac_try" in
14877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14881 $as_echo "$ac_try_echo") >&5
14882 (eval "$ac_link") 2>conftest.er1
14884 grep -v '^ *+' conftest.er1 >conftest.err
14886 cat conftest.err >&5
14887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } && {
14889 test -z "$ac_c_werror_flag" ||
14890 test ! -s conftest.err
14891 } && test -s conftest$ac_exeext && {
14892 test "$cross_compiling" = yes ||
14893 $as_test_x conftest$ac_exeext
14895 ac_cv_lib_pthread_pthread_mutex_lock=yes
14897 $as_echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.$ac_ext >&5
14900 ac_cv_lib_pthread_pthread_mutex_lock=no
14903 rm -rf conftest.dSYM
14904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_check_lib_save_LIBS
14908 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
14909 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
14910 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
14911 PTHREAD_LIBS="-lpthread"
14918 ################################################################################
14919 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
14920 $as_echo_n "checking whether to enable selinux support... " >&6; }
14921 # Check whether --enable-selinux was given.
14922 if test "${enable_selinux+set}" = set; then
14923 enableval=$enable_selinux; SELINUX=$enableval
14926 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
14927 $as_echo "$SELINUX" >&6; }
14929 ################################################################################
14930 if test x$SELINUX = xyes; then
14931 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
14932 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
14933 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
14934 $as_echo_n "(cached) " >&6
14936 ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-lsepol $LIBS"
14938 cat >conftest.$ac_ext <<_ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14951 char sepol_check_context ();
14955 return sepol_check_context ();
14960 rm -f conftest.$ac_objext conftest$ac_exeext
14961 if { (ac_try="$ac_link"
14962 case "(($ac_try" in
14963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14964 *) ac_try_echo
=$ac_try;;
14966 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14967 $as_echo "$ac_try_echo") >&5
14968 (eval "$ac_link") 2>conftest.er1
14970 grep -v '^ *+' conftest.er1
>conftest.err
14972 cat conftest.err
>&5
14973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } && {
14975 test -z "$ac_c_werror_flag" ||
14976 test ! -s conftest.err
14977 } && test -s conftest
$ac_exeext && {
14978 test "$cross_compiling" = yes ||
14979 $as_test_x conftest
$ac_exeext
14981 ac_cv_lib_sepol_sepol_check_context
=yes
14983 $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.
$ac_ext >&5
14986 ac_cv_lib_sepol_sepol_check_context
=no
14989 rm -rf conftest.dSYM
14990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14991 conftest
$ac_exeext conftest.
$ac_ext
14992 LIBS
=$ac_check_lib_save_LIBS
14994 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
14995 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
14996 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then
14999 cat >>confdefs.h
<<\_ACEOF
15000 #define HAVE_SEPOL 1
15003 SELINUX_LIBS
="-lsepol"
15007 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
15008 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
15009 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
15010 $as_echo_n "(cached) " >&6
15012 ac_check_lib_save_LIBS
=$LIBS
15013 LIBS
="-lselinux $LIBS"
15014 cat >conftest.
$ac_ext <<_ACEOF
15017 cat confdefs.h
>>conftest.
$ac_ext
15018 cat >>conftest.
$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15027 char is_selinux_enabled ();
15031 return is_selinux_enabled ();
15036 rm -f conftest.
$ac_objext conftest
$ac_exeext
15037 if { (ac_try
="$ac_link"
15038 case "(($ac_try" in
15039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15043 $as_echo "$ac_try_echo") >&5
15044 (eval "$ac_link") 2>conftest.er1
15046 grep -v '^ *+' conftest.er1 >conftest.err
15048 cat conftest.err >&5
15049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } && {
15051 test -z "$ac_c_werror_flag" ||
15052 test ! -s conftest.err
15053 } && test -s conftest$ac_exeext && {
15054 test "$cross_compiling" = yes ||
15055 $as_test_x conftest$ac_exeext
15057 ac_cv_lib_selinux_is_selinux_enabled=yes
15059 $as_echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15062 ac_cv_lib_selinux_is_selinux_enabled=no
15065 rm -rf conftest.dSYM
15066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15067 conftest$ac_exeext conftest.$ac_ext
15068 LIBS=$ac_check_lib_save_LIBS
15070 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
15071 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
15072 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
15075 for ac_header in selinux/selinux.h
15077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15079 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15080 $as_echo_n "checking for $ac_header... " >&6; }
15081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15082 $as_echo_n "(cached) " >&6
15084 ac_res=`eval 'as_val=${'$as_ac_Header'}
15085 $as_echo "$as_val"'`
15086 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15087 $as_echo "$ac_res" >&6; }
15089 # Is the header compilable?
15090 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15091 $as_echo_n "checking $ac_header usability... " >&6; }
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15099 #include <$ac_header>
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15105 *) ac_try_echo
=$ac_try;;
15107 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15108 $as_echo "$ac_try_echo") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15111 grep -v '^ *+' conftest.er1
>conftest.err
15113 cat conftest.err
>&5
15114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.
$ac_objext; then
15119 ac_header_compiler
=yes
15121 $as_echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_header_compiler
=no
15127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15128 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15129 $as_echo "$ac_header_compiler" >&6; }
15131 # Is the header present?
15132 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15133 $as_echo_n "checking $ac_header presence... " >&6; }
15134 cat >conftest.
$ac_ext <<_ACEOF
15137 cat confdefs.h
>>conftest.
$ac_ext
15138 cat >>conftest.
$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 #include <$ac_header>
15142 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15143 case "(($ac_try" in
15144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;;
15147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15148 $as_echo "$ac_try_echo") >&5
15149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15151 grep -v '^ *+' conftest.er1 >conftest.err
15153 cat conftest.err >&5
15154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } >/dev/null && {
15156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15157 test ! -s conftest.err
15159 ac_header_preproc=yes
15161 $as_echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 ac_header_preproc=no
15167 rm -f conftest.err conftest.$ac_ext
15168 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15169 $as_echo "$ac_header_preproc" >&6; }
15171 # So? What about this header?
15172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15174 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15175 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15176 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15177 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15178 ac_header_preproc=yes
15181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15182 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15184 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15186 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15188 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15190 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15192 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15196 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15197 $as_echo_n "checking for $ac_header... " >&6; }
15198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15199 $as_echo_n "(cached) " >&6
15201 eval "$as_ac_Header=\$ac_header_preproc"
15203 ac_res=`eval 'as_val=${'$as_ac_Header'}
15204 $as_echo "$as_val"'`
15205 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15206 $as_echo "$ac_res" >&6; }
15209 as_val=`eval 'as_val=${'$as_ac_Header'}
15210 $as_echo "$as_val"'`
15211 if test "x$as_val" = x""yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15223 cat >>confdefs.h <<\_ACEOF
15224 #define HAVE_SELINUX 1
15227 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
15228 SELINUX_PC="libselinux"
15232 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
15233 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
15241 ################################################################################
15242 if test x$REALTIME = xyes; then
15243 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
15244 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15245 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
15246 $as_echo_n "(cached) " >&6
15248 ac_check_lib_save_LIBS=$LIBS
15250 cat >conftest.$ac_ext <<_ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15263 char clock_gettime ();
15267 return clock_gettime ();
15272 rm -f conftest.$ac_objext conftest$ac_exeext
15273 if { (ac_try="$ac_link"
15274 case "(($ac_try" in
15275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15276 *) ac_try_echo
=$ac_try;;
15278 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15279 $as_echo "$ac_try_echo") >&5
15280 (eval "$ac_link") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1
>conftest.err
15284 cat conftest.err
>&5
15285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest
$ac_exeext && {
15290 test "$cross_compiling" = yes ||
15291 $as_test_x conftest
$ac_exeext
15293 ac_cv_lib_rt_clock_gettime
=yes
15295 $as_echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.
$ac_ext >&5
15298 ac_cv_lib_rt_clock_gettime
=no
15301 rm -rf conftest.dSYM
15302 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15303 conftest
$ac_exeext conftest.
$ac_ext
15304 LIBS
=$ac_check_lib_save_LIBS
15306 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
15307 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15308 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then
15315 if test x
$HAVE_REALTIME = xyes
; then
15317 cat >>confdefs.h
<<\_ACEOF
15318 #define HAVE_REALTIME 1
15323 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
15324 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
15328 ################################################################################
15330 for ac_header
in getopt.h
15332 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15333 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15334 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15335 $as_echo_n "checking for $ac_header... " >&6; }
15336 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15337 $as_echo_n "(cached) " >&6
15339 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15340 $as_echo "$as_val"'`
15341 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15342 $as_echo "$ac_res" >&6; }
15344 # Is the header compilable?
15345 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15346 $as_echo_n "checking $ac_header usability... " >&6; }
15347 cat >conftest.
$ac_ext <<_ACEOF
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 $ac_includes_default
15354 #include <$ac_header>
15356 rm -f conftest.
$ac_objext
15357 if { (ac_try
="$ac_compile"
15358 case "(($ac_try" in
15359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15363 $as_echo "$ac_try_echo") >&5
15364 (eval "$ac_compile") 2>conftest.er1
15366 grep -v '^ *+' conftest.er1 >conftest.err
15368 cat conftest.err >&5
15369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } && {
15371 test -z "$ac_c_werror_flag" ||
15372 test ! -s conftest.err
15373 } && test -s conftest.$ac_objext; then
15374 ac_header_compiler=yes
15376 $as_echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 ac_header_compiler=no
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15384 $as_echo "$ac_header_compiler" >&6; }
15386 # Is the header present?
15387 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15388 $as_echo_n "checking $ac_header presence... " >&6; }
15389 cat >conftest.$ac_ext <<_ACEOF
15392 cat confdefs.h >>conftest.$ac_ext
15393 cat >>conftest.$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15395 #include <$ac_header>
15397 if { (ac_try="$ac_cpp conftest.$ac_ext"
15398 case "(($ac_try" in
15399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15400 *) ac_try_echo
=$ac_try;;
15402 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15403 $as_echo "$ac_try_echo") >&5
15404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15406 grep -v '^ *+' conftest.er1
>conftest.err
15408 cat conftest.err
>&5
15409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } >/dev
/null
&& {
15411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15412 test ! -s conftest.err
15414 ac_header_preproc
=yes
15416 $as_echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15419 ac_header_preproc
=no
15422 rm -f conftest.err conftest.
$ac_ext
15423 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15424 $as_echo "$ac_header_preproc" >&6; }
15426 # So? What about this header?
15427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15430 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15432 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15433 ac_header_preproc
=yes
15436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15437 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15439 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15441 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15443 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15445 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15447 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15451 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15452 $as_echo_n "checking for $ac_header... " >&6; }
15453 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15454 $as_echo_n "(cached) " >&6
15456 eval "$as_ac_Header=\$ac_header_preproc"
15458 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15459 $as_echo "$as_val"'`
15460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15461 $as_echo "$ac_res" >&6; }
15464 as_val
=`eval 'as_val=${'$as_ac_Header'}
15465 $as_echo "$as_val"'`
15466 if test "x$as_val" = x
""yes; then
15467 cat >>confdefs.h
<<_ACEOF
15468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15471 cat >>confdefs.h
<<\_ACEOF
15472 #define HAVE_GETOPTLONG 1
15480 ################################################################################
15481 if test x
$READLINE != xno
; then
15482 lvm_saved_libs
=$LIBS
15483 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
15484 $as_echo_n "checking for library containing tgetent... " >&6; }
15485 if test "${ac_cv_search_tgetent+set}" = set; then
15486 $as_echo_n "(cached) " >&6
15488 ac_func_search_save_LIBS
=$LIBS
15489 cat >conftest.
$ac_ext <<_ACEOF
15492 cat confdefs.h
>>conftest.
$ac_ext
15493 cat >>conftest.
$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15496 /* Override any GCC internal prototype to avoid an error.
15497 Use char because int might match the return type of a GCC
15498 builtin and then its argument prototype would still apply. */
15511 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
15512 if test -z "$ac_lib"; then
15513 ac_res
="none required"
15516 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15518 rm -f conftest.
$ac_objext conftest
$ac_exeext
15519 if { (ac_try
="$ac_link"
15520 case "(($ac_try" in
15521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15525 $as_echo "$ac_try_echo") >&5
15526 (eval "$ac_link") 2>conftest.er1
15528 grep -v '^ *+' conftest.er1 >conftest.err
15530 cat conftest.err >&5
15531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest$ac_exeext && {
15536 test "$cross_compiling" = yes ||
15537 $as_test_x conftest$ac_exeext
15539 ac_cv_search_tgetent=$ac_res
15541 $as_echo "$as_me: failed program was:" >&5
15542 sed 's/^/| /' conftest.$ac_ext >&5
15547 rm -rf conftest.dSYM
15548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15550 if test "${ac_cv_search_tgetent+set}" = set; then
15554 if test "${ac_cv_search_tgetent+set}" = set; then
15557 ac_cv_search_tgetent=no
15559 rm conftest.$ac_ext
15560 LIBS=$ac_func_search_save_LIBS
15562 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
15563 $as_echo "$ac_cv_search_tgetent" >&6; }
15564 ac_res=$ac_cv_search_tgetent
15565 if test "$ac_res" != no; then
15566 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15567 READLINE_LIBS=$ac_cv_search_tgetent
15570 if test "$READLINE" = yes; then
15571 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
15572 --enable-readline option (which is enabled by default). Either disable readline
15573 support with --disable-readline or download and install termcap from:
15574 ftp.gnu.org/gnu/termcap
15575 Note: if you are using precompiled packages you will also need the development
15576 package as well (which may be called termcap-devel or something similar).
15577 Note: (n)curses also seems to work as a substitute for termcap. This was
15578 not found either - but you could try installing that as well." >&5
15579 $as_echo "$as_me: error: termcap could not be found which is required for the
15580 --enable-readline option (which is enabled by default). Either disable readline
15581 support with --disable-readline or download and install termcap from:
15582 ftp.gnu.org/gnu/termcap
15583 Note: if you are using precompiled packages you will also need the development
15584 package as well (which may be called termcap-devel or something similar).
15585 Note: (n)curses also seems to work as a substitute for termcap. This was
15586 not found either - but you could try installing that as well." >&2;}
15587 { (exit 1); exit 1; }; }
15591 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
15592 $as_echo_n "checking for readline in -lreadline... " >&6; }
15593 if test "${ac_cv_lib_readline_readline+set}" = set; then
15594 $as_echo_n "(cached) " >&6
15596 ac_check_lib_save_LIBS=$LIBS
15597 LIBS="-lreadline $LIBS"
15598 cat >conftest.$ac_ext <<_ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15605 /* Override any GCC internal prototype to avoid an error.
15606 Use char because int might match the return type of a GCC
15607 builtin and then its argument prototype would still apply. */
15615 return readline ();
15620 rm -f conftest.$ac_objext conftest$ac_exeext
15621 if { (ac_try="$ac_link"
15622 case "(($ac_try" in
15623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15624 *) ac_try_echo
=$ac_try;;
15626 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15627 $as_echo "$ac_try_echo") >&5
15628 (eval "$ac_link") 2>conftest.er1
15630 grep -v '^ *+' conftest.er1
>conftest.err
15632 cat conftest.err
>&5
15633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } && {
15635 test -z "$ac_c_werror_flag" ||
15636 test ! -s conftest.err
15637 } && test -s conftest
$ac_exeext && {
15638 test "$cross_compiling" = yes ||
15639 $as_test_x conftest
$ac_exeext
15641 ac_cv_lib_readline_readline
=yes
15643 $as_echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 ac_cv_lib_readline_readline
=no
15649 rm -rf conftest.dSYM
15650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15651 conftest
$ac_exeext conftest.
$ac_ext
15652 LIBS
=$ac_check_lib_save_LIBS
15654 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
15655 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15656 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
15659 cat >>confdefs.h
<<\_ACEOF
15660 #define READLINE_SUPPORT 1
15663 LIBS
=$lvm_saved_libs
15664 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
15665 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
15666 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
15667 $as_echo_n "(cached) " >&6
15669 ac_check_lib_save_LIBS
=$LIBS
15670 LIBS
="-lreadline $LIBS"
15671 cat >conftest.
$ac_ext <<_ACEOF
15674 cat confdefs.h
>>conftest.
$ac_ext
15675 cat >>conftest.
$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15684 char rl_line_buffer ();
15688 return rl_line_buffer ();
15693 rm -f conftest.
$ac_objext conftest
$ac_exeext
15694 if { (ac_try
="$ac_link"
15695 case "(($ac_try" in
15696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15700 $as_echo "$ac_try_echo") >&5
15701 (eval "$ac_link") 2>conftest.er1
15703 grep -v '^ *+' conftest.er1 >conftest.err
15705 cat conftest.err >&5
15706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && {
15708 test -z "$ac_c_werror_flag" ||
15709 test ! -s conftest.err
15710 } && test -s conftest$ac_exeext && {
15711 test "$cross_compiling" = yes ||
15712 $as_test_x conftest$ac_exeext
15714 ac_cv_lib_readline_rl_line_buffer=yes
15716 $as_echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15719 ac_cv_lib_readline_rl_line_buffer=no
15722 rm -rf conftest.dSYM
15723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_lib_save_LIBS
15727 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
15728 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
15729 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
15730 READLINE_LIBS="-lreadline"
15733 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
15734 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
15735 READLINE_LIBS="-lreadline $READLINE_LIBS"
15742 if test "$READLINE" = yes; then
15743 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
15744 --enable-readline option (which is enabled by default). Either disable readline
15745 support with --disable-readline or download and install readline from:
15746 ftp.gnu.org/gnu/readline
15747 Note: if you are using precompiled packages you will also need the development
15748 package as well (which may be called readline-devel or something similar)." >&5
15749 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
15750 --enable-readline option (which is enabled by default). Either disable readline
15751 support with --disable-readline or download and install readline from:
15752 ftp.gnu.org/gnu/readline
15753 Note: if you are using precompiled packages you will also need the development
15754 package as well (which may be called readline-devel or something similar)." >&2;}
15755 { (exit 1); exit 1; }; }
15759 LIBS="$READLINE_LIBS $lvm_saved_libs"
15761 for ac_func in rl_completion_matches
15763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15764 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15765 $as_echo_n "checking for $ac_func... " >&6; }
15766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15767 $as_echo_n "(cached) " >&6
15769 cat >conftest.$ac_ext <<_ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15777 #define $ac_func innocuous_$ac_func
15779 /* System header to define __stub macros and hopefully few prototypes,
15780 which can conflict with char $ac_func (); below.
15781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15782 <limits.h> exists even on freestanding compilers. */
15785 # include <limits.h>
15787 # include <assert.h>
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15799 /* The GNU C library defines this for functions which it implements
15800 to always fail with ENOSYS. Some functions are actually named
15801 something starting with __ and the normal name is an alias. */
15802 #if defined __stub_$ac_func || defined __stub___$ac_func
15809 return $ac_func ();
15814 rm -f conftest.$ac_objext conftest$ac_exeext
15815 if { (ac_try="$ac_link"
15816 case "(($ac_try" in
15817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15818 *) ac_try_echo
=$ac_try;;
15820 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15821 $as_echo "$ac_try_echo") >&5
15822 (eval "$ac_link") 2>conftest.er1
15824 grep -v '^ *+' conftest.er1
>conftest.err
15826 cat conftest.err
>&5
15827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err
15831 } && test -s conftest
$ac_exeext && {
15832 test "$cross_compiling" = yes ||
15833 $as_test_x conftest
$ac_exeext
15835 eval "$as_ac_var=yes"
15837 $as_echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 eval "$as_ac_var=no"
15843 rm -rf conftest.dSYM
15844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15845 conftest
$ac_exeext conftest.
$ac_ext
15847 ac_res
=`eval 'as_val=${'$as_ac_var'}
15848 $as_echo "$as_val"'`
15849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15850 $as_echo "$ac_res" >&6; }
15851 as_val
=`eval 'as_val=${'$as_ac_var'}
15852 $as_echo "$as_val"'`
15853 if test "x$as_val" = x
""yes; then
15854 cat >>confdefs.h
<<_ACEOF
15855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15861 LIBS
=$lvm_saved_libs
15864 ################################################################################
15865 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
15866 $as_echo_n "checking whether to enable internationalisation... " >&6; }
15867 # Check whether --enable-nls was given.
15868 if test "${enable_nls+set}" = set; then
15869 enableval
=$enable_nls; INTL
=$enableval
15874 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
15875 $as_echo "$INTL" >&6; }
15877 if test x
$INTL = xyes
; then
15878 # FIXME - Move this - can be device-mapper too
15879 INTL_PACKAGE
="lvm2"
15880 # Extract the first word of "msgfmt", so it can be a program name with args.
15881 set dummy msgfmt
; ac_word
=$2
15882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15883 $as_echo_n "checking for $ac_word... " >&6; }
15884 if test "${ac_cv_path_MSGFMT+set}" = set; then
15885 $as_echo_n "(cached) " >&6
15889 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15893 for as_dir
in $PATH
15896 test -z "$as_dir" && as_dir
=.
15897 for ac_exec_ext
in '' $ac_executable_extensions; do
15898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15899 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15910 MSGFMT
=$ac_cv_path_MSGFMT
15911 if test -n "$MSGFMT"; then
15912 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
15913 $as_echo "$MSGFMT" >&6; }
15915 { $as_echo "$as_me:$LINENO: result: no" >&5
15916 $as_echo "no" >&6; }
15920 if [ "x$MSGFMT" == x
];
15921 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
15923 $as_echo "$as_me: error: msgfmt not found in path $PATH
15925 { (exit 1); exit 1; }; }
15929 # Check whether --with-localedir was given.
15930 if test "${with_localedir+set}" = set; then
15931 withval
=$with_localedir; LOCALEDIR
=$withval
15933 LOCALEDIR
='${prefix}/share/locale'
15938 ################################################################################
15940 # Check whether --with-confdir was given.
15941 if test "${with_confdir+set}" = set; then
15942 withval
=$with_confdir; CONFDIR
=$withval
15949 # Check whether --with-staticdir was given.
15950 if test "${with_staticdir+set}" = set; then
15951 withval
=$with_staticdir; STATICDIR
=$withval
15953 STATICDIR
='${exec_prefix}/sbin'
15958 # Check whether --with-usrlibdir was given.
15959 if test "${with_usrlibdir+set}" = set; then
15960 withval
=$with_usrlibdir; usrlibdir
=$withval
15962 usrlibdir
='${prefix}/lib'
15967 # Check whether --with-usrsbindir was given.
15968 if test "${with_usrsbindir+set}" = set; then
15969 withval
=$with_usrsbindir; usrsbindir
=$withval
15971 usrsbindir
='${prefix}/sbin'
15975 ################################################################################
15977 # Check whether --with-udev_prefix was given.
15978 if test "${with_udev_prefix+set}" = set; then
15979 withval
=$with_udev_prefix; udev_prefix
=$withval
15981 udev_prefix
='${exec_prefix}'
15986 # Check whether --with-udevdir was given.
15987 if test "${with_udevdir+set}" = set; then
15988 withval
=$with_udevdir; udevdir
=$withval
15990 udevdir
='${udev_prefix}/lib/udev/rules.d'
15994 ################################################################################
15995 if test x
$READLINE = xyes
; then
15998 for ac_header
in readline
/readline.h readline
/history.h
16000 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16001 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16002 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16003 $as_echo_n "checking for $ac_header... " >&6; }
16004 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16005 $as_echo_n "(cached) " >&6
16007 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16008 $as_echo "$as_val"'`
16009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16010 $as_echo "$ac_res" >&6; }
16012 # Is the header compilable?
16013 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16014 $as_echo_n "checking $ac_header usability... " >&6; }
16015 cat >conftest.
$ac_ext <<_ACEOF
16018 cat confdefs.h
>>conftest.
$ac_ext
16019 cat >>conftest.
$ac_ext <<_ACEOF
16020 /* end confdefs.h. */
16021 $ac_includes_default
16022 #include <$ac_header>
16024 rm -f conftest.
$ac_objext
16025 if { (ac_try
="$ac_compile"
16026 case "(($ac_try" in
16027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16028 *) ac_try_echo=$ac_try;;
16030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16031 $as_echo "$ac_try_echo") >&5
16032 (eval "$ac_compile") 2>conftest.er1
16034 grep -v '^ *+' conftest.er1 >conftest.err
16036 cat conftest.err >&5
16037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } && {
16039 test -z "$ac_c_werror_flag" ||
16040 test ! -s conftest.err
16041 } && test -s conftest.$ac_objext; then
16042 ac_header_compiler=yes
16044 $as_echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16047 ac_header_compiler=no
16050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16051 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16052 $as_echo "$ac_header_compiler" >&6; }
16054 # Is the header present?
16055 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16056 $as_echo_n "checking $ac_header presence... " >&6; }
16057 cat >conftest.$ac_ext <<_ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 #include <$ac_header>
16065 if { (ac_try="$ac_cpp conftest.$ac_ext"
16066 case "(($ac_try" in
16067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16068 *) ac_try_echo
=$ac_try;;
16070 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16071 $as_echo "$ac_try_echo") >&5
16072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } >/dev
/null
&& {
16079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16080 test ! -s conftest.err
16082 ac_header_preproc
=yes
16084 $as_echo "$as_me: failed program was:" >&5
16085 sed 's/^/| /' conftest.
$ac_ext >&5
16087 ac_header_preproc
=no
16090 rm -f conftest.err conftest.
$ac_ext
16091 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16092 $as_echo "$ac_header_preproc" >&6; }
16094 # So? What about this header?
16095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16098 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16100 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16101 ac_header_preproc
=yes
16104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16105 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16107 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16109 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16111 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16113 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16115 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16119 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16120 $as_echo_n "checking for $ac_header... " >&6; }
16121 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16122 $as_echo_n "(cached) " >&6
16124 eval "$as_ac_Header=\$ac_header_preproc"
16126 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16127 $as_echo "$as_val"'`
16128 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16129 $as_echo "$ac_res" >&6; }
16132 as_val
=`eval 'as_val=${'$as_ac_Header'}
16133 $as_echo "$as_val"'`
16134 if test "x$as_val" = x
""yes; then
16135 cat >>confdefs.h
<<_ACEOF
16136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16140 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16141 $as_echo "$as_me: error: bailing out" >&2;}
16142 { (exit 1); exit 1; }; }
16149 if test x
$CLVMD != xnone
; then
16160 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
16162 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16163 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16164 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16165 $as_echo_n "checking for $ac_header... " >&6; }
16166 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16167 $as_echo_n "(cached) " >&6
16169 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16170 $as_echo "$as_val"'`
16171 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16172 $as_echo "$ac_res" >&6; }
16174 # Is the header compilable?
16175 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16176 $as_echo_n "checking $ac_header usability... " >&6; }
16177 cat >conftest.
$ac_ext <<_ACEOF
16180 cat confdefs.h
>>conftest.
$ac_ext
16181 cat >>conftest.
$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 $ac_includes_default
16184 #include <$ac_header>
16186 rm -f conftest.
$ac_objext
16187 if { (ac_try
="$ac_compile"
16188 case "(($ac_try" in
16189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16193 $as_echo "$ac_try_echo") >&5
16194 (eval "$ac_compile") 2>conftest.er1
16196 grep -v '^ *+' conftest.er1 >conftest.err
16198 cat conftest.err >&5
16199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest.$ac_objext; then
16204 ac_header_compiler=yes
16206 $as_echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16209 ac_header_compiler=no
16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16214 $as_echo "$ac_header_compiler" >&6; }
16216 # Is the header present?
16217 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16218 $as_echo_n "checking $ac_header presence... " >&6; }
16219 cat >conftest.$ac_ext <<_ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #include <$ac_header>
16227 if { (ac_try="$ac_cpp conftest.$ac_ext"
16228 case "(($ac_try" in
16229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16230 *) ac_try_echo
=$ac_try;;
16232 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16233 $as_echo "$ac_try_echo") >&5
16234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } >/dev
/null
&& {
16241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16242 test ! -s conftest.err
16244 ac_header_preproc
=yes
16246 $as_echo "$as_me: failed program was:" >&5
16247 sed 's/^/| /' conftest.
$ac_ext >&5
16249 ac_header_preproc
=no
16252 rm -f conftest.err conftest.
$ac_ext
16253 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16254 $as_echo "$ac_header_preproc" >&6; }
16256 # So? What about this header?
16257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16260 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16261 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16262 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16263 ac_header_preproc
=yes
16266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16267 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16269 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16271 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16273 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16275 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16277 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16281 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16282 $as_echo_n "checking for $ac_header... " >&6; }
16283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16284 $as_echo_n "(cached) " >&6
16286 eval "$as_ac_Header=\$ac_header_preproc"
16288 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16289 $as_echo "$as_val"'`
16290 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16291 $as_echo "$ac_res" >&6; }
16294 as_val
=`eval 'as_val=${'$as_ac_Header'}
16295 $as_echo "$as_val"'`
16296 if test "x$as_val" = x
""yes; then
16297 cat >>confdefs.h
<<_ACEOF
16298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16302 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16303 $as_echo "$as_me: error: bailing out" >&2;}
16304 { (exit 1); exit 1; }; }
16314 for ac_func
in dup2 getmntent memmove
select socket
16316 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16317 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16318 $as_echo_n "checking for $ac_func... " >&6; }
16319 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16320 $as_echo_n "(cached) " >&6
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16330 #define $ac_func innocuous_$ac_func
16332 /* System header to define __stub macros and hopefully few prototypes,
16333 which can conflict with char $ac_func (); below.
16334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16335 <limits.h> exists even on freestanding compilers. */
16338 # include <limits.h>
16340 # include <assert.h>
16345 /* Override any GCC internal prototype to avoid an error.
16346 Use char because int might match the return type of a GCC
16347 builtin and then its argument prototype would still apply. */
16352 /* The GNU C library defines this for functions which it implements
16353 to always fail with ENOSYS. Some functions are actually named
16354 something starting with __ and the normal name is an alias. */
16355 #if defined __stub_$ac_func || defined __stub___$ac_func
16362 return $ac_func ();
16367 rm -f conftest.
$ac_objext conftest
$ac_exeext
16368 if { (ac_try
="$ac_link"
16369 case "(($ac_try" in
16370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16374 $as_echo "$ac_try_echo") >&5
16375 (eval "$ac_link") 2>conftest.er1
16377 grep -v '^ *+' conftest.er1 >conftest.err
16379 cat conftest.err >&5
16380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } && {
16382 test -z "$ac_c_werror_flag" ||
16383 test ! -s conftest.err
16384 } && test -s conftest$ac_exeext && {
16385 test "$cross_compiling" = yes ||
16386 $as_test_x conftest$ac_exeext
16388 eval "$as_ac_var=yes"
16390 $as_echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.$ac_ext >&5
16393 eval "$as_ac_var=no"
16396 rm -rf conftest.dSYM
16397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16398 conftest$ac_exeext conftest.$ac_ext
16400 ac_res=`eval 'as_val=${'$as_ac_var'}
16401 $as_echo "$as_val"'`
16402 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16403 $as_echo "$ac_res" >&6; }
16404 as_val=`eval 'as_val=${'$as_ac_var'}
16405 $as_echo "$as_val"'`
16406 if test "x$as_val" = x""yes; then
16407 cat >>confdefs.h <<_ACEOF
16408 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16412 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16413 $as_echo "$as_me: error: bailing out" >&2;}
16414 { (exit 1); exit 1; }; }
16418 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
16419 # -lseq on Dynix/PTX, -lgen on Unixware.
16420 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
16421 $as_echo_n "checking for library containing getmntent... " >&6; }
16422 if test "${ac_cv_search_getmntent+set}" = set; then
16423 $as_echo_n "(cached) " >&6
16425 ac_func_search_save_LIBS=$LIBS
16426 cat >conftest.$ac_ext <<_ACEOF
16429 cat confdefs.h >>conftest.$ac_ext
16430 cat >>conftest.$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16433 /* Override any GCC internal prototype to avoid an error.
16434 Use char because int might match the return type of a GCC
16435 builtin and then its argument prototype would still apply. */
16443 return getmntent ();
16448 for ac_lib in '' sun seq gen; do
16449 if test -z "$ac_lib"; then
16450 ac_res="none required"
16453 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16455 rm -f conftest.$ac_objext conftest$ac_exeext
16456 if { (ac_try="$ac_link"
16457 case "(($ac_try" in
16458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16459 *) ac_try_echo
=$ac_try;;
16461 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16462 $as_echo "$ac_try_echo") >&5
16463 (eval "$ac_link") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1
>conftest.err
16467 cat conftest.err
>&5
16468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest
$ac_exeext && {
16473 test "$cross_compiling" = yes ||
16474 $as_test_x conftest
$ac_exeext
16476 ac_cv_search_getmntent
=$ac_res
16478 $as_echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.
$ac_ext >&5
16484 rm -rf conftest.dSYM
16485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16487 if test "${ac_cv_search_getmntent+set}" = set; then
16491 if test "${ac_cv_search_getmntent+set}" = set; then
16494 ac_cv_search_getmntent
=no
16496 rm conftest.
$ac_ext
16497 LIBS
=$ac_func_search_save_LIBS
16499 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
16500 $as_echo "$ac_cv_search_getmntent" >&6; }
16501 ac_res
=$ac_cv_search_getmntent
16502 if test "$ac_res" != no
; then
16503 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16504 ac_cv_func_getmntent
=yes
16506 cat >>confdefs.h
<<\_ACEOF
16507 #define HAVE_GETMNTENT 1
16511 ac_cv_func_getmntent
=no
16517 for ac_header
in sys
/select.h sys
/socket.h
16519 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16520 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16522 $as_echo_n "checking for $ac_header... " >&6; }
16523 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16524 $as_echo_n "(cached) " >&6
16526 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16527 $as_echo "$as_val"'`
16528 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16529 $as_echo "$ac_res" >&6; }
16531 # Is the header compilable?
16532 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16533 $as_echo_n "checking $ac_header usability... " >&6; }
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16541 #include <$ac_header>
16543 rm -f conftest.
$ac_objext
16544 if { (ac_try
="$ac_compile"
16545 case "(($ac_try" in
16546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16550 $as_echo "$ac_try_echo") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16553 grep -v '^ *+' conftest.er1 >conftest.err
16555 cat conftest.err >&5
16556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_c_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_header_compiler=yes
16563 $as_echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16566 ac_header_compiler=no
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16570 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16571 $as_echo "$ac_header_compiler" >&6; }
16573 # Is the header present?
16574 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16575 $as_echo_n "checking $ac_header presence... " >&6; }
16576 cat >conftest.$ac_ext <<_ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 #include <$ac_header>
16584 if { (ac_try="$ac_cpp conftest.$ac_ext"
16585 case "(($ac_try" in
16586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16587 *) ac_try_echo
=$ac_try;;
16589 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16590 $as_echo "$ac_try_echo") >&5
16591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16593 grep -v '^ *+' conftest.er1
>conftest.err
16595 cat conftest.err
>&5
16596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } >/dev
/null
&& {
16598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16599 test ! -s conftest.err
16601 ac_header_preproc
=yes
16603 $as_echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.
$ac_ext >&5
16606 ac_header_preproc
=no
16609 rm -f conftest.err conftest.
$ac_ext
16610 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16611 $as_echo "$ac_header_preproc" >&6; }
16613 # So? What about this header?
16614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16617 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16619 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16620 ac_header_preproc
=yes
16623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16624 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16626 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16628 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16630 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16632 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16634 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16638 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16639 $as_echo_n "checking for $ac_header... " >&6; }
16640 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16641 $as_echo_n "(cached) " >&6
16643 eval "$as_ac_Header=\$ac_header_preproc"
16645 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16646 $as_echo "$as_val"'`
16647 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16648 $as_echo "$ac_res" >&6; }
16651 as_val
=`eval 'as_val=${'$as_ac_Header'}
16652 $as_echo "$as_val"'`
16653 if test "x$as_val" = x
""yes; then
16654 cat >>confdefs.h
<<_ACEOF
16655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16662 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
16663 $as_echo_n "checking types of arguments for select... " >&6; }
16664 if test "${ac_cv_func_select_args+set}" = set; then
16665 $as_echo_n "(cached) " >&6
16667 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
16668 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16669 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
16670 cat >conftest.
$ac_ext <<_ACEOF
16673 cat confdefs.h
>>conftest.
$ac_ext
16674 cat >>conftest.
$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16677 #ifdef HAVE_SYS_SELECT_H
16678 # include <sys/select.h>
16680 #ifdef HAVE_SYS_SOCKET_H
16681 # include <sys/socket.h>
16687 extern int select ($ac_arg1,
16688 $ac_arg234, $ac_arg234, $ac_arg234,
16694 rm -f conftest.
$ac_objext
16695 if { (ac_try
="$ac_compile"
16696 case "(($ac_try" in
16697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16698 *) ac_try_echo=$ac_try;;
16700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16701 $as_echo "$ac_try_echo") >&5
16702 (eval "$ac_compile") 2>conftest.er1
16704 grep -v '^ *+' conftest.er1 >conftest.err
16706 cat conftest.err >&5
16707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && {
16709 test -z "$ac_c_werror_flag" ||
16710 test ! -s conftest.err
16711 } && test -s conftest.$ac_objext; then
16712 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16714 $as_echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724 # Provide a safe default value.
16725 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
16728 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
16729 $as_echo "$ac_cv_func_select_args" >&6; }
16730 ac_save_IFS=$IFS; IFS=','
16731 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
16735 cat >>confdefs.h <<_ACEOF
16736 #define SELECT_TYPE_ARG1 $1
16740 cat >>confdefs.h <<_ACEOF
16741 #define SELECT_TYPE_ARG234 ($2)
16745 cat >>confdefs.h <<_ACEOF
16746 #define SELECT_TYPE_ARG5 ($3)
16753 if test x$CLUSTER != xnone; then
16756 for ac_header in sys/socket.h sys/un.h
16758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16761 $as_echo_n "checking for $ac_header... " >&6; }
16762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16763 $as_echo_n "(cached) " >&6
16765 ac_res=`eval 'as_val=${'$as_ac_Header'}
16766 $as_echo "$as_val"'`
16767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16768 $as_echo "$ac_res" >&6; }
16770 # Is the header compilable?
16771 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16772 $as_echo_n "checking $ac_header usability... " >&6; }
16773 cat >conftest.$ac_ext <<_ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 $ac_includes_default
16780 #include <$ac_header>
16782 rm -f conftest.$ac_objext
16783 if { (ac_try="$ac_compile"
16784 case "(($ac_try" in
16785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16786 *) ac_try_echo
=$ac_try;;
16788 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16789 $as_echo "$ac_try_echo") >&5
16790 (eval "$ac_compile") 2>conftest.er1
16792 grep -v '^ *+' conftest.er1
>conftest.err
16794 cat conftest.err
>&5
16795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } && {
16797 test -z "$ac_c_werror_flag" ||
16798 test ! -s conftest.err
16799 } && test -s conftest.
$ac_objext; then
16800 ac_header_compiler
=yes
16802 $as_echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.
$ac_ext >&5
16805 ac_header_compiler
=no
16808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16809 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16810 $as_echo "$ac_header_compiler" >&6; }
16812 # Is the header present?
16813 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16814 $as_echo_n "checking $ac_header presence... " >&6; }
16815 cat >conftest.
$ac_ext <<_ACEOF
16818 cat confdefs.h
>>conftest.
$ac_ext
16819 cat >>conftest.
$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 #include <$ac_header>
16823 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16824 case "(($ac_try" in
16825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16826 *) ac_try_echo=$ac_try;;
16828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16829 $as_echo "$ac_try_echo") >&5
16830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16832 grep -v '^ *+' conftest.er1 >conftest.err
16834 cat conftest.err >&5
16835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } >/dev/null && {
16837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16838 test ! -s conftest.err
16840 ac_header_preproc=yes
16842 $as_echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 ac_header_preproc=no
16848 rm -f conftest.err conftest.$ac_ext
16849 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16850 $as_echo "$ac_header_preproc" >&6; }
16852 # So? What about this header?
16853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16856 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16858 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16859 ac_header_preproc=yes
16862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16863 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16865 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16867 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16869 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16871 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16873 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16877 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16878 $as_echo_n "checking for $ac_header... " >&6; }
16879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16880 $as_echo_n "(cached) " >&6
16882 eval "$as_ac_Header=\$ac_header_preproc"
16884 ac_res=`eval 'as_val=${'$as_ac_Header'}
16885 $as_echo "$as_val"'`
16886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16887 $as_echo "$ac_res" >&6; }
16890 as_val=`eval 'as_val=${'$as_ac_Header'}
16891 $as_echo "$as_val"'`
16892 if test "x$as_val" = x""yes; then
16893 cat >>confdefs.h <<_ACEOF
16894 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16898 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16899 $as_echo "$as_me: error: bailing out" >&2;}
16900 { (exit 1); exit 1; }; }
16906 for ac_func in socket
16908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16909 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16910 $as_echo_n "checking for $ac_func... " >&6; }
16911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16912 $as_echo_n "(cached) " >&6
16914 cat >conftest.$ac_ext <<_ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16922 #define $ac_func innocuous_$ac_func
16924 /* System header to define __stub macros and hopefully few prototypes,
16925 which can conflict with char $ac_func (); below.
16926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16927 <limits.h> exists even on freestanding compilers. */
16930 # include <limits.h>
16932 # include <assert.h>
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16944 /* The GNU C library defines this for functions which it implements
16945 to always fail with ENOSYS. Some functions are actually named
16946 something starting with __ and the normal name is an alias. */
16947 #if defined __stub_$ac_func || defined __stub___$ac_func
16954 return $ac_func ();
16959 rm -f conftest.$ac_objext conftest$ac_exeext
16960 if { (ac_try="$ac_link"
16961 case "(($ac_try" in
16962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16963 *) ac_try_echo
=$ac_try;;
16965 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16966 $as_echo "$ac_try_echo") >&5
16967 (eval "$ac_link") 2>conftest.er1
16969 grep -v '^ *+' conftest.er1
>conftest.err
16971 cat conftest.err
>&5
16972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && {
16974 test -z "$ac_c_werror_flag" ||
16975 test ! -s conftest.err
16976 } && test -s conftest
$ac_exeext && {
16977 test "$cross_compiling" = yes ||
16978 $as_test_x conftest
$ac_exeext
16980 eval "$as_ac_var=yes"
16982 $as_echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.
$ac_ext >&5
16985 eval "$as_ac_var=no"
16988 rm -rf conftest.dSYM
16989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16990 conftest
$ac_exeext conftest.
$ac_ext
16992 ac_res
=`eval 'as_val=${'$as_ac_var'}
16993 $as_echo "$as_val"'`
16994 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16995 $as_echo "$ac_res" >&6; }
16996 as_val
=`eval 'as_val=${'$as_ac_var'}
16997 $as_echo "$as_val"'`
16998 if test "x$as_val" = x
""yes; then
16999 cat >>confdefs.h
<<_ACEOF
17000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17004 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17005 $as_echo "$as_me: error: bailing out" >&2;}
17006 { (exit 1); exit 1; }; }
17012 if test x
$DMEVENTD = xyes
; then
17014 for ac_header
in arpa
/inet.h
17016 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17019 $as_echo_n "checking for $ac_header... " >&6; }
17020 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17021 $as_echo_n "(cached) " >&6
17023 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17024 $as_echo "$as_val"'`
17025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17026 $as_echo "$ac_res" >&6; }
17028 # Is the header compilable?
17029 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17030 $as_echo_n "checking $ac_header usability... " >&6; }
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 #include <$ac_header>
17040 rm -f conftest.
$ac_objext
17041 if { (ac_try
="$ac_compile"
17042 case "(($ac_try" in
17043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17047 $as_echo "$ac_try_echo") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17050 grep -v '^ *+' conftest.er1 >conftest.err
17052 cat conftest.err >&5
17053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_c_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 ac_header_compiler=yes
17060 $as_echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_header_compiler=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17068 $as_echo "$ac_header_compiler" >&6; }
17070 # Is the header present?
17071 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17072 $as_echo_n "checking $ac_header presence... " >&6; }
17073 cat >conftest.$ac_ext <<_ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 #include <$ac_header>
17081 if { (ac_try="$ac_cpp conftest.$ac_ext"
17082 case "(($ac_try" in
17083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17084 *) ac_try_echo
=$ac_try;;
17086 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17087 $as_echo "$ac_try_echo") >&5
17088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } >/dev
/null
&& {
17095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17096 test ! -s conftest.err
17098 ac_header_preproc
=yes
17100 $as_echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.
$ac_ext >&5
17103 ac_header_preproc
=no
17106 rm -f conftest.err conftest.
$ac_ext
17107 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17108 $as_echo "$ac_header_preproc" >&6; }
17110 # So? What about this header?
17111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17114 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17116 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17117 ac_header_preproc
=yes
17120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17121 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17123 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17125 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17127 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17129 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17131 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17136 $as_echo_n "checking for $ac_header... " >&6; }
17137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17138 $as_echo_n "(cached) " >&6
17140 eval "$as_ac_Header=\$ac_header_preproc"
17142 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17143 $as_echo "$as_val"'`
17144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17145 $as_echo "$ac_res" >&6; }
17148 as_val
=`eval 'as_val=${'$as_ac_Header'}
17149 $as_echo "$as_val"'`
17150 if test "x$as_val" = x
""yes; then
17151 cat >>confdefs.h
<<_ACEOF
17152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17156 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17157 $as_echo "$as_me: error: bailing out" >&2;}
17158 { (exit 1); exit 1; }; }
17165 if test x
$HAVE_LIBDL = xyes
; then
17167 for ac_header
in dlfcn.h
17169 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17170 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17171 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17172 $as_echo_n "checking for $ac_header... " >&6; }
17173 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17174 $as_echo_n "(cached) " >&6
17176 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17177 $as_echo "$as_val"'`
17178 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17179 $as_echo "$ac_res" >&6; }
17181 # Is the header compilable?
17182 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17183 $as_echo_n "checking $ac_header usability... " >&6; }
17184 cat >conftest.
$ac_ext <<_ACEOF
17187 cat confdefs.h
>>conftest.
$ac_ext
17188 cat >>conftest.
$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190 $ac_includes_default
17191 #include <$ac_header>
17193 rm -f conftest.
$ac_objext
17194 if { (ac_try
="$ac_compile"
17195 case "(($ac_try" in
17196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17197 *) ac_try_echo=$ac_try;;
17199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17200 $as_echo "$ac_try_echo") >&5
17201 (eval "$ac_compile") 2>conftest.er1
17203 grep -v '^ *+' conftest.er1 >conftest.err
17205 cat conftest.err >&5
17206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } && {
17208 test -z "$ac_c_werror_flag" ||
17209 test ! -s conftest.err
17210 } && test -s conftest.$ac_objext; then
17211 ac_header_compiler=yes
17213 $as_echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17216 ac_header_compiler=no
17219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17221 $as_echo "$ac_header_compiler" >&6; }
17223 # Is the header present?
17224 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17225 $as_echo_n "checking $ac_header presence... " >&6; }
17226 cat >conftest.$ac_ext <<_ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #include <$ac_header>
17234 if { (ac_try="$ac_cpp conftest.$ac_ext"
17235 case "(($ac_try" in
17236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17237 *) ac_try_echo
=$ac_try;;
17239 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17240 $as_echo "$ac_try_echo") >&5
17241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17243 grep -v '^ *+' conftest.er1
>conftest.err
17245 cat conftest.err
>&5
17246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } >/dev
/null
&& {
17248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17249 test ! -s conftest.err
17251 ac_header_preproc
=yes
17253 $as_echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.
$ac_ext >&5
17256 ac_header_preproc
=no
17259 rm -f conftest.err conftest.
$ac_ext
17260 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17261 $as_echo "$ac_header_preproc" >&6; }
17263 # So? What about this header?
17264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17267 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17269 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17270 ac_header_preproc
=yes
17273 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17274 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17275 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17276 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17278 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17280 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17282 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17284 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17288 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17289 $as_echo_n "checking for $ac_header... " >&6; }
17290 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17291 $as_echo_n "(cached) " >&6
17293 eval "$as_ac_Header=\$ac_header_preproc"
17295 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17296 $as_echo "$as_val"'`
17297 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17298 $as_echo "$ac_res" >&6; }
17301 as_val
=`eval 'as_val=${'$as_ac_Header'}
17302 $as_echo "$as_val"'`
17303 if test "x$as_val" = x
""yes; then
17304 cat >>confdefs.h
<<_ACEOF
17305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17309 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17310 $as_echo "$as_me: error: bailing out" >&2;}
17311 { (exit 1); exit 1; }; }
17318 if test x
$INTL = xyes
; then
17320 for ac_header
in libintl.h
17322 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17323 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17324 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17325 $as_echo_n "checking for $ac_header... " >&6; }
17326 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17327 $as_echo_n "(cached) " >&6
17329 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17330 $as_echo "$as_val"'`
17331 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17332 $as_echo "$ac_res" >&6; }
17334 # Is the header compilable?
17335 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17336 $as_echo_n "checking $ac_header usability... " >&6; }
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 #include <$ac_header>
17346 rm -f conftest.
$ac_objext
17347 if { (ac_try
="$ac_compile"
17348 case "(($ac_try" in
17349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17350 *) ac_try_echo=$ac_try;;
17352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17353 $as_echo "$ac_try_echo") >&5
17354 (eval "$ac_compile") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1 >conftest.err
17358 cat conftest.err >&5
17359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_c_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest.$ac_objext; then
17364 ac_header_compiler=yes
17366 $as_echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17369 ac_header_compiler=no
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17374 $as_echo "$ac_header_compiler" >&6; }
17376 # Is the header present?
17377 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17378 $as_echo_n "checking $ac_header presence... " >&6; }
17379 cat >conftest.$ac_ext <<_ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 #include <$ac_header>
17387 if { (ac_try="$ac_cpp conftest.$ac_ext"
17388 case "(($ac_try" in
17389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17390 *) ac_try_echo
=$ac_try;;
17392 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17393 $as_echo "$ac_try_echo") >&5
17394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17396 grep -v '^ *+' conftest.er1
>conftest.err
17398 cat conftest.err
>&5
17399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } >/dev
/null
&& {
17401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17402 test ! -s conftest.err
17404 ac_header_preproc
=yes
17406 $as_echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.
$ac_ext >&5
17409 ac_header_preproc
=no
17412 rm -f conftest.err conftest.
$ac_ext
17413 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17414 $as_echo "$ac_header_preproc" >&6; }
17416 # So? What about this header?
17417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17420 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17422 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17423 ac_header_preproc
=yes
17426 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17427 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17428 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17429 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17430 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17431 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17432 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17433 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17435 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17437 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17442 $as_echo_n "checking for $ac_header... " >&6; }
17443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17444 $as_echo_n "(cached) " >&6
17446 eval "$as_ac_Header=\$ac_header_preproc"
17448 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17449 $as_echo "$as_val"'`
17450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17451 $as_echo "$ac_res" >&6; }
17454 as_val
=`eval 'as_val=${'$as_ac_Header'}
17455 $as_echo "$as_val"'`
17456 if test "x$as_val" = x
""yes; then
17457 cat >>confdefs.h
<<_ACEOF
17458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17462 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17463 $as_echo "$as_me: error: bailing out" >&2;}
17464 { (exit 1); exit 1; }; }
17471 if test x
$UDEV_SYNC = xyes
; then
17474 for ac_header
in sys
/ipc.h sys
/sem.h
17476 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17478 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17479 $as_echo_n "checking for $ac_header... " >&6; }
17480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17481 $as_echo_n "(cached) " >&6
17483 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17484 $as_echo "$as_val"'`
17485 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17486 $as_echo "$ac_res" >&6; }
17488 # Is the header compilable?
17489 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17490 $as_echo_n "checking $ac_header usability... " >&6; }
17491 cat >conftest.
$ac_ext <<_ACEOF
17494 cat confdefs.h
>>conftest.
$ac_ext
17495 cat >>conftest.
$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 $ac_includes_default
17498 #include <$ac_header>
17500 rm -f conftest.
$ac_objext
17501 if { (ac_try
="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17507 $as_echo "$ac_try_echo") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17510 grep -v '^ *+' conftest.er1 >conftest.err
17512 cat conftest.err >&5
17513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_c_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 ac_header_compiler=yes
17520 $as_echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17523 ac_header_compiler=no
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17528 $as_echo "$ac_header_compiler" >&6; }
17530 # Is the header present?
17531 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17532 $as_echo_n "checking $ac_header presence... " >&6; }
17533 cat >conftest.$ac_ext <<_ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 #include <$ac_header>
17541 if { (ac_try="$ac_cpp conftest.$ac_ext"
17542 case "(($ac_try" in
17543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17544 *) ac_try_echo
=$ac_try;;
17546 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17547 $as_echo "$ac_try_echo") >&5
17548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17550 grep -v '^ *+' conftest.er1
>conftest.err
17552 cat conftest.err
>&5
17553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } >/dev
/null
&& {
17555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17556 test ! -s conftest.err
17558 ac_header_preproc
=yes
17560 $as_echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_header_preproc
=no
17566 rm -f conftest.err conftest.
$ac_ext
17567 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17568 $as_echo "$ac_header_preproc" >&6; }
17570 # So? What about this header?
17571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17573 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17574 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17575 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17576 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17577 ac_header_preproc
=yes
17580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17581 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17582 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17583 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17584 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17585 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17586 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17587 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17589 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17591 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17595 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17596 $as_echo_n "checking for $ac_header... " >&6; }
17597 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17598 $as_echo_n "(cached) " >&6
17600 eval "$as_ac_Header=\$ac_header_preproc"
17602 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17603 $as_echo "$as_val"'`
17604 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17605 $as_echo "$ac_res" >&6; }
17608 as_val
=`eval 'as_val=${'$as_ac_Header'}
17609 $as_echo "$as_val"'`
17610 if test "x$as_val" = x
""yes; then
17611 cat >>confdefs.h
<<_ACEOF
17612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17616 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17617 $as_echo "$as_me: error: bailing out" >&2;}
17618 { (exit 1); exit 1; }; }
17625 ################################################################################
17626 # Extract the first word of "modprobe", so it can be a program name with args.
17627 set dummy modprobe
; ac_word
=$2
17628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17629 $as_echo_n "checking for $ac_word... " >&6; }
17630 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
17631 $as_echo_n "(cached) " >&6
17633 case $MODPROBE_CMD in
17635 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
17638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17639 for as_dir
in $PATH
17642 test -z "$as_dir" && as_dir
=.
17643 for ac_exec_ext
in '' $ac_executable_extensions; do
17644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17645 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
17646 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17656 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
17657 if test -n "$MODPROBE_CMD"; then
17658 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
17659 $as_echo "$MODPROBE_CMD" >&6; }
17661 { $as_echo "$as_me:$LINENO: result: no" >&5
17662 $as_echo "no" >&6; }
17667 if test x
$MODPROBE_CMD != x
; then
17669 cat >>confdefs.h
<<_ACEOF
17670 #define MODPROBE_CMD "$MODPROBE_CMD"
17676 lvm_exec_prefix
=$exec_prefix
17677 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$prefix
17678 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$ac_default_prefix
17680 cat >>confdefs.h
<<_ACEOF
17681 #define LVM_PATH "$lvm_exec_prefix/sbin/lvm"
17685 if test "$CLVMD" != none
; then
17686 clvmd_prefix
=$ac_default_prefix
17687 test "$prefix" != NONE
&& clvmd_prefix
=$prefix
17689 cat >>confdefs.h
<<_ACEOF
17690 #define CLVMD_PATH "$clvmd_prefix/sbin/clvmd"
17695 ################################################################################
17696 if test "$BUILD_DMEVENTD" = yes; then
17698 # Check whether --with-dmeventd-pidfile was given.
17699 if test "${with_dmeventd_pidfile+set}" = set; then
17700 withval
=$with_dmeventd_pidfile; DMEVENTD_PIDFILE
=$withval
17702 DMEVENTD_PIDFILE
="/var/run/dmeventd.pid"
17706 cat >>confdefs.h
<<_ACEOF
17707 #define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
17712 if test "$BUILD_DMEVENTD" = yes; then
17714 # Check whether --with-dmeventd-path was given.
17715 if test "${with_dmeventd_path+set}" = set; then
17716 withval
=$with_dmeventd_path; DMEVENTD_PATH
=$withval
17718 DMEVENTD_PATH
="$lvm_exec_prefix/sbin/dmeventd"
17722 cat >>confdefs.h
<<_ACEOF
17723 #define DMEVENTD_PATH "$DMEVENTD_PATH"
17728 ################################################################################
17730 # Check whether --with-default-system-dir was given.
17731 if test "${with_default_system_dir+set}" = set; then
17732 withval
=$with_default_system_dir; DEFAULT_SYS_DIR
=$withval
17734 DEFAULT_SYS_DIR
="/etc/lvm"
17738 cat >>confdefs.h
<<_ACEOF
17739 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
17744 # Check whether --with-default-archive-subdir was given.
17745 if test "${with_default_archive_subdir+set}" = set; then
17746 withval
=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR
=$withval
17748 DEFAULT_ARCHIVE_SUBDIR
=archive
17752 cat >>confdefs.h
<<_ACEOF
17753 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
17758 # Check whether --with-default-backup-subdir was given.
17759 if test "${with_default_backup_subdir+set}" = set; then
17760 withval
=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR
=$withval
17762 DEFAULT_BACKUP_SUBDIR
=backup
17766 cat >>confdefs.h
<<_ACEOF
17767 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
17772 # Check whether --with-default-cache-subdir was given.
17773 if test "${with_default_cache_subdir+set}" = set; then
17774 withval
=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR
=$withval
17776 DEFAULT_CACHE_SUBDIR
=cache
17780 cat >>confdefs.h
<<_ACEOF
17781 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
17786 # Check whether --with-default-locking-dir was given.
17787 if test "${with_default_locking_dir+set}" = set; then
17788 withval
=$with_default_locking_dir; DEFAULT_LOCK_DIR
=$withval
17790 DEFAULT_LOCK_DIR
="/var/lock/lvm"
17794 cat >>confdefs.h
<<_ACEOF
17795 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
17799 ################################################################################
17800 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
17801 $as_echo_n "checking for kernel interface choice... " >&6; }
17803 # Check whether --with-interface was given.
17804 if test "${with_interface+set}" = set; then
17805 withval
=$with_interface; interface
=$withval
17810 if [ "x$interface" != xioctl
];
17812 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
17813 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
17814 { (exit 1); exit 1; }; }
17816 { $as_echo "$as_me:$LINENO: result: $interface" >&5
17817 $as_echo "$interface" >&6; }
17819 ################################################################################
17820 DM_LIB_VERSION
="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
17822 cat >>confdefs.h
<<_ACEOF
17823 #define DM_LIB_VERSION $DM_LIB_VERSION
17827 DM_LIB_PATCHLEVEL
=`cat "$srcdir"/VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
17829 LVM_VERSION
="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
17831 VER
=`cat "$srcdir"/VERSION`
17832 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
17833 VER
=`echo "$VER" | $AWK '{print $1}'`
17834 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
17835 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
17836 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
17837 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
17838 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
17839 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
17841 ################################################################################
17937 ################################################################################
17938 ac_config_files
="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile doc/example.conf include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/replicator/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"
17940 cat >confcache
<<\_ACEOF
17941 # This file is a shell script that caches the results of configure
17942 # tests run on this system so they can be shared between configure
17943 # scripts and configure runs, see configure's option --config-cache.
17944 # It is not useful on other systems. If it contains results you don't
17945 # want to keep, you may remove or edit it.
17947 # config.status only pays attention to the cache file if you give it
17948 # the --recheck option to rerun configure.
17950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17952 # following values.
17956 # The following way of writing the cache mishandles newlines in values,
17957 # but we know of no workaround that is simple, portable, and efficient.
17958 # So, we kill variables containing newlines.
17959 # Ultrix sh set writes to stderr and can't be redirected directly,
17960 # and sets the high bit in the cache file unless we assign to the vars.
17962 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17963 eval ac_val
=\$
$ac_var
17967 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17968 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17971 _ | IFS | as_nl
) ;; #(
17972 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17973 *) $as_unset $ac_var ;;
17979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17980 *${as_nl}ac_space
=\
*)
17981 # `set' does not quote correctly, so add quotes (double-quote
17982 # substitution turns \\\\ into \\, and sed turns \\ into \).
17985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17988 # `set' quotes correctly as required by POSIX, so do not add quotes.
17989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18002 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18003 if test -w "$cache_file"; then
18004 test "x$cache_file" != "x/dev/null" &&
18005 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18006 $as_echo "$as_me: updating cache $cache_file" >&6;}
18007 cat confcache
>$cache_file
18009 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18010 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18015 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18016 # Let make expand exec_prefix.
18017 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18019 DEFS
=-DHAVE_CONFIG_H
18023 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18024 # 1. Remove the extension, and $U if already installed.
18025 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18026 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18027 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18028 # will be set to the directory where LIBOBJS objects are built.
18029 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18030 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18032 LIBOBJS
=$ac_libobjs
18034 LTLIBOBJS
=$ac_ltlibobjs
18038 : ${CONFIG_STATUS=./config.status}
18040 ac_clean_files_save
=$ac_clean_files
18041 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18042 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18043 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18044 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18046 # Generated by $as_me.
18047 # Run this file to recreate the current configuration.
18048 # Compiler output produced by configure, useful for debugging
18049 # configure, is in config.log if it exists.
18052 ac_cs_recheck=false
18054 SHELL=\${CONFIG_SHELL-$SHELL}
18057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18058 ## --------------------- ##
18059 ## M4sh Initialization. ##
18060 ## --------------------- ##
18062 # Be more Bourne compatible
18063 DUALCASE
=1; export DUALCASE
# for MKS sh
18064 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18067 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18068 # is contrary to our usage. Disable this feature.
18069 alias -g '${1+"$@"}'='"$@"'
18070 setopt NO_GLOB_SUBST
18072 case `(set -o) 2>/dev/null` in
18073 *posix
*) set -o posix
;;
18082 # Avoid depending upon Character Ranges.
18083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18086 as_cr_digits
='0123456789'
18087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18092 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18093 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18096 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18097 as_echo='printf %s
\n'
18098 as_echo_n='printf %s
'
18100 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18101 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18102 as_echo_n='/usr
/ucb
/echo -n'
18104 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18105 as_echo_n_body='eval
18109 expr "X$arg" : "X\\(.*\\)$as_nl";
18110 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18112 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18114 export as_echo_n_body
18115 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18117 export as_echo_body
18118 as_echo='sh
-c $as_echo_body as_echo
'
18121 # The user is always right.
18122 if test "${PATH_SEPARATOR+set}" != set; then
18124 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18125 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18130 # Support unset when possible.
18131 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18139 # We need space, tab and new line, in precisely that order. Quoting is
18140 # there to prevent editors from complaining about space-tab.
18141 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18142 # splitting by setting IFS to empty value.)
18145 # Find who we are. Look in the path if we contain no directory separator.
18147 *[\\/]* ) as_myself=$0 ;;
18148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18149 for as_dir in $PATH
18152 test -z "$as_dir" && as_dir=.
18153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18159 # We did not find ourselves, most probably we were run as `sh COMMAND'
18160 # in which case we are not to be found in the path.
18161 if test "x$as_myself" = x
; then
18164 if test ! -f "$as_myself"; then
18165 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18166 { (exit 1); exit 1; }
18169 # Work around bugs in pre-3.0 UWIN ksh.
18170 for as_var
in ENV MAIL MAILPATH
18171 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18183 # Required to use basename.
18184 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18185 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18191 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18192 as_basename
=basename
18198 # Name of the executable.
18199 as_me
=`$as_basename -- "$0" ||
18200 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18201 X"$0" : 'X\(//\)$' \| \
18202 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18204 sed '/^.*\/\([^/][^/]*\)\/*$/{
18223 as_lineno_1
=$LINENO
18224 as_lineno_2
=$LINENO
18225 test "x$as_lineno_1" != "x$as_lineno_2" &&
18226 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
18228 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18229 # uniformly replaced by the line number. The first 'sed' inserts a
18230 # line-number line after each line using $LINENO; the second 'sed'
18231 # does the real work. The second script uses 'N' to pair each
18232 # line-number line with the line containing $LINENO, and appends
18233 # trailing '-' during substitution so that $LINENO is not a special
18234 # case at line end.
18235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18236 # scripts with optimization help from Paolo Bonzini. Blame Lee
18237 # E. McMahon (1931-1989) for sed's syntax. :-)
18249 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18252 ' >$as_me.lineno
&&
18253 chmod +x
"$as_me.lineno" ||
18254 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18255 { (exit 1); exit 1; }; }
18257 # Don't try to exec as it changes $[0], causing all sort of problems
18258 # (the dirname of $[0] is not the place where we might find the
18259 # original and so on. Autoconf is especially sensitive to this).
18260 .
"./$as_me.lineno"
18261 # Exit status is that of the last command.
18266 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18272 ECHO_C
= ECHO_N
= ECHO_T
=
18273 case `echo -n x` in
18275 case `echo 'x\c'` in
18276 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18282 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18283 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18289 rm -f conf$$ conf$$.exe conf$$.
file
18290 if test -d conf$$.dir
; then
18291 rm -f conf$$.dir
/conf$$.
file
18294 mkdir conf$$.dir
2>/dev
/null
18296 if (echo >conf$$.
file) 2>/dev
/null
; then
18297 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18299 # ... but there are two gotchas:
18300 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18301 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18302 # In both cases, we have to default to `cp -p'.
18303 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18305 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18313 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18314 rmdir conf$$.dir
2>/dev
/null
18316 if mkdir
-p .
2>/dev
/null
; then
18319 test -d .
/-p && rmdir .
/-p
18323 if test -x / >/dev
/null
2>&1; then
18324 as_test_x
='test -x'
18326 if ls -dL / >/dev
/null
2>&1; then
18333 if test -d "$1"; then
18339 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18340 ???[sx]*):;;*)false;;esac;fi
18344 as_executable_p
=$as_test_x
18346 # Sed expression to map a string onto a valid CPP name.
18347 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18349 # Sed expression to map a string onto a valid variable name.
18350 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18355 # Save the log message, to keep $[0] and so on meaningful, and to
18356 # report actual input values of CONFIG_FILES etc. instead of their
18357 # values after options handling.
18359 This file was extended by $as_me, which was
18360 generated by GNU Autoconf 2.63. Invocation command line was
18362 CONFIG_FILES = $CONFIG_FILES
18363 CONFIG_HEADERS = $CONFIG_HEADERS
18364 CONFIG_LINKS = $CONFIG_LINKS
18365 CONFIG_COMMANDS = $CONFIG_COMMANDS
18368 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18373 case $ac_config_files in *"
18374 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18377 case $ac_config_headers in *"
18378 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18383 # Files that config.status was made for.
18384 config_files="$ac_config_files"
18385 config_headers="$ac_config_headers"
18389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18391 \`$as_me' instantiates files from templates according to the
18392 current configuration.
18394 Usage: $0 [OPTION]... [FILE]...
18396 -h, --help print this help, then exit
18397 -V, --version print version number and configuration settings, then exit
18398 -q, --quiet, --silent
18399 do not print progress messages
18400 -d, --debug don't remove temporary files
18401 --recheck update $as_me by reconfiguring in the same conditions
18402 --file=FILE[:TEMPLATE]
18403 instantiate the configuration file FILE
18404 --header=FILE[:TEMPLATE]
18405 instantiate the configuration header FILE
18407 Configuration files:
18410 Configuration headers:
18413 Report bugs to <bug-autoconf@gnu.org>."
18416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18419 configured by $0, generated by GNU Autoconf 2.63,
18420 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18422 Copyright (C) 2008 Free Software Foundation, Inc.
18423 This config.status script is free software; the Free Software Foundation
18424 gives unlimited permission to copy, distribute and modify it."
18431 test -n "\$AWK" || AWK=awk
18434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18435 # The default lists apply if the user does not specify any file.
18441 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18442 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18453 # Handling of the options.
18454 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18456 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18457 $as_echo "$ac_cs_version"; exit ;;
18458 --debug |
--debu |
--deb |
--de |
--d |
-d )
18460 --file |
--fil |
--fi |
--f )
18463 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18465 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
18466 ac_need_defaults
=false
;;
18467 --header |
--heade |
--head |
--hea )
18470 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18472 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
18473 ac_need_defaults
=false
;;
18475 # Conflict between --help and --header
18476 { $as_echo "$as_me: error: ambiguous option: $1
18477 Try \`$0 --help' for more information." >&2
18478 { (exit 1); exit 1; }; };;
18479 --help |
--hel |
-h )
18480 $as_echo "$ac_cs_usage"; exit ;;
18481 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18482 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18485 # This is an error.
18486 -*) { $as_echo "$as_me: error: unrecognized option: $1
18487 Try \`$0 --help' for more information." >&2
18488 { (exit 1); exit 1; }; } ;;
18490 *) ac_config_targets
="$ac_config_targets $1"
18491 ac_need_defaults
=false
;;
18497 ac_configure_extra_args
=
18499 if $ac_cs_silent; then
18501 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18506 if \$ac_cs_recheck; then
18507 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18509 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18510 CONFIG_SHELL='$SHELL'
18511 export CONFIG_SHELL
18516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18520 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18521 ## Running $as_me. ##
18527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18532 # Handling of arguments.
18533 for ac_config_target
in $ac_config_targets
18535 case $ac_config_target in
18536 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
18537 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18538 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
18539 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
18540 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
18541 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
18542 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
18543 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
18544 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
18545 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
18546 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
18547 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
18548 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18549 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
18550 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
18551 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18552 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18553 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
18554 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
18555 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
18556 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
18557 "lib/replicator/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/replicator/Makefile" ;;
18558 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
18559 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
18560 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
18561 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
18562 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
18563 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
18564 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
18565 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
18566 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
18567 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
18568 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
18569 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
18570 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
18571 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
18572 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18573 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
18575 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18576 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18577 { (exit 1); exit 1; }; };;
18582 # If the user did not use the arguments to specify the items to instantiate,
18583 # then the envvar interface is used. Set only those that are not.
18584 # We use the long form for the default assignment because of an extremely
18585 # bizarre bug on SunOS 4.1.3.
18586 if $ac_need_defaults; then
18587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18591 # Have a temporary directory for convenience. Make it in the build tree
18592 # simply because there is no reason against having it here, and in addition,
18593 # creating and moving files from /tmp can sometimes cause problems.
18594 # Hook for its removal unless debugging.
18595 # Note that there is a small window in which the directory will not be cleaned:
18596 # after its creation but before its name has been assigned to `$tmp'.
18600 trap 'exit_status=$?
18601 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18603 trap '{ (exit 1); exit 1; }' 1 2 13 15
18605 # Create a (secure) tmp directory for tmp files.
18608 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18609 test -n "$tmp" && test -d "$tmp"
18612 tmp
=.
/conf$$
-$RANDOM
18613 (umask 077 && mkdir
"$tmp")
18616 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18617 { (exit 1); exit 1; }
18620 # Set up the scripts for CONFIG_FILES section.
18621 # No need to generate them if there are no CONFIG_FILES.
18622 # This happens for instance with `./config.status config.h'.
18623 if test -n "$CONFIG_FILES"; then
18627 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18631 ac_cs_awk_cr
=$ac_cr
18634 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18639 echo "cat >conf$$subs.awk <<_ACEOF" &&
18640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18642 } >conf$$subs.sh ||
18643 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18644 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18645 { (exit 1); exit 1; }; }
18646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18648 for ac_last_try in false false false false false :; do
18649 . ./conf$$subs.sh ||
18650 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18651 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18652 { (exit 1); exit 1; }; }
18654 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18655 if test $ac_delim_n = $ac_delim_num; then
18657 elif $ac_last_try; then
18658 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18659 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18660 { (exit 1); exit 1; }; }
18662 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18665 rm -f conf$$subs.sh
18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18672 s/^/S["/; s
/!.
*/"]=/
18682 s/\(.\{148\}\).*/\1/
18684 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18689 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18696 s/\(.\{148\}\).*/\1/
18698 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18702 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18707 ' <conf$$subs.awk | sed '
18712 ' >>$CONFIG_STATUS || ac_write_fail=1
18713 rm -f conf$$subs.awk
18714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18717 for (key in S) S_is_set[key] = 1
18723 nfields = split(line, field, "@
")
18725 len = length(field[1])
18726 for (i = 2; i < nfields; i++) {
18728 keylen = length(key)
18729 if (S_is_set[key]) {
18731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18732 len += length(value) + length(field[++i])
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18744 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18745 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18748 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18749 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
18750 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
18751 { (exit 1); exit 1; }; }
18754 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18755 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18756 # trailing colons and then remove the whole line if VPATH becomes empty
18757 # (actually we leave an empty line to preserve line numbers).
18758 if test "x
$srcdir" = x.; then
18759 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18760 s/:*\$(srcdir):*/:/
18761 s/:*\${srcdir}:*/:/
18763 s/^\([^=]*=[ ]*\):*/\1/
18769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18770 fi # test -n "$CONFIG_FILES"
18772 # Set up the scripts for CONFIG_HEADERS section.
18773 # No need to generate them if there are no CONFIG_HEADERS.
18774 # This happens for instance with `./config.status Makefile'.
18775 if test -n "$CONFIG_HEADERS"; then
18776 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18780 # Transform confdefs.h into an awk script `defines.awk', embedded as
18781 # here-document in config.status, that substitutes the proper values into
18782 # config.h.in to produce config.h.
18784 # Create a delimiter string that does not exist in confdefs.h, to ease
18785 # handling of long lines.
18787 for ac_last_try in false false :; do
18788 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18789 if test -z "$ac_t"; then
18791 elif $ac_last_try; then
18792 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
18793 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
18794 { (exit 1); exit 1; }; }
18796 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18800 # For the awk script, D is an array of macro values keyed by name,
18801 # likewise P contains macro parameters if any. Preserve backslash
18802 # newline sequences.
18804 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18806 s/.\{148\}/&'"$ac_delim"'/g
18809 s/^[ ]*#[ ]*define[ ][ ]*/ /
18816 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18818 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18822 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18823 D["\
1"]=" \
3\\\\\\n
"\\/p
18825 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18830 s/.\{148\}/&'"$ac_delim"'/g
18835 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18838 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18840 ' <confdefs.h | sed '
18841 s/'"$ac_delim"'/"\\\
18842 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18845 for (key in D) D_is_set[key] = 1
18848 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18850 split(line, arg, " ")
18851 if (arg[1] == "#") {
18855 defundef
= substr
(arg
[1], 2)
18858 split(mac1
, mac2
, "(") #)
18860 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18861 if (D_is_set
[macro
]) {
18862 # Preserve the white space surrounding the "#".
18863 print prefix
"define", macro P
[macro
] D
[macro
]
18866 # Replace #undef with comments. This is necessary, for example,
18867 # in the case of _POSIX_SOURCE, which is predefined and required
18868 # on some systems where configure will not decide to define it.
18869 if (defundef
== "undef") {
18870 print
"/*", prefix defundef
, macro
, "*/"
18878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18879 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18880 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18881 { (exit 1); exit 1; }; }
18882 fi # test -n "$CONFIG_HEADERS"
18885 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
18890 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18892 case $ac_mode$ac_tag in
18894 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18895 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18896 { (exit 1); exit 1; }; };;
18897 :[FH
]-) ac_tag
=-:-;;
18898 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18915 -) ac_f
="$tmp/stdin";;
18916 *) # Look for the file first in the build tree, then in the source tree
18917 # (if the path is not absolute). The absolute path cannot be DOS-style,
18918 # because $ac_f cannot contain `:'.
18922 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18924 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18925 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18926 { (exit 1); exit 1; }; };;
18928 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18929 ac_file_inputs
="$ac_file_inputs '$ac_f'"
18932 # Let's still pretend it is `configure' which instantiates (i.e., don't
18933 # use $as_me), people would be surprised to read:
18934 # /* config.h. Generated by config.status. */
18935 configure_input
='Generated from '`
18936 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18938 if test x
"$ac_file" != x-
; then
18939 configure_input
="$ac_file. $configure_input"
18940 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18941 $as_echo "$as_me: creating $ac_file" >&6;}
18943 # Neutralize special characters interpreted by sed in replacement strings.
18944 case $configure_input in #(
18945 *\
&* |
*\|
* |
*\\* )
18946 ac_sed_conf_input
=`$as_echo "$configure_input" |
18947 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18948 *) ac_sed_conf_input
=$configure_input;;
18952 *:-:* |
*:-) cat >"$tmp/stdin" \
18953 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18954 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18955 { (exit 1); exit 1; }; } ;;
18960 ac_dir
=`$as_dirname -- "$ac_file" ||
18961 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18962 X"$ac_file" : 'X\(//\)[^/]' \| \
18963 X"$ac_file" : 'X\(//\)$' \| \
18964 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18965 $as_echo X"$ac_file" |
18966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18970 /^X\(\/\/\)[^/].*/{
18985 -*) as_dir
=.
/$as_dir;;
18987 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
18991 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18992 *) as_qdir
=$as_dir;;
18994 as_dirs
="'$as_qdir' $as_dirs"
18995 as_dir
=`$as_dirname -- "$as_dir" ||
18996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18997 X"$as_dir" : 'X\(//\)[^/]' \| \
18998 X"$as_dir" : 'X\(//\)$' \| \
18999 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19000 $as_echo X"$as_dir" |
19001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19005 /^X\(\/\/\)[^/].*/{
19018 test -d "$as_dir" && break
19020 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19021 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19022 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19023 { (exit 1); exit 1; }; }; }
19027 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19029 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19030 # A ".." for each directory in $ac_dir_suffix.
19031 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19032 case $ac_top_builddir_sub in
19033 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19034 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19037 ac_abs_top_builddir
=$ac_pwd
19038 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19039 # for backward compatibility:
19040 ac_top_builddir
=$ac_top_build_prefix
19043 .
) # We are building in place.
19045 ac_top_srcdir
=$ac_top_builddir_sub
19046 ac_abs_top_srcdir
=$ac_pwd ;;
19047 [\\/]* | ?
:[\\/]* ) # Absolute name.
19048 ac_srcdir
=$srcdir$ac_dir_suffix;
19049 ac_top_srcdir
=$srcdir
19050 ac_abs_top_srcdir
=$srcdir ;;
19051 *) # Relative name.
19052 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19053 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19054 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19056 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19066 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19067 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19069 ac_MKDIR_P
=$MKDIR_P
19071 [\\/$
]* | ?
:[\\/]* ) ;;
19072 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19077 # If the template does not know about datarootdir, expand it.
19078 # FIXME: This hack should be removed a few years after 2.60.
19079 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19092 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19093 *datarootdir
*) ac_datarootdir_seen
=yes;;
19094 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19095 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19096 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19099 ac_datarootdir_hack='
19100 s&@datadir@&$datadir&g
19101 s&@docdir@&$docdir&g
19102 s&@infodir@&$infodir&g
19103 s&@localedir@&$localedir&g
19104 s&@mandir@&$mandir&g
19105 s&\\\${datarootdir}&$datarootdir&g' ;;
19109 # Neutralize VPATH when `$srcdir' = `.'.
19110 # Shell code in configure.ac might set extrasub.
19111 # FIXME: do we really want to maintain this feature?
19112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19113 ac_sed_extra="$ac_vpsub
19116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19118 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19119 s|@configure_input@|
$ac_sed_conf_input|
;t t
19120 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19121 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19122 s
&@srcdir@
&$ac_srcdir&;t t
19123 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19124 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19125 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19126 s
&@builddir@
&$ac_builddir&;t t
19127 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19128 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19129 s
&@INSTALL@
&$ac_INSTALL&;t t
19130 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19131 $ac_datarootdir_hack
19133 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19134 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
19135 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
19136 { (exit 1); exit 1; }; }
19138 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19139 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19140 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19141 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19142 which seems to be undefined. Please make sure it is defined." >&5
19143 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19144 which seems to be undefined. Please make sure it is defined." >&2;}
19148 -) cat "$tmp/out" && rm -f "$tmp/out";;
19149 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19151 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19152 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19153 { (exit 1); exit 1; }; }
19159 if test x"$ac_file" != x-; then
19161 $as_echo "/* $configure_input */" \
19162 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19163 } >"$tmp/config.h" \
19164 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19165 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19166 { (exit 1); exit 1; }; }
19167 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19168 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19169 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19172 mv "$tmp/config.h" "$ac_file" \
19173 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19174 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19175 { (exit 1); exit 1; }; }
19178 $as_echo "/* $configure_input */" \
19179 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19180 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19181 $as_echo "$as_me: error: could not create -" >&2;}
19182 { (exit 1); exit 1; }; }
19192 { (exit 0); exit 0; }
19194 chmod +x $CONFIG_STATUS
19195 ac_clean_files=$ac_clean_files_save
19197 test $ac_write_fail = 0 ||
19198 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19199 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19200 { (exit 1); exit 1; }; }
19203 # configure is writing to config.log, and then calls config.status.
19204 # config.status does its own redirection, appending to config.log.
19205 # Unfortunately, on DOS this fails, as config.log is still kept open
19206 # by configure, so config.status won't be able to
write to it
; its
19207 # output is simply discarded. So we exec the FD to /dev/null,
19208 # effectively closing config.log, so it can be properly (re)opened and
19209 # appended to by config.status. When coming back to configure, we
19210 # need to make the FD available again.
19211 if test "$no_create" != yes; then
19213 ac_config_status_args
=
19214 test "$silent" = yes &&
19215 ac_config_status_args
="$ac_config_status_args --quiet"
19217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19220 # would make configure fail if this is the last instruction.
19221 $ac_cs_success ||
{ (exit 1); exit 1; }
19223 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19224 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19225 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19229 if test x
$ODIRECT != xyes
; then
19230 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
19231 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}